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

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

Public Members


Member Functions

Construction & Destruction
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.