Lines Matching refs:OpNum
67 uint64_t getBDAddr12Encoding(const MCInst &MI, unsigned OpNum,
70 uint64_t getBDAddr20Encoding(const MCInst &MI, unsigned OpNum,
73 uint64_t getBDXAddr12Encoding(const MCInst &MI, unsigned OpNum,
76 uint64_t getBDXAddr20Encoding(const MCInst &MI, unsigned OpNum,
79 uint64_t getBDLAddr12Len4Encoding(const MCInst &MI, unsigned OpNum,
82 uint64_t getBDLAddr12Len8Encoding(const MCInst &MI, unsigned OpNum,
85 uint64_t getBDRAddr12Encoding(const MCInst &MI, unsigned OpNum,
88 uint64_t getBDVAddr12Encoding(const MCInst &MI, unsigned OpNum,
97 uint64_t getPCRelEncoding(const MCInst &MI, unsigned OpNum,
102 uint64_t getPC16DBLEncoding(const MCInst &MI, unsigned OpNum, in getPC16DBLEncoding() argument
105 return getPCRelEncoding(MI, OpNum, Fixups, in getPC16DBLEncoding()
108 uint64_t getPC32DBLEncoding(const MCInst &MI, unsigned OpNum, in getPC32DBLEncoding() argument
111 return getPCRelEncoding(MI, OpNum, Fixups, in getPC32DBLEncoding()
114 uint64_t getPC16DBLTLSEncoding(const MCInst &MI, unsigned OpNum, in getPC16DBLTLSEncoding() argument
117 return getPCRelEncoding(MI, OpNum, Fixups, in getPC16DBLTLSEncoding()
120 uint64_t getPC32DBLTLSEncoding(const MCInst &MI, unsigned OpNum, in getPC32DBLTLSEncoding() argument
123 return getPCRelEncoding(MI, OpNum, Fixups, in getPC32DBLTLSEncoding()
126 uint64_t getPC12DBLBPPEncoding(const MCInst &MI, unsigned OpNum, in getPC12DBLBPPEncoding() argument
129 return getPCRelEncoding(MI, OpNum, Fixups, in getPC12DBLBPPEncoding()
132 uint64_t getPC16DBLBPPEncoding(const MCInst &MI, unsigned OpNum, in getPC16DBLBPPEncoding() argument
135 return getPCRelEncoding(MI, OpNum, Fixups, in getPC16DBLBPPEncoding()
138 uint64_t getPC24DBLBPPEncoding(const MCInst &MI, unsigned OpNum, in getPC24DBLBPPEncoding() argument
141 return getPCRelEncoding(MI, OpNum, Fixups, in getPC24DBLBPPEncoding()
183 getBDAddr12Encoding(const MCInst &MI, unsigned OpNum, in getBDAddr12Encoding() argument
186 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDAddr12Encoding()
187 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDAddr12Encoding()
193 getBDAddr20Encoding(const MCInst &MI, unsigned OpNum, in getBDAddr20Encoding() argument
196 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDAddr20Encoding()
197 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDAddr20Encoding()
203 getBDXAddr12Encoding(const MCInst &MI, unsigned OpNum, in getBDXAddr12Encoding() argument
206 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDXAddr12Encoding()
207 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDXAddr12Encoding()
208 uint64_t Index = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI); in getBDXAddr12Encoding()
214 getBDXAddr20Encoding(const MCInst &MI, unsigned OpNum, in getBDXAddr20Encoding() argument
217 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDXAddr20Encoding()
218 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDXAddr20Encoding()
219 uint64_t Index = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI); in getBDXAddr20Encoding()
226 getBDLAddr12Len4Encoding(const MCInst &MI, unsigned OpNum, in getBDLAddr12Len4Encoding() argument
229 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDLAddr12Len4Encoding()
230 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDLAddr12Len4Encoding()
231 uint64_t Len = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI) - 1; in getBDLAddr12Len4Encoding()
237 getBDLAddr12Len8Encoding(const MCInst &MI, unsigned OpNum, in getBDLAddr12Len8Encoding() argument
240 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDLAddr12Len8Encoding()
241 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDLAddr12Len8Encoding()
242 uint64_t Len = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI) - 1; in getBDLAddr12Len8Encoding()
248 getBDRAddr12Encoding(const MCInst &MI, unsigned OpNum, in getBDRAddr12Encoding() argument
251 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDRAddr12Encoding()
252 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDRAddr12Encoding()
253 uint64_t Len = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI); in getBDRAddr12Encoding()
259 getBDVAddr12Encoding(const MCInst &MI, unsigned OpNum, in getBDVAddr12Encoding() argument
262 uint64_t Base = getMachineOpValue(MI, MI.getOperand(OpNum), Fixups, STI); in getBDVAddr12Encoding()
263 uint64_t Disp = getMachineOpValue(MI, MI.getOperand(OpNum + 1), Fixups, STI); in getBDVAddr12Encoding()
264 uint64_t Index = getMachineOpValue(MI, MI.getOperand(OpNum + 2), Fixups, STI); in getBDVAddr12Encoding()
270 SystemZMCCodeEmitter::getPCRelEncoding(const MCInst &MI, unsigned OpNum, in getPCRelEncoding() argument
274 const MCOperand &MO = MI.getOperand(OpNum); in getPCRelEncoding()
292 if (AllowTLS && OpNum + 1 < MI.getNumOperands()) { in getPCRelEncoding()
293 const MCOperand &MOTLS = MI.getOperand(OpNum + 1); in getPCRelEncoding()