NuPlusTargetMachine class

From NaplesPU Documentation
Revision as of 15:35, 16 October 2017 by Catello (talk | contribs)
(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.