LLVM API Documentation

Public Member Functions | Protected Attributes
llvm::ARMBaseTargetMachine Class Reference

#include <ARMTargetMachine.h>

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

List of all members.

Public Member Functions

 ARMBaseTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
virtual ARMJITInfogetJITInfo ()
virtual const ARMSubtargetgetSubtargetImpl () const
virtual const ARMTargetLoweringgetTargetLowering () const
virtual const InstrItineraryDatagetInstrItineraryData () const
virtual void addAnalysisPasses (PassManagerBase &PM)
 Register ARM analysis passes with a pass manager.
virtual TargetPassConfigcreatePassConfig (PassManagerBase &PM)
virtual bool addCodeEmitter (PassManagerBase &PM, JITCodeEmitter &MCE)

Protected Attributes

ARMSubtarget Subtarget

Detailed Description

Definition at line 33 of file ARMTargetMachine.h.


Constructor & Destructor Documentation

ARMBaseTargetMachine::ARMBaseTargetMachine ( const Target T,
StringRef  TT,
StringRef  CPU,
StringRef  FS,
const TargetOptions Options,
Reloc::Model  RM,
CodeModel::Model  CM,
CodeGenOpt::Level  OL 
)

TargetMachine ctor - Create an ARM architecture model.

Definition at line 45 of file ARMTargetMachine.cpp.

References llvm::FloatABI::Default, llvm::TargetOptions::FloatABIType, and llvm::FloatABI::Soft.


Member Function Documentation

void ARMBaseTargetMachine::addAnalysisPasses ( PassManagerBase PM) [virtual]

Register ARM analysis passes with a pass manager.

Reimplemented from llvm::LLVMTargetMachine.

Definition at line 59 of file ARMTargetMachine.cpp.

References llvm::PassManagerBase::add(), llvm::createARMTargetTransformInfoPass(), llvm::createBasicTargetTransformInfoPass(), and getTargetLowering().

bool ARMBaseTargetMachine::addCodeEmitter ( PassManagerBase ,
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 222 of file ARMTargetMachine.cpp.

References llvm::PassManagerBase::add(), and llvm::createARMJITCodeEmitterPass().

TargetPassConfig * ARMBaseTargetMachine::createPassConfig ( PassManagerBase PM) [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 147 of file ARMTargetMachine.cpp.

virtual const InstrItineraryData* llvm::ARMBaseTargetMachine::getInstrItineraryData ( ) const [inline, virtual]

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

Reimplemented from llvm::TargetMachine.

Definition at line 53 of file ARMTargetMachine.h.

virtual ARMJITInfo* llvm::ARMBaseTargetMachine::getJITInfo ( ) [inline, virtual]

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

Reimplemented from llvm::TargetMachine.

Definition at line 47 of file ARMTargetMachine.h.

virtual const ARMSubtarget* llvm::ARMBaseTargetMachine::getSubtargetImpl ( ) const [inline, 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 48 of file ARMTargetMachine.h.

References Subtarget.

virtual const ARMTargetLowering* llvm::ARMBaseTargetMachine::getTargetLowering ( ) const [inline, virtual]

Reimplemented from llvm::TargetMachine.

Reimplemented in llvm::ThumbTargetMachine, and llvm::ARMTargetMachine.

Definition at line 49 of file ARMTargetMachine.h.

References llvm_unreachable.

Referenced by addAnalysisPasses().


Member Data Documentation


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