asmjit::Pass Class Referenceabstract

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

Public 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)pure 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.

Implemented in asmjit::FuncPass.

Member Data Documentation

BaseBuilder* Pass::_cb

BaseBuilder this pass is assigned to.

const char* Pass::_name

Name of the pass.