/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 552 bool isIdenticalTo(const MachineOperand &Other) const; 559 friend hash_code hash_value(const MachineOperand &MO); 588 static MachineOperand CreateImm(int64_t Val) { in CreateImm() 589 MachineOperand Op(MachineOperand::MO_Immediate); in CreateImm() 594 static MachineOperand CreateCImm(const ConstantInt *CI) { in CreateCImm() 595 MachineOperand Op(MachineOperand::MO_CImmediate); in CreateCImm() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineOperand.h | 37 class MachineOperand { 138 MachineOperand **Prev; // Access list for register. 139 MachineOperand *Next; 156 explicit MachineOperand(MachineOperandType K) : OpKind(K), ParentMI(0) { in MachineOperand() function 282 MachineOperand *getNextOperandForReg() const { in getNextOperandForReg() 453 bool isIdenticalTo(const MachineOperand &Other) const; 471 static MachineOperand CreateImm(int64_t Val) { in CreateImm() 472 MachineOperand Op(MachineOperand::MO_Immediate); in CreateImm() 477 static MachineOperand CreateCImm(const ConstantInt *CI) { in CreateCImm() 478 MachineOperand Op(MachineOperand::MO_CImmediate); in CreateCImm() [all …]
|
D | MachineInstrBuilder.h | 61 MI->addOperand(MachineOperand::CreateReg(RegNo, 76 MI->addOperand(MachineOperand::CreateImm(Val)); in addImm() 81 MI->addOperand(MachineOperand::CreateCImm(Val)); in addCImm() 86 MI->addOperand(MachineOperand::CreateFPImm(Val)); in addFPImm() 92 MI->addOperand(MachineOperand::CreateMBB(MBB, TargetFlags)); 97 MI->addOperand(MachineOperand::CreateFI(Idx)); in addFrameIndex() 104 MI->addOperand(MachineOperand::CreateCPI(Idx, Offset, TargetFlags)); 110 MI->addOperand(MachineOperand::CreateJTI(Idx, TargetFlags)); 117 MI->addOperand(MachineOperand::CreateGA(GV, Offset, TargetFlags)); 123 MI->addOperand(MachineOperand::CreateES(FnName, TargetFlags)); [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/Sparc/ |
D | SparcMCInstLower.cpp | 31 const MachineOperand &MO, in LowerSymbolOperand() 40 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 44 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 48 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 52 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 56 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 69 const MachineOperand &MO, in LowerOperand() 73 case MachineOperand::MO_Register: in LowerOperand() 78 case MachineOperand::MO_Immediate: in LowerOperand() 81 case MachineOperand::MO_MachineBasicBlock: in LowerOperand() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsMCInstLower.cpp | 31 MCOperand MipsMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 57 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 61 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 65 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 69 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 73 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 77 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 91 MCOperand MipsMCInstLower::LowerOperand(const MachineOperand& MO) const { in LowerOperand() 98 case MachineOperand::MO_Register: in LowerOperand() 102 case MachineOperand::MO_Immediate: in LowerOperand() [all …]
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiMCInstLower.cpp | 35 LanaiMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 40 LanaiMCInstLower::GetBlockAddressSymbol(const MachineOperand &MO) const { in GetBlockAddressSymbol() 45 LanaiMCInstLower::GetExternalSymbolSymbol(const MachineOperand &MO) const { in GetExternalSymbolSymbol() 49 MCSymbol *LanaiMCInstLower::GetJumpTableSymbol(const MachineOperand &MO) const { in GetJumpTableSymbol() 59 LanaiMCInstLower::GetConstantPoolIndexSymbol(const MachineOperand &MO) const { in GetConstantPoolIndexSymbol() 68 MCOperand LanaiMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 99 const MachineOperand &MO = MI->getOperand(I); in Lower() 103 case MachineOperand::MO_Register: in Lower() 109 case MachineOperand::MO_Immediate: in Lower() 112 case MachineOperand::MO_MachineBasicBlock: in Lower() [all …]
|
D | LanaiMemAluCombiner.cpp | 170 bool isSameOperand(const MachineOperand &Op1, const MachineOperand &Op2) { in isSameOperand() 175 case MachineOperand::MO_Register: in isSameOperand() 177 case MachineOperand::MO_Immediate: in isSameOperand() 184 bool isZeroOperand(const MachineOperand &Op) { in isZeroOperand() 190 bool InstrUsesReg(const MbbIterator &Instr, const MachineOperand *Reg) { in InstrUsesReg() 241 MachineOperand Dest = MemInstr->getOperand(0); in insertMergedInstruction() 242 MachineOperand Base = MemInstr->getOperand(1); in insertMergedInstruction() 243 MachineOperand MemOffset = MemInstr->getOperand(2); in insertMergedInstruction() 244 MachineOperand AluOffset = AluInstr->getOperand(2); in insertMergedInstruction() 287 const MachineOperand &Base, in isSuitableAluInstr() [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/swiftshader/third_party/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 …]
|
/external/swiftshader/third_party/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() 98 LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const { in LowerSymbolOperand() 121 const MachineOperand &MO = MI->getOperand(i); in Lower() 126 case MachineOperand::MO_Register: in Lower() 131 case MachineOperand::MO_Immediate: in Lower() 134 case MachineOperand::MO_MachineBasicBlock: in Lower() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonPeephole.cpp | 105 void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src); 140 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() 141 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() 189 MachineOperand &Dst = MI.getOperand(0); in runOnMachineFunction() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineInstr.cpp | 57 void MachineOperand::setReg(unsigned Reg) { in setReg() 77 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg() 87 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg() 99 void MachineOperand::setIsDef(bool Val) { in setIsDef() 119 void MachineOperand::removeRegFromUses() { in removeRegFromUses() 134 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() 143 void MachineOperand::ChangeToFPImmediate(const ConstantFP *FPImm) { in ChangeToFPImmediate() 152 void MachineOperand::ChangeToES(const char *SymName, unsigned char TargetFlags) { in ChangeToES() 164 void MachineOperand::ChangeToMCSymbol(MCSymbol *Sym) { in ChangeToMCSymbol() 177 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister() [all …]
|
D | MachineRegisterInfo.cpp | 33 PhysRegUseDefLists.reset(new MachineOperand*[NumRegs]()); in MachineRegisterInfo() 78 for (MachineOperand &MO : reg_nodbg_operands(Reg)) { in recomputeRegClass() 155 for (MachineOperand &M : reg_operands(Reg)) { in verifyUseList() 156 MachineOperand *MO = &M; in verifyUseList() 165 MachineOperand *MO0 = &MI->getOperand(0); in verifyUseList() 200 void MachineRegisterInfo::addRegOperandToUseList(MachineOperand *MO) { in addRegOperandToUseList() 202 MachineOperand *&HeadRef = getRegUseDefListHead(MO->getReg()); in addRegOperandToUseList() 203 MachineOperand *const Head = HeadRef; in addRegOperandToUseList() 219 MachineOperand *Last = Head->Contents.Reg.Prev; in addRegOperandToUseList() 239 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() 123 case MachineOperand::MO_MachineBasicBlock: in LowerSymbolOperand() 127 case MachineOperand::MO_GlobalAddress: in LowerSymbolOperand() 132 case MachineOperand::MO_BlockAddress: in LowerSymbolOperand() 137 case MachineOperand::MO_ExternalSymbol: in LowerSymbolOperand() 142 case MachineOperand::MO_MCSymbol: in LowerSymbolOperand() 147 case MachineOperand::MO_JumpTableIndex: in LowerSymbolOperand() 151 case MachineOperand::MO_ConstantPoolIndex: in LowerSymbolOperand() 178 MCOperand MipsMCInstLower::LowerOperand(const MachineOperand &MO, in LowerOperand() 184 case MachineOperand::MO_Register: in LowerOperand() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZAsmPrinter.cpp | 84 const MachineOperand &MO = MI->getOperand(OpNum); in printPCRelImmOperand() 86 case MachineOperand::MO_Immediate: in printPCRelImmOperand() 89 case MachineOperand::MO_MachineBasicBlock: in printPCRelImmOperand() 92 case MachineOperand::MO_GlobalAddress: { in printPCRelImmOperand() 105 case MachineOperand::MO_ExternalSymbol: { in printPCRelImmOperand() 123 const MachineOperand &MO = MI->getOperand(OpNum); in printOperand() 125 case MachineOperand::MO_Register: { in printOperand() 141 case MachineOperand::MO_Immediate: in printOperand() 144 case MachineOperand::MO_MachineBasicBlock: in printOperand() 147 case MachineOperand::MO_JumpTableIndex: in printOperand() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 26 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, in GetSymbolRef() 67 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, in lowerOperand() 73 case MachineOperand::MO_Register: in lowerOperand() 80 case MachineOperand::MO_Immediate: in lowerOperand() 83 case MachineOperand::MO_MachineBasicBlock: in lowerOperand() 87 case MachineOperand::MO_GlobalAddress: in lowerOperand() 90 case MachineOperand::MO_ExternalSymbol: in lowerOperand() 94 case MachineOperand::MO_JumpTableIndex: in lowerOperand() 97 case MachineOperand::MO_ConstantPoolIndex: in lowerOperand() 100 case MachineOperand::MO_BlockAddress: in lowerOperand() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86AsmPrinter.cpp | 82 static void printSymbolOperand(X86AsmPrinter &P, const MachineOperand &MO, in printSymbolOperand() 86 case MachineOperand::MO_ConstantPoolIndex: in printSymbolOperand() 90 case MachineOperand::MO_GlobalAddress: { in printSymbolOperand() 179 const MachineOperand &MO = MI->getOperand(OpNo); in printPCRelImm() 182 case MachineOperand::MO_Register: in printPCRelImm() 186 case MachineOperand::MO_Immediate: in printPCRelImm() 189 case MachineOperand::MO_GlobalAddress: in printPCRelImm() 198 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand() 201 case MachineOperand::MO_Register: { in printOperand() 215 case MachineOperand::MO_Immediate: in printOperand() [all …]
|
D | X86OptimizeLEAs.cpp | 55 static inline bool isIdenticalOp(const MachineOperand &MO1, 56 const MachineOperand &MO2); 60 static bool isSimilarDispOp(const MachineOperand &MO1, 61 const MachineOperand &MO2); 69 MemOpKey(const MachineOperand *Base, const MachineOperand *Scale, in MemOpKey() 70 const MachineOperand *Index, const MachineOperand *Segment, in MemOpKey() 71 const MachineOperand *Disp) in MemOpKey() 93 const MachineOperand *Operands[4]; 96 const MachineOperand *Disp; 102 typedef DenseMapInfo<const MachineOperand *> PtrInfo; [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/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineInstr.cpp | 52 void MachineOperand::AddRegOperandToRegInfo(MachineRegisterInfo *RegInfo) { in AddRegOperandToRegInfo() 64 MachineOperand **Head = &RegInfo->getRegUseDefListHead(getReg()); in AddRegOperandToRegInfo() 85 void MachineOperand::RemoveRegOperandFromRegInfo() { in RemoveRegOperandFromRegInfo() 88 MachineOperand *NextOp = Contents.Reg.Next; in RemoveRegOperandFromRegInfo() 98 void MachineOperand::setReg(unsigned Reg) { in setReg() 117 void MachineOperand::substVirtReg(unsigned Reg, unsigned SubIdx, in substVirtReg() 127 void MachineOperand::substPhysReg(unsigned Reg, const TargetRegisterInfo &TRI) { in substPhysReg() 141 void MachineOperand::ChangeToImmediate(int64_t ImmVal) { in ChangeToImmediate() 155 void MachineOperand::ChangeToRegister(unsigned Reg, bool isDef, bool isImp, in ChangeToRegister() 188 bool MachineOperand::isIdenticalTo(const MachineOperand &Other) const { in isIdenticalTo() [all …]
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 27 MCOperand ARMAsmPrinter::GetSymbolRef(const MachineOperand &MO, in GetSymbolRef() 57 bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO, in lowerOperand() 61 case MachineOperand::MO_Register: in lowerOperand() 68 case MachineOperand::MO_Immediate: in lowerOperand() 71 case MachineOperand::MO_MachineBasicBlock: in lowerOperand() 75 case MachineOperand::MO_GlobalAddress: { in lowerOperand() 80 case MachineOperand::MO_ExternalSymbol: in lowerOperand() 84 case MachineOperand::MO_JumpTableIndex: in lowerOperand() 87 case MachineOperand::MO_ConstantPoolIndex: in lowerOperand() 90 case MachineOperand::MO_BlockAddress: in lowerOperand() [all …]
|
/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 …]
|
/external/llvm/lib/Target/BPF/ |
D | BPFMCInstLower.cpp | 28 BPFMCInstLower::GetGlobalAddressSymbol(const MachineOperand &MO) const { in GetGlobalAddressSymbol() 32 MCOperand BPFMCInstLower::LowerSymbolOperand(const MachineOperand &MO, in LowerSymbolOperand() 47 const MachineOperand &MO = MI->getOperand(i); in Lower() 54 case MachineOperand::MO_Register: in Lower() 60 case MachineOperand::MO_Immediate: in Lower() 63 case MachineOperand::MO_MachineBasicBlock: in Lower() 67 case MachineOperand::MO_RegisterMask: in Lower() 69 case MachineOperand::MO_GlobalAddress: in Lower()
|