llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
Classes | Public Member Functions | Static Public Attributes | List of all members
SpecialisePass Class Referencefinal

#include <passes/specialise.h>

Inheritance diagram for SpecialisePass:
Inheritance graph
[legend]
Collaboration diagram for SpecialisePass:
Collaboration graph
[legend]

Classes

class  SpecialiseClone
 

Public Member Functions

 SpecialisePass (PassManager *passManager)
 Initialises the pass.
 
bool Run (Prog &prog) override
 Runs the pass. More...
 
const char * GetPassName () const override
 Returns the name of the pass.
 
- Public Member Functions inherited from Pass
 Pass (PassManager *passManager)
 
virtual ~Pass ()
 
template<typename T >
T * getAnalysis ()
 Returns an available analysis.
 

Static Public Attributes

static const char * kPassID = "specialise"
 Pass identifier.
 

Additional Inherited Members

- Protected Member Functions inherited from Pass
const PassConfigGetConfig () const
 Returns a reference to the configuration.
 
const TargetGetTarget () const
 Returns a reference to the target.
 
- Protected Attributes inherited from Pass
PassManagerpassManager_
 Pass manager scheduling this pass.
 

Detailed Description

Pass to eliminate unnecessary moves.

Member Function Documentation

◆ Run()

bool SpecialisePass::Run ( Prog prog)
overridevirtual

Runs the pass.

Mapping from parameters to call sites.

Implements Pass.


The documentation for this class was generated from the following files: