/external/llvm/include/llvm/CodeGen/ |
D | MachineOperand.h | 44 class MachineOperand { 166 MachineOperand *Prev; // Access list for register. See MRI. 167 MachineOperand *Next; 184 explicit MachineOperand(MachineOperandType K) in MachineOperand() function 543 bool isIdenticalTo(const MachineOperand &Other) const; 550 friend hash_code hash_value(const MachineOperand &MO); 579 static MachineOperand CreateImm(int64_t Val) { in CreateImm() 580 MachineOperand Op(MachineOperand::MO_Immediate); in CreateImm() 585 static MachineOperand CreateCImm(const ConstantInt *CI) { in CreateCImm() 586 MachineOperand Op(MachineOperand::MO_CImmediate); in CreateCImm() [all …]
|
D | MachineInstrBuilder.h | 69 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 | MachineInstrBundle.h | 131 MachineOperand &deref() const { return *OpI; } in deref() 220 MachineOperand &operator* () const { return deref(); } 221 MachineOperand *operator->() const { return &deref(); } 230 const MachineOperand &operator* () const { return deref(); } 231 const MachineOperand *operator->() const { return &deref(); } 240 MachineOperand &operator* () const { return deref(); } 241 MachineOperand *operator->() const { return &deref(); } 251 const MachineOperand &operator* () const { return deref(); } 252 const MachineOperand *operator->() const { return &deref(); }
|
/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/Sparc/ |
D | SparcMCInstLower.cpp | 32 const MachineOperand &MO, in LowerSymbolOperand() 41 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_ConstantPoolIndex: in LowerSymbolOperand() 70 const MachineOperand &MO, in LowerOperand() 74 case MachineOperand::MO_Register: in LowerOperand() 79 case MachineOperand::MO_Immediate: in LowerOperand() 82 case MachineOperand::MO_MachineBasicBlock: in LowerOperand() [all …]
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430MCInstLower.cpp | 32 GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 42 GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 52 GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 69 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() 117 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 | 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;
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonPeephole.cpp | 105 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src); 139 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() 140 MachineOperand &Src = MI->getOperand(1); in runOnMachineFunction() 158 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() 159 MachineOperand &Src1 = MI->getOperand(1); in runOnMachineFunction() 160 MachineOperand &Src2 = MI->getOperand(2); in runOnMachineFunction() 175 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() 176 MachineOperand &Src1 = MI->getOperand(1); in runOnMachineFunction() 177 MachineOperand &Src2 = MI->getOperand(2); in runOnMachineFunction() 190 MachineOperand &Dst = MI->getOperand(0); in runOnMachineFunction() [all …]
|
D | HexagonMCInstLower.cpp | 34 static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, in GetSymbolRef() 90 const MachineOperand &MO = MI->getOperand(i); in HexagonLowerToMC() 99 case MachineOperand::MO_Register: in HexagonLowerToMC() 104 case MachineOperand::MO_FPImmediate: { in HexagonLowerToMC() 113 case MachineOperand::MO_Immediate: in HexagonLowerToMC() 117 case MachineOperand::MO_MachineBasicBlock: in HexagonLowerToMC() 122 case MachineOperand::MO_GlobalAddress: in HexagonLowerToMC() 125 case MachineOperand::MO_ExternalSymbol: in HexagonLowerToMC() 129 case MachineOperand::MO_JumpTableIndex: in HexagonLowerToMC() 132 case MachineOperand::MO_ConstantPoolIndex: in HexagonLowerToMC() [all …]
|
D | HexagonExpandPredSpillCode.cpp | 101 MachineOperand &Op0 = MI->getOperand(0); in runOnMachineFunction() 102 MachineOperand &Op1 = MI->getOperand(1); in runOnMachineFunction() 103 MachineOperand &Op2 = MI->getOperand(2); in runOnMachineFunction() 104 MachineOperand &Op3 = MI->getOperand(3); // Modifier value. in runOnMachineFunction() 105 MachineOperand &Op4 = MI->getOperand(4); in runOnMachineFunction() 115 NewMI->addOperand(MachineOperand::CreateReg(Hexagon::M0, in runOnMachineFunction() 144 MachineOperand &Op0 = MI->getOperand(0); in runOnMachineFunction() 145 MachineOperand &Op1 = MI->getOperand(1); in runOnMachineFunction() 146 MachineOperand &Op2 = MI->getOperand(2); in runOnMachineFunction() 147 MachineOperand &Op4 = MI->getOperand(4); // Modifier value. in runOnMachineFunction() [all …]
|
D | HexagonHardwareLoops.cpp | 161 MachineOperand *InitialValue, 162 const MachineOperand *Endvalue, 178 CountValue *computeCount(MachineLoop *Loop, const MachineOperand *Start, 179 const MachineOperand *End, unsigned IVReg, 212 const MachineOperand *MO, 217 bool phiMayWrapOrUnderflow(MachineInstr *Phi, const MachineOperand *EndVal, 223 bool loopCountMayWrapOrUnderFlow(const MachineOperand *InitVal, 224 const MachineOperand *EndVal, 231 bool checkForImmediate(const MachineOperand &MO, int64_t &Val) const; 234 bool isImmediate(const MachineOperand &MO) const { in isImmediate() [all …]
|
D | HexagonCopyToCombine.cpp | 95 MachineOperand &HiOperand, MachineOperand &LoOperand); 98 MachineOperand &HiOperand, MachineOperand &LoOperand); 101 MachineOperand &HiOperand, MachineOperand &LoOperand); 104 MachineOperand &HiOperand, MachineOperand &LoOperand); 120 const MachineOperand &Op0 = MI->getOperand(0); in isCombinableInstType() 121 const MachineOperand &Op1 = MI->getOperand(1); in isCombinableInstType() 133 const MachineOperand &Op0 = MI->getOperand(0); in isCombinableInstType() 134 const MachineOperand &Op1 = MI->getOperand(1); in isCombinableInstType() 161 const MachineOperand &Op = I->getOperand(1); in isGreaterThanNBitTFRI() 196 MachineOperand &Op = MI->getOperand(I); in removeKillInfo() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 56 void MachineOperand::setReg(unsigned Reg) { in setReg() 76 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg() 86 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg() 98 void MachineOperand::setIsDef(bool Val) { in setIsDef() 118 void MachineOperand::removeRegFromUses() { in removeRegFromUses() 133 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() 142 void MachineOperand::ChangeToFPImmediate(const ConstantFP *FPImm) { in ChangeToFPImmediate() 151 void MachineOperand::ChangeToES(const char *SymName, unsigned char TargetFlags) { in ChangeToES() 163 void MachineOperand::ChangeToMCSymbol(MCSymbol *Sym) { in ChangeToMCSymbol() 176 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister() [all …]
|
D | MachineRegisterInfo.cpp | 34 PhysRegUseDefLists.reset(new MachineOperand*[NumRegs]()); in MachineRegisterInfo() 74 for (MachineOperand &MO : reg_nodbg_operands(Reg)) { in recomputeRegClass() 125 for (MachineOperand &M : reg_operands(Reg)) { in verifyUseList() 126 MachineOperand *MO = &M; in verifyUseList() 135 MachineOperand *MO0 = &MI->getOperand(0); in verifyUseList() 170 void MachineRegisterInfo::addRegOperandToUseList(MachineOperand *MO) { in addRegOperandToUseList() 172 MachineOperand *&HeadRef = getRegUseDefListHead(MO->getReg()); in addRegOperandToUseList() 173 MachineOperand *const Head = HeadRef; in addRegOperandToUseList() 189 MachineOperand *Last = Head->Contents.Reg.Prev; in addRegOperandToUseList() 209 void MachineRegisterInfo::removeRegOperandFromUseList(MachineOperand *MO) { in removeRegOperandFromUseList() [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_MCSymbol: in LowerSymbolOperand() 96 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 100 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 134 MCOperand MipsMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand() 140 case MachineOperand::MO_Register: in LowerOperand() [all …]
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZMCInstLower.cpp | 37 SystemZMCInstLower::getExpr(const MachineOperand &MO, in getExpr() 42 case MachineOperand::MO_MachineBasicBlock: in getExpr() 47 case MachineOperand::MO_GlobalAddress: in getExpr() 51 case MachineOperand::MO_ExternalSymbol: in getExpr() 55 case MachineOperand::MO_JumpTableIndex: in getExpr() 60 case MachineOperand::MO_ConstantPoolIndex: in getExpr() 64 case MachineOperand::MO_BlockAddress: in getExpr() 80 MCOperand SystemZMCInstLower::lowerOperand(const MachineOperand &MO) const { in lowerOperand() 82 case MachineOperand::MO_Register: in lowerOperand() 85 case MachineOperand::MO_Immediate: in lowerOperand() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 27 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, in GetSymbolRef() 68 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, in lowerOperand() 72 case MachineOperand::MO_Register: in lowerOperand() 79 case MachineOperand::MO_Immediate: in lowerOperand() 82 case MachineOperand::MO_MachineBasicBlock: in lowerOperand() 86 case MachineOperand::MO_GlobalAddress: { in lowerOperand() 91 case MachineOperand::MO_ExternalSymbol: in lowerOperand() 95 case MachineOperand::MO_JumpTableIndex: in lowerOperand() 98 case MachineOperand::MO_ConstantPoolIndex: in lowerOperand() 101 case MachineOperand::MO_BlockAddress: in lowerOperand() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyMCInstLower.cpp | 31 WebAssemblyMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 36 const MachineOperand &MO) const { in GetExternalSymbolSymbol() 40 MCOperand WebAssemblyMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 61 const MachineOperand &MO = MI->getOperand(i); in Lower() 68 case MachineOperand::MO_Register: { in Lower() 78 case MachineOperand::MO_Immediate: in Lower() 81 case MachineOperand::MO_FPImmediate: { in Lower() 93 case MachineOperand::MO_MachineBasicBlock: in Lower() 97 case MachineOperand::MO_GlobalAddress: in Lower() 100 case MachineOperand::MO_ExternalSymbol: in Lower()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64MCInstLower.cpp | 35 AArch64MCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 40 AArch64MCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 44 MCOperand AArch64MCInstLower::lowerSymbolOperandDarwin(const MachineOperand &MO, in lowerSymbolOperandDarwin() 79 MCOperand AArch64MCInstLower::lowerSymbolOperandELF(const MachineOperand &MO, in lowerSymbolOperandELF() 154 MCOperand AArch64MCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 163 bool AArch64MCInstLower::lowerOperand(const MachineOperand &MO, in lowerOperand() 168 case MachineOperand::MO_Register: in lowerOperand() 174 case MachineOperand::MO_RegisterMask: in lowerOperand() 177 case MachineOperand::MO_Immediate: in lowerOperand() 180 case MachineOperand::MO_MachineBasicBlock: in lowerOperand() [all …]
|
D | AArch64MCInstLower.h | 25 class MachineOperand; variable 38 bool lowerOperand(const MachineOperand &MO, MCOperand &MCOp) const; 41 MCOperand lowerSymbolOperandDarwin(const MachineOperand &MO, 43 MCOperand lowerSymbolOperandELF(const MachineOperand &MO, 45 MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const; 47 MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const; 48 MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
|
/external/llvm/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 76 static void printSymbolOperand(X86AsmPrinter &P, const MachineOperand &MO, in printSymbolOperand() 80 case MachineOperand::MO_ConstantPoolIndex: in printSymbolOperand() 84 case MachineOperand::MO_GlobalAddress: { in printSymbolOperand() 193 const MachineOperand &MO = MI->getOperand(OpNo); in printPCRelImm() 196 case MachineOperand::MO_Register: in printPCRelImm() 200 case MachineOperand::MO_Immediate: in printPCRelImm() 203 case MachineOperand::MO_GlobalAddress: in printPCRelImm() 212 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand() 215 case MachineOperand::MO_Register: { in printOperand() 229 case MachineOperand::MO_Immediate: in printOperand() [all …]
|
/external/llvm/lib/Target/BPF/ |
D | BPFMCInstLower.cpp | 29 BPFMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 33 MCOperand BPFMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 48 const MachineOperand &MO = MI->getOperand(i); in Lower() 55 case MachineOperand::MO_Register: in Lower() 61 case MachineOperand::MO_Immediate: in Lower() 64 case MachineOperand::MO_MachineBasicBlock: in Lower() 68 case MachineOperand::MO_RegisterMask: in Lower() 70 case MachineOperand::MO_GlobalAddress: in Lower()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | R600InstrInfo.h | 37 int getBranchInstr(const MachineOperand &op) const; 66 bool ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const; 69 SmallVectorImpl<MachineOperand> &Cond, bool AllowModify) const; 71 …achineBasicBlock *TBB, MachineBasicBlock *FBB, const SmallVectorImpl<MachineOperand> &Cond, DebugL… 95 std::vector<MachineOperand> &Pred) const; 97 bool SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, 98 const SmallVectorImpl<MachineOperand> &Pred2) const; 104 const SmallVectorImpl<MachineOperand> &Pred) const; 124 MachineOperand &getFlagOp(MachineInstr *MI) const;
|
D | R600InstrInfo.cpp | 180 SmallVectorImpl<MachineOperand> &Cond, in AnalyzeBranch() 218 Cond.push_back(MachineOperand::CreateReg(AMDGPU::PRED_SEL_ONE, false)); in AnalyzeBranch() 242 Cond.push_back(MachineOperand::CreateReg(AMDGPU::PRED_SEL_ONE, false)); in AnalyzeBranch() 250 int R600InstrInfo::getBranchInstr(const MachineOperand &op) const { in getBranchInstr() 264 const SmallVectorImpl<MachineOperand> &Cond, in InsertBranch() 404 R600InstrInfo::ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const in ReverseBranchCondition() 406 MachineOperand &MO = Cond[1]; in ReverseBranchCondition() 424 MachineOperand &MO2 = Cond[2]; in ReverseBranchCondition() 440 std::vector<MachineOperand> &Pred) const in DefinesPredicate() 447 R600InstrInfo::SubsumesPredicate(const SmallVectorImpl<MachineOperand> &Pred1, in SubsumesPredicate() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCMCInstLower.cpp | 38 static MCSymbol *GetSymbolFromOperand(const MachineOperand &MO, AsmPrinter &AP){ in GetSymbolFromOperand() 114 static MCOperand GetSymbolRef(const MachineOperand &MO, const MCSymbol *Symbol, in GetSymbolRef() 178 const MachineOperand &MO = MI->getOperand(i); in LowerPPCMachineInstrToMCInst() 185 case MachineOperand::MO_Register: in LowerPPCMachineInstrToMCInst() 192 case MachineOperand::MO_Immediate: in LowerPPCMachineInstrToMCInst() 195 case MachineOperand::MO_MachineBasicBlock: in LowerPPCMachineInstrToMCInst() 199 case MachineOperand::MO_GlobalAddress: in LowerPPCMachineInstrToMCInst() 200 case MachineOperand::MO_ExternalSymbol: in LowerPPCMachineInstrToMCInst() 203 case MachineOperand::MO_JumpTableIndex: in LowerPPCMachineInstrToMCInst() 206 case MachineOperand::MO_ConstantPoolIndex: in LowerPPCMachineInstrToMCInst() [all …]
|