Difference between revisions of "NuPlusTargetMachine class"

From NaplesPU Documentation
Jump to: navigation, search
(Created page with "The '''NuPlusTargetMachine''' class implements the LLVMTargetMachine and is responsible to describe a target machine that is implemented with the LLVM target-independent code...")
 
 
Line 1: Line 1:
 +
[[Category:C++ Classes]]
 
The '''NuPlusTargetMachine''' class implements the LLVMTargetMachine and is responsible to describe a target machine that is implemented with the LLVM target-independent code generator.
 
The '''NuPlusTargetMachine''' class implements the LLVMTargetMachine and is responsible to describe a target machine that is implemented with the LLVM target-independent code generator.
  

Latest revision as of 14:35, 16 October 2017

The NuPlusTargetMachine class implements the LLVMTargetMachine and is responsible to describe a target machine that is implemented with the LLVM target-independent code generator.

The functions implemented are:

  • createPassConfig, create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of CodeGen passes.
  • getSubtargetImpl and getObjFileLowering, returns a reference to that target's TargetSubtargetInfo-derived member variable.

This class contains information about the Data Layout, the Relocation Model and the optimization passes the back-end has.