vox.passes

Members

Aliases

FunctionPassFun
alias FunctionPassFun = void function(ref CompilationContext context, ref ModuleDeclNode mod, ref FunctionDeclNode func)
Undocumented in source.
GlobalPassFun
alias GlobalPassFun = void function(ref CompilationContext context, CompilePassPerModule[] subPasses)
Undocumented in source.
ModulePassFun
alias ModulePassFun = void function(ref CompilationContext context, ref ModuleDeclNode mod, CompilePassPerFunction[] subPasses)
Undocumented in source.

Functions

global_pass
CompilePassGlobal global_pass(string name, GlobalPassFun run, CompilePassPerModule[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
global_pass
CompilePassGlobal global_pass(string name, ModulePassFun run, CompilePassPerFunction[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
global_pass
CompilePassGlobal global_pass(string name, GlobalPassFun run, CompilePassPerFunction[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
global_pass
CompilePassGlobal global_pass(string name, FunctionPassFun run)
Undocumented in source. Be warned that the author may not have intended to support it.
pass_write_binary
void pass_write_binary(CompilationContext context, CompilePassPerModule[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
run_global_pass
void run_global_pass(CompilationContext context, CompilePassPerModule[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
run_ir_to_lir_liveness_and_reg_alloc
void run_ir_to_lir_liveness_and_reg_alloc(CompilationContext context, CompilePassPerModule[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
run_module_pass
void run_module_pass(CompilationContext context, ModuleDeclNode mod, CompilePassPerFunction[] subPasses)
Undocumented in source. Be warned that the author may not have intended to support it.
write_bundle
void write_bundle(CompilationContext context)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

CompilePassGlobal
struct CompilePassGlobal

Must have either run or subPasses

CompilePassPerFunction
struct CompilePassPerFunction
Undocumented in source.
CompilePassPerModule
struct CompilePassPerModule
Undocumented in source.
PassMetaIterator
struct PassMetaIterator
Undocumented in source.

Variables

backendPasses
CompilePassGlobal[] backendPasses;
Undocumented in source.
bundlePasses
CompilePassGlobal[] bundlePasses;
Undocumented in source.
commonPasses
CompilePassGlobal[] commonPasses;
Undocumented in source.
exePasses
CompilePassGlobal[] exePasses;
Undocumented in source.
extraExePasses
CompilePassGlobal[] extraExePasses;
Undocumented in source.
extraJitPasses
CompilePassGlobal[] extraJitPasses;
Undocumented in source.
frontendOnlyPasses
CompilePassGlobal[] frontendOnlyPasses;
Undocumented in source.
frontendPasses
CompilePassGlobal[] frontendPasses;
Undocumented in source.
jitPasses
CompilePassGlobal[] jitPasses;
Undocumented in source.

Meta

Authors

Andrey Penechko.