NuPlusTargetMachine.cpp

From NaplesPU Documentation
Revision as of 14:50, 9 June 2018 by Edo (talk | contribs) (Created page with "Category:C++ Classes The '''NuPlusTargetMachine''' class implements the LLVMTargetMachine and is responsible to describe a target machine that is implemented with the LLVM...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.