Lines Matching refs:Opcode

65   static BranchPredicate getBranchPredicate(unsigned Opcode);
98 unsigned Opcode) const;
102 unsigned Opcode) const;
105 MachineInstr &Inst, unsigned Opcode,
112 unsigned Opcode,
355 bool isSALU(uint16_t Opcode) const { in isSALU() argument
356 return get(Opcode).TSFlags & SIInstrFlags::SALU; in isSALU()
363 bool isVALU(uint16_t Opcode) const { in isVALU() argument
364 return get(Opcode).TSFlags & SIInstrFlags::VALU; in isVALU()
371 bool isVMEM(uint16_t Opcode) const { in isVMEM() argument
372 return isMUBUF(Opcode) || isMTBUF(Opcode) || isMIMG(Opcode); in isVMEM()
379 bool isSOP1(uint16_t Opcode) const { in isSOP1() argument
380 return get(Opcode).TSFlags & SIInstrFlags::SOP1; in isSOP1()
387 bool isSOP2(uint16_t Opcode) const { in isSOP2() argument
388 return get(Opcode).TSFlags & SIInstrFlags::SOP2; in isSOP2()
395 bool isSOPC(uint16_t Opcode) const { in isSOPC() argument
396 return get(Opcode).TSFlags & SIInstrFlags::SOPC; in isSOPC()
403 bool isSOPK(uint16_t Opcode) const { in isSOPK() argument
404 return get(Opcode).TSFlags & SIInstrFlags::SOPK; in isSOPK()
411 bool isSOPP(uint16_t Opcode) const { in isSOPP() argument
412 return get(Opcode).TSFlags & SIInstrFlags::SOPP; in isSOPP()
419 bool isPacked(uint16_t Opcode) const { in isPacked() argument
420 return get(Opcode).TSFlags & SIInstrFlags::IsPacked; in isPacked()
427 bool isVOP1(uint16_t Opcode) const { in isVOP1() argument
428 return get(Opcode).TSFlags & SIInstrFlags::VOP1; in isVOP1()
435 bool isVOP2(uint16_t Opcode) const { in isVOP2() argument
436 return get(Opcode).TSFlags & SIInstrFlags::VOP2; in isVOP2()
443 bool isVOP3(uint16_t Opcode) const { in isVOP3() argument
444 return get(Opcode).TSFlags & SIInstrFlags::VOP3; in isVOP3()
451 bool isSDWA(uint16_t Opcode) const { in isSDWA() argument
452 return get(Opcode).TSFlags & SIInstrFlags::SDWA; in isSDWA()
459 bool isVOPC(uint16_t Opcode) const { in isVOPC() argument
460 return get(Opcode).TSFlags & SIInstrFlags::VOPC; in isVOPC()
467 bool isMUBUF(uint16_t Opcode) const { in isMUBUF() argument
468 return get(Opcode).TSFlags & SIInstrFlags::MUBUF; in isMUBUF()
475 bool isMTBUF(uint16_t Opcode) const { in isMTBUF() argument
476 return get(Opcode).TSFlags & SIInstrFlags::MTBUF; in isMTBUF()
483 bool isSMRD(uint16_t Opcode) const { in isSMRD() argument
484 return get(Opcode).TSFlags & SIInstrFlags::SMRD; in isSMRD()
493 bool isDS(uint16_t Opcode) const { in isDS() argument
494 return get(Opcode).TSFlags & SIInstrFlags::DS; in isDS()
497 bool isAlwaysGDS(uint16_t Opcode) const;
503 bool isMIMG(uint16_t Opcode) const { in isMIMG() argument
504 return get(Opcode).TSFlags & SIInstrFlags::MIMG; in isMIMG()
511 bool isGather4(uint16_t Opcode) const { in isGather4() argument
512 return get(Opcode).TSFlags & SIInstrFlags::Gather4; in isGather4()
526 bool isSegmentSpecificFLAT(uint16_t Opcode) const { in isSegmentSpecificFLAT() argument
527 auto Flags = get(Opcode).TSFlags; in isSegmentSpecificFLAT()
535 bool isFLATGlobal(uint16_t Opcode) const { in isFLATGlobal() argument
536 return get(Opcode).TSFlags & SIInstrFlags::FlatGlobal; in isFLATGlobal()
543 bool isFLATScratch(uint16_t Opcode) const { in isFLATScratch() argument
544 return get(Opcode).TSFlags & SIInstrFlags::FlatScratch; in isFLATScratch()
548 bool isFLAT(uint16_t Opcode) const { in isFLAT() argument
549 return get(Opcode).TSFlags & SIInstrFlags::FLAT; in isFLAT()
564 bool isEXP(uint16_t Opcode) const { in isEXP() argument
565 return get(Opcode).TSFlags & SIInstrFlags::EXP; in isEXP()
572 bool isAtomicNoRet(uint16_t Opcode) const { in isAtomicNoRet() argument
573 return get(Opcode).TSFlags & SIInstrFlags::IsAtomicNoRet; in isAtomicNoRet()
580 bool isAtomicRet(uint16_t Opcode) const { in isAtomicRet() argument
581 return get(Opcode).TSFlags & SIInstrFlags::IsAtomicRet; in isAtomicRet()
589 bool isAtomic(uint16_t Opcode) const { in isAtomic() argument
590 return get(Opcode).TSFlags & (SIInstrFlags::IsAtomicRet | in isAtomic()
598 bool isWQM(uint16_t Opcode) const { in isWQM() argument
599 return get(Opcode).TSFlags & SIInstrFlags::WQM; in isWQM()
606 bool isDisableWQM(uint16_t Opcode) const { in isDisableWQM() argument
607 return get(Opcode).TSFlags & SIInstrFlags::DisableWQM; in isDisableWQM()
614 bool isVGPRSpill(uint16_t Opcode) const { in isVGPRSpill() argument
615 return get(Opcode).TSFlags & SIInstrFlags::VGPRSpill; in isVGPRSpill()
622 bool isSGPRSpill(uint16_t Opcode) const { in isSGPRSpill() argument
623 return get(Opcode).TSFlags & SIInstrFlags::SGPRSpill; in isSGPRSpill()
630 bool isDPP(uint16_t Opcode) const { in isDPP() argument
631 return get(Opcode).TSFlags & SIInstrFlags::DPP; in isDPP()
638 bool isTRANS(uint16_t Opcode) const { in isTRANS() argument
639 return get(Opcode).TSFlags & SIInstrFlags::TRANS; in isTRANS()
646 bool isVOP3P(uint16_t Opcode) const { in isVOP3P() argument
647 return get(Opcode).TSFlags & SIInstrFlags::VOP3P; in isVOP3P()
654 bool isVINTRP(uint16_t Opcode) const { in isVINTRP() argument
655 return get(Opcode).TSFlags & SIInstrFlags::VINTRP; in isVINTRP()
662 bool isMAI(uint16_t Opcode) const { in isMAI() argument
663 return get(Opcode).TSFlags & SIInstrFlags::IsMAI; in isMAI()
679 bool isWMMA(uint16_t Opcode) const { in isWMMA() argument
680 return get(Opcode).TSFlags & SIInstrFlags::IsWMMA; in isWMMA()
683 bool isDOT(uint16_t Opcode) const { in isDOT() argument
684 return get(Opcode).TSFlags & SIInstrFlags::IsDOT; in isDOT()
691 bool isLDSDIR(uint16_t Opcode) const { in isLDSDIR() argument
692 return get(Opcode).TSFlags & SIInstrFlags::LDSDIR; in isLDSDIR()
699 bool isVINTERP(uint16_t Opcode) const { in isVINTERP() argument
700 return get(Opcode).TSFlags & SIInstrFlags::VINTERP; in isVINTERP()
719 bool sopkIsZext(uint16_t Opcode) const { in sopkIsZext() argument
720 return get(Opcode).TSFlags & SIInstrFlags::SOPK_ZEXT; in sopkIsZext()
729 bool isScalarStore(uint16_t Opcode) const { in isScalarStore() argument
730 return get(Opcode).TSFlags & SIInstrFlags::SCALAR_STORE; in isScalarStore()
737 bool isFixedSize(uint16_t Opcode) const { in isFixedSize() argument
738 return get(Opcode).TSFlags & SIInstrFlags::FIXED_SIZE; in isFixedSize()
745 bool hasFPClamp(uint16_t Opcode) const { in hasFPClamp() argument
746 return get(Opcode).TSFlags & SIInstrFlags::FPClamp; in hasFPClamp()
765 bool usesFPDPRounding(uint16_t Opcode) const { in usesFPDPRounding() argument
766 return get(Opcode).TSFlags & SIInstrFlags::FPDPRounding; in usesFPDPRounding()
773 bool isFPAtomic(uint16_t Opcode) const { in isFPAtomic() argument
774 return get(Opcode).TSFlags & SIInstrFlags::FPAtomic; in isFPAtomic()
881 bool hasVALU32BitEncoding(unsigned Opcode) const;
890 bool hasModifiers(unsigned Opcode) const;
917 unsigned getOpSize(uint16_t Opcode, unsigned OpNo) const { in getOpSize() argument
918 const MCOperandInfo &OpInfo = get(Opcode).OpInfo[OpNo]; in getOpSize()
1046 const MCInstrDesc &getMCOpcodeFromPseudo(unsigned Opcode) const { in getMCOpcodeFromPseudo() argument
1047 return get(pseudoToMCOpcode(Opcode)); in getMCOpcodeFromPseudo()
1124 static bool isKillTerminator(unsigned Opcode);
1125 const MCInstrDesc &getKillTerminatorFromPseudo(unsigned Opcode) const;
1146 int pseudoToMCOpcode(int Opcode) const;
1232 int getVOPe64(uint16_t Opcode);
1235 int getVOPe32(uint16_t Opcode);
1238 int getSDWAOp(uint16_t Opcode);
1241 int getDPPOp32(uint16_t Opcode);
1244 int getDPPOp64(uint16_t Opcode);
1247 int getBasicFromSDWAOp(uint16_t Opcode);
1250 int getCommuteRev(uint16_t Opcode);
1253 int getCommuteOrig(uint16_t Opcode);
1256 int getAddr64Inst(uint16_t Opcode);
1262 int getIfAddr64Inst(uint16_t Opcode);
1265 int getAtomicNoRetOp(uint16_t Opcode);
1268 int getSOPKOp(uint16_t Opcode);
1273 int getGlobalSaddrOp(uint16_t Opcode);
1278 int getGlobalVaddrOp(uint16_t Opcode);
1281 int getVCMPXNoSDstOp(uint16_t Opcode);
1286 int getFlatScratchInstSTfromSS(uint16_t Opcode);
1291 int getFlatScratchInstSVfromSVS(uint16_t Opcode);
1296 int getFlatScratchInstSSfromSV(uint16_t Opcode);
1301 int getFlatScratchInstSVfromSS(uint16_t Opcode);
1305 int getMFMAEarlyClobberOp(uint16_t Opcode);
1309 int getVCMPXOpFromVCMP(uint16_t Opcode);