LLVM API Documentation
#include <HexagonTargetMachine.h>
Public Member Functions | |
HexagonTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL) | |
const HexagonSubtarget * | getSubtargetImpl () const override |
TargetPassConfig * | createPassConfig (PassManagerBase &PM) override |
Static Public Member Functions | |
static unsigned | getModuleMatchQuality (const Module &M) |
Definition at line 25 of file HexagonTargetMachine.h.
HexagonTargetMachine::HexagonTargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | CPU, | ||
StringRef | FS, | ||
const TargetOptions & | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL | ||
) |
HexagonTargetMachine ctor - Create an ILP32 architecture model. Hexagon_TODO: Do I need an aggregate alignment?
Definition at line 67 of file HexagonTargetMachine.cpp.
References llvm::LLVMTargetMachine::initAsmInfo().
TargetPassConfig * HexagonTargetMachine::createPassConfig | ( | PassManagerBase & | PM | ) | [override, virtual] |
createPassConfig - Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of CodeGen passes.
createPassConfig - Create a pass configuration object to be used by addPassToEmitX methods for generating a pipeline of CodeGen passes.
Targets may override this to extend TargetPassConfig.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 110 of file HexagonTargetMachine.cpp.
static unsigned llvm::HexagonTargetMachine::getModuleMatchQuality | ( | const Module & | M | ) | [static] |
const HexagonSubtarget* llvm::HexagonTargetMachine::getSubtargetImpl | ( | ) | const [inline, override, virtual] |
getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtargetInfo-derived member variable.
Reimplemented from llvm::TargetMachine.
Definition at line 34 of file HexagonTargetMachine.h.
Referenced by llvm::HexagonMCInst::getUnits().