LLVM API Documentation
#include <PPCTargetMachine.h>
Definition at line 32 of file PPCTargetMachine.h.
| PPCTargetMachine::PPCTargetMachine | ( | const Target & | T, | |
| const std::string & | TT, | |||
| const std::string & | FS, | |||
| bool | is64Bit | |||
| ) |
Definition at line 43 of file PPCTargetMachine.cpp.
References llvm::Reloc::Default, llvm::Reloc::DynamicNoPIC, llvm::TargetMachine::getRelocationModel(), llvm::PPCSubtarget::isDarwin(), llvm::TargetMachine::setRelocationModel(), and llvm::Reloc::Static.
| virtual const PPCInstrInfo* llvm::PPCTargetMachine::getInstrInfo | ( | ) | const [inline, virtual] |
| virtual const PPCFrameInfo* llvm::PPCTargetMachine::getFrameInfo | ( | ) | const [inline, virtual] |
| virtual PPCJITInfo* llvm::PPCTargetMachine::getJITInfo | ( | ) | [inline, virtual] |
getJITInfo - If this target supports a JIT, return information for it, otherwise return null.
Reimplemented from llvm::TargetMachine.
Definition at line 48 of file PPCTargetMachine.h.
| virtual PPCTargetLowering* llvm::PPCTargetMachine::getTargetLowering | ( | ) | const [inline, virtual] |
| virtual const PPCRegisterInfo* llvm::PPCTargetMachine::getRegisterInfo | ( | ) | const [inline, virtual] |
getRegisterInfo - If register information is available, return it. If not, return null. This is kept separate from RegInfo until RegInfo has details of graph coloring register allocation removed from it.
Reimplemented from llvm::TargetMachine.
Definition at line 52 of file PPCTargetMachine.h.
References llvm::PPCInstrInfo::getRegisterInfo().
| virtual const TargetData* llvm::PPCTargetMachine::getTargetData | ( | ) | const [inline, virtual] |
| virtual const PPCSubtarget* llvm::PPCTargetMachine::getSubtargetImpl | ( | ) | const [inline, virtual] |
getSubtargetImpl - virtual method implemented by subclasses that returns a reference to that target's TargetSubtarget-derived member variable.
Reimplemented from llvm::TargetMachine.
Definition at line 57 of file PPCTargetMachine.h.
Referenced by CreateTLOF(), and llvm::PPCJITInfo::emitFunctionStub().
| virtual const InstrItineraryData llvm::PPCTargetMachine::getInstrItineraryData | ( | ) | const [inline, virtual] |
getInstrItineraryData - Returns instruction itinerary data for the target or specific subtarget.
Reimplemented from llvm::TargetMachine.
Definition at line 58 of file PPCTargetMachine.h.
| virtual const PPCMachOWriterInfo* llvm::PPCTargetMachine::getMachOWriterInfo | ( | ) | const [inline, virtual] |
getMachOWriterInfo - If this target supports a Mach-O writer, return information for it, otherwise return null.
Reimplemented from llvm::TargetMachine.
Definition at line 61 of file PPCTargetMachine.h.
| bool PPCTargetMachine::addInstSelector | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | ||||
| ) | [virtual] |
Target-Independent Code Generator Pass Configuration Options.
addInstSelector - This method should add any "last minute" LLVM->LLVM passes, then install an instruction selector pass, which converts from LLVM code to machine instructions.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 79 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createPPCISelDag().
| bool PPCTargetMachine::addPreEmitPass | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | ||||
| ) | [virtual] |
addPreEmitPass - This pass may be implemented by targets that want to run passes immediately before machine code is emitted. This should return true if -print-machineinstrs should print out the code after the passes.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 86 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createPPCBranchSelectionPass().
| bool PPCTargetMachine::addCodeEmitter | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | , | |||
| MachineCodeEmitter & | ||||
| ) | [virtual] |
addCodeEmitter - This pass should be overridden by the target to add a code emitter, if supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 93 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), llvm::createPPCCodeEmitterPass(), llvm::DisableJumpTables, llvm::PPCSubtarget::isPPC64(), llvm::Reloc::PIC_, llvm::PPCSubtarget::SetJITMode(), llvm::TargetMachine::setRelocationModel(), and llvm::Reloc::Static.
| bool PPCTargetMachine::addCodeEmitter | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | , | |||
| JITCodeEmitter & | ||||
| ) | [virtual] |
addCodeEmitter - This pass should be overridden by the target to add a code emitter, if supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 120 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), llvm::createPPCJITCodeEmitterPass(), llvm::DisableJumpTables, llvm::PPCSubtarget::isPPC64(), llvm::Reloc::PIC_, llvm::PPCSubtarget::SetJITMode(), llvm::TargetMachine::setRelocationModel(), and llvm::Reloc::Static.
| bool PPCTargetMachine::addCodeEmitter | ( | PassManagerBase & | PM, | |
| CodeGenOpt::Level | OptLevel, | |||
| ObjectCodeEmitter & | OCE | |||
| ) | [virtual] |
Definition at line 147 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), llvm::createPPCObjectCodeEmitterPass(), llvm::DisableJumpTables, llvm::PPCSubtarget::isPPC64(), llvm::Reloc::PIC_, llvm::PPCSubtarget::SetJITMode(), llvm::TargetMachine::setRelocationModel(), and llvm::Reloc::Static.
| bool PPCTargetMachine::addSimpleCodeEmitter | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | , | |||
| MachineCodeEmitter & | ||||
| ) | [virtual] |
addSimpleCodeEmitter - This pass should be overridden by the target to add a code emitter (without setting flags), if supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 174 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createPPCCodeEmitterPass().
| bool PPCTargetMachine::addSimpleCodeEmitter | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | , | |||
| JITCodeEmitter & | ||||
| ) | [virtual] |
addSimpleCodeEmitter - This pass should be overridden by the target to add a code emitter (without setting flags), if supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 182 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createPPCJITCodeEmitterPass().
| bool PPCTargetMachine::addSimpleCodeEmitter | ( | PassManagerBase & | , | |
| CodeGenOpt::Level | , | |||
| ObjectCodeEmitter & | ||||
| ) | [virtual] |
addSimpleCodeEmitter - This pass should be overridden by the target to add a code emitter (without setting flags), if supported. If this is not supported, 'true' should be returned.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 190 of file PPCTargetMachine.cpp.
References llvm::PassManagerBase::add(), and llvm::createPPCObjectCodeEmitterPass().
| bool PPCTargetMachine::getEnableTailMergeDefault | ( | ) | const [virtual] |
Override this for PowerPC. Tail merging happily breaks up instruction issue groups, which typically degrades performance.
Reimplemented from llvm::LLVMTargetMachine.
Definition at line 61 of file PPCTargetMachine.cpp.