Lines Matching refs:Opcode
42 static BranchPredicate getBranchPredicate(unsigned Opcode);
63 MachineInstr &Inst, unsigned Opcode) const;
66 MachineInstr &Inst, unsigned Opcode) const;
187 bool isSALU(uint16_t Opcode) const { in isSALU() argument
188 return get(Opcode).TSFlags & SIInstrFlags::SALU; in isSALU()
195 bool isVALU(uint16_t Opcode) const { in isVALU() argument
196 return get(Opcode).TSFlags & SIInstrFlags::VALU; in isVALU()
203 bool isVMEM(uint16_t Opcode) const { in isVMEM() argument
204 return isMUBUF(Opcode) || isMTBUF(Opcode) || isMIMG(Opcode); in isVMEM()
211 bool isSOP1(uint16_t Opcode) const { in isSOP1() argument
212 return get(Opcode).TSFlags & SIInstrFlags::SOP1; in isSOP1()
219 bool isSOP2(uint16_t Opcode) const { in isSOP2() argument
220 return get(Opcode).TSFlags & SIInstrFlags::SOP2; in isSOP2()
227 bool isSOPC(uint16_t Opcode) const { in isSOPC() argument
228 return get(Opcode).TSFlags & SIInstrFlags::SOPC; in isSOPC()
235 bool isSOPK(uint16_t Opcode) const { in isSOPK() argument
236 return get(Opcode).TSFlags & SIInstrFlags::SOPK; in isSOPK()
243 bool isSOPP(uint16_t Opcode) const { in isSOPP() argument
244 return get(Opcode).TSFlags & SIInstrFlags::SOPP; in isSOPP()
251 bool isVOP1(uint16_t Opcode) const { in isVOP1() argument
252 return get(Opcode).TSFlags & SIInstrFlags::VOP1; in isVOP1()
259 bool isVOP2(uint16_t Opcode) const { in isVOP2() argument
260 return get(Opcode).TSFlags & SIInstrFlags::VOP2; in isVOP2()
267 bool isVOP3(uint16_t Opcode) const { in isVOP3() argument
268 return get(Opcode).TSFlags & SIInstrFlags::VOP3; in isVOP3()
275 bool isVOPC(uint16_t Opcode) const { in isVOPC() argument
276 return get(Opcode).TSFlags & SIInstrFlags::VOPC; in isVOPC()
283 bool isMUBUF(uint16_t Opcode) const { in isMUBUF() argument
284 return get(Opcode).TSFlags & SIInstrFlags::MUBUF; in isMUBUF()
291 bool isMTBUF(uint16_t Opcode) const { in isMTBUF() argument
292 return get(Opcode).TSFlags & SIInstrFlags::MTBUF; in isMTBUF()
299 bool isSMRD(uint16_t Opcode) const { in isSMRD() argument
300 return get(Opcode).TSFlags & SIInstrFlags::SMRD; in isSMRD()
307 bool isDS(uint16_t Opcode) const { in isDS() argument
308 return get(Opcode).TSFlags & SIInstrFlags::DS; in isDS()
315 bool isMIMG(uint16_t Opcode) const { in isMIMG() argument
316 return get(Opcode).TSFlags & SIInstrFlags::MIMG; in isMIMG()
323 bool isGather4(uint16_t Opcode) const { in isGather4() argument
324 return get(Opcode).TSFlags & SIInstrFlags::Gather4; in isGather4()
331 bool isFLAT(uint16_t Opcode) const { in isFLAT() argument
332 return get(Opcode).TSFlags & SIInstrFlags::FLAT; in isFLAT()
339 bool isWQM(uint16_t Opcode) const { in isWQM() argument
340 return get(Opcode).TSFlags & SIInstrFlags::WQM; in isWQM()
347 bool isVGPRSpill(uint16_t Opcode) const { in isVGPRSpill() argument
348 return get(Opcode).TSFlags & SIInstrFlags::VGPRSpill; in isVGPRSpill()
355 bool isDPP(uint16_t Opcode) const { in isDPP() argument
356 return get(Opcode).TSFlags & SIInstrFlags::DPP; in isDPP()
384 bool hasVALU32BitEncoding(unsigned Opcode) const;
393 bool hasModifiers(unsigned Opcode) const;
415 unsigned getOpSize(uint16_t Opcode, unsigned OpNo) const { in getOpSize() argument
416 const MCOperandInfo &OpInfo = get(Opcode).OpInfo[OpNo]; in getOpSize()
526 const MCInstrDesc &getMCOpcodeFromPseudo(unsigned Opcode) const { in getMCOpcodeFromPseudo() argument
527 return get(pseudoToMCOpcode(Opcode)); in getMCOpcodeFromPseudo()
545 int getVOPe64(uint16_t Opcode);
548 int getVOPe32(uint16_t Opcode);
551 int getCommuteRev(uint16_t Opcode);
554 int getCommuteOrig(uint16_t Opcode);
557 int getAddr64Inst(uint16_t Opcode);
560 int getAtomicRetOp(uint16_t Opcode);
563 int getAtomicNoRetOp(uint16_t Opcode);