asmjit::Pass Class Reference
Inheritance diagram for asmjit::Pass:
asmjit::FuncPass

Pass can be used to implement code transformations, analysis, and lowering.

Public Members

Members

Member Functions

Construction & Destruction
Accessors
Pass Interface

Member Function Documentation

const BaseBuilder* Pass::cb() constnoexcept◆ 

Returns BaseBuilder associated with the pass.

const char* Pass::name() constnoexcept◆ 

Returns the name of the pass.

Error Pass::run(Zone* zone, Logger* logger)virtual◆ 

Processes the code stored in Builder or Compiler.

This is the only function that is called by the BaseBuilder to process the code. It passes zone, which will be reset after the run() finishes.

Reimplemented in asmjit::FuncPass.

Member Data Documentation

BaseBuilder* Pass::_cb = nullptr◆ 

BaseBuilder this pass is assigned to.

const char* Pass::_name = nullptr◆ 

Name of the pass.