LLVM API Documentation

Public Member Functions
llvm::MipsTargetMachine Class Reference

#include <MipsTargetMachine.h>

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

List of all members.

Public Member Functions

 MipsTargetMachine (const Target &T, StringRef TT, StringRef CPU, StringRef FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL, bool isLittle)
virtual ~MipsTargetMachine ()
void addAnalysisPasses (PassManagerBase &PM) override
 Register analysis passes for this target with a pass manager.
const MipsSubtargetgetSubtargetImpl () const override
void resetSubtarget (MachineFunction *MF)
 Reset the subtarget for the Mips target.
TargetPassConfigcreatePassConfig (PassManagerBase &PM) override

Detailed Description

Definition at line 27 of file MipsTargetMachine.h.


Constructor & Destructor Documentation

Definition at line 53 of file MipsTargetMachine.cpp.

References llvm::LLVMTargetMachine::initAsmInfo().

virtual llvm::MipsTargetMachine::~MipsTargetMachine ( ) [inline, virtual]

Definition at line 38 of file MipsTargetMachine.h.


Member Function Documentation

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

Register analysis passes for this target with a pass manager.

This registers target independent analysis passes.

Reimplemented from llvm::LLVMTargetMachine.

Definition at line 169 of file MipsTargetMachine.cpp.

References llvm::MipsSubtarget::allowMixed16_32(), llvm::createNoTargetTransformInfoPass(), DEBUG, and llvm::errs().

TargetPassConfig * MipsTargetMachine::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 135 of file MipsTargetMachine.cpp.

const MipsSubtarget* llvm::MipsTargetMachine::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 42 of file MipsTargetMachine.h.

Referenced by llvm::createMipsISelDag().


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