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)
const PPCSubtargetgetSubtargetImpl () const override
const PPCSubtargetgetSubtargetImpl (const Function &F) const override
TargetPassConfigcreatePassConfig (PassManagerBase &PM) 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 67 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 210 of file PPCTargetMachine.cpp.

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

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 152 of file PPCTargetMachine.cpp.

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 37 of file PPCTargetMachine.h.

const PPCSubtarget * PPCTargetMachine::getSubtargetImpl ( const Function F) const [override, virtual]

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