LLVM API Documentation


Public Member Functions | |
| AlphaLLRPPass (AlphaTargetMachine &tm) | |
| virtual const char * | getPassName () const |
| bool | runOnMachineFunction (MachineFunction &F) |
Public Attributes | |
| AlphaTargetMachine & | TM |
Static Public Attributes | |
| char | ID = 0 |
|
|
Definition at line 41 of file AlphaLLRP.cpp. |
|
|
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 44 of file AlphaLLRP.cpp. |
|
|
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformation or analysis. Implements llvm::MachineFunctionPass. Definition at line 48 of file AlphaLLRP.cpp. References llvm::MachineInstrBuilder::addReg(), llvm::MachineBasicBlock::begin(), llvm::MachineFunction::begin(), llvm::BuildMI(), llvm::MachineBasicBlock::end(), llvm::MachineFunction::end(), llvm::TargetInstrInfo::get(), llvm::MachineOperand::getImm(), llvm::TargetMachine::getInstrInfo(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), and llvm::MachineFunction::getTarget(). |
|
|
Definition at line 152 of file AlphaLLRP.cpp. |
|
|
Target machine description which we query for reg. names, data layout, etc. Definition at line 38 of file AlphaLLRP.cpp. |