| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | SIInstrInfo.h | 355 return MI.getDesc().TSFlags & SIInstrFlags::SALU; in isSALU() 363 return MI.getDesc().TSFlags & SIInstrFlags::VALU; in isVALU() 379 return MI.getDesc().TSFlags & SIInstrFlags::SOP1; in isSOP1() 387 return MI.getDesc().TSFlags & SIInstrFlags::SOP2; in isSOP2() 395 return MI.getDesc().TSFlags & SIInstrFlags::SOPC; in isSOPC() 403 return MI.getDesc().TSFlags & SIInstrFlags::SOPK; in isSOPK() 411 return MI.getDesc().TSFlags & SIInstrFlags::SOPP; in isSOPP() 419 return MI.getDesc().TSFlags & SIInstrFlags::IsPacked; in isPacked() 427 return MI.getDesc().TSFlags & SIInstrFlags::VOP1; in isVOP1() 435 return MI.getDesc().TSFlags & SIInstrFlags::VOP2; in isVOP2() [all …]
|
| H A D | GCNVOPDUtils.cpp | 78 AMDGPU::getVOPDInstInfo(FirstMI.getDesc(), SecondMI.getDesc()); in checkVOPDRegConstraints() 98 if (MI.getDesc().hasImplicitUseOfPhysReg(AMDGPU::VCC)) in checkVOPDRegConstraints()
|
| H A D | SIPostRABundler.cpp | 110 const uint64_t IMemFlags = MI.getDesc().TSFlags & MemFlags; in isBundleCandidate() 116 const uint64_t IMemFlags = MI.getDesc().TSFlags & MemFlags; in canBundle() 120 ((NextMI.getDesc().TSFlags & MemFlags) == IMemFlags) && in canBundle()
|
| H A D | GCNCreateVOPD.cpp | 78 AMDGPU::getVOPDInstInfo(FirstMI->getDesc(), SecondMI->getDesc()); in doReplace()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCInstrInfo.cpp | 243 uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getMemAccessSize() 250 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getAddrMode() 255 MCInstrDesc const &HexagonMCInstrInfo::getDesc(MCInstrInfo const &MCII, in getDesc() function in HexagonMCInstrInfo 318 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getExtendableOp() 336 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getExtentAlignment() 342 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getExtentBits() 348 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in isExtentSigned() 381 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getNewValueOp() 406 const uint64_t F = HexagonMCInstrInfo::getDesc(MCII, MCI).TSFlags; in getNewValueOp2() 435 int SchedClass = HexagonMCInstrInfo::getDesc(MCII, MCI).getSchedClass(); in getCVIResources() [all …]
|
| H A D | HexagonShuffler.cpp | 131 setLoad(HexagonMCInstrInfo::getDesc(MCII, *id).mayLoad()); in HexagonCVIResource() 132 setStore(HexagonMCInstrInfo::getDesc(MCII, *id).mayStore()); in HexagonCVIResource() 199 MCInst const &Inst = ISJ.getDesc(); in restrictSlot1AOK() 231 MCInst const &Inst = ISJ.getDesc(); in restrictNoSlot1Store() 232 if (HexagonMCInstrInfo::getDesc(MCII, Inst).mayStore()) { in restrictNoSlot1Store() 366 MCInst const &ID = ISJ->getDesc(); in restrictStoreLoadOrder() 373 if (HexagonMCInstrInfo::getDesc(MCII, ID).mayLoad()) { in restrictStoreLoadOrder() 406 if (HexagonMCInstrInfo::getDesc(MCII, ID).mayStore()) { in restrictStoreLoadOrder() 457 MCInst const &ID = ISJ->getDesc(); in GetPacketSummary() 502 if (HexagonMCInstrInfo::getDesc(MCII, ID).isReturn()) in GetPacketSummary() [all …]
|
| H A D | HexagonMCShuffler.cpp | 41 assert(!HexagonMCInstrInfo::getDesc(MCII, MI).isPseudo()); in init() 63 assert(!HexagonMCInstrInfo::getDesc(MCII, *I.getInst()).isPseudo()); in init() 85 MCInst const &MI = I.getDesc(); in copyTo()
|
| H A D | HexagonMCChecker.cpp | 93 const MCInstrDesc &MCID = HexagonMCInstrInfo::getDesc(MCII, MCI); in init() 429 bool Branch = HexagonMCInstrInfo::getDesc(MCII, ConsumerInst).isBranch(); in checkNewValues() 477 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, *ProducerInst); in checkNewValues() 534 unsigned Defs = HexagonMCInstrInfo::getDesc(MCII, Inst).getNumDefs(); in checkRegistersReadOnly() 551 for (unsigned j = HexagonMCInstrInfo::getDesc(MCII, I).getNumDefs(), in registerUsed() 568 MCInstrDesc const &Desc = HexagonMCInstrInfo::getDesc(MCII, I); in registerProducer() 594 HexagonMCInstrInfo::getDesc(MCII, I).mayLoad()) { in checkRegisterCurDefs()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchInstrInfo.cpp | 189 return MI.getDesc().getSize(); in getInstSizeInBytes() 194 assert(MI.getDesc().isBranch() && "Unexpected opcode!"); in getBranchDestBlock() 202 assert(LastInst.getDesc().isConditionalBranch() && in parseCondBranch() 232 if (J->getDesc().isUnconditionalBranch() || in analyzeBranch() 233 J->getDesc().isIndirectBranch()) { in analyzeBranch() 249 if (NumTerminators == 1 && I->getDesc().isUnconditionalBranch()) { in analyzeBranch() 255 if (NumTerminators == 1 && I->getDesc().isConditionalBranch()) { in analyzeBranch() 261 if (NumTerminators == 2 && std::prev(I)->getDesc().isConditionalBranch() && in analyzeBranch() 262 I->getDesc().isUnconditionalBranch()) { in analyzeBranch() 303 if (!I->getDesc().isBranch()) in removeBranch() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrInfo.cpp | 38 assert(LastInst.getDesc().isConditionalBranch() && in parseCondBranch() 65 if (J->getDesc().isUnconditionalBranch() || in analyzeBranch() 66 J->getDesc().isIndirectBranch()) { in analyzeBranch() 82 if (I->getDesc().isIndirectBranch()) in analyzeBranch() 90 if (NumTerminators == 1 && I->getDesc().isUnconditionalBranch()) { in analyzeBranch() 96 if (NumTerminators == 1 && I->getDesc().isConditionalBranch()) { in analyzeBranch() 102 if (NumTerminators == 2 && std::prev(I)->getDesc().isConditionalBranch() && in analyzeBranch() 103 I->getDesc().isUnconditionalBranch()) { in analyzeBranch() 121 if (!I->getDesc().isUnconditionalBranch() && in removeBranch() 122 !I->getDesc().isConditionalBranch()) in removeBranch() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | TargetSchedule.cpp | 94 int UOps = InstrItins.getNumMicroOps(MI->getDesc().getSchedClass()); in getNumMicroOps() 119 unsigned SchedClass = MI->getDesc().getSchedClass(); in resolveSchedClass() 182 unsigned DefClass = DefMI->getDesc().getSchedClass(); in computeOperandLatency() 226 !DefMI->getDesc().operands()[DefOperIdx].isOptionalDef() && in computeOperandLatency() 311 unsigned SchedClass = MI->getDesc().getSchedClass(); in computeReciprocalThroughput()
|
| H A D | ExecutionDomainFix.cpp | 237 const MCInstrDesc &MCID = MI->getDesc(); in processDefs() 259 for (unsigned i = mi->getDesc().getNumDefs(), in visitHardInstr() 260 e = mi->getDesc().getNumOperands(); in visitHardInstr() 271 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitHardInstr() 290 for (unsigned i = mi->getDesc().getNumDefs(), in visitSoftInstr() 291 e = mi->getDesc().getNumOperands(); in visitSoftInstr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86DiscriminateMemOps.cpp | 116 if (BypassPrefetchInstructions && IsPrefetchOpcode(MI.getDesc().Opcode)) in runOnMachineFunction() 132 if (X86II::getMemoryOperandNo(MI.getDesc().TSFlags) < 0) in runOnMachineFunction() 134 if (BypassPrefetchInstructions && IsPrefetchOpcode(MI.getDesc().Opcode)) in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-reduce/deltas/ |
| H A D | ReduceRegisterUses.cpp | 32 MI.getDesc().implicit_defs().size() + in removeUsesFromFunction() 33 MI.getDesc().implicit_uses().size(); in removeUsesFromFunction()
|
| H A D | ReduceRegisterDefs.cpp | 43 MI.getDesc().implicit_defs().size() + in removeDefsFromFunction() 44 MI.getDesc().implicit_uses().size(); in removeDefsFromFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/ |
| H A D | ARMHazardRecognizer.cpp | 31 const MCInstrDesc &MCID = MI->getDesc(); in hasRAWHazard() 52 const MCInstrDesc &MCID = MI->getDesc(); in getHazardType() 55 const MCInstrDesc &LastMCID = LastMI->getDesc(); in getHazardType() 112 uint64_t TSFlags = MI.getDesc().TSFlags; in getBaseOffset()
|
| H A D | ARMBaseRegisterInfo.cpp | 532 const MCInstrDesc &Desc = MI->getDesc(); in getFrameIndexInstrOffset() 724 const MCInstrDesc &Desc = MI->getDesc(); in isFrameOffsetLegal() 840 (MI.getDesc().TSFlags & ARMII::AddrModeMask) == ARMII::AddrMode4 || in eliminateFrameIndex() 841 (MI.getDesc().TSFlags & ARMII::AddrModeMask) == ARMII::AddrMode6 || in eliminateFrameIndex() 842 (MI.getDesc().TSFlags & ARMII::AddrModeMask) == ARMII::AddrModeT2_i7 || in eliminateFrameIndex() 843 (MI.getDesc().TSFlags & ARMII::AddrModeMask) == ARMII::AddrModeT2_i7s2 || in eliminateFrameIndex() 844 (MI.getDesc().TSFlags & ARMII::AddrModeMask) == in eliminateFrameIndex() 854 const MCInstrDesc &MCID = MI.getDesc(); in eliminateFrameIndex()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | Statistic.cpp | 150 return std::strcmp(LHS->getDesc(), RHS->getDesc()) < 0; in sort() 197 MaxDebugTypeLen, Stat->getDebugType(), Stat->getDesc()); in PrintStatistics()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/M68k/ |
| H A D | M68kInstrBuilder.h | 63 const MCInstrDesc &MCID = MI->getDesc(); 80 const MCInstrDesc &MCID = MI->getDesc();
|
| /openbsd-src/gnu/llvm/llvm/lib/MCA/HardwareUnits/ |
| H A D | Scheduler.cpp | 74 const InstrDesc &D = IS->getDesc(); in issueInstructionImpl() 199 uint64_t BusyResourceMask = Resources->checkAvailability(IS.getDesc()); in select() 253 if (Resources->checkAvailability(IS.getDesc())) in analyzeDataDependencies() 291 const InstrDesc &Desc = IR.getInstruction()->getDesc(); in mustIssueImmediately()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVInstrInfo.cpp | 236 uint64_t TSFlags = MBBI->getDesc().TSFlags; in isConvertibleToVMV_V_V() 417 const MCInstrDesc &Desc = DefMBBI->getDesc(); in copyPhysReg() 448 const MCInstrDesc &Desc = DefMBBI->getDesc(); in copyPhysReg() 757 assert(LastInst.getDesc().isConditionalBranch() && in parseCondBranch() 824 if (J->getDesc().isUnconditionalBranch() || in analyzeBranch() 825 J->getDesc().isIndirectBranch()) { in analyzeBranch() 841 if (I->getDesc().isIndirectBranch()) in analyzeBranch() 849 if (NumTerminators == 1 && I->getDesc().isUnconditionalBranch()) { in analyzeBranch() 855 if (NumTerminators == 1 && I->getDesc().isConditionalBranch()) { in analyzeBranch() 861 if (NumTerminators == 2 && std::prev(I)->getDesc().isConditionalBranch() && in analyzeBranch() [all …]
|
| H A D | RISCVInsertVSETVLI.cpp | 48 return RISCVII::getVLOpNum(MI.getDesc()); in getVLOpNum() 52 return RISCVII::getSEWOpNum(MI.getDesc()); in getSEWOpNum() 120 if (!RISCVII::hasSEWOp(MI.getDesc().TSFlags)) in isMaskRegOp() 243 uint64_t TSFlags = MI.getDesc().TSFlags; in getDemanded() 805 assert(Require == computeInfoForInstr(MI, MI.getDesc().TSFlags, MRI)); in needVSETVLI() 852 uint64_t TSFlags = MI.getDesc().TSFlags; in transferBefore() 935 if (isVectorConfigInstr(MI) || RISCVII::hasSEWOp(MI.getDesc().TSFlags)) in computeVLVTYPEChanges() 1066 uint64_t TSFlags = MI.getDesc().TSFlags; in emitVSETVLIs() 1197 const uint64_t TSFlags = MI.getDesc().TSFlags; in doPRE() 1319 MI.setDesc(NextMI->getDesc()); in doLocalPostpass()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonInstrInfo.cpp | 1666 const uint64_t F = MI.getDesc().TSFlags; in isPredicated() 1756 if (!MI.getDesc().isPredicable()) in isPredicable() 1816 if (MI.getDesc().isTerminator() || MI.isPosition()) in isSchedulingBoundary() 2121 const uint64_t F = MI.getDesc().TSFlags; in isAccumulator() 2130 return !isTC1(MI) && !isTC2Early(MI) && !MI.getDesc().mayLoad() && in isComplex() 2131 !MI.getDesc().mayStore() && in isComplex() 2132 MI.getDesc().getOpcode() != Hexagon::S2_allocframe && in isComplex() 2133 MI.getDesc().getOpcode() != Hexagon::L2_deallocframe && in isComplex() 2145 const uint64_t F = MI.getDesc().TSFlags; in isConstExtended() 2204 if (!ProdMI.getDesc().getNumDefs()) in isDependent() [all …]
|
| H A D | HexagonOptAddrMode.cpp | 129 const MCInstrDesc &MID = MI.getDesc(); in INITIALIZE_PASS_DEPENDENCY() 196 const MCInstrDesc &UseMID = UseMI.getDesc(); in canRemoveAddasl() 376 const MCInstrDesc &MID = MI->getDesc(); in getBaseOpPosition() 398 const MCInstrDesc &MID = MI->getDesc(); in getOffsetOpPosition() 425 const MCInstrDesc &MID = MI->getDesc(); in processAddUses() 520 const MCInstrDesc &MID = MI.getDesc(); in analyzeUses() 702 const MCInstrDesc &UseMID = UseMI->getDesc(); in changeAddAsl() 749 const MCInstrDesc &MID = UseMI->getDesc(); in xformUseMI()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsInstrInfo.cpp | 581 return (MI.getDesc().TSFlags & MipsII::IsCTI) == 0; in SafeInForbiddenSlot() 628 return (MI.getDesc().TSFlags & MipsII::HasForbiddenSlot) != 0; in HasForbiddenSlot() 670 return MI.getDesc().getSize(); in getInstSizeInBytes() 741 for (unsigned J = 0, E = I->getDesc().getNumOperands(); J < E; ++J) { in genInstrWithNewOpc() 749 for (unsigned J = I->getDesc().getNumOperands(), E = I->getNumOperands(); in genInstrWithNewOpc() 758 for (unsigned J = 0, E = I->getDesc().getNumOperands(); J < E; ++J) { in genInstrWithNewOpc() 777 const MCInstrDesc &MCID = MI.getDesc(); in findCommutedOpIndices()
|