LLVM API Documentation
#include <ARMTargetMachine.h>
Public Member Functions | |
ARMBaseTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool isLittle) | |
const ARMSubtarget * | getSubtargetImpl () const override |
void | addAnalysisPasses (PassManagerBase &PM) override |
Register ARM analysis passes with a pass manager. | |
TargetPassConfig * | createPassConfig (PassManagerBase &PM) override |
Protected Attributes | |
ARMSubtarget | Subtarget |
Definition at line 24 of file ARMTargetMachine.h.
ARMBaseTargetMachine::ARMBaseTargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | CPU, | ||
StringRef | FS, | ||
const TargetOptions & | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL, | ||
bool | isLittle | ||
) |
TargetMachine ctor - Create an ARM architecture model.
Definition at line 48 of file ARMTargetMachine.cpp.
References llvm::FloatABI::Default, llvm::TargetOptions::FloatABIType, llvm::FloatABI::Hard, llvm::ARMSubtarget::isTargetHardFloat(), llvm::FloatABI::Soft, and Subtarget.
void ARMBaseTargetMachine::addAnalysisPasses | ( | PassManagerBase & | PM | ) | [override, virtual] |
Register ARM analysis passes with a pass manager.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 62 of file ARMTargetMachine.cpp.
References llvm::createARMTargetTransformInfoPass(), and llvm::createBasicTargetTransformInfoPass().
TargetPassConfig * ARMBaseTargetMachine::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 156 of file ARMTargetMachine.cpp.
const ARMSubtarget* llvm::ARMBaseTargetMachine::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 35 of file ARMTargetMachine.h.
References Subtarget.
ARMSubtarget llvm::ARMBaseTargetMachine::Subtarget [protected] |
Definition at line 26 of file ARMTargetMachine.h.
Referenced by ARMBaseTargetMachine(), llvm::ARMTargetMachine::ARMTargetMachine(), and getSubtargetImpl().