LLVM API Documentation
#include <MachineInstr.h>
Collaboration diagram for llvm::MachineOperand:
Definition at line 71 of file MachineInstr.h.
|
Definition at line 97 of file MachineInstr.h. |
|
Definition at line 91 of file MachineInstr.h. |
|
Definition at line 187 of file MachineInstr.h. References contents, and extra. |
|
Definition at line 195 of file MachineInstr.h. |
|
Definition at line 278 of file MachineInstr.h. References isConstantPoolIndex(). Referenced by llvm::operator<<(), and print(). |
|
Definition at line 274 of file MachineInstr.h. References isFrameIndex(). Referenced by llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::PPC64RegisterInfo::eliminateFrameIndex(), llvm::PPC32RegisterInfo::eliminateFrameIndex(), llvm::operator<<(), and print(). |
|
Definition at line 282 of file MachineInstr.h. References isGlobalAddress(). Referenced by MakeMIInst(), llvm::operator<<(), and print(). |
|
|
Definition at line 266 of file MachineInstr.h. References isMachineBasicBlock(). Referenced by llvm::operator<<(), print(), and llvm::LiveVariables::runOnMachineFunction(). |
|
Definition at line 258 of file MachineInstr.h. References MO_MachineRegister. Referenced by llvm::operator<<(), and print(). |
|
Definition at line 286 of file MachineInstr.h. References isExternalSymbol(), and isGlobalAddress(). Referenced by print(). |
|
getReg - Returns the register number. It is a runtime error to call this if a register is not allocated. Definition at line 320 of file MachineInstr.h. References hasAllocatedReg(). Referenced by llvm::LiveIntervals::addIntervalsForSpills(), llvm::LiveRangeInfo::constructLiveRanges(), llvm::PPC64RegisterInfo::eliminateFrameIndex(), llvm::PPC32RegisterInfo::eliminateFrameIndex(), llvm::CallArgsDescriptor::get(), getFPReg(), llvm::LiveVariables::instructionChanged(), llvm::X86InstrInfo::isMoveInstr(), llvm::PPC64InstrInfo::isMoveInstr(), llvm::PPC32InstrInfo::isMoveInstr(), llvm::IsUselessCopy(), MakeMRIInst(), MakeMRInst(), MakeRMIInst(), MakeRMInst(), llvm::operator<<(), print(), llvm::LiveVariables::runOnMachineFunction(), and llvm::LiveIntervals::runOnMachineFunction(). |
|
Definition at line 291 of file MachineInstr.h. References isExternalSymbol(). Referenced by llvm::operator<<(), and print(). |
|
getType - Returns the MachineOperandType for this operand. Definition at line 207 of file MachineInstr.h. Referenced by llvm::CallArgsDescriptor::get(), llvm::IsUselessCopy(), llvm::operator<<(), and print(). |
|
getUseType - Returns the MachineOperandUseType of this operand. Definition at line 211 of file MachineInstr.h. Referenced by MakeRMIInst(), and MakeRMInst(). |
|
MachineOperand accessors that only work on certain types of MachineOperand... Definition at line 253 of file MachineInstr.h. References isPCRelativeDisp(), MO_CCRegister, and MO_VirtualRegister. Referenced by llvm::CallArgsDescriptor::get(), llvm::MachineInstr::getImplicitRef(), llvm::isVarArgsCall(), llvm::operator<<(), print(), and llvm::SparcV9RegInfo::suggestReg4RetValue(). |
|
getVRegValueOrNull - Get the Value* out of a MachineOperand if it has one. This is deprecated and only used by the SPARC v9 backend. Definition at line 245 of file MachineInstr.h. References isPCRelativeDisp(), MO_CCRegister, and MO_VirtualRegister. Referenced by llvm::LiveVariables::runOnMachineFunction(), and setValueReg(). |
|
hasAllocatedReg - Returns true iff a machine register has been allocated to this operand. Definition at line 311 of file MachineInstr.h. References MO_CCRegister, MO_MachineRegister, and MO_VirtualRegister. Referenced by llvm::LiveRangeInfo::constructLiveRanges(), getReg(), llvm::IsUselessCopy(), llvm::operator<<(), print(), and setReg(). |
|
Definition at line 238 of file MachineInstr.h. References MO_ConstantPoolIndex. Referenced by getConstantPoolIndex(), and isMem(). |
|
|
Definition at line 240 of file MachineInstr.h. References MO_ExternalSymbol. Referenced by getOffset(), getSymbolName(), and setOffset(). |
|
Definition at line 237 of file MachineInstr.h. References MO_FrameIndex. Referenced by llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::PPC64RegisterInfo::eliminateFrameIndex(), llvm::PPC32RegisterInfo::eliminateFrameIndex(), getFrameIndex(), and isMem(). |
|
Definition at line 239 of file MachineInstr.h. References MO_GlobalAddress. Referenced by getGlobal(), getOffset(), isMem(), MakeMIInst(), and setOffset(). |
|
Definition at line 303 of file MachineInstr.h. Referenced by llvm::operator<<(), print(), and llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Definition at line 305 of file MachineInstr.h. Referenced by llvm::operator<<(), print(), and llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Definition at line 234 of file MachineInstr.h. References MO_SignExtendedImmed, and MO_UnextendedImmed. Referenced by getImmedValue(), isMem(), llvm::PPC64InstrInfo::isMoveInstr(), llvm::PPC32InstrInfo::isMoveInstr(), isScale(), MakeMIInst(), and setImmedValue(). |
|
Definition at line 304 of file MachineInstr.h. Referenced by llvm::operator<<(), print(), and llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Definition at line 306 of file MachineInstr.h. Referenced by llvm::operator<<(), print(), and llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Accessors that tell you what kind of MachineOperand you're looking at. Definition at line 232 of file MachineInstr.h. References MO_MachineBasicBlock. Referenced by getMachineBasicBlock(), and setMachineBasicBlock(). |
|
isPCRelative - This returns the value of the PCRELATIVE flag, which indicates whether this operand should be emitted as a PC relative value instead of a global address. This is used for operands of the forms: MachineBasicBlock, GlobalAddress, ExternalSymbol Definition at line 218 of file MachineInstr.h. |
|
Definition at line 233 of file MachineInstr.h. References MO_PCRelativeDisp. Referenced by getVRegValue(), getVRegValueOrNull(), and llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
isRegister - Return true if this operand is a register operand. The X86 backend currently can't decide whether to use MO_MR or MO_VR to represent them, so we accept both. Note: The sparc backend should not use this method. Definition at line 226 of file MachineInstr.h. References MO_MachineRegister, and MO_VirtualRegister. Referenced by llvm::LiveIntervals::addIntervalsForSpills(), getFPReg(), llvm::LiveVariables::instructionChanged(), isMem(), llvm::X86InstrInfo::isMoveInstr(), llvm::PPC64InstrInfo::isMoveInstr(), llvm::PPC32InstrInfo::isMoveInstr(), llvm::LiveVariables::runOnMachineFunction(), and llvm::LiveIntervals::runOnMachineFunction(). |
|
MachineOperand methods for testing that work on any kind of MachineOperand... Definition at line 299 of file MachineInstr.h. Referenced by llvm::LiveIntervals::addIntervalsForSpills(), llvm::applyTranferFuncForMInst(), llvm::operator<<(), llvm::MachineInstr::print(), llvm::LiveVariables::runOnMachineFunction(), llvm::LiveIntervals::runOnMachineFunction(), llvm::MachineInstr::substituteValue(), and llvm::VirtRegMap::virtFolded(). |
|
markHi32, markLo32, etc. - These methods are deprecated and only used by the SPARC v9 back-end. Definition at line 355 of file MachineInstr.h. Referenced by llvm::SparcV9RegInfo::cpMem2RegMI(), llvm::SparcV9RegInfo::cpReg2MemMI(), and llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Definition at line 357 of file MachineInstr.h. Referenced by llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Definition at line 356 of file MachineInstr.h. Referenced by llvm::SparcV9RegInfo::cpMem2RegMI(), llvm::SparcV9RegInfo::cpReg2MemMI(), and llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Definition at line 358 of file MachineInstr.h. Referenced by llvm::SparcV9CodeEmitter::runOnMachineFunction(). |
|
Definition at line 197 of file MachineInstr.h. |
|
Definition at line 302 of file MachineInstr.h. |
|
Definition at line 339 of file MachineInstr.h. References isImmediate(). |
|
Definition at line 270 of file MachineInstr.h. References isMachineBasicBlock(). |
|
Definition at line 344 of file MachineInstr.h. References isExternalSymbol(), and isGlobalAddress(). |
|
MachineOperand mutators... Definition at line 327 of file MachineInstr.h. References hasAllocatedReg(). |
|
Definition at line 300 of file MachineInstr.h. |
|
Definition at line 334 of file MachineInstr.h. References getVRegValueOrNull(). |
|
Definition at line 371 of file MachineInstr.h. |
|
|