/external/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 43 class MachineOperand { 162 MachineOperand *Prev; // Access list for register. See MRI. 163 MachineOperand *Next; 180 explicit MachineOperand(MachineOperandType K) in MachineOperand() function 517 bool isIdenticalTo(const MachineOperand &Other) const; 524 friend hash_code hash_value(const MachineOperand &MO); 542 static MachineOperand CreateImm(int64_t Val) { in CreateImm() 543 MachineOperand Op(MachineOperand::MO_Immediate); in CreateImm() 548 static MachineOperand CreateCImm(const ConstantInt *CI) { in CreateCImm() 549 MachineOperand Op(MachineOperand::MO_CImmediate); in CreateCImm() [all …]
|
D | MachineInstrBundle.h | 131 MachineOperand &deref() const { return *OpI; } in deref() 215 MachineOperand &operator* () const { return deref(); } 216 MachineOperand *operator->() const { return &deref(); } 225 const MachineOperand &operator* () const { return deref(); } 226 const MachineOperand *operator->() const { return &deref(); } 235 MachineOperand &operator* () const { return deref(); } 236 MachineOperand *operator->() const { return &deref(); } 246 const MachineOperand &operator* () const { return deref(); } 247 const MachineOperand *operator->() const { return &deref(); }
|
D | MachineInstrBuilder.h | 68 MI->addOperand(*MF, MachineOperand::CreateReg(RegNo, 84 MI->addOperand(*MF, MachineOperand::CreateImm(Val)); in addImm() 89 MI->addOperand(*MF, MachineOperand::CreateCImm(Val)); in addCImm() 94 MI->addOperand(*MF, MachineOperand::CreateFPImm(Val)); in addFPImm() 100 MI->addOperand(*MF, MachineOperand::CreateMBB(MBB, TargetFlags)); 105 MI->addOperand(*MF, MachineOperand::CreateFI(Idx)); in addFrameIndex() 112 MI->addOperand(*MF, MachineOperand::CreateCPI(Idx, Offset, TargetFlags)); 118 MI->addOperand(*MF, MachineOperand::CreateTargetIndex(Idx, Offset, 125 MI->addOperand(*MF, MachineOperand::CreateJTI(Idx, TargetFlags)); 132 MI->addOperand(*MF, MachineOperand::CreateGA(GV, Offset, TargetFlags)); [all …]
|
D | MachineRegisterInfo.h | 44 IndexedMap<std::pair<const TargetRegisterClass*, MachineOperand*>, 58 MachineOperand **PhysRegUseDefLists; 62 MachineOperand *&getRegUseDefListHead(unsigned RegNo) { in getRegUseDefListHead() 68 MachineOperand *getRegUseDefListHead(unsigned RegNo) const { in getRegUseDefListHead() 75 static MachineOperand *getNextOperandForReg(const MachineOperand *MO) { in getNextOperandForReg() 152 void addRegOperandToUseList(MachineOperand *MO); 155 void removeRegOperandFromUseList(MachineOperand *MO); 158 void moveOperands(MachineOperand *Dst, MachineOperand *Src, unsigned NumOps); 509 MachineOperand *Op; 510 explicit defusechain_iterator(MachineOperand *op) : Op(op) { in defusechain_iterator() [all …]
|
/external/llvm/lib/Target/XCore/ |
D | XCoreMCInstLower.cpp | 35 MCOperand XCoreMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 42 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 45 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 49 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 53 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 57 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 60 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 81 MCOperand XCoreMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand() 87 case MachineOperand::MO_Register: in LowerOperand() 91 case MachineOperand::MO_Immediate: in LowerOperand() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430MCInstLower.cpp | 30 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 40 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 50 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 66 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() 82 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol() 92 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand() 113 const MachineOperand &MO = MI->getOperand(i); in Lower() 120 case MachineOperand::MO_Register: in Lower() 125 case MachineOperand::MO_Immediate: in Lower() 128 case MachineOperand::MO_MachineBasicBlock: in Lower() [all …]
|
D | MSP430MCInstLower.h | 23 class MachineOperand; variable 36 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; 38 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; 39 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const; 40 MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const; 41 MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const; 42 MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
|
D | MSP430AsmPrinter.cpp | 66 const MachineOperand &MO = MI->getOperand(OpNum); in printOperand() 69 case MachineOperand::MO_Register: in printOperand() 72 case MachineOperand::MO_Immediate: in printOperand() 77 case MachineOperand::MO_MachineBasicBlock: in printOperand() 80 case MachineOperand::MO_GlobalAddress: { in printOperand() 102 case MachineOperand::MO_ExternalSymbol: { in printOperand() 113 const MachineOperand &Base = MI->getOperand(OpNum); in printSrcMemOperand() 114 const MachineOperand &Disp = MI->getOperand(OpNum+1); in printSrcMemOperand()
|
/external/llvm/lib/Target/MBlaze/ |
D | MBlazeMCInstLower.cpp | 33 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 43 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 53 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 68 GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() 86 GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol() 96 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand() 119 const MachineOperand &MO = MI->getOperand(i); in Lower() 124 case MachineOperand::MO_Register: in Lower() 129 case MachineOperand::MO_Immediate: in Lower() 132 case MachineOperand::MO_MachineBasicBlock: in Lower() [all …]
|
D | MBlazeMCInstLower.h | 23 class MachineOperand; variable 36 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; 38 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; 39 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const; 40 MCSymbol *GetJumpTableSymbol(const MachineOperand &MO) const; 41 MCSymbol *GetConstantPoolIndexSymbol(const MachineOperand &MO) const; 42 MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
|
D | MBlazeAsmPrinter.cpp | 217 const MachineOperand &MO = MI->getOperand(opNum); in printOperand() 220 case MachineOperand::MO_Register: in printOperand() 224 case MachineOperand::MO_Immediate: in printOperand() 228 case MachineOperand::MO_FPImmediate: { in printOperand() 235 case MachineOperand::MO_MachineBasicBlock: in printOperand() 239 case MachineOperand::MO_GlobalAddress: in printOperand() 243 case MachineOperand::MO_ExternalSymbol: in printOperand() 247 case MachineOperand::MO_JumpTableIndex: in printOperand() 252 case MachineOperand::MO_ConstantPoolIndex: in printOperand() 266 const MachineOperand &MO = MI->getOperand(opNum); in printUnsignedImm() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsMCInstLower.cpp | 36 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 72 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 76 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 81 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 86 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 91 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 95 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 129 MCOperand MipsMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand() 135 case MachineOperand::MO_Register: in LowerOperand() 139 case MachineOperand::MO_Immediate: in LowerOperand() [all …]
|
D | MipsAsmPrinter.cpp | 54 bool MipsAsmPrinter::lowerOperand(const MachineOperand &MO, MCOperand &MCOp) { in lowerOperand() 329 const MachineOperand &MO = MI->getOperand(OpNum); in PrintAsmOperand() 335 if ((MO.getType()) != MachineOperand::MO_Immediate) in PrintAsmOperand() 340 if ((MO.getType()) != MachineOperand::MO_Immediate) in PrintAsmOperand() 345 if ((MO.getType()) != MachineOperand::MO_Immediate) in PrintAsmOperand() 350 if ((MO.getType()) != MachineOperand::MO_Immediate) in PrintAsmOperand() 356 if (MO.getType() != MachineOperand::MO_Immediate) in PrintAsmOperand() 371 const MachineOperand &FlagsOP = MI->getOperand(OpNum - 1); in PrintAsmOperand() 403 const MachineOperand &MO = MI->getOperand(RegOp); in PrintAsmOperand() 425 const MachineOperand &MO = MI->getOperand(OpNum); in PrintAsmMemoryOperand() [all …]
|
D | MipsInstrInfo.h | 50 SmallVectorImpl<MachineOperand> &Cond, 57 const SmallVectorImpl<MachineOperand> &Cond, 61 bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const; 65 SmallVectorImpl<MachineOperand> &Cond, 90 bool isZeroImm(const MachineOperand &op) const; 100 SmallVectorImpl<MachineOperand> &Cond) const; 103 const SmallVectorImpl<MachineOperand>& Cond) const;
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 26 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, in GetSymbolRef() 66 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, in lowerOperand() 70 case MachineOperand::MO_Register: in lowerOperand() 77 case MachineOperand::MO_Immediate: in lowerOperand() 80 case MachineOperand::MO_MachineBasicBlock: in lowerOperand() 84 case MachineOperand::MO_GlobalAddress: in lowerOperand() 87 case MachineOperand::MO_ExternalSymbol: in lowerOperand() 91 case MachineOperand::MO_JumpTableIndex: in lowerOperand() 94 case MachineOperand::MO_ConstantPoolIndex: in lowerOperand() 97 case MachineOperand::MO_BlockAddress: in lowerOperand() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 49 void MachineOperand::setReg(unsigned Reg) { in setReg() 69 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg() 79 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg() 91 void MachineOperand::setIsDef(bool Val) { in setIsDef() 112 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() 129 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister() 170 bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const { in isIdenticalTo() 176 case MachineOperand::MO_Register: in isIdenticalTo() 179 case MachineOperand::MO_Immediate: in isIdenticalTo() 181 case MachineOperand::MO_CImmediate: in isIdenticalTo() [all …]
|
D | MachineRegisterInfo.cpp | 28 PhysRegUseDefLists = new MachineOperand*[TRI.getNumRegs()]; in MachineRegisterInfo() 29 memset(PhysRegUseDefLists, 0, sizeof(MachineOperand*)*TRI.getNumRegs()); in MachineRegisterInfo() 117 void MachineRegisterInfo::addRegOperandToUseList(MachineOperand *MO) { in addRegOperandToUseList() 119 MachineOperand *&HeadRef = getRegUseDefListHead(MO->getReg()); in addRegOperandToUseList() 120 MachineOperand *const Head = HeadRef; in addRegOperandToUseList() 136 MachineOperand *Last = Head->Contents.Reg.Prev; in addRegOperandToUseList() 156 void MachineRegisterInfo::removeRegOperandFromUseList(MachineOperand *MO) { in removeRegOperandFromUseList() 158 MachineOperand *&HeadRef = getRegUseDefListHead(MO->getReg()); in removeRegOperandFromUseList() 159 MachineOperand *const Head = HeadRef; in removeRegOperandFromUseList() 163 MachineOperand *Next = MO->Contents.Reg.Next; in removeRegOperandFromUseList() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonPeephole.cpp | 97 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src); 131 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() 132 MachineOperand &Src = MI->getOperand(1); in runOnMachineFunction() 152 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() 153 MachineOperand &Src1 = MI->getOperand(1); in runOnMachineFunction() 154 MachineOperand &Src2 = MI->getOperand(2); in runOnMachineFunction() 167 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() 168 MachineOperand &Src = MI->getOperand(1); in runOnMachineFunction() 185 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() 186 MachineOperand &Src = MI->getOperand(1); in runOnMachineFunction() [all …]
|
D | HexagonAsmPrinter.cpp | 77 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand() 81 case MachineOperand::MO_Register: in printOperand() 84 case MachineOperand::MO_Immediate: in printOperand() 87 case MachineOperand::MO_MachineBasicBlock: in printOperand() 90 case MachineOperand::MO_JumpTableIndex: in printOperand() 94 case MachineOperand::MO_ConstantPoolIndex: in printOperand() 97 case MachineOperand::MO_ExternalSymbol: in printOperand() 100 case MachineOperand::MO_GlobalAddress: in printOperand() 171 const MachineOperand &Base = MI->getOperand(OpNo); in PrintAsmMemoryOperand() 172 const MachineOperand &Offset = MI->getOperand(OpNo+1); in PrintAsmMemoryOperand() [all …]
|
D | HexagonMCInstLower.cpp | 27 static MCOperand GetSymbolRef(const MachineOperand& MO, const MCSymbol* Symbol, in GetSymbolRef() 48 const MachineOperand &MO = MI->getOperand(i); in HexagonLowerToMC() 55 case MachineOperand::MO_Register: in HexagonLowerToMC() 60 case MachineOperand::MO_FPImmediate: { in HexagonLowerToMC() 67 case MachineOperand::MO_Immediate: in HexagonLowerToMC() 70 case MachineOperand::MO_MachineBasicBlock: in HexagonLowerToMC() 75 case MachineOperand::MO_GlobalAddress: in HexagonLowerToMC() 78 case MachineOperand::MO_ExternalSymbol: in HexagonLowerToMC() 82 case MachineOperand::MO_JumpTableIndex: in HexagonLowerToMC() 85 case MachineOperand::MO_ConstantPoolIndex: in HexagonLowerToMC() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64MCInstLower.cpp | 31 AArch64AsmPrinter::lowerSymbolOperand(const MachineOperand &MO, in lowerSymbolOperand() 87 bool AArch64AsmPrinter::lowerOperand(const MachineOperand &MO, in lowerOperand() 91 case MachineOperand::MO_Register: in lowerOperand() 97 case MachineOperand::MO_Immediate: in lowerOperand() 100 case MachineOperand::MO_BlockAddress: in lowerOperand() 103 case MachineOperand::MO_ExternalSymbol: in lowerOperand() 106 case MachineOperand::MO_GlobalAddress: in lowerOperand() 109 case MachineOperand::MO_MachineBasicBlock: in lowerOperand() 113 case MachineOperand::MO_JumpTableIndex: in lowerOperand() 116 case MachineOperand::MO_ConstantPoolIndex: in lowerOperand() [all …]
|
D | AArch64AsmPrinter.cpp | 43 static bool printModifiedFPRAsmOperand(const MachineOperand &MO, in printModifiedFPRAsmOperand() 61 static bool printModifiedGPRAsmOperand(const MachineOperand &MO, in printModifiedGPRAsmOperand() 87 bool AArch64AsmPrinter::printSymbolicAddress(const MachineOperand &MO, in printSymbolicAddress() 95 case MachineOperand::MO_GlobalAddress: in printSymbolicAddress() 123 case MachineOperand::MO_BlockAddress: in printSymbolicAddress() 126 case MachineOperand::MO_ExternalSymbol: in printSymbolicAddress() 129 case MachineOperand::MO_ConstantPoolIndex: in printSymbolicAddress() 161 const MachineOperand &MO = MI->getOperand(OpNum); in PrintAsmOperand() 165 case MachineOperand::MO_Register: in PrintAsmOperand() 173 case MachineOperand::MO_Immediate: in PrintAsmOperand() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCMCInstLower.cpp | 32 static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO, AsmPrinter &AP){ in GetSymbolFromOperand() 98 static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, in GetSymbolRef() 156 const MachineOperand &MO = MI->getOperand(i); in LowerPPCMachineInstrToMCInst() 163 case MachineOperand::MO_Register: in LowerPPCMachineInstrToMCInst() 167 case MachineOperand::MO_Immediate: in LowerPPCMachineInstrToMCInst() 170 case MachineOperand::MO_MachineBasicBlock: in LowerPPCMachineInstrToMCInst() 174 case MachineOperand::MO_GlobalAddress: in LowerPPCMachineInstrToMCInst() 175 case MachineOperand::MO_ExternalSymbol: in LowerPPCMachineInstrToMCInst() 178 case MachineOperand::MO_JumpTableIndex: in LowerPPCMachineInstrToMCInst() 181 case MachineOperand::MO_ConstantPoolIndex: in LowerPPCMachineInstrToMCInst() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 77 void X86AsmPrinter::printSymbolOperand(const MachineOperand &MO, in printSymbolOperand() 81 case MachineOperand::MO_JumpTableIndex: in printSymbolOperand() 84 case MachineOperand::MO_ConstantPoolIndex: in printSymbolOperand() 88 case MachineOperand::MO_GlobalAddress: { in printSymbolOperand() 138 case MachineOperand::MO_ExternalSymbol: { in printSymbolOperand() 213 const MachineOperand &MO = MI->getOperand(OpNo); in printPCRelImm() 216 case MachineOperand::MO_Register: in printPCRelImm() 220 case MachineOperand::MO_Immediate: in printPCRelImm() 223 case MachineOperand::MO_MachineBasicBlock: in printPCRelImm() 226 case MachineOperand::MO_GlobalAddress: in printPCRelImm() [all …]
|
/external/llvm/lib/Target/R600/ |
D | R600InstrInfo.h | 37 int getBranchInstr(const MachineOperand &op) const; 72 bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const; 75 SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const; 77 …achineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugL… 101 std::vector<MachineOperand> &Pred) const; 103 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, 104 const SmallVectorImpl<MachineOperand> &Pred2) const; 110 const SmallVectorImpl<MachineOperand> &Pred) const; 194 MachineOperand &getFlagOp(MachineInstr *MI, unsigned SrcIdx = 0,
|