LLVM  mainline
Public Types | 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 Types

enum  PPCABI { PPC_ABI_UNKNOWN, PPC_ABI_ELFv1, PPC_ABI_ELFv2 }

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)
 ~PPCTargetMachine () override
const PPCSubtargetgetSubtargetImpl (const Function &F) const override
TargetPassConfigcreatePassConfig (PassManagerBase &PM) override
TargetIRAnalysis getTargetIRAnalysis () override
 Get a TargetIRAnalysis implementation for the target.
TargetLoweringObjectFilegetObjFileLowering () const override
bool isELFv2ABI () const
bool isPPC64 () const

Detailed Description

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

Definition at line 26 of file PPCTargetMachine.h.


Member Enumeration Documentation

Enumerator:
PPC_ABI_UNKNOWN 
PPC_ABI_ELFv1 
PPC_ABI_ELFv2 

Definition at line 28 of file PPCTargetMachine.h.


Constructor & Destructor Documentation

Definition at line 159 of file PPCTargetMachine.cpp.

References llvm::LLVMTargetMachine::initAsmInfo().

Definition at line 170 of file PPCTargetMachine.cpp.


Member Function Documentation

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

Reimplemented from llvm::TargetMachine.

Definition at line 48 of file PPCTargetMachine.h.

Get a TargetIRAnalysis implementation for the target.

This analysis will produce a TTI result which uses the common code generator to answer queries about the IR.

Reimplemented from llvm::LLVMTargetMachine.

Definition at line 329 of file PPCTargetMachine.cpp.

References F().

Definition at line 51 of file PPCTargetMachine.h.

References PPC_ABI_ELFv2.

Referenced by llvm::PPCSubtarget::isELFv2ABI().


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