LLVM API Documentation
#include <AArch64TargetMachine.h>
Public Member Functions | |
AArch64TargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool IsLittleEndian) | |
const AArch64Subtarget * | getSubtargetImpl () const override |
TargetPassConfig * | createPassConfig (PassManagerBase &PM) override |
void | addAnalysisPasses (PassManagerBase &PM) override |
Register AArch64 analysis passes with a pass manager. | |
bool | isPBQPUsed () const |
Query if the PBQP register allocator is being used. | |
Protected Attributes | |
AArch64Subtarget | Subtarget |
Definition at line 24 of file AArch64TargetMachine.h.
AArch64TargetMachine::AArch64TargetMachine | ( | const Target & | T, |
StringRef | TT, | ||
StringRef | CPU, | ||
StringRef | FS, | ||
const TargetOptions & | Options, | ||
Reloc::Model | RM, | ||
CodeModel::Model | CM, | ||
CodeGenOpt::Level | OL, | ||
bool | LittleEndian | ||
) |
TargetMachine ctor - Create an AArch64 architecture model.
Definition at line 91 of file AArch64TargetMachine.cpp.
References llvm::createAArch64A57PBQPRegAlloc(), EnablePBQP, llvm::LLVMTargetMachine::initAsmInfo(), llvm::AArch64Subtarget::isCortexA57(), llvm::None, llvm::RegisterRegAlloc::setDefault(), and Subtarget.
void AArch64TargetMachine::addAnalysisPasses | ( | PassManagerBase & | PM | ) | [override, virtual] |
Register AArch64 analysis passes with a pass manager.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 151 of file AArch64TargetMachine.cpp.
References llvm::createAArch64TargetTransformInfoPass(), and llvm::createBasicTargetTransformInfoPass().
TargetPassConfig * AArch64TargetMachine::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 159 of file AArch64TargetMachine.cpp.
const AArch64Subtarget* llvm::AArch64TargetMachine::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 AArch64TargetMachine.h.
References Subtarget.
bool llvm::AArch64TargetMachine::isPBQPUsed | ( | ) | const [inline] |
Query if the PBQP register allocator is being used.
Definition at line 45 of file AArch64TargetMachine.h.
Definition at line 26 of file AArch64TargetMachine.h.
Referenced by AArch64TargetMachine(), and getSubtargetImpl().