| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCInstrDesc.h | 142 namespace MCID { 392 return Flags & (1ULL << MCID::ExtractSubreg); in isExtractSubregLike() 416 return Flags & (1ULL << MCID::VariadicOpsAreDefs); in variadicOpsAreDefs() 425 return Flags & (1ULL << MCID::Authenticated); in isAuthenticated() 445 return Flags & (1ULL << MCID::MayRaiseFPException); in mayRaiseFPException() 461 return Flags & (1ULL << MCID::UnmodeledSideEffects); in hasUnmodeledSideEffects() 495 return Flags & (1ULL << MCID::ConvertibleTo3Addr); in isConvertibleTo3Addr() 507 return Flags & (1ULL << MCID::UsesCustomInserter); in usesCustomInsertionHook() 523 return Flags & (1ULL << MCID::Rematerializable); in isRematerializable() 544 return Flags & (1ULL << MCID::ExtraSrcRegAllocReq); in hasExtraSrcRegAllocReq() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/MCA/ |
| H A D | AMDGPUCustomBehaviour.cpp | 246 const MCInstrDesc &MCID = MCII.get(Opcode); in generateWaitCntInfo() local 247 if ((MCID.TSFlags & SIInstrFlags::DS) && in generateWaitCntInfo() 260 else if (MCID.mayLoad() && !(MCID.TSFlags & SIInstrFlags::IsAtomicNoRet)) in generateWaitCntInfo() 267 else if ((MCID.mayLoad() && in generateWaitCntInfo() 269 ((MCID.TSFlags & SIInstrFlags::MIMG) && !MCID.mayLoad() && in generateWaitCntInfo() 270 !MCID.mayStore())) in generateWaitCntInfo() 272 else if (MCID.mayStore()) in generateWaitCntInfo() 280 (MCID.mayStore() || (MCID.TSFlags & SIInstrFlags::IsAtomicRet))) in generateWaitCntInfo() 301 return MCID.TSFlags & SIInstrFlags::MUBUF || in isVMEM() 302 MCID.TSFlags & SIInstrFlags::MTBUF || in isVMEM() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCHazardRecognizers.cpp | 30 if (!MCID) in isLoadAfterStore() 33 if (!MCID->mayLoad()) in isLoadAfterStore() 56 if (!MCID) in isBCTRAfterSet() 59 if (!MCID->isBranch()) in isBCTRAfterSet() 90 unsigned IIC = MCID->getSchedClass(); in mustComeFirst() 149 if (MCID && mustComeFirst(MCID, NSlots) && CurSlots) in ShouldPreferAnother() 176 if (MCID) { in EmitInstruction() 197 if (MCID->isBranch()) in EmitInstruction() 284 isLoad = MCID.mayLoad(); in GetInstrType() 285 isStore = MCID.mayStore(); in GetInstrType() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstrBuilder.h | 329 const MCInstrDesc &MCID) { in BuildMI() argument 349 MachineInstr *MI = MF.CreateMachineInstr(MCID, DL); in BuildMI() 365 MachineInstr *MI = MF.CreateMachineInstr(MCID, DL); in BuildMI() 383 return BuildMI(BB, *I, DL, MCID, DestReg); in BuildMI() 392 const MCInstrDesc &MCID) { in BuildMI() argument 394 MachineInstr *MI = MF.CreateMachineInstr(MCID, DL); in BuildMI() 402 const MCInstrDesc &MCID) { in BuildMI() argument 404 MachineInstr *MI = MF.CreateMachineInstr(MCID, DL); in BuildMI() 422 return BuildMI(BB, *I, DL, MCID); in BuildMI() 429 return BuildMI(*BB, BB->end(), DL, MCID); in BuildMI() [all …]
|
| H A D | MachineInstr.h | 808 return hasProperty(MCID::Pseudo, Type); 814 return hasProperty(MCID::Meta, Type); 818 return hasProperty(MCID::Return, Type); 828 return hasProperty(MCID::Call, Type); 843 return hasProperty(MCID::Barrier, Type); 860 return hasProperty(MCID::Branch, Type); 897 return hasProperty(MCID::Compare, Type); 903 return hasProperty(MCID::MoveImm, Type); 909 return hasProperty(MCID::MoveReg, Type); 914 return hasProperty(MCID::Bitcast, Type); [all …]
|
| /llvm-project-15.0.7/llvm/unittests/CodeGen/ |
| H A D | MachineInstrTest.cpp | 55 MCInstrDesc MCID = { in TEST() local 64 auto MI1 = MF->CreateMachineInstr(MCID, DebugLoc()); in TEST() 68 auto MI2 = MF->CreateMachineInstr(MCID, DebugLoc()); in TEST() 84 auto MI3 = MF->CreateMachineInstr(MCID, DebugLoc()); in TEST() 88 auto MI4 = MF->CreateMachineInstr(MCID, DebugLoc()); in TEST() 126 MCInstrDesc MCID = { in TEST() local 235 auto MI = MF->CreateMachineInstr(MCID, DebugLoc()); in TEST() 252 auto MI = MF->CreateMachineInstr(MCID, DebugLoc()); in TEST() 263 auto MI = MF->CreateMachineInstr(MCID, DebugLoc()); in TEST() 398 const MCInstrDesc MCID = { in TEST() local [all …]
|
| H A D | RegAllocScoreTest.cpp | 46 MACRO(Load, 0, 1ULL << MCID::MayLoad) \ 47 MACRO(Store, 0, 1ULL << MCID::MayStore) \ 48 MACRO(LoadStore, 0, (1ULL << MCID::MayLoad) | (1ULL << MCID::MayStore)) \ 49 MACRO(CheapRemat, 0, 1ULL << MCID::CheapAsAMove) \ 52 (1ULL << MCID::MayLoad) | (1ULL << MCID::MayStore)) \ 54 (1ULL << MCID::MayLoad) | (1ULL << MCID::MayStore)) \ 56 (1ULL << MCID::MayLoad) | (1ULL << MCID::MayStore))
|
| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kInstrBuilder.h | 63 const MCInstrDesc &MCID = MI->getDesc(); variable 65 if (MCID.mayLoad()) 67 if (MCID.mayStore()) 80 const MCInstrDesc &MCID = MI->getDesc(); variable 82 if (MCID.mayLoad()) 84 if (MCID.mayStore())
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ValueMapper.cpp | 89 unsigned MCID : 29; member 162 unsigned MCID); 166 unsigned MCID); 168 unsigned MCID); 868 CurrentMCID = E.MCID; in flush() 1065 WE.MCID = MCID; in scheduleMapGlobalInitializer() 1081 WE.MCID = MCID; in scheduleMapAppendingVariable() 1091 unsigned MCID) { in scheduleMapAliasOrIFunc() argument 1099 WE.MCID = MCID; in scheduleMapAliasOrIFunc() 1111 WE.MCID = MCID; in scheduleRemapFunction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/MCA/ |
| H A D | CodeEmitter.cpp | 18 CodeEmitter::EncodingInfo CodeEmitter::getOrCreateEncodingInfo(unsigned MCID) { in getOrCreateEncodingInfo() argument 19 EncodingInfo &EI = Encodings[MCID]; in getOrCreateEncodingInfo() 24 const MCInst &Inst = Sequence[MCID]; in getOrCreateEncodingInfo() 25 MCInst Relaxed(Sequence[MCID]); in getOrCreateEncodingInfo()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/ |
| H A D | Thumb2SizeReduction.cpp | 657 if (MCID.hasOptionalDef() && in ReduceSpecial() 816 const MCInstrDesc &MCID = MI->getDesc(); in ReduceTo2Addr() local 817 if (MCID.hasOptionalDef()) { in ReduceTo2Addr() 840 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr() 876 const MCInstrDesc &MCID = MI->getDesc(); in ReduceToNarrow() local 878 if (MCID.OpInfo[i].isPredicate()) in ReduceToNarrow() 909 if (MCID.hasOptionalDef()) { in ReduceToNarrow() 931 if (MCID.getOpcode() == ARM::t2TEQrr) { in ReduceToNarrow() 947 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow() 953 MCID.getOpcode() == ARM::t2SXTB || in ReduceToNarrow() [all …]
|
| H A D | ARMHazardRecognizer.cpp | 31 const MCInstrDesc &MCID = MI->getDesc(); in hasRAWHazard() local 32 unsigned Domain = MCID.TSFlags & ARMII::DomainMask; in hasRAWHazard() 35 unsigned Opcode = MCID.getOpcode(); in hasRAWHazard() 52 const MCInstrDesc &MCID = MI->getDesc(); in getHazardType() local 53 if (LastMI && (MCID.TSFlags & ARMII::DomainMask) != ARMII::DomainGeneral) { in getHazardType()
|
| H A D | MLxExpansionPass.cpp | 184 const MCInstrDesc &MCID = MI->getDesc(); in hasRAWHazard() local 185 unsigned Domain = MCID.TSFlags & ARMII::DomainMask; in hasRAWHazard() 188 unsigned Opcode = MCID.getOpcode(); in hasRAWHazard() 339 const MCInstrDesc &MCID = MI->getDesc(); in ExpandFPMLxInstructions() local 346 unsigned Domain = MCID.TSFlags & ARMII::DomainMask; in ExpandFPMLxInstructions() 356 if (!TII->isFpMLxInstruction(MCID.getOpcode(), in ExpandFPMLxInstructions()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ScoreboardHazardRecognizer.cpp | 122 const MCInstrDesc *MCID = DAG->getInstrDesc(SU); in getHazardType() local 123 if (!MCID) { in getHazardType() 127 unsigned idx = MCID->getSchedClass(); in getHazardType() 177 const MCInstrDesc *MCID = DAG->getInstrDesc(SU); in EmitInstruction() local 178 assert(MCID && "The scheduler must filter non-machineinstrs"); in EmitInstruction() 179 if (DAG->TII->isZeroCost(MCID->Opcode)) in EmitInstruction() 186 unsigned idx = MCID->getSchedClass(); in EmitInstruction()
|
| H A D | MachineInstr.cpp | 88 if (MCID->ImplicitDefs) in addImplicitDefUseOperands() 92 if (MCID->ImplicitUses) in addImplicitDefUseOperands() 108 MCID->getNumImplicitDefs() + MCID->getNumImplicitUses()) { in MachineInstr() 215 assert((MCID->isVariadic() || OpNo < MCID->getNumOperands() || in addOperand() 681 if (!MCID->isVariadic()) in getNumExplicitOperands() 700 if (!MCID->isVariadic()) in getNumExplicitDefs() 1027 const MCInstrDesc &MCID = getDesc(); in findFirstPredOperandIdx() local 1028 if (MCID.isPredicable()) { in findFirstPredOperandIdx() 1030 if (MCID.OpInfo[i].isPredicate()) in findFirstPredOperandIdx() 1443 const MCInstrDesc &MCID = getDesc(); in hasComplexRegisterTies() local [all …]
|
| H A D | BreakFalseDeps.cpp | 191 const MCInstrDesc &MCID = MI->getDesc(); in processDefs() local 195 for (unsigned i = MCID.getNumDefs(), e = MCID.getNumOperands(); i != e; ++i) { in processDefs() 217 e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs(); in processDefs()
|
| H A D | MachineVerifier.cpp | 916 const MCInstrDesc &MCID = MI->getDesc(); in verifyPreISelGenericInstruction() local 940 if (!MCID.OpInfo[I].isGenericType()) in verifyPreISelGenericInstruction() 1699 const MCInstrDesc &MCID = MI->getDesc(); in visitMachineInstrBefore() local 1768 unsigned Opc = MCID.getOpcode(); in visitMachineInstrBefore() 1897 const MCInstrDesc &MCID = MI->getDesc(); in visitMachineOperand() local 1898 unsigned NumDefs = MCID.getNumDefs(); in visitMachineOperand() 1911 } else if (MONum < MCID.getNumOperands()) { in visitMachineOperand() 1991 if (MONum < MCID.getNumDefs()) { in visitMachineOperand() 2025 if (MONum < MCID.getNumOperands()) { in visitMachineOperand() 2110 MONum < MCID.getNumOperands() && in visitMachineOperand() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/SystemZ/ |
| H A D | SystemZInstrBuilder.h | 29 const MCInstrDesc &MCID = MI->getDesc(); in addFrameReference() local 31 if (MCID.mayLoad()) in addFrameReference() 33 if (MCID.mayStore()) in addFrameReference()
|
| /llvm-project-15.0.7/llvm/include/llvm/MCA/ |
| H A D | CodeEmitter.h | 51 EncodingInfo getOrCreateEncodingInfo(unsigned MCID); 59 StringRef getEncoding(unsigned MCID) { in getEncoding() argument 60 EncodingInfo EI = getOrCreateEncodingInfo(MCID); in getEncoding()
|
| /llvm-project-15.0.7/llvm/lib/Target/VE/ |
| H A D | LVLGen.cpp | 41 const MCInstrDesc &MCID = TII->get(Opcode); in getVLIndex() local 44 if (HAS_VLINDEX(MCID.TSFlags)) in getVLIndex() 45 return GET_VLINDEX(MCID.TSFlags); in getVLIndex()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ScheduleDAGFast.cpp | 250 const MCInstrDesc &MCID = TII->get(N->getMachineOpcode()); in CopyAndMoveSuccessors() local 251 for (unsigned i = 0; i != MCID.getNumOperands(); ++i) { in CopyAndMoveSuccessors() 252 if (MCID.getOperandConstraint(i, MCOI::TIED_TO) != -1) { in CopyAndMoveSuccessors() 257 if (MCID.isCommutable()) in CopyAndMoveSuccessors() 428 const MCInstrDesc &MCID = TII->get(N->getMachineOpcode()); in getPhysicalRegisterVT() local 429 assert(MCID.ImplicitDefs && "Physical reg def must be in implicit def list!"); in getPhysicalRegisterVT() 430 NumRes = MCID.getNumDefs(); in getPhysicalRegisterVT() 431 for (const MCPhysReg *ImpDef = MCID.getImplicitDefs(); *ImpDef; ++ImpDef) { in getPhysicalRegisterVT() 528 const MCInstrDesc &MCID = TII->get(Node->getMachineOpcode()); in DelayForLiveRegsBottomUp() local 529 if (!MCID.ImplicitDefs) in DelayForLiveRegsBottomUp() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 93 const MCInstrDesc &MCID = HexagonMCInstrInfo::getDesc(MCII, MCI); in init() local 98 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init() 101 for (unsigned i = 0; i < MCID.getNumImplicitUses(); ++i) in init() 102 initReg(MCI, MCID.getImplicitUses()[i], PredReg, isTrue); in init() 109 if (const MCPhysReg *ImpDef = MCID.getImplicitDefs()) in init() 113 if (Hexagon::R31 != R && MCID.isCall()) in init() 138 for (unsigned i = 0; i < MCID.getNumDefs(); ++i) { in init() 195 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.cpp | 380 const MCInstrDesc &MCID = MII.get(Opcode); in verify() local 382 MCID.opInfo_begin(), MCID.opInfo_end(), 0U, in verify() 389 MCID.opInfo_begin(), MCID.opInfo_end(), 0U, in verify()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ConditionalCompares.cpp | 632 const MCInstrDesc &MCID = TII->get(Opc); in convert() local 635 MRI->createVirtualRegister(TII->getRegClass(MCID, 0, TRI, *MF)); in convert() 637 BuildMI(*Head, Head->end(), TermDL, MCID) in convert() 644 TII->getRegClass(MCID, 1, TRI, *MF)); in convert() 689 const MCInstrDesc &MCID = TII->get(Opc); in convert() local 691 TII->getRegClass(MCID, 0, TRI, *MF)); in convert() 694 TII->getRegClass(MCID, 1, TRI, *MF)); in convert() 695 MachineInstrBuilder MIB = BuildMI(*Head, CmpMI, CmpMI->getDebugLoc(), MCID) in convert()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstrBuilder.h | 202 const MCInstrDesc &MCID = MI->getDesc(); variable 204 if (MCID.mayLoad()) 206 if (MCID.mayStore())
|