Lines Matching refs:Opcode
48 MachineInstr *Inst, unsigned Opcode) const;
51 MachineInstr *Inst, unsigned Opcode) const;
143 bool isMov(unsigned Opcode) const override;
158 bool isSALU(uint16_t Opcode) const { in isSALU() argument
159 return get(Opcode).TSFlags & SIInstrFlags::SALU; in isSALU()
166 bool isVALU(uint16_t Opcode) const { in isVALU() argument
167 return get(Opcode).TSFlags & SIInstrFlags::VALU; in isVALU()
174 bool isSOP1(uint16_t Opcode) const { in isSOP1() argument
175 return get(Opcode).TSFlags & SIInstrFlags::SOP1; in isSOP1()
182 bool isSOP2(uint16_t Opcode) const { in isSOP2() argument
183 return get(Opcode).TSFlags & SIInstrFlags::SOP2; in isSOP2()
190 bool isSOPC(uint16_t Opcode) const { in isSOPC() argument
191 return get(Opcode).TSFlags & SIInstrFlags::SOPC; in isSOPC()
198 bool isSOPK(uint16_t Opcode) const { in isSOPK() argument
199 return get(Opcode).TSFlags & SIInstrFlags::SOPK; in isSOPK()
206 bool isSOPP(uint16_t Opcode) const { in isSOPP() argument
207 return get(Opcode).TSFlags & SIInstrFlags::SOPP; in isSOPP()
214 bool isVOP1(uint16_t Opcode) const { in isVOP1() argument
215 return get(Opcode).TSFlags & SIInstrFlags::VOP1; in isVOP1()
222 bool isVOP2(uint16_t Opcode) const { in isVOP2() argument
223 return get(Opcode).TSFlags & SIInstrFlags::VOP2; in isVOP2()
230 bool isVOP3(uint16_t Opcode) const { in isVOP3() argument
231 return get(Opcode).TSFlags & SIInstrFlags::VOP3; in isVOP3()
238 bool isVOPC(uint16_t Opcode) const { in isVOPC() argument
239 return get(Opcode).TSFlags & SIInstrFlags::VOPC; in isVOPC()
246 bool isMUBUF(uint16_t Opcode) const { in isMUBUF() argument
247 return get(Opcode).TSFlags & SIInstrFlags::MUBUF; in isMUBUF()
254 bool isMTBUF(uint16_t Opcode) const { in isMTBUF() argument
255 return get(Opcode).TSFlags & SIInstrFlags::MTBUF; in isMTBUF()
262 bool isSMRD(uint16_t Opcode) const { in isSMRD() argument
263 return get(Opcode).TSFlags & SIInstrFlags::SMRD; in isSMRD()
270 bool isDS(uint16_t Opcode) const { in isDS() argument
271 return get(Opcode).TSFlags & SIInstrFlags::DS; in isDS()
278 bool isMIMG(uint16_t Opcode) const { in isMIMG() argument
279 return get(Opcode).TSFlags & SIInstrFlags::MIMG; in isMIMG()
286 bool isFLAT(uint16_t Opcode) const { in isFLAT() argument
287 return get(Opcode).TSFlags & SIInstrFlags::FLAT; in isFLAT()
294 bool isWQM(uint16_t Opcode) const { in isWQM() argument
295 return get(Opcode).TSFlags & SIInstrFlags::WQM; in isWQM()
302 bool isVGPRSpill(uint16_t Opcode) const { in isVGPRSpill() argument
303 return get(Opcode).TSFlags & SIInstrFlags::VGPRSpill; in isVGPRSpill()
315 bool hasVALU32BitEncoding(unsigned Opcode) const;
324 bool hasModifiers(unsigned Opcode) const;
346 unsigned getOpSize(uint16_t Opcode, unsigned OpNo) const { in getOpSize() argument
347 const MCOperandInfo &OpInfo = get(Opcode).OpInfo[OpNo]; in getOpSize()
469 int getVOPe64(uint16_t Opcode);
472 int getVOPe32(uint16_t Opcode);
475 int getCommuteRev(uint16_t Opcode);
478 int getCommuteOrig(uint16_t Opcode);
481 int getAddr64Inst(uint16_t Opcode);
484 int getAtomicRetOp(uint16_t Opcode);
487 int getAtomicNoRetOp(uint16_t Opcode);