LLVM API Documentation
#include <MachineOperand.h>
Public Member Functions | |
MachineOperandType | getType () const |
unsigned | getTargetFlags () const |
void | setTargetFlags (unsigned F) |
void | addTargetFlag (unsigned F) |
MachineInstr * | getParent () |
const MachineInstr * | getParent () const |
void | clearParent () |
void | print (raw_ostream &os, const TargetMachine *TM=0) const |
bool | isReg () const |
isReg - Tests if this is a MO_Register operand. More... | |
bool | isImm () const |
isImm - Tests if this is a MO_Immediate operand. More... | |
bool | isCImm () const |
isCImm - Test if t his is a MO_CImmediate operand. More... | |
bool | isFPImm () const |
isFPImm - Tests if this is a MO_FPImmediate operand. More... | |
bool | isMBB () const |
isMBB - Tests if this is a MO_MachineBasicBlock operand. More... | |
bool | isFI () const |
isFI - Tests if this is a MO_FrameIndex operand. More... | |
bool | isCPI () const |
isCPI - Tests if this is a MO_ConstantPoolIndex operand. More... | |
bool | isTargetIndex () const |
isTargetIndex - Tests if this is a MO_TargetIndex operand. More... | |
bool | isJTI () const |
isJTI - Tests if this is a MO_JumpTableIndex operand. More... | |
bool | isGlobal () const |
isGlobal - Tests if this is a MO_GlobalAddress operand. More... | |
bool | isSymbol () const |
isSymbol - Tests if this is a MO_ExternalSymbol operand. More... | |
bool | isBlockAddress () const |
isBlockAddress - Tests if this is a MO_BlockAddress operand. More... | |
bool | isRegMask () const |
isRegMask - Tests if this is a MO_RegisterMask operand. More... | |
bool | isMetadata () const |
isMetadata - Tests if this is a MO_Metadata operand. More... | |
bool | isMCSymbol () const |
unsigned | getReg () const |
getReg - Returns the register number. More... | |
unsigned | getSubReg () const |
bool | isUse () const |
bool | isDef () const |
bool | isImplicit () const |
bool | isDead () const |
bool | isKill () const |
bool | isUndef () const |
bool | isInternalRead () const |
bool | isEarlyClobber () const |
bool | isTied () const |
bool | isDebug () const |
bool | readsReg () const |
void | setReg (unsigned Reg) |
void | setSubReg (unsigned subReg) |
void | substVirtReg (unsigned Reg, unsigned SubIdx, const TargetRegisterInfo &) |
void | substPhysReg (unsigned Reg, const TargetRegisterInfo &) |
void | setIsUse (bool Val=true) |
void | setIsDef (bool Val=true) |
Change a def to a use, or a use to a def. More... | |
void | setImplicit (bool Val=true) |
void | setIsKill (bool Val=true) |
void | setIsDead (bool Val=true) |
void | setIsUndef (bool Val=true) |
void | setIsInternalRead (bool Val=true) |
void | setIsEarlyClobber (bool Val=true) |
void | setIsDebug (bool Val=true) |
int64_t | getImm () const |
const ConstantInt * | getCImm () const |
const ConstantFP * | getFPImm () const |
MachineBasicBlock * | getMBB () const |
int | getIndex () const |
const GlobalValue * | getGlobal () const |
const BlockAddress * | getBlockAddress () const |
MCSymbol * | getMCSymbol () const |
int64_t | getOffset () const |
const char * | getSymbolName () const |
bool | clobbersPhysReg (unsigned PhysReg) const |
clobbersPhysReg - Returns true if this RegMask operand clobbers PhysReg. More... | |
const uint32_t * | getRegMask () const |
const MDNode * | getMetadata () const |
void | setImm (int64_t immVal) |
void | setOffset (int64_t Offset) |
void | setIndex (int Idx) |
void | setMBB (MachineBasicBlock *MBB) |
bool | isIdenticalTo (const MachineOperand &Other) const |
void | ChangeToImmediate (int64_t ImmVal) |
void | ChangeToRegister (unsigned Reg, bool isDef, bool isImp=false, bool isKill=false, bool isDead=false, bool isUndef=false, bool isDebug=false) |
Friends | |
class | MachineInstr |
class | MachineRegisterInfo |
hash_code | hash_value (const MachineOperand &MO) |
MachineOperand hash_value overload. More... | |
MachineOperand class - Representation of each machine instruction operand.
This class isn't a POD type because it has a private constructor, but its destructor must be trivial. Functions like MachineInstr::addOperand(), MachineRegisterInfo::moveOperands(), and MF::DeleteMachineInstr() depend on not having to call the MachineOperand destructor.
Definition at line 43 of file MachineOperand.h.
Enumerator | |
---|---|
MO_Register |
Register operand. |
MO_Immediate |
Immediate operand. |
MO_CImmediate |
Immediate >64bit operand. |
MO_FPImmediate |
Floating-point immediate operand. |
MO_MachineBasicBlock |
MachineBasicBlock reference. |
MO_FrameIndex |
Abstract Stack Frame Index. |
MO_ConstantPoolIndex | |
MO_TargetIndex |
Target-dependent index+offset operand. |
MO_JumpTableIndex |
Address of indexed Jump Table for switch. |
MO_ExternalSymbol |
Name of external global symbol. |
MO_GlobalAddress |
Address of a global value. |
MO_BlockAddress |
Address of a basic block. |
MO_RegisterMask |
Mask of preserved registers. |
MO_Metadata |
Metadata reference (for debug info) |
MO_MCSymbol |
MCSymbol reference (for debug/eh info) |
Definition at line 45 of file MachineOperand.h.
|
inline |
Definition at line 195 of file MachineOperand.h.
Referenced by llvm::HexagonInstrInfo::immediateExtend().
void MachineOperand::ChangeToImmediate | ( | int64_t | ImmVal | ) |
ChangeToImmediate - Replace this operand with a new immediate operand of the specified value. If an operand is known to be an immediate already, the setImm method should be used.
Definition at line 112 of file MachineInstr.cpp.
References llvm::MachineBasicBlock::getParent(), getParent(), ImmVal, isReg(), isTied(), MBB, llvm::A64CC::MI, and MO_Immediate.
Referenced by llvm::SIInstrInfo::commuteInstruction(), llvm::AArch64RegisterInfo::eliminateFrameIndex(), llvm::MSP430RegisterInfo::eliminateFrameIndex(), llvm::NVPTXRegisterInfo::eliminateFrameIndex(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::HexagonRegisterInfo::eliminateFrameIndex(), llvm::Thumb1RegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::ARMBaseInstrInfo::FoldImmediate(), llvm::X86InstrInfo::foldMemoryOperandImpl(), llvm::HexagonInstrInfo::PredicateInstruction(), replaceFI(), llvm::PPCRegisterInfo::resolveFrameIndex(), llvm::rewriteARMFrameIndex(), llvm::Thumb1RegisterInfo::rewriteFrameIndex(), and llvm::rewriteT2FrameIndex().
void MachineOperand::ChangeToRegister | ( | unsigned | Reg, |
bool | isDef, | ||
bool | isImp = false , |
||
bool | isKill = false , |
||
bool | isDead = false , |
||
bool | isUndef = false , |
||
bool | isDebug = false |
||
) |
ChangeToRegister - Replace this operand with a new register operand of the specified value. If an operand is known to be an register already, the setReg method should be used.
Definition at line 129 of file MachineInstr.cpp.
References llvm::MachineRegisterInfo::addRegOperandToUseList(), llvm::MachineBasicBlock::getParent(), getParent(), isDead(), isDebug(), isDef(), isKill(), isReg(), isUndef(), MBB, llvm::A64CC::MI, MO_Register, Reg, and llvm::MachineRegisterInfo::removeRegOperandFromUseList().
Referenced by llvm::SIInstrInfo::commuteInstruction(), llvm::AArch64RegisterInfo::eliminateFrameIndex(), llvm::MSP430RegisterInfo::eliminateFrameIndex(), llvm::NVPTXRegisterInfo::eliminateFrameIndex(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::HexagonRegisterInfo::eliminateFrameIndex(), llvm::SystemZRegisterInfo::eliminateFrameIndex(), llvm::Thumb1RegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::ARMBaseRegisterInfo::eliminateFrameIndex(), llvm::SIInstrInfo::legalizeOpWithMove(), llvm::HexagonInstrInfo::PredicateInstruction(), replaceFI(), llvm::PPCRegisterInfo::resolveFrameIndex(), llvm::rewriteARMFrameIndex(), llvm::Thumb1RegisterInfo::rewriteFrameIndex(), llvm::rewriteT2FrameIndex(), and llvm::X86InstrInfo::unfoldMemoryOperand().
|
inline |
clearParent - Reset the parent pointer.
The MachineOperand copy constructor also copies ParentMI, expecting the original to be deleted. If a MachineOperand is ever stored outside a MachineInstr, the parent pointer must be cleared.
Never call clearParent() on an operand in a MachineInstr.
Definition at line 215 of file MachineOperand.h.
|
inlinestatic |
clobbersPhysReg - Returns true if this RegMask clobbers PhysReg. It is sometimes necessary to detach the register mask pointer from its machine operand. This static method can be used for such detached bit mask pointers.
Definition at line 461 of file MachineOperand.h.
Referenced by llvm::MachineOperandIteratorBase::analyzePhysReg(), canClobberPhysRegDefs(), canClobberReachingPhysRegUse(), CheckForLiveRegDefMasked(), clobbersAllYmmRegs(), clobbersCTR(), clobbersPhysReg(), llvm::ARMBaseInstrInfo::DefinesPredicate(), llvm::PPCInstrInfo::DefinesPredicate(), llvm::MachineInstr::findRegisterDefOperandIdx(), llvm::X86RegisterInfo::getReservedRegs(), isSafeToClobberEFLAGS(), operClobbersUnit(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), and llvm::Thumb1RegisterInfo::saveScavengerRegister().
clobbersPhysReg - Returns true if this RegMask operand clobbers PhysReg.
Definition at line 468 of file MachineOperand.h.
References clobbersPhysReg(), and getRegMask().
|
inlinestatic |
Definition at line 634 of file MachineOperand.h.
References BA, MO_BlockAddress, OffsetedInfo, setOffset(), and setTargetFlags().
Referenced by llvm::MachineInstrBuilder::addBlockAddress().
|
inlinestatic |
Definition at line 548 of file MachineOperand.h.
References CI, and MO_CImmediate.
Referenced by llvm::MachineInstrBuilder::addCImm().
|
inlinestatic |
Definition at line 595 of file MachineOperand.h.
References MO_ConstantPoolIndex, setIndex(), setOffset(), and setTargetFlags().
Referenced by llvm::MachineInstrBuilder::addConstantPoolIndex(), and llvm::X86InstrInfo::foldMemoryOperandImpl().
|
inlinestatic |
Definition at line 626 of file MachineOperand.h.
References MO_ExternalSymbol, OffsetedInfo, setOffset(), and setTargetFlags().
Referenced by llvm::MachineInstrBuilder::addExternalSymbol().
|
inlinestatic |
Definition at line 590 of file MachineOperand.h.
References MO_FrameIndex, and setIndex().
Referenced by llvm::MachineInstrBuilder::addFrameIndex(), llvm::X86InstrInfo::foldMemoryOperandImpl(), foldPatchpoint(), and llvm::X86AddressMode::getFullAddress().
|
inlinestatic |
Definition at line 554 of file MachineOperand.h.
References CFP, and MO_FPImmediate.
Referenced by llvm::MachineInstrBuilder::addFPImm().
|
inlinestatic |
Definition at line 618 of file MachineOperand.h.
References GV, MO_GlobalAddress, OffsetedInfo, setOffset(), and setTargetFlags().
Referenced by llvm::MachineInstrBuilder::addGlobalAddress(), and llvm::X86AddressMode::getFullAddress().
|
inlinestatic |
Definition at line 542 of file MachineOperand.h.
References MO_Immediate, and setImm().
Referenced by llvm::MachineInstrBuilder::addImm(), llvm::XCoreInstrInfo::AnalyzeBranch(), llvm::AArch64InstrInfo::AnalyzeBranch(), llvm::HexagonInstrInfo::AnalyzeBranch(), llvm::SparcInstrInfo::AnalyzeBranch(), llvm::MSP430InstrInfo::AnalyzeBranch(), llvm::PPCInstrInfo::AnalyzeBranch(), llvm::SystemZInstrInfo::AnalyzeBranch(), llvm::X86InstrInfo::AnalyzeBranch(), classifyCondBranch(), llvm::X86InstrInfo::foldMemoryOperandImpl(), foldPatchpoint(), llvm::X86AddressMode::getFullAddress(), and llvm::HexagonInstrInfo::ReverseBranchCondition().
|
inlinestatic |
Definition at line 611 of file MachineOperand.h.
References MO_JumpTableIndex, setIndex(), and setTargetFlags().
Referenced by llvm::MachineInstrBuilder::addJumpTableIndex().
|
inlinestatic |
Definition at line 583 of file MachineOperand.h.
References MO_MachineBasicBlock, setMBB(), and setTargetFlags().
Referenced by llvm::MachineInstrBuilder::addMBB().
|
inlinestatic |
Definition at line 666 of file MachineOperand.h.
References MO_MCSymbol, and Sym.
Referenced by llvm::MachineInstrBuilder::addSym().
|
inlinestatic |
Definition at line 660 of file MachineOperand.h.
References MD, and MO_Metadata.
Referenced by llvm::MachineInstrBuilder::addMetadata().
|
inlinestatic |
Definition at line 560 of file MachineOperand.h.
References isDead(), isDebug(), isDef(), isEarlyClobber(), isInternalRead(), isKill(), isUndef(), MO_Register, Reg, RegNo, and setSubReg().
Referenced by llvm::MachineInstrBuilder::addReg(), llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterDefined(), llvm::MachineInstr::addRegisterKilled(), llvm::ARMTargetLowering::AdjustInstrPostInstrSelection(), llvm::PPCInstrInfo::AnalyzeBranch(), llvm::R600InstrInfo::AnalyzeBranch(), llvm::X86InstrInfo::convertToThreeAddress(), llvm::X86InstrInfo::foldMemoryOperandImpl(), llvm::X86AddressMode::getFullAddress(), INITIALIZE_PASS(), llvm::SIInstrInfo::moveToVALU(), llvm::PPCInstrInfo::optimizeCompareInstr(), llvm::rewriteT2FrameIndex(), and llvm::tryFoldSPUpdateIntoPushPop().
|
inlinestatic |
CreateRegMask - Creates a register mask operand referencing Mask. The operand does not take ownership of the memory referenced by Mask, it must remain valid for the lifetime of the operand.
A RegMask operand represents a set of non-clobbered physical registers on an instruction that clobbers many registers, typically a call. The bit mask has a bit set for each physreg that is preserved by this instruction, as described in the documentation for TargetRegisterInfo::getCallPreservedMask().
Any physreg with a 0 bit in the mask is clobbered by the instruction.
Definition at line 654 of file MachineOperand.h.
References MO_RegisterMask, and RegMask.
Referenced by llvm::MachineInstrBuilder::addRegMask().
|
inlinestatic |
Definition at line 603 of file MachineOperand.h.
References MO_TargetIndex, setIndex(), setOffset(), and setTargetFlags().
Referenced by llvm::MachineInstrBuilder::addTargetIndex().
|
inline |
Definition at line 433 of file MachineOperand.h.
References isBlockAddress().
Referenced by llvm::MSP430MCInstLower::GetBlockAddressSymbol(), llvm::SystemZMCInstLower::getExpr(), llvm::hash_value(), llvm::HexagonLowerToMC(), isIdenticalTo(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::LowerPPCMachineInstrToMCInst(), llvm::MipsAsmPrinter::printOperand(), and llvm::AArch64AsmPrinter::printSymbolicAddress().
|
inline |
Definition at line 407 of file MachineOperand.h.
References isCImm().
Referenced by emitDebugValueComment(), getDebugLocEntry(), llvm::hash_value(), and isIdenticalTo().
|
inline |
Definition at line 412 of file MachineOperand.h.
References isFPImm().
Referenced by llvm::CompileUnit::addConstantFPValue(), emitDebugValueComment(), llvm::R600TargetLowering::EmitInstrWithCustomInserter(), getDebugLocEntry(), llvm::hash_value(), llvm::HexagonLowerToMC(), isIdenticalTo(), llvm::SIInstrInfo::isInlineConstant(), llvm::AMDGPUMCInstLower::lower(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), and llvm::AArch64AsmPrinter::PrintAsmOperand().
|
inline |
Definition at line 428 of file MachineOperand.h.
References isGlobal().
Referenced by llvm::MachineInstrBuilder::addDisp(), llvm::X86FrameLowering::adjustForHiPEPrologue(), llvm::DwarfException::CallToNoUnwindFunction(), llvm::ARMFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), llvm::SystemZMCInstLower::getExpr(), llvm::MSP430MCInstLower::GetGlobalAddressSymbol(), GetSymbolFromOperand(), llvm::hash_value(), llvm::HexagonLowerToMC(), isIdenticalTo(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::HexagonAsmPrinter::printGlobalOperand(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::AArch64AsmPrinter::printSymbolicAddress(), llvm::X86AsmPrinter::printSymbolOperand(), and llvm::ARMBaseInstrInfo::produceSameValue().
|
inline |
Definition at line 402 of file MachineOperand.h.
References isImm().
Referenced by llvm::CompileUnit::addConstantValue(), llvm::MachineInstrBuilder::addDisp(), llvm::R600InstrInfo::addFlag(), adjustDefLatency(), llvm::SITargetLowering::AdjustInstrPostInstrSelection(), llvm::HexagonInstrInfo::analyzeCompare(), llvm::SystemZInstrInfo::analyzeCompare(), llvm::ARMBaseInstrInfo::analyzeCompare(), llvm::PPCInstrInfo::analyzeCompare(), llvm::X86InstrInfo::analyzeCompare(), llvm::R600InstrInfo::buildSlotOfVectorInstruction(), canCompareBeNewValueJump(), llvm::R600InstrInfo::clearFlag(), llvm::SIInstrInfo::commuteInstruction(), llvm::PPCInstrInfo::commuteInstruction(), llvm::X86InstrInfo::commuteInstruction(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::SystemZInstrInfo::convertToThreeAddress(), llvm::X86InstrInfo::convertToThreeAddress(), llvm::SparcFrameLowering::eliminateCallFramePseudoInstr(), llvm::MSP430FrameLowering::eliminateCallFramePseudoInstr(), llvm::XCoreFrameLowering::eliminateCallFramePseudoInstr(), llvm::Thumb1FrameLowering::eliminateCallFramePseudoInstr(), llvm::AArch64RegisterInfo::eliminateFrameIndex(), llvm::MSP430RegisterInfo::eliminateFrameIndex(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::NVPTXRegisterInfo::eliminateFrameIndex(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::ARMBaseRegisterInfo::eliminateFrameIndex(), llvm::AArch64TargetLowering::emitAtomicBinary(), llvm::AArch64TargetLowering::emitAtomicBinaryMinMax(), llvm::AArch64TargetLowering::emitAtomicCmpSwap(), emitDebugValueComment(), llvm::PPCFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::AArch64TargetLowering::EmitF128CSEL(), EmitGCCInlineAsmStr(), llvm::SystemZAsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::MipsAsmPrinter::EmitInstruction(), llvm::R600TargetLowering::EmitInstrWithCustomInserter(), llvm::SparcTargetLowering::EmitInstrWithCustomInserter(), llvm::MSP430TargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), llvm::ARMAsmPrinter::EmitJump2Table(), llvm::ARMAsmPrinter::EmitJumpTable(), EmitMSInlineAsmStr(), llvm::MachineInstr::findInlineAsmFlagIdx(), llvm::MachineInstr::findTiedOperandIdx(), llvm::PPCInstrInfo::FoldImmediate(), llvm::ARMBaseInstrInfo::FoldImmediate(), llvm::SystemZInstrInfo::foldMemoryOperandImpl(), llvm::SystemZInstrInfo::getBranchInfo(), llvm::SystemZInstrInfo::getCompareAndBranch(), getDebugLocEntry(), llvm::ARMBaseRegisterInfo::getFrameIndexInstrOffset(), llvm::getInstrPredicate(), llvm::MipsInstrInfo::GetInstSizeInBytes(), llvm::ARMBaseInstrInfo::GetInstSizeInBytes(), llvm::NVPTXInstrInfo::getLdStCodeAddrSpace(), getMemoryOpOffset(), getNumMicroOpsSwiftLdSt(), llvm::ARMBaseInstrInfo::getPredicate(), llvm::R600InstrInfo::getSrcs(), getTruncatedShiftCount(), llvm::PatchPointOpers::getVarIdx(), llvm::hash_value(), HashMachineInstr(), llvm::HexagonLowerToMC(), INITIALIZE_PASS(), isCompareZero(), llvm::HexagonInstrInfo::isConstExtended(), isGreaterThan6BitTFRI(), isGreaterThan8BitTFRI(), isIdenticalTo(), llvm::SIInstrInfo::isInlineConstant(), llvm::HexagonInstrInfo::isLoadFromStackSlot(), llvm::SparcInstrInfo::isLoadFromStackSlot(), llvm::ARMBaseInstrInfo::isLoadFromStackSlot(), llvm::PPCInstrInfo::isLoadFromStackSlot(), isMatchingDecrement(), isMatchingIncrement(), llvm::isParamLoad(), llvm::HexagonInstrInfo::isPredicable(), llvm::R600InstrInfo::isPredicable(), llvm::ARMBaseInstrInfo::isPredicated(), isRedundantFlagInstr(), llvm::isScale(), isShift(), isSimpleBD12Move(), isSimpleMove(), llvm::SystemZInstrInfo::isStackSlotCopy(), llvm::HexagonInstrInfo::isStoreToStackSlot(), llvm::SparcInstrInfo::isStoreToStackSlot(), llvm::ARMBaseInstrInfo::isStoreToStackSlot(), llvm::PPCInstrInfo::isStoreToStackSlot(), isSuitableForMask(), llvm::ARMBaseInstrInfo::isSwiftFastImmShift(), isZeroImm(), llvm::MipsInstrInfo::isZeroImm(), llvm::AMDGPUMCInstLower::lower(), llvm::MSP430MCInstLower::Lower(), llvm::MipsMCInstLower::LowerOperand(), llvm::XCoreMCInstLower::LowerOperand(), llvm::SystemZMCInstLower::lowerOperand(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), LowerPATCHPOINT(), llvm::LowerPPCMachineInstrToMCInst(), lowerRIEfLow(), lowerRIHigh(), lowerRILow(), LowerSTACKMAP(), llvm::MachineInstr::mayLoad(), llvm::MachineInstr::mayStore(), llvm::PPCRegisterInfo::needsFrameBaseReg(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), llvm::PPCInstrInfo::optimizeCompareInstr(), llvm::ARMBaseInstrInfo::optimizeSelect(), parseMemoryOperand(), llvm::HexagonInstrInfo::PredicateInstruction(), llvm::MachineInstr::print(), llvm::HexagonAsmPrinter::printAddrModeBasePlusOffset(), llvm::SystemZAsmPrinter::PrintAsmMemoryOperand(), llvm::HexagonAsmPrinter::PrintAsmMemoryOperand(), llvm::SystemZAsmPrinter::PrintAsmOperand(), llvm::AArch64AsmPrinter::PrintAsmOperand(), llvm::ARMAsmPrinter::PrintAsmOperand(), llvm::X86AsmPrinter::PrintAsmOperand(), llvm::MipsAsmPrinter::PrintAsmOperand(), llvm::AsmPrinter::PrintAsmOperand(), llvm::HexagonAsmPrinter::printBranchOperand(), llvm::MipsAsmPrinter::printFCCOperand(), llvm::HexagonAsmPrinter::printFrameIndexOperand(), llvm::HexagonAsmPrinter::printImmOperand(), llvm::X86AsmPrinter::printIntelMemReference(), llvm::X86AsmPrinter::printLeaMemReference(), llvm::HexagonAsmPrinter::printMEMriOperand(), printModifiedGPRAsmOperand(), llvm::HexagonAsmPrinter::printNegImmOperand(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::X86AsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::X86AsmPrinter::printPCRelImm(), llvm::MipsAsmPrinter::printUnsignedImm(), llvm::MipsAsmPrinter::printUnsignedImm8(), llvm::StackMaps::recordStackMap(), llvm::PPCRegisterInfo::resolveFrameIndex(), llvm::R600InstrInfo::ReverseBranchCondition(), llvm::rewriteARMFrameIndex(), llvm::Thumb1RegisterInfo::rewriteFrameIndex(), llvm::rewriteT2FrameIndex(), llvm::SelectionDAGISel::runOnMachineFunction(), and llvm::X86InstrInfo::unfoldMemoryOperand().
|
inline |
Definition at line 422 of file MachineOperand.h.
References isCPI(), isFI(), isJTI(), and isTargetIndex().
Referenced by llvm::ARMBaseInstrInfo::duplicate(), llvm::AArch64RegisterInfo::eliminateFrameIndex(), llvm::MSP430RegisterInfo::eliminateFrameIndex(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::NVPTXRegisterInfo::eliminateFrameIndex(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::HexagonRegisterInfo::eliminateFrameIndex(), llvm::Thumb1RegisterInfo::eliminateFrameIndex(), llvm::MipsRegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::ARMBaseRegisterInfo::eliminateFrameIndex(), emitDebugValueComment(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::MipsAsmPrinter::EmitInstruction(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), llvm::ARMAsmPrinter::EmitJump2Table(), llvm::ARMAsmPrinter::EmitJumpTable(), llvm::MSP430MCInstLower::GetConstantPoolIndexSymbol(), llvm::SystemZMCInstLower::getExpr(), llvm::ARMBaseInstrInfo::GetInstSizeInBytes(), llvm::MSP430MCInstLower::GetJumpTableSymbol(), llvm::hash_value(), HashMachineInstr(), llvm::HexagonLowerToMC(), isIdenticalTo(), llvm::MipsSEInstrInfo::isLoadFromStackSlot(), llvm::XCoreInstrInfo::isLoadFromStackSlot(), llvm::HexagonInstrInfo::isLoadFromStackSlot(), llvm::SparcInstrInfo::isLoadFromStackSlot(), llvm::ARMBaseInstrInfo::isLoadFromStackSlot(), llvm::PPCInstrInfo::isLoadFromStackSlot(), isSimpleMove(), llvm::SystemZInstrInfo::isStackSlotCopy(), llvm::MipsSEInstrInfo::isStoreToStackSlot(), llvm::XCoreInstrInfo::isStoreToStackSlot(), llvm::HexagonInstrInfo::isStoreToStackSlot(), llvm::SparcInstrInfo::isStoreToStackSlot(), llvm::ARMBaseInstrInfo::isStoreToStackSlot(), llvm::PPCInstrInfo::isStoreToStackSlot(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::LowerPPCMachineInstrToMCInst(), MatchingStackOffset(), llvm::BranchFolder::OptimizeFunction(), llvm::HexagonAsmPrinter::printConstantPool(), llvm::HexagonAsmPrinter::printJumpTable(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::AArch64AsmPrinter::printSymbolicAddress(), llvm::X86AsmPrinter::printSymbolOperand(), llvm::ARMBaseInstrInfo::produceSameValue(), and llvm::ARMBaseInstrInfo::reMaterialize().
|
inline |
Definition at line 417 of file MachineOperand.h.
References isMBB().
Referenced by llvm::XCoreInstrInfo::AnalyzeBranch(), llvm::AArch64InstrInfo::AnalyzeBranch(), llvm::HexagonInstrInfo::AnalyzeBranch(), llvm::NVPTXInstrInfo::AnalyzeBranch(), llvm::MipsInstrInfo::AnalyzeBranch(), llvm::PPCInstrInfo::AnalyzeBranch(), llvm::SystemZInstrInfo::AnalyzeBranch(), llvm::R600InstrInfo::AnalyzeBranch(), BBIsJumpedOver(), classifyCondBranch(), EmitGCCInlineAsmStr(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), findCorrespondingPred(), llvm::HexagonInstrInfo::getDotNewPredJumpOp(), llvm::SystemZMCInstLower::getExpr(), getPHIDeps(), getPHISrcRegOpIdx(), getTargetMBB(), llvm::hash_value(), HashMachineInstr(), llvm::HexagonLowerToMC(), llvm::AsmPrinter::isBlockOnlyReachableByFallthrough(), isIdenticalTo(), llvm::AMDGPUMCInstLower::lower(), llvm::MSP430MCInstLower::Lower(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::LowerPPCMachineInstrToMCInst(), llvm::PPCInstrInfo::PredicateInstruction(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::X86AsmPrinter::printPCRelImm(), and llvm::MachineBasicBlock::transferSuccessorsAndUpdatePHIs().
|
inline |
Definition at line 438 of file MachineOperand.h.
References isMCSymbol().
Referenced by llvm::AsmPrinter::emitPrologLabel(), llvm::hash_value(), and isIdenticalTo().
|
inline |
Definition at line 479 of file MachineOperand.h.
References isMetadata().
Referenced by emitDebugValueComment(), llvm::MachineInstr::emitError(), llvm::hash_value(), isIdenticalTo(), and llvm::MachineInstr::print().
|
inline |
getOffset - Return the offset from the symbol in this operand. This always returns 0 for ExternalSymbol operands.
Definition at line 445 of file MachineOperand.h.
References isBlockAddress(), isCPI(), isGlobal(), isSymbol(), and isTargetIndex().
Referenced by llvm::MachineInstrBuilder::addDisp(), llvm::X86RegisterInfo::eliminateFrameIndex(), llvm::ARMFrameLowering::emitEpilogue(), llvm::PPCFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::SystemZMCInstLower::getExpr(), GetSymbolRef(), llvm::hash_value(), HashMachineInstr(), isIdenticalTo(), llvm::MSP430MCInstLower::LowerSymbolOperand(), llvm::AArch64AsmPrinter::lowerSymbolOperand(), llvm::HexagonAsmPrinter::printGlobalOperand(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::X86AsmPrinter::printSymbolOperand(), and llvm::ARMBaseInstrInfo::produceSameValue().
|
inline |
getParent - Return the instruction that this operand belongs to.
Definition at line 204 of file MachineOperand.h.
Referenced by llvm::MachineOperandIteratorBase::analyzeVirtReg(), ChangeToImmediate(), ChangeToRegister(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::MachineInstr::emitError(), llvm::MachineInstr::eraseFromBundle(), llvm::MachineInstr::eraseFromParent(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::getOperandNo(), llvm::MachineInstr::getRegClassConstraint(), GetSymbolRef(), llvm::MachineInstr::isIdenticalTo(), llvm::MachineInstr::isInvariantLoad(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::operator*(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::operator->(), print(), llvm::MachineInstr::print(), llvm::MachineInstr::removeFromBundle(), llvm::MachineInstr::removeFromParent(), llvm::MachineSSAUpdater::RewriteUse(), setIsDef(), setReg(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::skipBundle(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::skipInstruction(), UpdatePredRedefs(), and llvm::MachineRegisterInfo::verifyUseList().
|
inline |
Definition at line 205 of file MachineOperand.h.
|
inline |
getReg - Returns the register number.
Definition at line 259 of file MachineOperand.h.
References isReg().
Referenced by addLiveInRegs(), llvm::ScheduleDAGInstrs::addPhysRegDataDeps(), llvm::ScheduleDAGInstrs::addPhysRegDeps(), llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterDefined(), llvm::MachineInstr::addRegisterKilled(), llvm::MachineRegisterInfo::addRegOperandToUseList(), llvm::ScheduleDAGInstrs::addSchedBarrierDeps(), llvm::ScheduleDAGInstrs::addVRegDefDeps(), llvm::ScheduleDAGInstrs::addVRegUseDeps(), llvm::SITargetLowering::AdjustInstrPostInstrSelection(), llvm::ARMTargetLowering::AdjustInstrPostInstrSelection(), llvm::HexagonInstrInfo::analyzeCompare(), llvm::SystemZInstrInfo::analyzeCompare(), llvm::ARMBaseInstrInfo::analyzeCompare(), llvm::PPCInstrInfo::analyzeCompare(), llvm::X86InstrInfo::analyzeCompare(), llvm::MachineOperandIteratorBase::analyzePhysReg(), llvm::MachineOperandIteratorBase::analyzeVirtReg(), llvm::DwarfDebug::beginFunction(), biasPhysRegCopy(), llvm::CriticalAntiDepBreaker::BreakAntiDependencies(), llvm::ARMBaseInstrInfo::breakPartialRegDependency(), llvm::ScheduleDAGInstrs::buildSchedGraph(), llvm::R600InstrInfo::buildSlotOfVectorInstruction(), canCompareBeNewValueJump(), canFoldCopy(), canFoldIntoMOVCC(), llvm::X86InstrInfo::classifyLEAReg(), llvm::MachineInstr::clearRegisterKills(), clobbersCTR(), RegisterOperands::collect(), collectDebugValues(), llvm::SIInstrInfo::commuteInstruction(), llvm::PPCInstrInfo::commuteInstruction(), llvm::TargetInstrInfo::commuteInstruction(), llvm::TargetSchedModel::computeOutputLatency(), llvm::CompileUnit::constructVariableDIE(), llvm::AMDGPUInstrInfo::convertToISA(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::SystemZInstrInfo::convertToThreeAddress(), llvm::X86InstrInfo::convertToThreeAddress(), copyHint(), llvm::SSAUpdaterTraits< MachineSSAUpdater >::CreateEmptyPHI(), definesCPSR(), llvm::ARMBaseInstrInfo::DefinesPredicate(), llvm::HexagonInstrInfo::DefinesPredicate(), llvm::PPCInstrInfo::DefinesPredicate(), determineREX(), llvm::MSP430RegisterInfo::eliminateFrameIndex(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::HexagonRegisterInfo::eliminateFrameIndex(), llvm::Thumb1RegisterInfo::eliminateFrameIndex(), llvm::PPCRegisterInfo::eliminateFrameIndex(), llvm::ARMBaseRegisterInfo::eliminateFrameIndex(), llvm::AArch64TargetLowering::emitAtomicBinary(), llvm::PPCTargetLowering::EmitAtomicBinary(), llvm::AArch64TargetLowering::emitAtomicBinaryMinMax(), llvm::AArch64TargetLowering::emitAtomicCmpSwap(), emitDebugValueComment(), llvm::PPCTargetLowering::emitEHSjLjLongJmp(), llvm::PPCTargetLowering::emitEHSjLjSetJmp(), llvm::ARMFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::AArch64TargetLowering::EmitF128CSEL(), llvm::AsmPrinter::emitImplicitDef(), llvm::SystemZAsmPrinter::EmitInstruction(), llvm::X86AsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::R600TargetLowering::EmitInstrWithCustomInserter(), llvm::SITargetLowering::EmitInstrWithCustomInserter(), llvm::SparcTargetLowering::EmitInstrWithCustomInserter(), llvm::XCoreTargetLowering::EmitInstrWithCustomInserter(), llvm::MSP430TargetLowering::EmitInstrWithCustomInserter(), llvm::ARMTargetLowering::EmitInstrWithCustomInserter(), llvm::PPCTargetLowering::EmitInstrWithCustomInserter(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), emitKill(), EmitMonitor(), llvm::PPCTargetLowering::EmitPartwordAtomicBinary(), EmitPCMPSTRI(), EmitPCMPSTRM(), llvm::AMDGPUAsmPrinter::EmitProgramInfoR600(), llvm::AMDGPUAsmPrinter::EmitProgramInfoSI(), llvm::MSP430TargetLowering::EmitShiftInstr(), EmitXBegin(), eraseIfDead(), Expand2AddrUndef(), expandPseudoDIV(), llvm::finalizeBundle(), findDeadCallerSavedReg(), findHoistingInsertPosAndDeps(), llvm::MachineInstr::findRegisterDefOperandIdx(), llvm::MachineInstr::findRegisterUseOperandIdx(), finishConvertToThreeAddress(), llvm::PPCInstrInfo::FoldImmediate(), llvm::ARMBaseInstrInfo::FoldImmediate(), llvm::TargetInstrInfo::foldMemoryOperand(), llvm::SystemZInstrInfo::foldMemoryOperandImpl(), llvm::X86InstrInfo::foldMemoryOperandImpl(), foldPatchpoint(), for(), forceReg(), llvm::RegScavenger::forward(), getCopyOrBitcastDefUseIdx(), getDebugLocEntry(), getFPReg(), llvm::MachineInstrExpressionTrait::getHashValue(), llvm::getInstrPredicate(), getNumMicroOpsSwiftLdSt(), llvm::ARMBaseInstrInfo::getOperandLatency(), llvm::SIInstrInfo::getOpRegClass(), llvm::ARMBaseInstrInfo::getPartialRegUpdateClearance(), llvm::X86InstrInfo::getPartialRegUpdateClearance(), getPHIDeps(), llvm::SSAUpdaterTraits< MachineSSAUpdater >::GetPHIValue(), GetPostIncrementOperand(), getPredicatedRegister(), getRegsUsedByPHIs(), llvm::R600InstrInfo::getSrcs(), llvm::X86InstrInfo::getUndefRegClearance(), llvm::SSAUpdaterTraits< MachineSSAUpdater >::GetUndefVal(), llvm::MachineSSAUpdater::GetValueInMiddleOfBlock(), HandleVRSaveUpdate(), llvm::hash_value(), HashMachineInstr(), hasLiveCondCodeDef(), hasRAWHazard(), hasVGPROperands(), hasYmmReg(), llvm::HexagonLowerToMC(), INITIALIZE_PASS(), Is16BitMemOperand(), Is32BitMemOperand(), Is64BitMemOperand(), llvm::PPCInstrInfo::isCoalescableExtInstr(), llvm::X86InstrInfo::isCoalescableExtInstr(), llvm::MachineInstr::isConstantValuePHI(), isCopyToReg(), isCSRestore(), isDbgValueInDefinedReg(), isFullCopyOf(), isIdenticalTo(), llvm::MachineInstr::isIdenticalTo(), llvm::MachineInstr::isIdentityCopy(), llvm::MipsSEInstrInfo::isLoadFromStackSlot(), llvm::XCoreInstrInfo::isLoadFromStackSlot(), llvm::HexagonInstrInfo::isLoadFromStackSlot(), llvm::SparcInstrInfo::isLoadFromStackSlot(), llvm::ARMBaseInstrInfo::isLoadFromStackSlot(), llvm::PPCInstrInfo::isLoadFromStackSlot(), llvm::X86InstrInfo::isLoadFromStackSlot(), isLocalCopy(), isMatchingDecrement(), isMatchingIncrement(), llvm::NVPTXInstrInfo::isMoveInstr(), isNopCopy(), isOperandKill(), isPhysicalRegCopy(), llvm::R600InstrInfo::isPredicated(), llvm::X86InstrInfo::isReallyTriviallyReMaterializable(), isRedundantFlagInstr(), IsSafeAndProfitableToMove(), isSafeToClobberEFLAGS(), isShift(), isSimpleBD12Move(), isSimpleMove(), isSourceDefinedByImplicitDef(), llvm::MipsSEInstrInfo::isStoreToStackSlot(), llvm::XCoreInstrInfo::isStoreToStackSlot(), llvm::HexagonInstrInfo::isStoreToStackSlot(), llvm::SparcInstrInfo::isStoreToStackSlot(), llvm::ARMBaseInstrInfo::isStoreToStackSlot(), llvm::PPCInstrInfo::isStoreToStackSlot(), llvm::X86InstrInfo::isStoreToStackSlot(), isSuitableForMask(), isTwoAddrUse(), llvm::X86InstrInfo::isX86_64ExtendedReg(), llvm::SIInstrInfo::legalizeOperands(), llvm::Mips16InstrInfo::loadImmediate(), llvm::AMDGPUMCInstLower::lower(), llvm::MSP430MCInstLower::Lower(), llvm::PPCRegisterInfo::lowerCRRestore(), llvm::PPCRegisterInfo::lowerCRSpilling(), llvm::PPCRegisterInfo::lowerDynamicAlloc(), llvm::MipsMCInstLower::LowerOperand(), llvm::XCoreMCInstLower::LowerOperand(), llvm::SystemZMCInstLower::lowerOperand(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), LowerPATCHPOINT(), llvm::LowerPPCMachineInstrToMCInst(), lowerRIEfLow(), lowerRIHigh(), lowerRILow(), llvm::PPCRegisterInfo::lowerVRSAVERestore(), llvm::PPCRegisterInfo::lowerVRSAVESpilling(), MaySpeculate(), MIIsInTerminatorSequence(), llvm::MachineRegisterInfo::moveOperands(), llvm::SIInstrInfo::moveToVALU(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), llvm::PPCInstrInfo::optimizeCompareInstr(), llvm::X86InstrInfo::optimizeCompareInstr(), llvm::X86InstrInfo::optimizeLoadInstr(), llvm::ARMBaseInstrInfo::optimizeSelect(), parseMemoryOperand(), llvm::HexagonInstrInfo::PredicateInstruction(), print(), llvm::MachineInstr::print(), llvm::HexagonAsmPrinter::printAddrModeBasePlusOffset(), llvm::SystemZAsmPrinter::PrintAsmMemoryOperand(), llvm::AArch64AsmPrinter::PrintAsmMemoryOperand(), llvm::ARMAsmPrinter::PrintAsmMemoryOperand(), llvm::MipsAsmPrinter::PrintAsmMemoryOperand(), llvm::X86AsmPrinter::printAsmMRegister(), llvm::AArch64AsmPrinter::PrintAsmOperand(), llvm::ARMAsmPrinter::PrintAsmOperand(), llvm::MipsAsmPrinter::PrintAsmOperand(), llvm::HexagonAsmPrinter::printFrameIndexOperand(), llvm::X86AsmPrinter::printIntelMemReference(), llvm::X86AsmPrinter::printLeaMemReference(), llvm::X86AsmPrinter::printMemReference(), llvm::HexagonAsmPrinter::printMEMriOperand(), printModifiedFPRAsmOperand(), printModifiedGPRAsmOperand(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::X86AsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::HexagonAsmPrinter::printRegister(), llvm::ARMBaseInstrInfo::produceSameValue(), llvm::MachineInstr::readsWritesVirtualRegister(), llvm::ARMBaseInstrInfo::reMaterialize(), llvm::X86InstrInfo::reMaterialize(), llvm::TargetInstrInfo::reMaterialize(), removeIPMBasedCompare(), removeKillInfo(), llvm::MachineRegisterInfo::removeRegOperandFromUseList(), llvm::LiveVariables::removeVirtualRegisterDead(), llvm::LiveVariables::removeVirtualRegisterKilled(), llvm::LiveVariables::removeVirtualRegistersKilled(), llvm::LiveIntervals::repairIntervalsInRange(), llvm::PPCFrameLowering::replaceFPWithRealFP(), resultTests(), llvm::R600InstrInfo::ReverseBranchCondition(), llvm::Thumb1RegisterInfo::rewriteFrameIndex(), llvm::rewriteT2FrameIndex(), llvm::SelectionDAGISel::runOnMachineFunction(), llvm::LiveVariables::runOnMachineFunction(), llvm::Thumb1RegisterInfo::saveScavengerRegister(), llvm::RegScavenger::scavengeRegister(), llvm::R600SchedStrategy::schedNode(), llvm::ARMBaseInstrInfo::setExecutionDomain(), llvm::MachineInstr::setPhysRegsDeadExcept(), setReg(), llvm::MachineBasicBlock::SplitCriticalEdge(), llvm::MachineInstr::substituteRegister(), TrackDefUses(), llvm::tryFoldSPUpdateIntoPushPop(), llvm::X86InstrInfo::unfoldMemoryOperand(), UpdateCPSRDef(), UpdateCPSRUse(), llvm::AntiDepBreaker::UpdateDbgValue(), updatePhysDepsDownwards(), updatePhysDepsUpwards(), llvm::SIInstrInfo::verifyInstruction(), VerifyLowRegs(), and llvm::MachineRegisterInfo::verifyUseList().
|
inline |
getRegMask - Returns a bit mask of registers preserved by this RegMask operand.
Definition at line 474 of file MachineOperand.h.
References isRegMask().
Referenced by clobbersPhysReg(), llvm::hash_value(), and isIdenticalTo().
|
inline |
Definition at line 264 of file MachineOperand.h.
References isReg().
Referenced by llvm::MachineInstr::addRegisterDefined(), canFoldCopy(), llvm::TargetInstrInfo::commuteInstruction(), llvm::SystemZInstrInfo::convertToThreeAddress(), copyHint(), llvm::X86InstrInfo::foldMemoryOperandImpl(), foldPatchpoint(), llvm::ARMBaseInstrInfo::getPartialRegUpdateClearance(), llvm::hash_value(), INITIALIZE_PASS(), llvm::X86InstrInfo::isCoalescableExtInstr(), llvm::MachineInstr::isFullCopy(), isIdenticalTo(), llvm::MachineInstr::isIdentityCopy(), llvm::ARMBaseInstrInfo::isLoadFromStackSlot(), llvm::X86InstrInfo::isLoadFromStackSlot(), llvm::ARMBaseInstrInfo::isStoreToStackSlot(), llvm::X86InstrInfo::isStoreToStackSlot(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::LowerPPCMachineInstrToMCInst(), llvm::PPCInstrInfo::optimizeCompareInstr(), llvm::X86InstrInfo::optimizeLoadInstr(), print(), llvm::ARMAsmPrinter::printOperand(), readsReg(), llvm::MachineInstr::readsWritesVirtualRegister(), llvm::LiveIntervals::repairIntervalsInRange(), resultTests(), substPhysReg(), and substVirtReg().
|
inline |
Definition at line 452 of file MachineOperand.h.
References isSymbol().
Referenced by llvm::ARMFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::SystemZMCInstLower::getExpr(), llvm::MSP430MCInstLower::GetExternalSymbolSymbol(), llvm::MSP430InstrInfo::GetInstSizeInBytes(), llvm::MipsInstrInfo::GetInstSizeInBytes(), llvm::AArch64InstrInfo::getInstSizeInBytes(), llvm::ARMBaseInstrInfo::GetInstSizeInBytes(), llvm::SystemZInstrInfo::getInstSizeInBytes(), llvm::PPCInstrInfo::GetInstSizeInBytes(), GetSymbolFromOperand(), llvm::hash_value(), llvm::HexagonLowerToMC(), isIdenticalTo(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::AArch64AsmPrinter::printSymbolicAddress(), and llvm::X86AsmPrinter::printSymbolOperand().
|
inline |
Definition at line 187 of file MachineOperand.h.
References isReg().
Referenced by llvm::MachineInstrBuilder::addDisp(), llvm::X86InstrInfo::canFoldMemoryOperand(), llvm::ARMFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::X86AsmPrinter::EmitInstruction(), llvm::ARMAsmPrinter::EmitInstruction(), llvm::X86InstrInfo::foldMemoryOperandImpl(), llvm::MSP430MCInstLower::GetBlockAddressSymbol(), llvm::MSP430MCInstLower::GetConstantPoolIndexSymbol(), llvm::MSP430MCInstLower::GetExternalSymbolSymbol(), llvm::MSP430MCInstLower::GetGlobalAddressSymbol(), llvm::MSP430MCInstLower::GetJumpTableSymbol(), GetSymbolFromOperand(), GetSymbolRef(), gvNeedsNonLazyPtr(), llvm::hash_value(), llvm::HexagonInstrInfo::isConstExtended(), isIdenticalTo(), llvm::SystemZMCInstLower::lowerOperand(), llvm::MSP430MCInstLower::LowerSymbolOperand(), llvm::AArch64AsmPrinter::lowerSymbolOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), and llvm::X86AsmPrinter::printSymbolOperand().
|
inline |
getType - Returns the MachineOperandType for this operand.
Definition at line 185 of file MachineOperand.h.
Referenced by llvm::MachineInstrBuilder::addDisp(), llvm::MachineInstr::addOperand(), llvm::SystemZMCInstLower::getExpr(), llvm::hash_value(), HashMachineInstr(), llvm::HexagonLowerToMC(), isIdenticalTo(), llvm::AMDGPUMCInstLower::lower(), llvm::MSP430MCInstLower::Lower(), llvm::MipsMCInstLower::LowerOperand(), llvm::XCoreMCInstLower::LowerOperand(), llvm::SystemZMCInstLower::lowerOperand(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::LowerPPCMachineInstrToMCInst(), print(), llvm::AArch64AsmPrinter::PrintAsmOperand(), llvm::MipsAsmPrinter::PrintAsmOperand(), llvm::AsmPrinter::PrintAsmOperand(), llvm::HexagonAsmPrinter::printConstantPool(), llvm::HexagonAsmPrinter::printGlobalOperand(), llvm::HexagonAsmPrinter::printJumpTable(), llvm::HexagonAsmPrinter::printOperand(), llvm::ARMAsmPrinter::printOperand(), llvm::X86AsmPrinter::printOperand(), llvm::MipsAsmPrinter::printOperand(), llvm::X86AsmPrinter::printPCRelImm(), llvm::AArch64AsmPrinter::printSymbolicAddress(), and llvm::X86AsmPrinter::printSymbolOperand().
|
inline |
isBlockAddress - Tests if this is a MO_BlockAddress operand.
Definition at line 246 of file MachineOperand.h.
References MO_BlockAddress.
Referenced by getBlockAddress(), getOffset(), and setOffset().
|
inline |
isCImm - Test if t his is a MO_CImmediate operand.
Definition at line 228 of file MachineOperand.h.
References MO_CImmediate.
Referenced by emitDebugValueComment(), getCImm(), and getDebugLocEntry().
|
inline |
isCPI - Tests if this is a MO_ConstantPoolIndex operand.
Definition at line 236 of file MachineOperand.h.
References MO_ConstantPoolIndex.
Referenced by canFoldIntoMOVCC(), getIndex(), getOffset(), llvm::isLeaMem(), llvm::X86AsmPrinter::PrintAsmOperand(), llvm::X86AsmPrinter::printLeaMemReference(), setIndex(), and setOffset().
|
inline |
Definition at line 284 of file MachineOperand.h.
References isReg().
Referenced by llvm::ScheduleDAGInstrs::addPhysRegDeps(), llvm::MachineInstr::addRegisterDead(), llvm::ARMTargetLowering::AdjustInstrPostInstrSelection(), llvm::MachineInstr::allDefsAreDead(), llvm::MachineOperandIteratorBase::analyzePhysReg(), canFoldIntoMOVCC(), ChangeToRegister(), RegisterOperands::collect(), llvm::PPCInstrInfo::commuteInstruction(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::X86InstrInfo::convertToThreeAddress(), CreateReg(), definesCPSR(), llvm::finalizeBundle(), findHoistingInsertPosAndDeps(), llvm::MachineInstr::findRegisterDefOperandIdx(), llvm::ARMBaseInstrInfo::FoldImmediate(), hasLiveCondCodeDef(), llvm::MachineInstr::isIdenticalTo(), isSafeToClobberEFLAGS(), llvm::HexagonInstrInfo::PredicateInstruction(), print(), llvm::X86InstrInfo::unfoldMemoryOperand(), and UpdateCPSRDef().
|
inline |
Definition at line 314 of file MachineOperand.h.
References isReg().
Referenced by ChangeToRegister(), CreateReg(), hasYmmReg(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::operator++(), llvm::HexagonInstrInfo::PredicateInstruction(), setIsDef(), and setIsKill().
|
inline |
Definition at line 274 of file MachineOperand.h.
References isReg().
Referenced by addLiveInRegs(), llvm::ScheduleDAGInstrs::addPhysRegDataDeps(), llvm::ScheduleDAGInstrs::addPhysRegDeps(), llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterDefined(), llvm::MachineRegisterInfo::addRegOperandToUseList(), llvm::ScheduleDAGInstrs::addSchedBarrierDeps(), llvm::ARMTargetLowering::AdjustInstrPostInstrSelection(), llvm::MachineOperandIteratorBase::analyzePhysReg(), llvm::MachineOperandIteratorBase::analyzeVirtReg(), llvm::CriticalAntiDepBreaker::BreakAntiDependencies(), llvm::ScheduleDAGInstrs::buildSchedGraph(), canFoldIntoMOVCC(), ChangeToRegister(), clobbersCTR(), RegisterOperands::collect(), llvm::AMDGPUInstrInfo::convertToISA(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), CreateReg(), definesCPSR(), llvm::ARMBaseInstrInfo::DefinesPredicate(), llvm::HexagonInstrInfo::DefinesPredicate(), llvm::PPCInstrInfo::DefinesPredicate(), emitKill(), llvm::LiveRangeCalc::extendToUses(), llvm::finalizeBundle(), findDeadCallerSavedReg(), findDefIdx(), llvm::MachineInstr::findRegisterDefOperandIdx(), for(), llvm::RegScavenger::forward(), getCopyOrBitcastDefUseIdx(), llvm::MachineInstrExpressionTrait::getHashValue(), llvm::PatchPointOpers::getNextScratchIdx(), GetPostIncrementOperand(), llvm::hash_value(), hasLiveCondCodeDef(), isIdenticalTo(), llvm::MachineInstr::isIdenticalTo(), llvm::MachineInstr::isRegTiedToUseOperand(), IsSafeAndProfitableToMove(), isSafeToClobberEFLAGS(), llvm::Mips16InstrInfo::loadImmediate(), MaySpeculate(), MIIsInTerminatorSequence(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::operator++(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), llvm::X86InstrInfo::optimizeCompareInstr(), llvm::X86InstrInfo::optimizeLoadInstr(), llvm::PatchPointOpers::PatchPointOpers(), llvm::HexagonInstrInfo::PredicateInstruction(), print(), llvm::MachineInstr::print(), llvm::LiveVariables::removeVirtualRegisterDead(), llvm::LiveIntervals::repairIntervalsInRange(), resultTests(), llvm::MachineInstr::setPhysRegsDeadExcept(), llvm::MachineInstr::tieOperands(), llvm::X86InstrInfo::unfoldMemoryOperand(), and UpdateCPSRUse().
|
inline |
Definition at line 304 of file MachineOperand.h.
References isReg().
Referenced by CreateReg(), dumpMachineInstrRangeWithSlotIndex(), llvm::LiveRangeCalc::extendToUses(), llvm::PatchPointOpers::getNextScratchIdx(), and print().
|
inline |
isFI - Tests if this is a MO_FrameIndex operand.
Definition at line 234 of file MachineOperand.h.
References MO_FrameIndex.
Referenced by canFoldIntoMOVCC(), emitDebugValueComment(), getFrameIndexOperandNum(), getIndex(), isCSRestore(), llvm::ARMBaseRegisterInfo::isFrameOffsetLegal(), llvm::isLeaMem(), llvm::MipsSEInstrInfo::isLoadFromStackSlot(), llvm::XCoreInstrInfo::isLoadFromStackSlot(), llvm::HexagonInstrInfo::isLoadFromStackSlot(), llvm::SparcInstrInfo::isLoadFromStackSlot(), llvm::ARMBaseInstrInfo::isLoadFromStackSlot(), llvm::PPCInstrInfo::isLoadFromStackSlot(), llvm::isMem(), isSimpleMove(), llvm::SystemZInstrInfo::isStackSlotCopy(), llvm::MipsSEInstrInfo::isStoreToStackSlot(), llvm::XCoreInstrInfo::isStoreToStackSlot(), llvm::HexagonInstrInfo::isStoreToStackSlot(), llvm::SparcInstrInfo::isStoreToStackSlot(), llvm::ARMBaseInstrInfo::isStoreToStackSlot(), llvm::PPCInstrInfo::isStoreToStackSlot(), MatchingStackOffset(), llvm::PPCRegisterInfo::needsFrameBaseReg(), llvm::ARMBaseRegisterInfo::needsFrameBaseReg(), llvm::Thumb1RegisterInfo::resolveFrameIndex(), llvm::PPCRegisterInfo::resolveFrameIndex(), llvm::ARMBaseRegisterInfo::resolveFrameIndex(), llvm::SelectionDAGISel::runOnMachineFunction(), and setIndex().
|
inline |
isFPImm - Tests if this is a MO_FPImmediate operand.
Definition at line 230 of file MachineOperand.h.
References MO_FPImmediate.
Referenced by llvm::CompileUnit::addConstantFPValue(), llvm::SIInstrInfo::commuteInstruction(), emitDebugValueComment(), getDebugLocEntry(), getFPImm(), llvm::SIInstrInfo::isInlineConstant(), llvm::SIInstrInfo::isLiteralConstant(), llvm::SIInstrInfo::legalizeOperands(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
isGlobal - Tests if this is a MO_GlobalAddress operand.
Definition at line 242 of file MachineOperand.h.
References MO_GlobalAddress.
Referenced by llvm::X86FrameLowering::adjustForHiPEPrologue(), llvm::DwarfException::CallToNoUnwindFunction(), llvm::ARMFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), getGlobal(), getOffset(), GetSymbolFromOperand(), llvm::HexagonInstrInfo::isConstExtended(), llvm::isLeaMem(), llvm::X86InstrInfo::isReallyTriviallyReMaterializable(), llvm::HexagonInstrInfo::PredicateInstruction(), llvm::X86AsmPrinter::PrintAsmOperand(), llvm::X86AsmPrinter::printLeaMemReference(), and setOffset().
bool MachineOperand::isIdenticalTo | ( | const MachineOperand & | Other | ) | const |
isIdenticalTo - Return true if this operand is identical to the specified operand. Note: This method ignores isKill and isDead properties.
isIdenticalTo - Return true if this operand is identical to the specified operand. Note that this should stay in sync with the hash_value overload below.
Definition at line 170 of file MachineInstr.cpp.
References getBlockAddress(), getCImm(), getFPImm(), getGlobal(), getImm(), getIndex(), getMBB(), getMCSymbol(), getMetadata(), getOffset(), getReg(), getRegMask(), getSubReg(), getSymbolName(), getTargetFlags(), getType(), isDef(), llvm_unreachable, MO_BlockAddress, MO_CImmediate, MO_ConstantPoolIndex, MO_ExternalSymbol, MO_FPImmediate, MO_FrameIndex, MO_GlobalAddress, MO_Immediate, MO_JumpTableIndex, MO_MachineBasicBlock, MO_MCSymbol, MO_Metadata, MO_Register, MO_RegisterMask, MO_TargetIndex, and llvm::LibFunc::strcmp.
Referenced by llvm::MachineInstr::isIdenticalTo(), and llvm::ARMBaseInstrInfo::produceSameValue().
|
inline |
isImm - Tests if this is a MO_Immediate operand.
Definition at line 226 of file MachineOperand.h.
References MO_Immediate.
Referenced by llvm::CompileUnit::addConstantValue(), llvm::SystemZInstrInfo::analyzeCompare(), llvm::R600InstrInfo::buildSlotOfVectorInstruction(), llvm::X86RegisterInfo::eliminateFrameIndex(), emitDebugValueComment(), llvm::PPCFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), llvm::HexagonFrameLowering::emitPrologue(), llvm::MachineInstr::findInlineAsmFlagIdx(), llvm::MachineInstr::findTiedOperandIdx(), llvm::PPCInstrInfo::FoldImmediate(), llvm::ARMBaseInstrInfo::FoldImmediate(), getDebugLocEntry(), llvm::R600InstrInfo::getFlagOp(), getImm(), llvm::HexagonInstrInfo::immediateExtend(), isCompareZero(), llvm::HexagonInstrInfo::isConstExtended(), isDbgValueInDefinedReg(), llvm::MachineInstr::isIndirectDebugValue(), llvm::SIInstrInfo::isInlineConstant(), llvm::isLeaMem(), llvm::SIInstrInfo::isLiteralConstant(), llvm::MipsSEInstrInfo::isLoadFromStackSlot(), llvm::XCoreInstrInfo::isLoadFromStackSlot(), llvm::HexagonInstrInfo::isLoadFromStackSlot(), llvm::SparcInstrInfo::isLoadFromStackSlot(), llvm::ARMBaseInstrInfo::isLoadFromStackSlot(), llvm::PPCInstrInfo::isLoadFromStackSlot(), llvm::isParamLoad(), llvm::X86InstrInfo::isReallyTriviallyReMaterializable(), llvm::isScale(), llvm::MipsSEInstrInfo::isStoreToStackSlot(), llvm::XCoreInstrInfo::isStoreToStackSlot(), llvm::HexagonInstrInfo::isStoreToStackSlot(), llvm::SparcInstrInfo::isStoreToStackSlot(), llvm::ARMBaseInstrInfo::isStoreToStackSlot(), llvm::PPCInstrInfo::isStoreToStackSlot(), isZeroImm(), llvm::MipsInstrInfo::isZeroImm(), llvm::SIInstrInfo::legalizeOperands(), parseMemoryOperand(), llvm::HexagonInstrInfo::PredicateInstruction(), llvm::TargetInstrInfo::PredicateInstruction(), llvm::MachineInstr::print(), llvm::HexagonAsmPrinter::PrintAsmMemoryOperand(), llvm::SystemZAsmPrinter::PrintAsmOperand(), llvm::HexagonAsmPrinter::PrintAsmOperand(), llvm::ARMAsmPrinter::PrintAsmOperand(), llvm::X86AsmPrinter::PrintAsmOperand(), llvm::MipsAsmPrinter::PrintAsmOperand(), llvm::HexagonAsmPrinter::printBranchOperand(), llvm::X86AsmPrinter::printIntelMemReference(), llvm::X86AsmPrinter::printLeaMemReference(), printModifiedGPRAsmOperand(), llvm::HexagonAsmPrinter::printSymbolHi(), llvm::HexagonAsmPrinter::printSymbolLo(), llvm::MipsAsmPrinter::printUnsignedImm(), llvm::MipsAsmPrinter::printUnsignedImm8(), setImm(), llvm::R600InstrInfo::setImmOperand(), and llvm::SIInstrInfo::verifyInstruction().
|
inline |
Definition at line 279 of file MachineOperand.h.
References isReg().
Referenced by llvm::MachineInstr::addOperand(), llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterKilled(), llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), llvm::TargetSchedModel::computeOperandLatency(), llvm::MachineInstr::copyImplicitOps(), EmitPCMPSTRI(), EmitPCMPSTRM(), llvm::PatchPointOpers::getNextScratchIdx(), llvm::MachineInstr::getNumExplicitOperands(), llvm::ARMBaseInstrInfo::getOperandLatency(), getStackMapEndMOP(), llvm::HexagonLowerToMC(), INITIALIZE_PASS(), llvm::SystemZMCInstLower::lower(), llvm::MSP430MCInstLower::Lower(), llvm::MipsMCInstLower::LowerOperand(), llvm::XCoreMCInstLower::LowerOperand(), llvm::AArch64AsmPrinter::lowerOperand(), llvm::ARMAsmPrinter::lowerOperand(), llvm::PatchPointOpers::PatchPointOpers(), llvm::HexagonInstrInfo::PredicateInstruction(), print(), llvm::MachineInstr::print(), llvm::X86InstrInfo::unfoldMemoryOperand(), llvm::SIInstrInfo::verifyInstruction(), and VerifyLowRegs().
|
inline |
Definition at line 299 of file MachineOperand.h.
References isReg().
Referenced by CreateReg(), INITIALIZE_PASS(), print(), and readsReg().
|
inline |
isJTI - Tests if this is a MO_JumpTableIndex operand.
Definition at line 240 of file MachineOperand.h.
References MO_JumpTableIndex.
Referenced by canFoldIntoMOVCC(), getIndex(), GetSymbolRef(), llvm::AsmPrinter::isBlockOnlyReachableByFallthrough(), llvm::isLeaMem(), llvm::MSP430MCInstLower::LowerSymbolOperand(), llvm::AArch64AsmPrinter::lowerSymbolOperand(), llvm::BranchFolder::OptimizeFunction(), llvm::X86AsmPrinter::PrintAsmOperand(), llvm::X86AsmPrinter::printLeaMemReference(), and setIndex().
|
inline |
Definition at line 289 of file MachineOperand.h.
References isReg().
Referenced by llvm::MachineInstr::addRegisterKilled(), llvm::MachineOperandIteratorBase::analyzePhysReg(), ChangeToRegister(), llvm::X86InstrInfo::classifyLEAReg(), llvm::MachineInstr::clearRegisterKills(), llvm::PPCInstrInfo::commuteInstruction(), llvm::TargetInstrInfo::commuteInstruction(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::SystemZInstrInfo::convertToThreeAddress(), llvm::X86InstrInfo::convertToThreeAddress(), CreateReg(), llvm::XCoreRegisterInfo::eliminateFrameIndex(), llvm::AArch64TargetLowering::EmitF128CSEL(), expandPseudoDIV(), llvm::finalizeBundle(), llvm::MachineInstr::findRegisterUseOperandIdx(), finishConvertToThreeAddress(), llvm::ARMBaseInstrInfo::FoldImmediate(), llvm::TargetInstrInfo::foldMemoryOperand(), llvm::MachineInstr::isIdenticalTo(), isOperandKill(), isSafeToClobberEFLAGS(), llvm::PPCRegisterInfo::lowerCRSpilling(), llvm::PPCRegisterInfo::lowerDynamicAlloc(), llvm::PPCRegisterInfo::lowerVRSAVESpilling(), llvm::HexagonInstrInfo::PredicateInstruction(), print(), removeKillInfo(), llvm::LiveVariables::removeVirtualRegisterKilled(), llvm::LiveVariables::removeVirtualRegistersKilled(), llvm::X86InstrInfo::unfoldMemoryOperand(), and UpdateCPSRUse().
|
inline |
isMBB - Tests if this is a MO_MachineBasicBlock operand.
Definition at line 232 of file MachineOperand.h.
References MO_MachineBasicBlock.
Referenced by llvm::PPCInstrInfo::AnalyzeBranch(), llvm::SystemZInstrInfo::AnalyzeBranch(), getMBB(), getTargetMBB(), llvm::HexagonInstrInfo::immediateExtend(), llvm::AsmPrinter::isBlockOnlyReachableByFallthrough(), llvm::HexagonInstrInfo::isConstExtended(), llvm::TargetInstrInfo::PredicateInstruction(), llvm::SystemZInstrInfo::RemoveBranch(), and setMBB().
|
inline |
Definition at line 251 of file MachineOperand.h.
References MO_MCSymbol.
Referenced by getMCSymbol().
|
inline |
isMetadata - Tests if this is a MO_Metadata operand.
Definition at line 250 of file MachineOperand.h.
References MO_Metadata.
Referenced by llvm::MachineInstr::emitError(), EmitGCCInlineAsmStr(), EmitMSInlineAsmStr(), getMetadata(), and llvm::MachineInstr::print().
|
inline |
isReg - Tests if this is a MO_Register operand.
Definition at line 224 of file MachineOperand.h.
References MO_Register.
Referenced by addLiveInRegs(), llvm::MachineInstr::addOperand(), llvm::MachineInstr::addRegisterDead(), llvm::MachineInstr::addRegisterDefined(), llvm::MachineInstr::addRegisterKilled(), llvm::ScheduleDAGInstrs::addSchedBarrierDeps(), addTargetFlag(), llvm::ARMTargetLowering::AdjustInstrPostInstrSelection(), llvm::MachineInstr::allDefsAreDead(), llvm::SystemZInstrInfo::analyzeCompare(), llvm::MachineOperandIteratorBase::analyzePhysReg(), llvm::MachineOperandIteratorBase::analyzeVirtReg(), llvm::CriticalAntiDepBreaker::BreakAntiDependencies(), llvm::ScheduleDAGInstrs::buildSchedGraph(), canFoldIntoMOVCC(), ChangeToImmediate(), ChangeToRegister(), llvm::MachineInstr::clearKillInfo(), llvm::MachineInstr::clearRegisterKills(), clobbersCTR(), RegisterOperands::collect(), collectDebugValues(), llvm::SIInstrInfo::commuteInstruction(), llvm::TargetInstrInfo::commuteInstruction(), llvm::AMDGPUInstrInfo::convertToISA(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::MachineInstr::copyImplicitOps(), definesCPSR(), llvm::ARMBaseInstrInfo::DefinesPredicate(), llvm::HexagonInstrInfo::DefinesPredicate(), llvm::PPCInstrInfo::DefinesPredicate(), determineREX(), earlyUseOperand(), emitDebugValueComment(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), llvm::X86TargetLowering::EmitInstrWithCustomInserter(), emitKill(), EmitPCMPSTRI(), EmitPCMPSTRM(), llvm::AMDGPUAsmPrinter::EmitProgramInfoR600(), llvm::AMDGPUAsmPrinter::EmitProgramInfoSI(), llvm::finalizeBundle(), llvm::TargetInstrInfo::findCommutedOpIndices(), findDeadCallerSavedReg(), findDefIdx(), findHoistingInsertPosAndDeps(), llvm::MachineInstr::findRegisterDefOperandIdx(), llvm::MachineInstr::findRegisterUseOperandIdx(), llvm::MachineInstr::findTiedOperandIdx(), findUseIdx(), finishConvertToThreeAddress(), llvm::PPCInstrInfo::FoldImmediate(), llvm::X86InstrInfo::foldMemoryOperandImpl(), for(), forceReg(), llvm::RegScavenger::forward(), FuseInst(), getCopyOrBitcastDefUseIdx(), getDebugLocEntry(), getFPReg(), llvm::MachineInstrExpressionTrait::getHashValue(), llvm::PatchPointOpers::getNextScratchIdx(), llvm::MachineInstr::getNumExplicitOperands(), GetPostIncrementOperand(), getPredicatedRegister(), getReg(), llvm::MachineInstr::getRegClassConstraint(), getStackMapEndMOP(), getSubReg(), getTargetFlags(), HandleVRSaveUpdate(), hasLiveCondCodeDef(), hasVGPROperands(), hasYmmReg(), INITIALIZE_PASS(), isDbgValueInDefinedReg(), isDead(), isDebug(), isDef(), isEarlyClobber(), llvm::MachineInstr::isIdenticalTo(), isImplicit(), llvm::MachineInstr::isIndirectDebugValue(), isInternalRead(), isKill(), llvm::isLeaMem(), llvm::ARMBaseInstrInfo::isLoadFromStackSlot(), llvm::isMem(), isMemoryOp(), llvm::NVPTXInstrInfo::isMoveInstr(), llvm::X86InstrInfo::isReallyTriviallyReMaterializable(), llvm::MachineInstr::isRegTiedToDefOperand(), llvm::MachineInstr::isRegTiedToUseOperand(), IsSafeAndProfitableToMove(), isSafeToClobberEFLAGS(), llvm::ARMBaseInstrInfo::isStoreToStackSlot(), isTied(), isTwoAddrUse(), isUndef(), isUse(), llvm::X86InstrInfo::isX86_64ExtendedReg(), llvm::SIInstrInfo::legalizeOperands(), llvm::SIInstrInfo::legalizeOpWithMove(), llvm::Mips16InstrInfo::loadImmediate(), llvm::SystemZMCInstLower::lower(), MaySpeculate(), MIIsInTerminatorSequence(), llvm::MachineRegisterInfo::moveOperands(), llvm::SIInstrInfo::moveToVALU(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), llvm::X86InstrInfo::optimizeCompareInstr(), llvm::X86InstrInfo::optimizeLoadInstr(), parseMemoryOperand(), llvm::HexagonInstrInfo::PredicateInstruction(), llvm::TargetInstrInfo::PredicateInstruction(), llvm::MachineInstr::print(), llvm::HexagonAsmPrinter::PrintAsmMemoryOperand(), llvm::AArch64AsmPrinter::PrintAsmMemoryOperand(), llvm::ARMAsmPrinter::PrintAsmMemoryOperand(), llvm::MipsAsmPrinter::PrintAsmMemoryOperand(), llvm::HexagonAsmPrinter::PrintAsmOperand(), llvm::ARMAsmPrinter::PrintAsmOperand(), llvm::X86AsmPrinter::PrintAsmOperand(), llvm::MipsAsmPrinter::PrintAsmOperand(), printModifiedFPRAsmOperand(), printModifiedGPRAsmOperand(), readsReg(), llvm::MachineInstr::readsWritesVirtualRegister(), removeKillInfo(), llvm::MachineInstr::RemoveOperand(), llvm::LiveVariables::removeVirtualRegisterDead(), llvm::LiveVariables::removeVirtualRegisterKilled(), llvm::LiveVariables::removeVirtualRegistersKilled(), llvm::LiveIntervals::repairIntervalsInRange(), llvm::PPCFrameLowering::replaceFPWithRealFP(), resultTests(), llvm::LiveVariables::runOnMachineFunction(), llvm::Thumb1RegisterInfo::saveScavengerRegister(), llvm::RegScavenger::scavengeRegister(), llvm::R600SchedStrategy::schedNode(), setImplicit(), setIsDead(), setIsDebug(), setIsDef(), setIsEarlyClobber(), setIsInternalRead(), setIsKill(), setIsUndef(), llvm::MachineInstr::setPhysRegsDeadExcept(), setSubReg(), setTargetFlags(), llvm::MachineInstr::substituteRegister(), TrackDefUses(), llvm::X86InstrInfo::unfoldMemoryOperand(), UpdateCPSRDef(), UpdateCPSRUse(), llvm::AntiDepBreaker::UpdateDbgValue(), llvm::SIInstrInfo::verifyInstruction(), VerifyLowRegs(), and llvm::MachineRegisterInfo::verifyUseList().
|
inline |
isRegMask - Tests if this is a MO_RegisterMask operand.
Definition at line 248 of file MachineOperand.h.
References MO_RegisterMask.
Referenced by llvm::MachineInstr::addOperand(), llvm::MachineOperandIteratorBase::analyzePhysReg(), clobbersCTR(), llvm::ARMBaseInstrInfo::DefinesPredicate(), llvm::PPCInstrInfo::DefinesPredicate(), findHoistingInsertPosAndDeps(), llvm::MachineInstr::findRegisterDefOperandIdx(), getRegMask(), getStackMapEndMOP(), hasYmmReg(), isSafeToClobberEFLAGS(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), llvm::LiveVariables::runOnMachineFunction(), llvm::Thumb1RegisterInfo::saveScavengerRegister(), and llvm::MachineInstr::setPhysRegsDeadExcept().
|
inline |
isSymbol - Tests if this is a MO_ExternalSymbol operand.
Definition at line 244 of file MachineOperand.h.
References MO_ExternalSymbol.
Referenced by llvm::ARMFrameLowering::emitEpilogue(), llvm::X86FrameLowering::emitEpilogue(), llvm::AArch64FrameLowering::emitEpilogue(), getOffset(), GetSymbolFromOperand(), getSymbolName(), llvm::HexagonInstrInfo::isConstExtended(), llvm::X86AsmPrinter::PrintAsmOperand(), llvm::X86AsmPrinter::printLeaMemReference(), and setOffset().
|
inline |
isTargetIndex - Tests if this is a MO_TargetIndex operand.
Definition at line 238 of file MachineOperand.h.
References MO_TargetIndex.
Referenced by getIndex(), getOffset(), setIndex(), and setOffset().
|
inline |
Definition at line 309 of file MachineOperand.h.
References isReg().
Referenced by llvm::MachineInstr::addOperand(), canFoldIntoMOVCC(), ChangeToImmediate(), llvm::MachineInstr::findTiedOperandIdx(), llvm::MachineInstr::isRegTiedToDefOperand(), llvm::MachineInstr::isRegTiedToUseOperand(), print(), llvm::MachineInstr::RemoveOperand(), and llvm::MachineInstr::tieOperands().
|
inline |
Definition at line 294 of file MachineOperand.h.
References isReg().
Referenced by llvm::MachineInstr::addRegisterKilled(), ChangeToRegister(), llvm::X86InstrInfo::classifyLEAReg(), llvm::X86InstrInfo::convertToThreeAddress(), CreateReg(), llvm::finalizeBundle(), llvm::RegScavenger::forward(), llvm::X86InstrInfo::getUndefRegClearance(), isLocalCopy(), isMemoryOp(), llvm::HexagonInstrInfo::PredicateInstruction(), print(), readsReg(), llvm::MachineInstr::readsWritesVirtualRegister(), llvm::LiveIntervals::repairIntervalsInRange(), llvm::Thumb1RegisterInfo::saveScavengerRegister(), llvm::RegScavenger::scavengeRegister(), llvm::MachineBasicBlock::SplitCriticalEdge(), llvm::X86InstrInfo::unfoldMemoryOperand(), UpdateCPSRDef(), and UpdateCPSRUse().
|
inline |
Definition at line 269 of file MachineOperand.h.
References isReg().
Referenced by llvm::MachineInstr::addOperand(), llvm::ScheduleDAGInstrs::addPhysRegDeps(), llvm::MachineInstr::addRegisterKilled(), llvm::MachineInstr::allDefsAreDead(), llvm::CriticalAntiDepBreaker::BreakAntiDependencies(), llvm::MachineInstr::clearKillInfo(), llvm::MachineInstr::clearRegisterKills(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::LiveRangeCalc::extendToUses(), findHoistingInsertPosAndDeps(), llvm::MachineInstr::findRegisterUseOperandIdx(), llvm::MachineInstr::findTiedOperandIdx(), llvm::RegScavenger::forward(), GetPostIncrementOperand(), getPredicatedRegister(), llvm::MachineInstr::getRegClassConstraint(), INITIALIZE_PASS(), llvm::MachineInstr::isRegTiedToDefOperand(), isSafeToClobberEFLAGS(), isTwoAddrUse(), llvm::MachineRegisterInfo::defusechain_iterator< Uses, Defs, SkipDebug >::operator++(), llvm::HexagonInstrInfo::PredicateInstruction(), print(), readsReg(), llvm::MachineInstr::readsWritesVirtualRegister(), llvm::LiveIntervals::repairIntervalsInRange(), llvm::LiveVariables::runOnMachineFunction(), llvm::RegScavenger::scavengeRegister(), llvm::MachineInstr::tieOperands(), TrackDefUses(), UpdateCPSRDef(), and llvm::SIInstrInfo::verifyInstruction().
void MachineOperand::print | ( | raw_ostream & | OS, |
const TargetMachine * | TM = 0 |
||
) | const |
print - Print the specified machine operand.
Definition at line 255 of file MachineInstr.cpp.
References llvm::MachineBasicBlock::getParent(), getParent(), getReg(), llvm::TargetMachine::getRegisterInfo(), getSubReg(), llvm::TargetMachine::getTarget(), getType(), isDead(), isDef(), isEarlyClobber(), isImplicit(), isInternalRead(), isKill(), isTied(), isUndef(), isUse(), MBB, llvm::A64CC::MI, and MO_Register.
Referenced by llvm::operator<<(), and llvm::MachineInstr::print().
|
inline |
readsReg - Returns true if this operand reads the previous value of its register. A use operand with the <undef> flag set doesn't read its register. A sub-register def implicitly reads the other parts of the register being redefined unless the <undef> flag is set.
This refers to reading the register value from before the current instruction or bundle. Internal bundle reads are not included.
Definition at line 326 of file MachineOperand.h.
References getSubReg(), isInternalRead(), isReg(), isUndef(), and isUse().
Referenced by llvm::ScheduleDAGInstrs::addSchedBarrierDeps(), llvm::MachineOperandIteratorBase::analyzePhysReg(), llvm::MachineOperandIteratorBase::analyzeVirtReg(), llvm::ScheduleDAGInstrs::buildSchedGraph(), RegisterOperands::collect(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::LiveRangeCalc::extendToUses(), findUseIdx(), llvm::ARMBaseInstrInfo::getPartialRegUpdateClearance(), llvm::X86InstrInfo::getPartialRegUpdateClearance(), and llvm::LiveVariables::runOnMachineFunction().
|
inline |
Definition at line 488 of file MachineOperand.h.
References isImm().
Referenced by llvm::R600InstrInfo::addFlag(), llvm::R600InstrInfo::buildSlotOfVectorInstruction(), llvm::R600InstrInfo::clearFlag(), llvm::PPCInstrInfo::commuteInstruction(), llvm::X86InstrInfo::commuteInstruction(), CreateImm(), llvm::ARMBaseInstrInfo::duplicate(), llvm::HexagonFrameLowering::emitPrologue(), llvm::R600InstrInfo::InsertBranch(), llvm::ARMBaseInstrInfo::PredicateInstruction(), llvm::R600InstrInfo::PredicateInstruction(), llvm::TargetInstrInfo::PredicateInstruction(), llvm::R600InstrInfo::ReverseBranchCondition(), and llvm::R600InstrInfo::setImmOperand().
Definition at line 362 of file MachineOperand.h.
Referenced by llvm::X86InstrInfo::classifyLEAReg(), and llvm::ARMBaseInstrInfo::optimizeSelect().
|
inline |
Definition at line 500 of file MachineOperand.h.
References isCPI(), isFI(), isJTI(), and isTargetIndex().
Referenced by CreateCPI(), CreateFI(), CreateJTI(), CreateTargetIndex(), and llvm::ARMBaseInstrInfo::duplicate().
Definition at line 373 of file MachineOperand.h.
Referenced by llvm::MachineInstr::addRegisterDead(), llvm::ARMBaseInstrInfo::convertToThreeAddress(), llvm::MSP430FrameLowering::eliminateCallFramePseudoInstr(), llvm::X86FrameLowering::eliminateCallFramePseudoInstr(), llvm::MSP430FrameLowering::emitEpilogue(), emitIncrement(), llvm::MSP430FrameLowering::emitPrologue(), llvm::X86FrameLowering::emitPrologue(), emitSPUpdate(), llvm::X86InstrInfo::optimizeCompareInstr(), llvm::LiveVariables::removeVirtualRegisterDead(), llvm::LiveVariables::runOnMachineFunction(), and llvm::MachineInstr::setPhysRegsDeadExcept().
Definition at line 393 of file MachineOperand.h.
Change a def to a use, or a use to a def.
Definition at line 91 of file MachineInstr.cpp.
References llvm::MachineRegisterInfo::addRegOperandToUseList(), llvm::MachineBasicBlock::getParent(), getParent(), isDebug(), isReg(), MBB, llvm::A64CC::MI, MRI, llvm::MachineRegisterInfo::removeRegOperandFromUseList(), and Val.
Referenced by llvm::ARMTargetLowering::AdjustInstrPostInstrSelection(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), and setIsUse().
Definition at line 388 of file MachineOperand.h.
Referenced by llvm::MachineInstr::addOperand().
Definition at line 383 of file MachineOperand.h.
Referenced by llvm::finalizeBundle(), and INITIALIZE_PASS().
Definition at line 367 of file MachineOperand.h.
References isDebug(), isReg(), and Val.
Referenced by llvm::MachineInstr::addRegisterKilled(), llvm::MachineInstr::clearKillInfo(), llvm::MachineInstr::clearRegisterKills(), llvm::PPCInstrInfo::commuteInstruction(), llvm::TargetInstrInfo::commuteInstruction(), llvm::R600InstrInfo::copyPhysReg(), earlyUseOperand(), expandPseudoDIV(), llvm::LiveRangeCalc::extendToUses(), llvm::ARMBaseInstrInfo::FoldImmediate(), removeKillInfo(), llvm::LiveVariables::removeVirtualRegisterKilled(), llvm::LiveVariables::removeVirtualRegistersKilled(), llvm::LiveVariables::runOnMachineFunction(), and llvm::X86InstrInfo::unfoldMemoryOperand().
Definition at line 378 of file MachineOperand.h.
Definition at line 358 of file MachineOperand.h.
References setIsDef(), and Val.
|
inline |
Definition at line 506 of file MachineOperand.h.
Referenced by CreateMBB(), llvm::TargetInstrInfo::PredicateInstruction(), and llvm::MachineBasicBlock::transferSuccessorsAndUpdatePHIs().
|
inline |
Definition at line 493 of file MachineOperand.h.
References isBlockAddress(), isCPI(), isGlobal(), isSymbol(), and isTargetIndex().
Referenced by CreateBA(), CreateCPI(), CreateES(), CreateGA(), CreateTargetIndex(), and llvm::X86RegisterInfo::eliminateFrameIndex().
void MachineOperand::setReg | ( | unsigned | Reg | ) |
Change the register this operand corresponds to.
Definition at line 49 of file MachineInstr.cpp.
References llvm::MachineRegisterInfo::addRegOperandToUseList(), llvm::MachineBasicBlock::getParent(), getParent(), getReg(), MBB, llvm::A64CC::MI, MRI, Reg, and llvm::MachineRegisterInfo::removeRegOperandFromUseList().
Referenced by llvm::ARMTargetLowering::AdjustInstrPostInstrSelection(), llvm::AggressiveAntiDepBreaker::BreakAntiDependencies(), llvm::R600InstrInfo::buildSlotOfVectorInstruction(), llvm::PPCInstrInfo::commuteInstruction(), llvm::TargetInstrInfo::commuteInstruction(), llvm::ConnectedVNInfoEqClasses::Distribute(), llvm::SparcRegisterInfo::eliminateFrameIndex(), llvm::PPCInstrInfo::FoldImmediate(), llvm::ARMBaseInstrInfo::FoldImmediate(), llvm::X86InstrInfo::foldMemoryOperandImpl(), INITIALIZE_PASS(), llvm::SIInstrInfo::legalizeOperands(), llvm::ARMBaseInstrInfo::optimizeCompareInstr(), llvm::ARMBaseInstrInfo::PredicateInstruction(), llvm::R600InstrInfo::PredicateInstruction(), llvm::TargetInstrInfo::PredicateInstruction(), llvm::PPCFrameLowering::replaceFPWithRealFP(), llvm::MachineRegisterInfo::replaceRegWith(), llvm::R600InstrInfo::ReverseBranchCondition(), llvm::MachineSSAUpdater::RewriteUse(), substPhysReg(), substVirtReg(), and llvm::AntiDepBreaker::UpdateDbgValue().
|
inline |
Definition at line 339 of file MachineOperand.h.
References isReg().
Referenced by llvm::TargetInstrInfo::commuteInstruction(), CreateReg(), expandPseudoDIV(), llvm::X86InstrInfo::foldMemoryOperandImpl(), substPhysReg(), and substVirtReg().
|
inline |
Definition at line 190 of file MachineOperand.h.
Referenced by CreateBA(), CreateCPI(), CreateES(), CreateGA(), CreateJTI(), CreateMBB(), and CreateTargetIndex().
void MachineOperand::substPhysReg | ( | unsigned | Reg, |
const TargetRegisterInfo & | TRI | ||
) |
substPhysReg - Substitute the current register with the physical register Reg, taking any existing SubReg into account. For instance, substPhysReg(EAX) will change reg1024:sub_8bit to AL.
Definition at line 79 of file MachineInstr.cpp.
References getSubReg(), llvm::MCRegisterInfo::getSubReg(), llvm::TargetRegisterInfo::isPhysicalRegister(), setReg(), and setSubReg().
Referenced by llvm::MachineInstr::substituteRegister().
void MachineOperand::substVirtReg | ( | unsigned | Reg, |
unsigned | SubIdx, | ||
const TargetRegisterInfo & | TRI | ||
) |
substVirtReg - Substitute the current register with the virtual subregister Reg:SubReg. Take any existing SubReg index into account, using TargetRegisterInfo to compose the subreg indices if necessary. Reg must be a virtual register, SubIdx can be 0.
Definition at line 69 of file MachineInstr.cpp.
References llvm::TargetRegisterInfo::composeSubRegIndices(), getSubReg(), llvm::TargetRegisterInfo::isVirtualRegister(), setReg(), and setSubReg().
Referenced by llvm::MachineInstr::substituteRegister().
|
friend |
MachineOperand hash_value overload.
Note that this includes the same information in the hash that isIdenticalTo uses for comparison. It is thus suited for use in hash tables which use that function for equality comparisons only.
Referenced by llvm::MachineInstrExpressionTrait::getHashValue().
|
friend |
Definition at line 672 of file MachineOperand.h.
|
friend |
Definition at line 673 of file MachineOperand.h.
const BlockAddress* llvm::MachineOperand::BA |
Definition at line 173 of file MachineOperand.h.
Referenced by CreateBA().
const ConstantFP* llvm::MachineOperand::CFP |
Definition at line 153 of file MachineOperand.h.
Referenced by CreateFPImm().
const ConstantInt* llvm::MachineOperand::CI |
Definition at line 154 of file MachineOperand.h.
Referenced by CreateCImm(), and llvm::MachineInstr::emitError().
const GlobalValue* llvm::MachineOperand::GV |
Definition at line 172 of file MachineOperand.h.
Referenced by CreateGA().
int64_t llvm::MachineOperand::ImmVal |
Definition at line 155 of file MachineOperand.h.
Referenced by ChangeToImmediate().
int llvm::MachineOperand::Index |
Definition at line 170 of file MachineOperand.h.
MachineBasicBlock* llvm::MachineOperand::MBB |
Definition at line 152 of file MachineOperand.h.
Referenced by ChangeToImmediate(), ChangeToRegister(), llvm::MachineInstr::emitError(), print(), llvm::MachineInstr::print(), setIsDef(), setMBB(), and setReg().
const MDNode* llvm::MachineOperand::MD |
Definition at line 157 of file MachineOperand.h.
Referenced by CreateMetadata(), and llvm::MachineInstr::print().
MachineOperand* llvm::MachineOperand::Next |
Definition at line 163 of file MachineOperand.h.
struct { ... } llvm::MachineOperand::OffsetedInfo |
OffsetedInfo - This struct contains the offset and an object identifier. this represent the object as with an optional offset from it.
Referenced by CreateBA(), CreateES(), and CreateGA().
int llvm::MachineOperand::OffsetHi |
Definition at line 176 of file MachineOperand.h.
unsigned llvm::MachineOperand::OffsetLo |
Definition at line 143 of file MachineOperand.h.
MachineOperand* llvm::MachineOperand::Prev |
Definition at line 162 of file MachineOperand.h.
struct { ... } llvm::MachineOperand::Reg |
Referenced by llvm::MachineInstr::addOperand(), llvm::MachineRegisterInfo::addRegOperandToUseList(), ChangeToRegister(), CreateReg(), llvm::MachineInstr::findRegisterDefOperandIdx(), llvm::MachineInstr::isConstantValuePHI(), llvm::MachineRegisterInfo::moveOperands(), llvm::MachineInstr::readsWritesVirtualRegister(), llvm::MachineRegisterInfo::removeRegOperandFromUseList(), and setReg().
const uint32_t* llvm::MachineOperand::RegMask |
Definition at line 156 of file MachineOperand.h.
Referenced by CreateRegMask().
unsigned llvm::MachineOperand::RegNo |
Definition at line 142 of file MachineOperand.h.
Referenced by CreateReg().
MCSymbol* llvm::MachineOperand::Sym |
Definition at line 158 of file MachineOperand.h.
Referenced by CreateMCSymbol().
const char* llvm::MachineOperand::SymbolName |
Definition at line 171 of file MachineOperand.h.
union { ... } llvm::MachineOperand::Val |
Referenced by setImplicit(), setIsDead(), setIsDebug(), setIsDef(), setIsEarlyClobber(), setIsInternalRead(), setIsKill(), setIsUndef(), and setIsUse().