Home
last modified time | relevance | path

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

1234

/external/llvm/lib/Target/X86/InstPrinter/
DX86IntelInstPrinter.h38 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
42 void printPCRelImm(const MCInst *MI, unsigned OpNo, raw_ostream &O);
43 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &O);
44 void printSrcIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
45 void printDstIdx(const MCInst *MI, unsigned OpNo, raw_ostream &O);
49 void printanymem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printanymem() argument
50 printMemReference(MI, OpNo, O); in printanymem()
53 void printopaquemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printopaquemem() argument
55 printMemReference(MI, OpNo, O); in printopaquemem()
58 void printi8mem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printi8mem() argument
[all …]
DX86ATTInstPrinter.h44 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
48 void printPCRelImm(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
49 void printSrcIdx(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
50 void printDstIdx(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
51 void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &OS);
55 void printanymem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printanymem() argument
56 printMemReference(MI, OpNo, O); in printanymem()
59 void printopaquemem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printopaquemem() argument
60 printMemReference(MI, OpNo, O); in printopaquemem()
63 void printi8mem(const MCInst *MI, unsigned OpNo, raw_ostream &O) { in printi8mem() argument
[all …]
/external/llvm/lib/Target/R600/InstPrinter/
DAMDGPUInstPrinter.h38 void printU8ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
39 void printU16ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
40 void printU8ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
41 void printU16ImmDecOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
42 void printU32ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
43 void printOffen(const MCInst *MI, unsigned OpNo, raw_ostream &O);
44 void printIdxen(const MCInst *MI, unsigned OpNo, raw_ostream &O);
45 void printAddr64(const MCInst *MI, unsigned OpNo, raw_ostream &O);
46 void printMBUFOffset(const MCInst *MI, unsigned OpNo, raw_ostream &O);
47 void printDSOffset(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
DAMDGPUInstPrinter.cpp30 void AMDGPUInstPrinter::printU8ImmOperand(const MCInst *MI, unsigned OpNo, in printU8ImmOperand() argument
32 O << formatHex(MI->getOperand(OpNo).getImm() & 0xff); in printU8ImmOperand()
35 void AMDGPUInstPrinter::printU16ImmOperand(const MCInst *MI, unsigned OpNo, in printU16ImmOperand() argument
37 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffff); in printU16ImmOperand()
40 void AMDGPUInstPrinter::printU32ImmOperand(const MCInst *MI, unsigned OpNo, in printU32ImmOperand() argument
42 O << formatHex(MI->getOperand(OpNo).getImm() & 0xffffffff); in printU32ImmOperand()
45 void AMDGPUInstPrinter::printU8ImmDecOperand(const MCInst *MI, unsigned OpNo, in printU8ImmDecOperand() argument
47 O << formatDec(MI->getOperand(OpNo).getImm() & 0xff); in printU8ImmDecOperand()
50 void AMDGPUInstPrinter::printU16ImmDecOperand(const MCInst *MI, unsigned OpNo, in printU16ImmDecOperand() argument
52 O << formatDec(MI->getOperand(OpNo).getImm() & 0xffff); in printU16ImmDecOperand()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.cpp124 void HexagonInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
126 const MCOperand& MO = MI->getOperand(OpNo); in printOperand()
133 printImmOperand(MI, OpNo, O); in printOperand()
139 void HexagonInstPrinter::printImmOperand(const MCInst *MI, unsigned OpNo, in printImmOperand() argument
141 const MCOperand& MO = MI->getOperand(OpNo); in printImmOperand()
146 O << MI->getOperand(OpNo).getImm(); in printImmOperand()
152 void HexagonInstPrinter::printExtOperand(const MCInst *MI, unsigned OpNo, in printExtOperand() argument
154 const MCOperand &MO = MI->getOperand(OpNo); in printExtOperand()
168 printOperand(MI, OpNo, O); in printExtOperand()
172 unsigned OpNo, raw_ostream &O) const { in printUnsignedImmOperand() argument
[all …]
DHexagonInstPrinter.h35 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) const;
36 void printImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) const;
37 void printExtOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O) const;
38 void printUnsignedImmOperand(const MCInst *MI, unsigned OpNo,
40 void printNegImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O)
42 void printNOneImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O)
44 void printMEMriOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O)
46 void printFrameIndexOperand(const MCInst *MI, unsigned OpNo,
48 void printBranchOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O)
50 void printCallOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O)
[all …]
/external/llvm/lib/Target/PowerPC/InstPrinter/
DPPCInstPrinter.cpp120 void PPCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo, in printPredicateOperand() argument
123 unsigned Code = MI->getOperand(OpNo).getImm(); in printPredicateOperand()
214 printOperand(MI, OpNo+1, O); in printPredicateOperand()
217 void PPCInstPrinter::printU1ImmOperand(const MCInst *MI, unsigned OpNo, in printU1ImmOperand() argument
219 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU1ImmOperand()
224 void PPCInstPrinter::printU2ImmOperand(const MCInst *MI, unsigned OpNo, in printU2ImmOperand() argument
226 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU2ImmOperand()
231 void PPCInstPrinter::printU3ImmOperand(const MCInst *MI, unsigned OpNo, in printU3ImmOperand() argument
233 unsigned int Value = MI->getOperand(OpNo).getImm(); in printU3ImmOperand()
238 void PPCInstPrinter::printU4ImmOperand(const MCInst *MI, unsigned OpNo, in printU4ImmOperand() argument
[all …]
DPPCInstPrinter.h43 void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
44 void printPredicateOperand(const MCInst *MI, unsigned OpNo,
47 void printU1ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
48 void printU2ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
49 void printU3ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
50 void printU4ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
51 void printS5ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
52 void printU5ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
53 void printU6ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
54 void printU12ImmOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.h66 unsigned getJumpTargetOpValue(const MCInst &MI, unsigned OpNo,
73 unsigned getJumpTargetOpValueMM(const MCInst &MI, unsigned OpNo,
79 unsigned getUImm5Lsl2Encoding(const MCInst &MI, unsigned OpNo,
83 unsigned getSImm3Lsa2Value(const MCInst &MI, unsigned OpNo,
87 unsigned getUImm6Lsl2Encoding(const MCInst &MI, unsigned OpNo,
93 unsigned getSImm9AddiuspValue(const MCInst &MI, unsigned OpNo,
100 unsigned getBranchTargetOpValue(const MCInst &MI, unsigned OpNo,
107 unsigned getBranchTarget7OpValueMM(const MCInst &MI, unsigned OpNo,
114 unsigned getBranchTargetOpValueMMPC10(const MCInst &MI, unsigned OpNo,
121 unsigned getBranchTargetOpValueMM(const MCInst &MI, unsigned OpNo,
[all …]
DMipsMCCodeEmitter.cpp203 getBranchTargetOpValue(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValue() argument
207 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValue()
225 getBranchTarget7OpValueMM(const MCInst &MI, unsigned OpNo, in getBranchTarget7OpValueMM() argument
229 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTarget7OpValueMM()
247 getBranchTargetOpValueMMPC10(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValueMMPC10() argument
251 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValueMMPC10()
269 getBranchTargetOpValueMM(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValueMM() argument
273 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValueMM()
292 getBranchTarget21OpValue(const MCInst &MI, unsigned OpNo, in getBranchTarget21OpValue() argument
296 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTarget21OpValue()
[all …]
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp49 unsigned getDirectBrEncoding(const MCInst &MI, unsigned OpNo,
52 unsigned getCondBrEncoding(const MCInst &MI, unsigned OpNo,
55 unsigned getAbsDirectBrEncoding(const MCInst &MI, unsigned OpNo,
58 unsigned getAbsCondBrEncoding(const MCInst &MI, unsigned OpNo,
61 unsigned getImm16Encoding(const MCInst &MI, unsigned OpNo,
64 unsigned getMemRIEncoding(const MCInst &MI, unsigned OpNo,
67 unsigned getMemRIXEncoding(const MCInst &MI, unsigned OpNo,
70 unsigned getSPE8DisEncoding(const MCInst &MI, unsigned OpNo,
73 unsigned getSPE4DisEncoding(const MCInst &MI, unsigned OpNo,
76 unsigned getSPE2DisEncoding(const MCInst &MI, unsigned OpNo,
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonAsmPrinter.cpp68 void HexagonAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo, in printOperand() argument
70 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand()
113 bool HexagonAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand() argument
124 return AsmPrinter::PrintAsmOperand(MI, OpNo, AsmVariant, ExtraCode, OS); in PrintAsmOperand()
127 printOperand(MI, OpNo, OS); in PrintAsmOperand()
131 if (!MI->getOperand(OpNo).isReg() || in PrintAsmOperand()
132 OpNo+1 == MI->getNumOperands() || in PrintAsmOperand()
133 !MI->getOperand(OpNo+1).isReg()) in PrintAsmOperand()
135 ++OpNo; // Return the high-part. in PrintAsmOperand()
140 if (MI->getOperand(OpNo).isImm()) in PrintAsmOperand()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/
DSIMCCodeEmitter.cpp84 unsigned GPRAlign(const MCInst &MI, unsigned OpNo, unsigned shift) const;
87 virtual unsigned GPR2AlignEncode(const MCInst &MI, unsigned OpNo,
91 virtual unsigned GPR4AlignEncode(const MCInst &MI, unsigned OpNo,
96 virtual uint64_t i32LiteralEncode(const MCInst &MI, unsigned OpNo,
100 virtual uint32_t SMRDmemriEncode(const MCInst &MI, unsigned OpNo,
161 unsigned SIMCCodeEmitter::GPRAlign(const MCInst &MI, unsigned OpNo, in GPRAlign() argument
163 unsigned regCode = getRegBinaryCode(MI.getOperand(OpNo).getReg()); in GPRAlign()
168 unsigned OpNo , in GPR2AlignEncode() argument
170 return GPRAlign(MI, OpNo, 1); in GPR2AlignEncode()
174 unsigned OpNo, in GPR4AlignEncode() argument
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp217 unsigned OpNo = InlineAsm::MIOp_FirstOperand; in EmitMSInlineAsmStr() local
223 if (OpNo >= MI->getNumOperands()) break; in EmitMSInlineAsmStr()
224 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitMSInlineAsmStr()
225 OpNo += InlineAsm::getNumOperandRegisters(OpFlags) + 1; in EmitMSInlineAsmStr()
231 if (OpNo >= MI->getNumOperands() || in EmitMSInlineAsmStr()
232 MI->getOperand(OpNo).isMetadata()) { in EmitMSInlineAsmStr()
235 unsigned OpFlags = MI->getOperand(OpNo).getImm(); in EmitMSInlineAsmStr()
236 ++OpNo; // Skip over the ID number. in EmitMSInlineAsmStr()
239 Error = AP->PrintAsmMemoryOperand(MI, OpNo, InlineAsmVariant, in EmitMSInlineAsmStr()
242 Error = AP->PrintAsmOperand(MI, OpNo, InlineAsmVariant, in EmitMSInlineAsmStr()
[all …]
/external/llvm/lib/Target/MSP430/InstPrinter/
DMSP430InstPrinter.cpp35 void MSP430InstPrinter::printPCRelImmOperand(const MCInst *MI, unsigned OpNo, in printPCRelImmOperand() argument
37 const MCOperand &Op = MI->getOperand(OpNo); in printPCRelImmOperand()
46 void MSP430InstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
49 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
60 void MSP430InstPrinter::printSrcMemOperand(const MCInst *MI, unsigned OpNo, in printSrcMemOperand() argument
63 const MCOperand &Base = MI->getOperand(OpNo); in printSrcMemOperand()
64 const MCOperand &Disp = MI->getOperand(OpNo+1); in printSrcMemOperand()
89 void MSP430InstPrinter::printCCOperand(const MCInst *MI, unsigned OpNo, in printCCOperand() argument
91 unsigned CC = MI->getOperand(OpNo).getImm(); in printCCOperand()
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp59 unsigned getCallTargetOpValue(const MCInst &MI, unsigned OpNo,
62 unsigned getBranchTargetOpValue(const MCInst &MI, unsigned OpNo,
65 unsigned getBranchPredTargetOpValue(const MCInst &MI, unsigned OpNo,
68 unsigned getBranchOnRegTargetOpValue(const MCInst &MI, unsigned OpNo,
140 getCallTargetOpValue(const MCInst &MI, unsigned OpNo, in getCallTargetOpValue() argument
143 const MCOperand &MO = MI.getOperand(OpNo); in getCallTargetOpValue()
175 getBranchTargetOpValue(const MCInst &MI, unsigned OpNo, in getBranchTargetOpValue() argument
178 const MCOperand &MO = MI.getOperand(OpNo); in getBranchTargetOpValue()
188 getBranchPredTargetOpValue(const MCInst &MI, unsigned OpNo, in getBranchPredTargetOpValue() argument
191 const MCOperand &MO = MI.getOperand(OpNo); in getBranchPredTargetOpValue()
[all …]
/external/llvm/lib/Target/BPF/InstPrinter/
DBPFInstPrinter.cpp50 void BPFInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
53 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
64 void BPFInstPrinter::printMemOperand(const MCInst *MI, int OpNo, raw_ostream &O, in printMemOperand() argument
66 const MCOperand &RegOp = MI->getOperand(OpNo); in printMemOperand()
67 const MCOperand &OffsetOp = MI->getOperand(OpNo + 1); in printMemOperand()
79 void BPFInstPrinter::printImm64Operand(const MCInst *MI, unsigned OpNo, in printImm64Operand() argument
81 const MCOperand &Op = MI->getOperand(OpNo); in printImm64Operand()
/external/llvm/lib/Target/R600/MCTargetDesc/
DSIMCCodeEmitter.cpp42 bool isSrcOperand(const MCInstrDesc &Desc, unsigned OpNo) const;
66 unsigned getSOPPBrEncoding(const MCInst &MI, unsigned OpNo,
80 unsigned OpNo) const { in isSrcOperand()
81 unsigned OpType = Desc.OpInfo[OpNo].OperandType; in isSrcOperand()
229 unsigned SIMCCodeEmitter::getSOPPBrEncoding(const MCInst &MI, unsigned OpNo, in getSOPPBrEncoding() argument
232 const MCOperand &MO = MI.getOperand(OpNo); in getSOPPBrEncoding()
268 unsigned OpNo = 0; in getMachineOpValue() local
269 for (unsigned e = MI.getNumOperands(); OpNo < e; ++OpNo) { in getMachineOpValue()
270 if (&MO == &MI.getOperand(OpNo)) in getMachineOpValue()
275 if (isSrcOperand(Desc, OpNo)) { in getMachineOpValue()
[all …]
/external/llvm/lib/Target/Mips/
DMips16RegisterInfo.cpp80 unsigned OpNo, int FrameIndex, in eliminateFI() argument
113 if ((MI.getNumOperands()> OpNo+2) && MI.getOperand(OpNo+2).isReg()) in eliminateFI()
114 FrameReg = MI.getOperand(OpNo+2).getReg(); in eliminateFI()
131 Offset += MI.getOperand(OpNo + 1).getImm(); in eliminateFI()
147 MI.getOperand(OpNo).ChangeToRegister(FrameReg, false, false, IsKill); in eliminateFI()
148 MI.getOperand(OpNo + 1).ChangeToImmediate(Offset); in eliminateFI()
/external/llvm/lib/Target/R600/
DSIFoldOperands.cpp59 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp) : in FoldCandidate()
60 UseMI(MI), UseOpNo(OpNo) { in FoldCandidate()
130 MachineInstr *MI, unsigned OpNo, in tryAddToFoldList() argument
133 if (!TII->isOperandLegal(MI, OpNo, OpToFold)) { in tryAddToFoldList()
141 if (CommuteIdx0 == OpNo) in tryAddToFoldList()
142 OpNo = CommuteIdx1; in tryAddToFoldList()
143 else if (CommuteIdx1 == OpNo) in tryAddToFoldList()
144 OpNo = CommuteIdx0; in tryAddToFoldList()
150 if (!TII->isOperandLegal(MI, OpNo, OpToFold)) in tryAddToFoldList()
154 FoldList.push_back(FoldCandidate(MI, OpNo, OpToFold)); in tryAddToFoldList()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.h274 SDValue PromoteIntOp_BR_CC(SDNode *N, unsigned OpNo);
275 SDValue PromoteIntOp_BRCOND(SDNode *N, unsigned OpNo);
278 SDValue PromoteIntOp_INSERT_VECTOR_ELT(SDNode *N, unsigned OpNo);
283 SDValue PromoteIntOp_SELECT(SDNode *N, unsigned OpNo);
284 SDValue PromoteIntOp_SELECT_CC(SDNode *N, unsigned OpNo);
285 SDValue PromoteIntOp_SETCC(SDNode *N, unsigned OpNo);
286 SDValue PromoteIntOp_VSETCC(SDNode *N, unsigned OpNo);
290 SDValue PromoteIntOp_STORE(StoreSDNode *N, unsigned OpNo);
294 SDValue PromoteIntOp_MSTORE(MaskedStoreSDNode *N, unsigned OpNo);
295 SDValue PromoteIntOp_MLOAD(MaskedLoadSDNode *N, unsigned OpNo);
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUCodeEmitter.h25 unsigned OpNo) const { in GPR4AlignEncode() argument
29 unsigned OpNo) const { in GPR2AlignEncode() argument
37 unsigned OpNo) const { in i32LiteralEncode() argument
40 virtual uint32_t SMRDmemriEncode(const MachineInstr &MI, unsigned OpNo) in SMRDmemriEncode() argument
/external/llvm/lib/Target/X86/
DX86AsmPrinter.cpp178 unsigned OpNo, raw_ostream &O,
185 unsigned OpNo, raw_ostream &O) { in printPCRelImm() argument
186 const MachineOperand &MO = MI->getOperand(OpNo); in printPCRelImm()
191 printOperand(P, MI, OpNo, O); in printPCRelImm()
203 unsigned OpNo, raw_ostream &O, const char *Modifier, in printOperand() argument
205 const MachineOperand &MO = MI->getOperand(OpNo); in printOperand()
382 bool X86AsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand() argument
389 const MachineOperand &MO = MI->getOperand(OpNo); in PrintAsmOperand()
394 return AsmPrinter::PrintAsmOperand(MI, OpNo, AsmVariant, ExtraCode, O); in PrintAsmOperand()
413 printOperand(*this, MI, OpNo, O); in PrintAsmOperand()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/InstPrinter/
DAMDGPUInstPrinter.cpp14 void AMDGPUInstPrinter::printOperand(const MCInst *MI, unsigned OpNo, in printOperand() argument
17 const MCOperand &Op = MI->getOperand(OpNo); in printOperand()
29 void AMDGPUInstPrinter::printMemOperand(const MCInst *MI, unsigned OpNo, in printMemOperand() argument
31 printOperand(MI, OpNo, O); in printMemOperand()
/external/llvm/lib/Target/MSP430/
DMSP430AsmPrinter.cpp53 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
57 unsigned OpNo, unsigned AsmVariant,
127 bool MSP430AsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, in PrintAsmOperand() argument
134 printOperand(MI, OpNo, O); in PrintAsmOperand()
139 unsigned OpNo, unsigned AsmVariant, in PrintAsmMemoryOperand() argument
145 printSrcMemOperand(MI, OpNo, O); in PrintAsmMemoryOperand()

1234