Home
last modified time | relevance | path

Searched refs:OpNum (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEInstPrinter.cpp47 void VEInstPrinter::printOperand(const MCInst *MI, int OpNum, in printOperand() argument
49 const MCOperand &MO = MI->getOperand(OpNum); in printOperand()
67 void VEInstPrinter::printMemASXOperand(const MCInst *MI, int OpNum, in printMemASXOperand() argument
72 printOperand(MI, OpNum, STI, O); in printMemASXOperand()
74 printOperand(MI, OpNum + 1, STI, O); in printMemASXOperand()
78 if (MI->getOperand(OpNum + 2).isImm() && in printMemASXOperand()
79 MI->getOperand(OpNum + 2).getImm() == 0) { in printMemASXOperand()
82 printOperand(MI, OpNum + 2, STI, O); in printMemASXOperand()
84 if (MI->getOperand(OpNum + 1).isImm() && in printMemASXOperand()
85 MI->getOperand(OpNum + 1).getImm() == 0 && in printMemASXOperand()
[all …]
H A DVEInstPrinter.h40 void printOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI,
42 void printMemASXOperand(const MCInst *MI, int OpNum,
45 void printMemASOperandASX(const MCInst *MI, int OpNum,
48 void printMemASOperandRRM(const MCInst *MI, int OpNum,
51 void printMemASOperandHM(const MCInst *MI, int OpNum,
54 void printMImmOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI,
56 void printCCOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI,
58 void printRDOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI,
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMInstPrinter.h47 void printOperand(const MCInst *MI, uint64_t Address, unsigned OpNum,
50 void printSORegRegOperand(const MCInst *MI, unsigned OpNum,
52 void printSORegImmOperand(const MCInst *MI, unsigned OpNum,
55 void printAddrModeTBB(const MCInst *MI, unsigned OpNum,
57 void printAddrModeTBH(const MCInst *MI, unsigned OpNum,
59 void printAddrMode2Operand(const MCInst *MI, unsigned OpNum,
61 void printAM2PostIndexOp(const MCInst *MI, unsigned OpNum,
63 void printAM2PreOrOffsetIndexOp(const MCInst *MI, unsigned OpNum,
65 void printAddrMode2OffsetOperand(const MCInst *MI, unsigned OpNum,
68 void printAddrMode3Operand(const MCInst *MI, unsigned OpNum,
[all …]
H A DARMInstPrinter.cpp382 unsigned OpNum, const MCSubtargetInfo &STI, in printOperand() argument
384 const MCOperand &Op = MI->getOperand(OpNum); in printOperand()
386 return printOperand(MI, OpNum, STI, O); in printOperand()
395 void ARMInstPrinter::printThumbLdrLabelOperand(const MCInst *MI, unsigned OpNum, in printThumbLdrLabelOperand() argument
398 const MCOperand &MO1 = MI->getOperand(OpNum); in printThumbLdrLabelOperand()
426 void ARMInstPrinter::printSORegRegOperand(const MCInst *MI, unsigned OpNum, in printSORegRegOperand() argument
429 const MCOperand &MO1 = MI->getOperand(OpNum); in printSORegRegOperand()
430 const MCOperand &MO2 = MI->getOperand(OpNum + 1); in printSORegRegOperand()
431 const MCOperand &MO3 = MI->getOperand(OpNum + 2); in printSORegRegOperand()
446 void ARMInstPrinter::printSORegImmOperand(const MCInst *MI, unsigned OpNum, in printSORegImmOperand() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/
H A DXtensaInstPrinter.cpp81 void XtensaInstPrinter::printOperand(const MCInst *MI, int OpNum, in printOperand() argument
83 printOperand(MI->getOperand(OpNum), O); in printOperand()
86 void XtensaInstPrinter::printMemOperand(const MCInst *MI, int OpNum, in printMemOperand() argument
88 OS << getRegisterName(MI->getOperand(OpNum).getReg()); in printMemOperand()
90 printOperand(MI, OpNum + 1, OS); in printMemOperand()
93 void XtensaInstPrinter::printBranchTarget(const MCInst *MI, int OpNum, in printBranchTarget() argument
95 const MCOperand &MC = MI->getOperand(OpNum); in printBranchTarget()
96 if (MI->getOperand(OpNum).isImm()) { in printBranchTarget()
108 void XtensaInstPrinter::printJumpTarget(const MCInst *MI, int OpNum, in printJumpTarget() argument
110 const MCOperand &MC = MI->getOperand(OpNum); in printJumpTarget()
[all …]
H A DXtensaInstPrinter.h45 void printOperand(const MCInst *MI, int OpNum, raw_ostream &O);
47 void printBranchTarget(const MCInst *MI, int OpNum, raw_ostream &O);
48 void printJumpTarget(const MCInst *MI, int OpNum, raw_ostream &O);
49 void printCallOperand(const MCInst *MI, int OpNum, raw_ostream &O);
50 void printL32RTarget(const MCInst *MI, int OpNum, raw_ostream &O);
52 void printImm8_AsmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
53 void printImm8_sh8_AsmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
54 void printImm12_AsmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
55 void printImm12m_AsmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
56 void printUimm4_AsmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
[all …]
H A DXtensaMCCodeEmitter.cpp62 uint32_t getJumpTargetEncoding(const MCInst &MI, unsigned int OpNum,
66 uint32_t getBranchTargetEncoding(const MCInst &MI, unsigned int OpNum,
70 uint32_t getCallEncoding(const MCInst &MI, unsigned int OpNum,
74 uint32_t getL32RTargetEncoding(const MCInst &MI, unsigned OpNum,
161 XtensaMCCodeEmitter::getJumpTargetEncoding(const MCInst &MI, unsigned int OpNum, in getJumpTargetEncoding() argument
164 const MCOperand &MO = MI.getOperand(OpNum); in getJumpTargetEncoding()
176 const MCInst &MI, unsigned int OpNum, SmallVectorImpl<MCFixup> &Fixups, in getBranchTargetEncoding() argument
178 const MCOperand &MO = MI.getOperand(OpNum); in getBranchTargetEncoding()
199 XtensaMCCodeEmitter::getCallEncoding(const MCInst &MI, unsigned int OpNum, in getCallEncoding() argument
202 const MCOperand &MO = MI.getOperand(OpNum); in getCallEncoding()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZInstPrinter.cpp85 void SystemZInstPrinter::printUImmOperand(const MCInst *MI, int OpNum, in printUImmOperand()
87 const MCOperand &MO = MI->getOperand(OpNum); in printUImmOperand()
98 void SystemZInstPrinter::printSImmOperand(const MCInst *MI, int OpNum, in printSImmOperand()
100 const MCOperand &MO = MI->getOperand(OpNum); in printSImmOperand()
105 int64_t Value = MI->getOperand(OpNum).getImm(); in printSImmOperand()
110 void SystemZInstPrinter::printU1ImmOperand(const MCInst *MI, int OpNum, in printU1ImmOperand()
112 printUImmOperand<1>(MI, OpNum, O); in printU1ImmOperand()
115 void SystemZInstPrinter::printU2ImmOperand(const MCInst *MI, int OpNum, in printU2ImmOperand()
117 printUImmOperand<2>(MI, OpNum, O); in printU2ImmOperand()
120 void SystemZInstPrinter::printU3ImmOperand(const MCInst *MI, int OpNum, in printU3ImmOperand()
84 printUImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printUImmOperand() argument
97 printSImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printSImmOperand() argument
109 printU1ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU1ImmOperand() argument
114 printU2ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU2ImmOperand() argument
119 printU3ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU3ImmOperand() argument
124 printU4ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU4ImmOperand() argument
129 printS8ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printS8ImmOperand() argument
134 printU8ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU8ImmOperand() argument
139 printU12ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU12ImmOperand() argument
144 printS16ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printS16ImmOperand() argument
149 printU16ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU16ImmOperand() argument
154 printS32ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printS32ImmOperand() argument
159 printU32ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU32ImmOperand() argument
164 printU48ImmOperand(const MCInst * MI,int OpNum,raw_ostream & O) printU48ImmOperand() argument
169 printPCRelOperand(const MCInst * MI,int OpNum,raw_ostream & O) printPCRelOperand() argument
181 printPCRelTLSOperand(const MCInst * MI,uint64_t Address,int OpNum,raw_ostream & O) printPCRelTLSOperand() argument
204 printOperand(const MCInst * MI,int OpNum,raw_ostream & O) printOperand() argument
209 printBDAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDAddrOperand() argument
215 printBDXAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDXAddrOperand() argument
221 printBDLAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDLAddrOperand() argument
235 printBDRAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDRAddrOperand() argument
250 printBDVAddrOperand(const MCInst * MI,int OpNum,raw_ostream & O) printBDVAddrOperand() argument
256 printCond4Operand(const MCInst * MI,int OpNum,raw_ostream & O) printCond4Operand() argument
[all...]
H A DSystemZInstPrinter.h53 void printUImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
55 void printSImmOperand(const MCInst *MI, int OpNum, raw_ostream &O);
58 void printOperand(const MCInst *MI, int OpNum, raw_ostream &O);
59 void printOperand(const MCInst *MI, uint64_t /*Address*/, unsigned OpNum, in printOperand() argument
61 printOperand(MI, OpNum, O); in printOperand()
63 void printBDAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
64 void printBDXAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
65 void printBDLAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
66 void printBDRAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
67 void printBDVAddrOperand(const MCInst *MI, int OpNum, raw_ostream &O);
[all …]
H A DSystemZMCCodeEmitter.cpp54 uint32_t getOperandBitOffset(const MCInst &MI, unsigned OpNum,
66 uint64_t getImmOpValue(const MCInst &MI, unsigned OpNum,
73 uint64_t getLenEncoding(const MCInst &MI, unsigned OpNum,
82 uint64_t getPCRelEncoding(const MCInst &MI, unsigned OpNum,
87 uint64_t getPC16DBLEncoding(const MCInst &MI, unsigned OpNum, in getPC16DBLEncoding() argument
90 return getPCRelEncoding(MI, OpNum, Fixups, in getPC16DBLEncoding()
93 uint64_t getPC32DBLEncoding(const MCInst &MI, unsigned OpNum, in getPC32DBLEncoding() argument
96 return getPCRelEncoding(MI, OpNum, Fixups, in getPC32DBLEncoding()
99 uint64_t getPC16DBLTLSEncoding(const MCInst &MI, unsigned OpNum, in getPC16DBLTLSEncoding() argument
102 return getPCRelEncoding(MI, OpNum, Fixups, in getPC16DBLTLSEncoding()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64InstPrinter.h81 void printAddSubImm(const MCInst *MI, unsigned OpNum,
84 void printLogicalImm(const MCInst *MI, unsigned OpNum,
86 void printShifter(const MCInst *MI, unsigned OpNum,
88 void printShiftedRegister(const MCInst *MI, unsigned OpNum,
90 void printExtendedRegister(const MCInst *MI, unsigned OpNum,
92 void printArithExtend(const MCInst *MI, unsigned OpNum,
96 void printMemExtend(const MCInst *MI, unsigned OpNum, raw_ostream &O,
99 void printMemExtend(const MCInst *MI, unsigned OpNum, in printMemExtend()
101 printMemExtend(MI, OpNum, O, SrcRegKind, Width); in printMemExtend()
104 void printRegWithShiftExtend(const MCInst *MI, unsigned OpNum,
98 printMemExtend(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printMemExtend() argument
117 printUImm12Offset(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printUImm12Offset() argument
123 printAMIndexedWB(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printAMIndexedWB() argument
[all...]
H A DAArch64InstPrinter.cpp811 int OpNum = LdStDesc->ListOperand; in printInst()
812 printVectorList(MI, OpNum++, STI, O, ""); in printInst()
815 O << '[' << MI->getOperand(OpNum++).getImm() << ']'; in printInst()
818 unsigned AddrReg = MI->getOperand(OpNum++).getReg(); in printInst()
825 unsigned Reg = MI->getOperand(OpNum++).getReg(); in printInst()
1078 void AArch64InstPrinter::printMatrix(const MCInst *MI, unsigned OpNum, in printMatrix()
1081 const MCOperand &RegOp = MI->getOperand(OpNum); in printMatrix()
1109 void AArch64InstPrinter::printMatrixTileVector(const MCInst *MI, unsigned OpNum, in printMatrixTile()
1112 const MCOperand &RegOp = MI->getOperand(OpNum); in printMatrixTile()
1122 void AArch64InstPrinter::printMatrixTile(const MCInst *MI, unsigned OpNum, in printSVCROp()
796 int OpNum = LdStDesc->ListOperand; printInst() local
1063 printMatrix(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printMatrix() argument
1094 printMatrixTileVector(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printMatrixTileVector() argument
1107 printMatrixTile(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printMatrixTile() argument
1115 printSVCROp(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printSVCROp() argument
1200 printAddSubImm(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printAddSubImm() argument
1223 printLogicalImm(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printLogicalImm() argument
1232 printShifter(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printShifter() argument
1245 printShiftedRegister(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printShiftedRegister() argument
1252 printExtendedRegister(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printExtendedRegister() argument
1259 printArithExtend(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printArithExtend() argument
1306 printMemExtend(const MCInst * MI,unsigned OpNum,raw_ostream & O,char SrcRegKind,unsigned Width) printMemExtend() argument
1316 printRegWithShiftExtend(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printRegWithShiftExtend() argument
1334 printPredicateAsCounter(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printPredicateAsCounter() argument
1361 printCondCode(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printCondCode() argument
1368 printInverseCondCode(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printInverseCondCode() argument
1375 printAMNoIndex(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printAMNoIndex() argument
1384 printImmScale(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printImmScale() argument
1392 printImmRangeScale(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printImmRangeScale() argument
1400 printUImm12Offset(const MCInst * MI,unsigned OpNum,unsigned Scale,raw_ostream & O) printUImm12Offset() argument
1412 printAMIndexedWB(const MCInst * MI,unsigned OpNum,unsigned Scale,raw_ostream & O) printAMIndexedWB() argument
1428 printRPRFMOperand(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printRPRFMOperand() argument
1441 printPrefetchOp(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printPrefetchOp() argument
1461 printPSBHintOp(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printPSBHintOp() argument
1472 printBTIHintOp(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printBTIHintOp() argument
1483 printFPImmOperand(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printFPImmOperand() argument
1593 printGPRSeqPairsClassOperand(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printGPRSeqPairsClassOperand() argument
1610 printMatrixTileList(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printMatrixTileList() argument
1635 printVectorList(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O,StringRef LayoutSuffix) printVectorList() argument
1720 printImplicitlyTypedVectorList(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printImplicitlyTypedVectorList() argument
1727 printTypedVectorList(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printTypedVectorList() argument
1740 printVectorIndex(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printVectorIndex() argument
1746 printMatrixIndex(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printMatrixIndex() argument
1753 printAlignedLabel(const MCInst * MI,uint64_t Address,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printAlignedLabel() argument
1784 printAdrAdrpLabel(const MCInst * MI,uint64_t Address,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printAdrAdrpLabel() argument
1956 printSVEPattern(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printSVEPattern() argument
1967 printSVEVecLenSpecifier(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printSVEVecLenSpecifier() argument
1982 printSVERegOp(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printSVERegOp() argument
2021 printImm8OptLsl(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printImm8OptLsl() argument
2046 printSVELogicalImm(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printSVELogicalImm() argument
2065 printZPRasFPR(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printZPRasFPR() argument
2083 printExactFPImm(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printExactFPImm() argument
2093 printGPR64as32(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printGPR64as32() argument
2100 printGPR64x8(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printGPR64x8() argument
2107 printSyspXzrPair(const MCInst * MI,unsigned OpNum,const MCSubtargetInfo & STI,raw_ostream & O) printSyspXzrPair() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/
H A DM68kMemOperandPrinter.h27 void printARIMem(const InstTy *MI, unsigned OpNum, raw_ostream &O) { in printARIMem() argument
29 impl().printOperand(MI, OpNum, O); in printARIMem()
33 void printARIPIMem(const InstTy *MI, unsigned OpNum, raw_ostream &O) { in printARIPIMem() argument
35 impl().printOperand(MI, OpNum, O); in printARIPIMem()
39 void printARIPDMem(const InstTy *MI, unsigned OpNum, raw_ostream &O) { in printARIPDMem() argument
41 impl().printOperand(MI, OpNum, O); in printARIPDMem()
45 void printARIDMem(const InstTy *MI, unsigned OpNum, raw_ostream &O) { in printARIDMem() argument
47 impl().printDisp(MI, OpNum + M68k::MemDisp, O); in printARIDMem()
49 impl().printOperand(MI, OpNum + M68k::MemBase, O); in printARIDMem()
53 void printARIIMem(const InstTy *MI, unsigned OpNum, raw_ostream &O) { in printARIIMem() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/MCTargetDesc/
H A DARCInstPrinter.cpp140 void ARCInstPrinter::printOperand(const MCInst *MI, unsigned OpNum, in printOperand() argument
142 const MCOperand &Op = MI->getOperand(OpNum); in printOperand()
157 void ARCInstPrinter::printMemOperandRI(const MCInst *MI, unsigned OpNum, in printMemOperandRI() argument
159 const MCOperand &base = MI->getOperand(OpNum); in printMemOperandRI()
160 const MCOperand &offset = MI->getOperand(OpNum + 1); in printMemOperandRI()
167 void ARCInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNum, in printPredicateOperand() argument
170 const MCOperand &Op = MI->getOperand(OpNum); in printPredicateOperand()
175 void ARCInstPrinter::printBRCCPredicateOperand(const MCInst *MI, unsigned OpNum, in printBRCCPredicateOperand() argument
177 const MCOperand &Op = MI->getOperand(OpNum); in printBRCCPredicateOperand()
182 void ARCInstPrinter::printCCOperand(const MCInst *MI, int OpNum, in printCCOperand() argument
[all …]
H A DARCInstPrinter.h36 void printCCOperand(const MCInst *MI, int OpNum, raw_ostream &O);
37 void printU6(const MCInst *MI, int OpNum, raw_ostream &O);
40 void printMemOperandRI(const MCInst *MI, unsigned OpNum, raw_ostream &O);
41 void printOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
42 void printOperand(const MCInst *MI, uint64_t /*Address*/, unsigned OpNum, in printOperand() argument
44 printOperand(MI, OpNum, O); in printOperand()
46 void printPredicateOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
47 void printBRCCPredicateOperand(const MCInst *MI, unsigned OpNum,
49 void printU6ShiftedBy(unsigned ShiftBy, const MCInst *MI, int OpNum,
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/MCTargetDesc/
H A DNVPTXInstPrinter.cpp95 void NVPTXInstPrinter::printCvtMode(const MCInst *MI, int OpNum, raw_ostream &O, in printCvtMode() argument
97 const MCOperand &MO = MI->getOperand(OpNum); in printCvtMode()
152 void NVPTXInstPrinter::printCmpMode(const MCInst *MI, int OpNum, raw_ostream &O, in printCmpMode() argument
154 const MCOperand &MO = MI->getOperand(OpNum); in printCmpMode()
225 void NVPTXInstPrinter::printLdStCode(const MCInst *MI, int OpNum, in printLdStCode() argument
228 const MCOperand &MO = MI->getOperand(OpNum); in printLdStCode()
277 void NVPTXInstPrinter::printMmaCode(const MCInst *MI, int OpNum, raw_ostream &O, in printMmaCode() argument
279 const MCOperand &MO = MI->getOperand(OpNum); in printMmaCode()
291 void NVPTXInstPrinter::printMemOperand(const MCInst *MI, int OpNum, in printMemOperand() argument
293 printOperand(MI, OpNum, O); in printMemOperand()
[all …]
H A DNVPTXInstPrinter.h38 void printCvtMode(const MCInst *MI, int OpNum, raw_ostream &O,
40 void printCmpMode(const MCInst *MI, int OpNum, raw_ostream &O,
42 void printLdStCode(const MCInst *MI, int OpNum,
44 void printMmaCode(const MCInst *MI, int OpNum, raw_ostream &O,
46 void printMemOperand(const MCInst *MI, int OpNum,
48 void printProtoIdent(const MCInst *MI, int OpNum,
50 void printPrmtMode(const MCInst *MI, int OpNum, raw_ostream &O,
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRAsmPrinter.cpp55 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
58 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNum,
101 bool AVRAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum, in PrintAsmOperand() argument
105 if (!AsmPrinter::PrintAsmOperand(MI, OpNum, ExtraCode, O)) in PrintAsmOperand()
108 const MachineOperand &MO = MI->getOperand(OpNum); in PrintAsmOperand()
122 const InlineAsm::Flag OpFlags(MI->getOperand(OpNum - 1).getImm()); in PrintAsmOperand()
135 Reg = MI->getOperand(OpNum + RegIdx).getReg(); in PrintAsmOperand()
149 printOperand(MI, OpNum, O); // Fallback to ordinary cases. in PrintAsmOperand()
155 unsigned OpNum, const char *ExtraCode, in PrintAsmMemoryOperand() argument
160 const MachineOperand &MO = MI->getOperand(OpNum); in PrintAsmMemoryOperand()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430AsmPrinter.cpp52 void printOperand(const MachineInstr *MI, int OpNum,
54 void printSrcMemOperand(const MachineInstr *MI, int OpNum,
78 void MSP430AsmPrinter::printOperand(const MachineInstr *MI, int OpNum, in printOperand() argument
80 const MachineOperand &MO = MI->getOperand(OpNum); in printOperand()
107 void MSP430AsmPrinter::printSrcMemOperand(const MachineInstr *MI, int OpNum, in printSrcMemOperand() argument
109 const MachineOperand &Base = MI->getOperand(OpNum); in printSrcMemOperand()
110 const MachineOperand &Disp = MI->getOperand(OpNum+1); in printSrcMemOperand()
117 printOperand(MI, OpNum+1, O, "nohash"); in printSrcMemOperand()
122 printOperand(MI, OpNum, O); in printSrcMemOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFAsmPrinter.cpp46 void printOperand(const MachineInstr *MI, int OpNum, raw_ostream &O);
49 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNum,
71 void BPFAsmPrinter::printOperand(const MachineInstr *MI, int OpNum, in printOperand() argument
73 const MachineOperand &MO = MI->getOperand(OpNum); in printOperand()
119 unsigned OpNum, const char *ExtraCode, in PrintAsmMemoryOperand() argument
121 assert(OpNum + 1 < MI->getNumOperands() && "Insufficient operands"); in PrintAsmMemoryOperand()
122 const MachineOperand &BaseMO = MI->getOperand(OpNum); in PrintAsmMemoryOperand()
123 const MachineOperand &OffsetMO = MI->getOperand(OpNum + 1); in PrintAsmMemoryOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRDFOpt.cpp101 void removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum);
194 void HexagonDCE::removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum) { in removeOperand() argument
209 MI->removeOperand(OpNum); in removeOperand()
213 if (N < OpNum) in removeOperand()
215 else if (N > OpNum) in removeOperand()
229 unsigned OpNum, NewOpc; in rewrite() local
233 OpNum = 1; in rewrite()
237 OpNum = 1; in rewrite()
241 OpNum = 1; in rewrite()
245 OpNum = 0; in rewrite()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp842 unsigned &OpNum, in readConstantRange() argument
844 if (Record.size() - OpNum < 2) in readConstantRange()
847 unsigned LowerActiveWords = Record[OpNum]; in readConstantRange()
848 unsigned UpperActiveWords = Record[OpNum++] >> 32; in readConstantRange()
849 if (Record.size() - OpNum < LowerActiveWords + UpperActiveWords) in readConstantRange()
852 readWideAPInt(ArrayRef(&Record[OpNum], LowerActiveWords), BitWidth); in readConstantRange()
853 OpNum += LowerActiveWords; in readConstantRange()
855 readWideAPInt(ArrayRef(&Record[OpNum], UpperActiveWords), BitWidth); in readConstantRange()
856 OpNum += UpperActiveWords; in readConstantRange()
859 int64_t Start = BitcodeReader::decodeSignRotatedValue(Record[OpNum++]); in readConstantRange()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DDetectDeadLanes.cpp87 unsigned OpNum = MO.getOperandNo(); in isCrossCopy() local
88 DstSubIdx = MI.getOperand(OpNum+1).getImm(); in isCrossCopy()
148 unsigned OpNum = MO.getOperandNo(); in transferUsedLanes() local
157 assert(OpNum % 2 == 1); in transferUsedLanes()
158 unsigned SubIdx = MI.getOperand(OpNum + 1).getImm(); in transferUsedLanes()
165 if (OpNum == 2) in transferUsedLanes()
177 assert(OpNum == 1); in transferUsedLanes()
181 assert(OpNum == 1); in transferUsedLanes()
211 unsigned OpNum = Use.getOperandNo(); in transferDefinedLanesStep() local
214 DefinedLanes = transferDefinedLanes(Def, OpNum, DefinedLanes); in transferDefinedLanesStep()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFoldTables.cpp128 const X86FoldTableEntry *llvm::lookupFoldTable(unsigned RegOp, unsigned OpNum) { in lookupFoldTable() argument
130 if (OpNum == 0) in lookupFoldTable()
132 else if (OpNum == 1) in lookupFoldTable()
134 else if (OpNum == 2) in lookupFoldTable()
136 else if (OpNum == 3) in lookupFoldTable()
138 else if (OpNum == 4) in lookupFoldTable()
147 unsigned OpNum) { in lookupBroadcastFoldTable() argument
149 if (OpNum == 1) in lookupBroadcastFoldTable()
151 else if (OpNum == 2) in lookupBroadcastFoldTable()
153 else if (OpNum == 3) in lookupBroadcastFoldTable()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kAsmPrinter.cpp37 void M68kAsmPrinter::printOperand(const MachineInstr *MI, int OpNum, in printOperand() argument
39 const MachineOperand &MO = MI->getOperand(OpNum); in printOperand()
92 void M68kAsmPrinter::printAbsMem(const MachineInstr *MI, unsigned OpNum, in printAbsMem() argument
94 const MachineOperand &MO = MI->getOperand(OpNum); in printAbsMem()
98 PrintAsmMemoryOperand(MI, OpNum, nullptr, O); in printAbsMem()

1234