LLVM API Documentation

Public Member Functions
llvm::PPCTargetMachine Class Reference

#include <PPCTargetMachine.h>

Inheritance diagram for llvm::PPCTargetMachine:
Inheritance graph
[legend]
Collaboration diagram for llvm::PPCTargetMachine:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PPCTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool is64Bit)
const PPCInstrInfogetInstrInfo () const override
const PPCFrameLoweringgetFrameLowering () const override
PPCJITInfogetJITInfo () override
const PPCTargetLoweringgetTargetLowering () const override
const PPCSelectionDAGInfogetSelectionDAGInfo () const override
const PPCRegisterInfogetRegisterInfo () const override
const DataLayoutgetDataLayout () const override
const PPCSubtargetgetSubtargetImpl () const override
const InstrItineraryDatagetInstrItineraryData () const override
TargetPassConfigcreatePassConfig (PassManagerBase &PM) override
bool addCodeEmitter (PassManagerBase &PM, JITCodeEmitter &JCE) override
void addAnalysisPasses (PassManagerBase &PM) override
 Register PPC analysis passes with a pass manager.

Detailed Description

PPCTargetMachine - Common code between 32-bit and 64-bit PowerPC targets.

Definition at line 26 of file PPCTargetMachine.h.


Constructor & Destructor Documentation

Definition at line 40 of file PPCTargetMachine.cpp.

References llvm::LLVMTargetMachine::initAsmInfo().


Member Function Documentation

void PPCTargetMachine::addAnalysisPasses ( PassManagerBase &  PM) [override, virtual]

Register PPC analysis passes with a pass manager.

Reimplemented from llvm::LLVMTargetMachine.

Definition at line 163 of file PPCTargetMachine.cpp.

References llvm::createBasicTargetTransformInfoPass(), and llvm::createPPCTargetTransformInfoPass().

bool PPCTargetMachine::addCodeEmitter ( PassManagerBase &  ,
JITCodeEmitter  
) [override, 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 151 of file PPCTargetMachine.cpp.

References llvm::createPPCJITCodeEmitterPass(), and llvm::PPCSubtarget::SetJITMode().

TargetPassConfig * PPCTargetMachine::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 98 of file PPCTargetMachine.cpp.

const DataLayout* llvm::PPCTargetMachine::getDataLayout ( ) const [inline, override, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 52 of file PPCTargetMachine.h.

References llvm::PPCSubtarget::getDataLayout(), and getSubtargetImpl().

const PPCFrameLowering* llvm::PPCTargetMachine::getFrameLowering ( ) const [inline, override, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 38 of file PPCTargetMachine.h.

References llvm::PPCSubtarget::getFrameLowering(), and getSubtargetImpl().

const PPCInstrInfo* llvm::PPCTargetMachine::getInstrInfo ( ) const [inline, override, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 35 of file PPCTargetMachine.h.

References llvm::PPCSubtarget::getInstrInfo(), and getSubtargetImpl().

Referenced by getRegisterInfo().

getInstrItineraryData - Returns instruction itinerary data for the target or specific subtarget.

Reimplemented from llvm::TargetMachine.

Definition at line 56 of file PPCTargetMachine.h.

References llvm::PPCSubtarget::getInstrItineraryData(), and getSubtargetImpl().

PPCJITInfo* llvm::PPCTargetMachine::getJITInfo ( ) [inline, override, virtual]

getJITInfo - If this target supports a JIT, return information for it, otherwise return null.

Reimplemented from llvm::TargetMachine.

Definition at line 41 of file PPCTargetMachine.h.

References llvm::PPCSubtarget::getJITInfo().

const PPCRegisterInfo* llvm::PPCTargetMachine::getRegisterInfo ( ) const [inline, override, 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 48 of file PPCTargetMachine.h.

References getInstrInfo(), and llvm::PPCInstrInfo::getRegisterInfo().

Reimplemented from llvm::TargetMachine.

Definition at line 45 of file PPCTargetMachine.h.

References llvm::PPCSubtarget::getSelectionDAGInfo(), and getSubtargetImpl().

const PPCSubtarget* llvm::PPCTargetMachine::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 55 of file PPCTargetMachine.h.

Referenced by getDataLayout(), getFrameLowering(), getInstrInfo(), getInstrItineraryData(), getSelectionDAGInfo(), and getTargetLowering().

const PPCTargetLowering* llvm::PPCTargetMachine::getTargetLowering ( ) const [inline, override, virtual]

Reimplemented from llvm::TargetMachine.

Definition at line 42 of file PPCTargetMachine.h.

References getSubtargetImpl(), and llvm::PPCSubtarget::getTargetLowering().


The documentation for this class was generated from the following files: