LLVM API Documentation


Public Member Functions | |
| Emitter (X86TargetMachine &tm, MachineCodeEmitter &mce) | |
| Emitter (X86TargetMachine &tm, MachineCodeEmitter &mce, const X86InstrInfo &ii, const TargetData &td, bool is64) | |
| bool | runOnMachineFunction (MachineFunction &MF) |
| virtual const char * | getPassName () const |
| void | emitInstruction (const MachineInstr &MI, const TargetInstrDesc *Desc) |
| void | getAnalysisUsage (AnalysisUsage &AU) const |
Static Public Attributes | |
| char | ID = 0 |
|
||||||||||||
|
Definition at line 48 of file X86CodeEmitter.cpp. |
|
||||||||||||||||||||||||
|
Definition at line 52 of file X86CodeEmitter.cpp. |
|
||||||||||||
|
|
getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis<AnalysisType>() function, below. Reimplemented from llvm::Pass. Definition at line 67 of file X86CodeEmitter.cpp. References llvm::AnalysisUsage::addRequired(). |
|
|
getPassName - Return a nice clean name for a pass. This usually implemented in terms of the name that is registered by one of the Registration templates, but can be overloaded directly. Reimplemented from llvm::Pass. Definition at line 60 of file X86CodeEmitter.cpp. |
|
|
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis. Implements llvm::MachineFunctionPass. Definition at line 108 of file X86CodeEmitter.cpp. References llvm::MachineFunction::begin(), DOUT, emitInstruction(), llvm::MachineFunction::end(), llvm::MachineCodeEmitter::finishFunction(), llvm::TargetInstrInfo::get(), llvm::MachineFunction::getFunction(), llvm::X86TargetMachine::getInstrInfo(), llvm::Value::getName(), llvm::TargetInstrDesc::getOpcode(), llvm::TargetMachine::getRelocationModel(), llvm::TargetMachine::getSubtarget(), llvm::X86TargetMachine::getTargetData(), llvm::MachineCodeEmitter::setModuleInfo(), llvm::MachineCodeEmitter::startFunction(), and llvm::MachineCodeEmitter::StartMachineBasicBlock(). |
|
|
Definition at line 98 of file X86CodeEmitter.cpp. |