Home
last modified time | relevance | path

Searched refs:OpNo (Results 1 – 25 of 133) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUInstPrinter.h36 void printU4ImmOperand(const MCInst *MI, unsigned OpNo,
38 void printU8ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
39 void printU16ImmOperand(const MCInst *MI, unsigned OpNo,
41 void printU4ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
42 void printU8ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
43 void printU16ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
44 void printU32ImmOperand(const MCInst *MI, unsigned OpNo,
46 void printNamedBit(const MCInst *MI, unsigned OpNo, raw_ostream &O,
48 void printOffen(const MCInst *MI, unsigned OpNo, raw_ostream &O);
49 void printIdxen(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
DAMDGPUInstPrinter.cpp37 void AMDGPUInstPrinter::printU4ImmOperand(const MCInst *MI, unsigned OpNo, in printU4ImmOperand() argument
40 O << formatHex(MI->getOperand(OpNo).getImm() & 0xf); in printU4ImmOperand()
43 void AMDGPUInstPrinter::printU8ImmOperand(const MCInst *MI, unsigned OpNo, in printU8ImmOperand() argument
45 O << formatHex(MI->getOperand(OpNo).getImm() & 0xff); in printU8ImmOperand()
48 void AMDGPUInstPrinter::printU16ImmOperand(const MCInst *MI, unsigned OpNo, in printU16ImmOperand() argument
53 int64_t Imm = MI->getOperand(OpNo).getImm(); in printU16ImmOperand()
57 printU32ImmOperand(MI, OpNo, STI, O); in printU16ImmOperand()
60 void AMDGPUInstPrinter::printU4ImmDecOperand(const MCInst *MI, unsigned OpNo, in printU4ImmDecOperand() argument
62 O << formatDec(MI->getOperand(OpNo).getImm() & 0xf); in printU4ImmDecOperand()
65 void AMDGPUInstPrinter::printU8ImmDecOperand(const MCInst *MI, unsigned OpNo, in printU8ImmDecOperand() argument
[all …]
DSIMCCodeEmitter.cpp70 unsigned getSOPPBrEncoding(const MCInst &MI, unsigned OpNo,
74 unsigned getSDWASrcEncoding(const MCInst &MI, unsigned OpNo,
78 unsigned getSDWAVopcDstEncoding(const MCInst &MI, unsigned OpNo,
82 unsigned getAVOperandEncoding(const MCInst &MI, unsigned OpNo,
347 unsigned SIMCCodeEmitter::getSOPPBrEncoding(const MCInst &MI, unsigned OpNo, in getSOPPBrEncoding() argument
350 const MCOperand &MO = MI.getOperand(OpNo); in getSOPPBrEncoding()
363 SIMCCodeEmitter::getSDWASrcEncoding(const MCInst &MI, unsigned OpNo, in getSDWASrcEncoding() argument
370 const MCOperand &MO = MI.getOperand(OpNo); in getSDWASrcEncoding()
382 uint32_t Enc = getLitEncoding(MO, Desc.OpInfo[OpNo], STI); in getSDWASrcEncoding()
393 SIMCCodeEmitter::getSDWAVopcDstEncoding(const MCInst &MI, unsigned OpNo, in getSDWAVopcDstEncoding() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86ATTInstPrinter.h41 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS) override;
43 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
47 void printSTiRegOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
49 void printanymem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printanymem() argument
50 printMemReference(MI, OpNo, O); in printanymem()
52 void printopaquemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printopaquemem() argument
53 printMemReference(MI, OpNo, O); in printopaquemem()
56 void printbytemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printbytemem() argument
57 printMemReference(MI, OpNo, O); in printbytemem()
59 void printwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printwordmem() argument
[all …]
DX86IntelInstPrinter.h42 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) override;
44 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &O);
45 void printSrcIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
46 void printDstIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
48 void printSTiRegOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
50 void printanymem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printanymem() argument
51 printMemReference(MI, OpNo, O); in printanymem()
54 void printopaquemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printopaquemem() argument
55 printMemReference(MI, OpNo, O); in printopaquemem()
58 void printbytemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printbytemem() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.h63 unsigned getJumpTargetOpValue(const MCInst &MI, unsigned OpNo,
70 unsigned getJumpTargetOpValueMM(const MCInst &MI, unsigned OpNo,
76 unsigned getUImm5Lsl2Encoding(const MCInst &MI, unsigned OpNo,
80 unsigned getSImm3Lsa2Value(const MCInst &MI, unsigned OpNo,
84 unsigned getUImm6Lsl2Encoding(const MCInst &MI, unsigned OpNo,
90 unsigned getSImm9AddiuspValue(const MCInst &MI, unsigned OpNo,
97 unsigned getBranchTargetOpValue(const MCInst &MI, unsigned OpNo,
104 unsigned getBranchTargetOpValue1SImm16(const MCInst &MI, unsigned OpNo,
111 unsigned getBranchTargetOpValueMMR6(const MCInst &MI, unsigned OpNo,
118 unsigned getBranchTargetOpValueLsl2MMR6(const MCInst &MI, unsigned OpNo,
[all …]
DMipsMCCodeEmitter.cpp236 getBranchTargetOpValue(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValue() argument
239 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValue()
258 getBranchTargetOpValue1SImm16(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValue1SImm16() argument
261 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValue1SImm16()
280 getBranchTargetOpValueMMR6(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValueMMR6() argument
283 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValueMMR6()
303 getBranchTargetOpValueLsl2MMR6(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValueLsl2MMR6() argument
306 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValueLsl2MMR6()
326 getBranchTarget7OpValueMM(const MCInst &MI, unsigned OpNo, in getBranchTarget7OpValueMM() argument
329 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTarget7OpValueMM()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCInstPrinter.cpp201 void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo, in printPredicateOperand() argument
204 unsigned Code = MI->getOperand(OpNo).getImm(); in printPredicateOperand()
295 printOperand(MI, OpNo+1, O); in printPredicateOperand()
298 void PPCInstPrinter::printATBitsAsHint(const MCInst *MI, unsigned OpNo, in printATBitsAsHint() argument
300 unsigned Code = MI->getOperand(OpNo).getImm(); in printATBitsAsHint()
307 void PPCInstPrinter::printU1ImmOperand(const MCInst *MI, unsigned OpNo, in printU1ImmOperand() argument
309 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU1ImmOperand()
314 void PPCInstPrinter::printU2ImmOperand(const MCInst *MI, unsigned OpNo, in printU2ImmOperand() argument
316 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU2ImmOperand()
321 void PPCInstPrinter::printU3ImmOperand(const MCInst *MI, unsigned OpNo, in printU3ImmOperand() argument
[all …]
DPPCInstPrinter.h47 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
48 void printPredicateOperand(const MCInst *MI, unsigned OpNo,
50 void printATBitsAsHint(const MCInst *MI, unsigned OpNo, raw_ostream &O);
52 void printU1ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
53 void printU2ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
54 void printU3ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
55 void printU4ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
56 void printS5ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
57 void printU5ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
58 void printU6ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
DPPCMCCodeEmitter.cpp43 getDirectBrEncoding(const MCInst &MI, unsigned OpNo, in getDirectBrEncoding() argument
46 const MCOperand &MO = MI.getOperand(OpNo); in getDirectBrEncoding()
55 unsigned PPCMCCodeEmitter::getCondBrEncoding(const MCInst &MI, unsigned OpNo, in getCondBrEncoding() argument
58 const MCOperand &MO = MI.getOperand(OpNo); in getCondBrEncoding()
68 getAbsDirectBrEncoding(const MCInst &MI, unsigned OpNo, in getAbsDirectBrEncoding() argument
71 const MCOperand &MO = MI.getOperand(OpNo); in getAbsDirectBrEncoding()
81 getAbsCondBrEncoding(const MCInst &MI, unsigned OpNo, in getAbsCondBrEncoding() argument
84 const MCOperand &MO = MI.getOperand(OpNo); in getAbsCondBrEncoding()
93 unsigned PPCMCCodeEmitter::getImm16Encoding(const MCInst &MI, unsigned OpNo, in getImm16Encoding() argument
96 const MCOperand &MO = MI.getOperand(OpNo); in getImm16Encoding()
[all …]
DPPCMCCodeEmitter.h38 unsigned getDirectBrEncoding(const MCInst &MI, unsigned OpNo,
41 unsigned getCondBrEncoding(const MCInst &MI, unsigned OpNo,
44 unsigned getAbsDirectBrEncoding(const MCInst &MI, unsigned OpNo,
47 unsigned getAbsCondBrEncoding(const MCInst &MI, unsigned OpNo,
50 unsigned getImm16Encoding(const MCInst &MI, unsigned OpNo,
53 unsigned getMemRIEncoding(const MCInst &MI, unsigned OpNo,
56 unsigned getMemRIXEncoding(const MCInst &MI, unsigned OpNo,
59 unsigned getMemRIX16Encoding(const MCInst &MI, unsigned OpNo,
62 unsigned getSPE8DisEncoding(const MCInst &MI, unsigned OpNo,
65 unsigned getSPE4DisEncoding(const MCInst &MI, unsigned OpNo,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86AsmPrinter.cpp202 void X86AsmPrinter::PrintOperand(const MachineInstr *MI, unsigned OpNo, in PrintOperand() argument
204 const MachineOperand &MO = MI->getOperand(OpNo); in PrintOperand()
245 void X86AsmPrinter::PrintModifiedOperand(const MachineInstr *MI, unsigned OpNo, in PrintModifiedOperand() argument
247 const MachineOperand &MO = MI->getOperand(OpNo); in PrintModifiedOperand()
249 return PrintOperand(MI, OpNo, O); in PrintModifiedOperand()
265 void X86AsmPrinter::PrintPCRelImm(const MachineInstr *MI, unsigned OpNo, in PrintPCRelImm() argument
267 const MachineOperand &MO = MI->getOperand(OpNo); in PrintPCRelImm()
272 PrintOperand(MI, OpNo, O); in PrintPCRelImm()
283 void X86AsmPrinter::PrintLeaMemReference(const MachineInstr *MI, unsigned OpNo, in PrintLeaMemReference() argument
285 const MachineOperand &BaseReg = MI->getOperand(OpNo + X86::AddrBaseReg); in PrintLeaMemReference()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiInstPrinter.cpp149 void LanaiInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
152 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
163 void LanaiInstPrinter::printMemImmOperand(const MCInst *MI, unsigned OpNo, in printMemImmOperand() argument
165 const MCOperand &Op = MI->getOperand(OpNo); in printMemImmOperand()
177 void LanaiInstPrinter::printHi16ImmOperand(const MCInst *MI, unsigned OpNo, in printHi16ImmOperand() argument
179 const MCOperand &Op = MI->getOperand(OpNo); in printHi16ImmOperand()
189 void LanaiInstPrinter::printHi16AndImmOperand(const MCInst *MI, unsigned OpNo, in printHi16AndImmOperand() argument
191 const MCOperand &Op = MI->getOperand(OpNo); in printHi16AndImmOperand()
201 void LanaiInstPrinter::printLo16AndImmOperand(const MCInst *MI, unsigned OpNo, in printLo16AndImmOperand() argument
203 const MCOperand &Op = MI->getOperand(OpNo); in printLo16AndImmOperand()
[all …]
DLanaiInstPrinter.h29 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O,
32 void printMemRiOperand(const MCInst *MI, int OpNo, raw_ostream &O,
34 void printMemRrOperand(const MCInst *MI, int OpNo, raw_ostream &O,
36 void printMemSplsOperand(const MCInst *MI, int OpNo, raw_ostream &O,
38 void printCCOperand(const MCInst *MI, int OpNo, raw_ostream &O);
39 void printAluOperand(const MCInst *MI, int OpNo, raw_ostream &O);
40 void printHi16ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
41 void printHi16AndImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
42 void printLo16AndImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
43 void printMemImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
DLanaiMCCodeEmitter.cpp61 unsigned getRiMemoryOpValue(const MCInst &Inst, unsigned OpNo,
65 unsigned getRrMemoryOpValue(const MCInst &Inst, unsigned OpNo,
69 unsigned getSplsOpValue(const MCInst &Inst, unsigned OpNo,
73 unsigned getBranchTargetOpValue(const MCInst &Inst, unsigned OpNo,
186 const MCInst &Inst, unsigned OpNo, SmallVectorImpl<MCFixup> &Fixups, in getRiMemoryOpValue() argument
189 const MCOperand Op1 = Inst.getOperand(OpNo + 0); in getRiMemoryOpValue()
190 const MCOperand Op2 = Inst.getOperand(OpNo + 1); in getRiMemoryOpValue()
191 const MCOperand AluOp = Inst.getOperand(OpNo + 2); in getRiMemoryOpValue()
218 const MCInst &Inst, unsigned OpNo, SmallVectorImpl<MCFixup> &Fixups, in getRrMemoryOpValue() argument
221 const MCOperand Op1 = Inst.getOperand(OpNo + 0); in getRrMemoryOpValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430InstPrinter.cpp37 void MSP430InstPrinter::printPCRelImmOperand(const MCInst *MI, unsigned OpNo, in printPCRelImmOperand() argument
39 const MCOperand &Op = MI->getOperand(OpNo); in printPCRelImmOperand()
52 void MSP430InstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
55 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
67 void MSP430InstPrinter::printSrcMemOperand(const MCInst *MI, unsigned OpNo, in printSrcMemOperand() argument
70 const MCOperand &Base = MI->getOperand(OpNo); in printSrcMemOperand()
71 const MCOperand &Disp = MI->getOperand(OpNo+1); in printSrcMemOperand()
97 void MSP430InstPrinter::printIndRegOperand(const MCInst *MI, unsigned OpNo, in printIndRegOperand() argument
99 const MCOperand &Base = MI->getOperand(OpNo); in printIndRegOperand()
103 void MSP430InstPrinter::printPostIndRegOperand(const MCInst *MI, unsigned OpNo, in printPostIndRegOperand() argument
[all …]
DMSP430InstPrinter.h36 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O,
38 void printPCRelImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
39 void printSrcMemOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O,
41 void printIndRegOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
42 void printPostIndRegOperand(const MCInst *MI, unsigned OpNo,
44 void printCCOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64PromoteConstant.cpp152 Instruction *findInsertionPoint(Instruction &User, unsigned OpNo);
165 bool isDominated(Instruction *NewPt, Instruction *User, unsigned OpNo,
181 bool tryAndMerge(Instruction *NewPt, Instruction *User, unsigned OpNo,
191 void computeInsertionPoint(Instruction *User, unsigned OpNo,
208 Instruction *User, unsigned OpNo, in appendAndTransferDominatedUses() argument
212 IPI->second.emplace_back(User, OpNo); in appendAndTransferDominatedUses()
358 unsigned OpNo) { in findInsertionPoint() argument
362 return PhiInst->getIncomingBlock(OpNo)->getTerminator(); in findInsertionPoint()
368 unsigned OpNo, in isDominated() argument
386 IPI.second.emplace_back(User, OpNo); in isDominated()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp270 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitMSInlineAsmStr() local
276 if (OpNo >= MI->getNumOperands()) break; in EmitMSInlineAsmStr()
277 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitMSInlineAsmStr()
278 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitMSInlineAsmStr()
284 if (OpNo >= MI->getNumOperands() || in EmitMSInlineAsmStr()
285 MI->getOperand(OpNo).isMetadata()) { in EmitMSInlineAsmStr()
288 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitMSInlineAsmStr()
289 ++OpNo; // Skip over the ID number. in EmitMSInlineAsmStr()
293 MI, OpNo, Modifier[0] ? Modifier : nullptr, OS); in EmitMSInlineAsmStr()
295 Error = AP->PrintAsmOperand(MI, OpNo, in EmitMSInlineAsmStr()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/MCTargetDesc/
DBPFInstPrinter.cpp51 void BPFInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
54 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
65 void BPFInstPrinter::printMemOperand(const MCInst *MI, int OpNo, raw_ostream &O, in printMemOperand() argument
67 const MCOperand &RegOp = MI->getOperand(OpNo); in printMemOperand()
68 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemOperand()
86 void BPFInstPrinter::printImm64Operand(const MCInst *MI, unsigned OpNo, in printImm64Operand() argument
88 const MCOperand &Op = MI->getOperand(OpNo); in printImm64Operand()
97 void BPFInstPrinter::printBrTargetOperand(const MCInst *MI, unsigned OpNo, in printBrTargetOperand() argument
99 const MCOperand &Op = MI->getOperand(OpNo); in printBrTargetOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVInstPrinter.cpp85 void RISCVInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
89 const MCOperand &MO = MI->getOperand(OpNo); in printOperand()
105 void RISCVInstPrinter::printCSRSystemRegister(const MCInst *MI, unsigned OpNo, in printCSRSystemRegister() argument
108 unsigned Imm = MI->getOperand(OpNo).getImm(); in printCSRSystemRegister()
116 void RISCVInstPrinter::printFenceArg(const MCInst *MI, unsigned OpNo, in printFenceArg() argument
119 unsigned FenceArg = MI->getOperand(OpNo).getImm(); in printFenceArg()
134 void RISCVInstPrinter::printFRMArg(const MCInst *MI, unsigned OpNo, in printFRMArg() argument
137 static_cast<RISCVFPRndMode::RoundingMode>(MI->getOperand(OpNo).getImm()); in printFRMArg()
141 void RISCVInstPrinter::printAtomicMemOp(const MCInst *MI, unsigned OpNo, in printAtomicMemOp() argument
144 const MCOperand &MO = MI->getOperand(OpNo); in printAtomicMemOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCCodeEmitter.cpp93 AVRMCCodeEmitter::encodeRelCondBrTarget(const MCInst &MI, unsigned OpNo, in encodeRelCondBrTarget() argument
96 const MCOperand &MO = MI.getOperand(OpNo); in encodeRelCondBrTarget()
113 unsigned AVRMCCodeEmitter::encodeLDSTPtrReg(const MCInst &MI, unsigned OpNo, in encodeLDSTPtrReg() argument
116 auto MO = MI.getOperand(OpNo); in encodeLDSTPtrReg()
134 unsigned AVRMCCodeEmitter::encodeMemri(const MCInst &MI, unsigned OpNo, in encodeMemri() argument
137 auto RegOp = MI.getOperand(OpNo); in encodeMemri()
138 auto OffsetOp = MI.getOperand(OpNo + 1); in encodeMemri()
170 unsigned AVRMCCodeEmitter::encodeComplement(const MCInst &MI, unsigned OpNo, in encodeComplement() argument
174 assert(MI.getOperand(OpNo).isImm()); in encodeComplement()
176 auto Imm = MI.getOperand(OpNo).getImm(); in encodeComplement()
[all …]
DAVRInstPrinter.cpp101 void AVRInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
103 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
104 const MCOperandInfo &MOI = this->MII.get(MI->getOpcode()).OpInfo[OpNo]; in printOperand()
126 void AVRInstPrinter::printPCRelImm(const MCInst *MI, unsigned OpNo, in printPCRelImm() argument
128 const MCOperand &Op = MI->getOperand(OpNo); in printPCRelImm()
146 void AVRInstPrinter::printMemri(const MCInst *MI, unsigned OpNo, in printMemri() argument
148 assert(MI->getOperand(OpNo).isReg() && "Expected a register for the first operand"); in printMemri()
150 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemri()
153 printOperand(MI, OpNo, O); in printMemri()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp72 unsigned getCallTargetOpValue(const MCInst &MI, unsigned OpNo,
75 unsigned getBranchTargetOpValue(const MCInst &MI, unsigned OpNo,
78 unsigned getBranchPredTargetOpValue(const MCInst &MI, unsigned OpNo,
81 unsigned getBranchOnRegTargetOpValue(const MCInst &MI, unsigned OpNo,
150 getCallTargetOpValue(const MCInst &MI, unsigned OpNo, in getCallTargetOpValue() argument
153 const MCOperand &MO = MI.getOperand(OpNo); in getCallTargetOpValue()
185 getBranchTargetOpValue(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValue() argument
188 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValue()
198 getBranchPredTargetOpValue(const MCInst &MI, unsigned OpNo, in getBranchPredTargetOpValue() argument
201 const MCOperand &MO = MI.getOperand(OpNo); in getBranchPredTargetOpValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVAsmPrinter.cpp49 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
51 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,
90 bool RISCVAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand() argument
93 if (!AsmPrinter::PrintAsmOperand(MI, OpNo, ExtraCode, OS)) in PrintAsmOperand()
96 const MachineOperand &MO = MI->getOperand(OpNo); in PrintAsmOperand()
140 unsigned OpNo, in PrintAsmMemoryOperand() argument
144 const MachineOperand &MO = MI->getOperand(OpNo); in PrintAsmMemoryOperand()
154 return AsmPrinter::PrintAsmMemoryOperand(MI, OpNo, ExtraCode, OS); in PrintAsmMemoryOperand()

123456