Home
last modified time | relevance | path

Searched refs:getDesc (Results 1 – 25 of 161) sorted by relevance

1234567

/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DSIInstrInfo.h355 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 …]
DGCNVOPDUtils.cpp78 AMDGPU::getVOPDInstInfo(FirstMI.getDesc(), SecondMI.getDesc()); in checkVOPDRegConstraints()
98 if (MI.getDesc().hasImplicitUseOfPhysReg(AMDGPU::VCC)) in checkVOPDRegConstraints()
DSIPostRABundler.cpp110 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()
DGCNCreateVOPD.cpp78 AMDGPU::getVOPDInstInfo(FirstMI->getDesc(), SecondMI->getDesc()); in doReplace()
/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCInstrInfo.cpp243 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 …]
DHexagonShuffler.cpp131 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 …]
DHexagonMCShuffler.cpp41 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()
DHexagonMCChecker.cpp93 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/CodeGen/
DTargetSchedule.cpp94 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()
DExecutionDomainFix.cpp237 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()
DTargetInstrInfo.cpp169 const MCInstrDesc &MCID = MI.getDesc(); in commuteInstructionImpl()
204 MI.getDesc().getOperandConstraint(Idx1, MCOI::TIED_TO) == 0) { in commuteInstructionImpl()
209 MI.getDesc().getOperandConstraint(Idx2, MCOI::TIED_TO) == 0) { in commuteInstructionImpl()
299 const MCInstrDesc &MCID = MI.getDesc(); in findCommutedOpIndices()
335 const MCInstrDesc &MCID = MI.getDesc(); in PredicateInstruction()
1258 unsigned Class = MI.getDesc().getSchedClass(); in getNumMicroOps()
1292 return ItinData->getStageLatency(MI.getDesc().getSchedClass()); in getInstrLatency()
1302 unsigned DefClass = DefMI.getDesc().getSchedClass(); in hasLowDefLatency()
1395 unsigned DefClass = DefMI.getDesc().getSchedClass(); in getOperandLatency()
1396 unsigned UseClass = UseMI.getDesc().getSchedClass(); in getOperandLatency()
DPeepholeOptimizer.cpp889 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter()
1189 assert(MI.getDesc().getNumDefs() == 1 && in optimizeCoalescableCopy()
1334 const MCInstrDesc &MCID = MI.getDesc(); in isLoadFoldable()
1353 const MCInstrDesc &MCID = MI.getDesc(); in isMoveImmediate()
1374 for (unsigned i = 0, e = MI.getDesc().getNumOperands(); i != e; ++i) { in foldImmediate()
1529 if (MI.getDesc().getNumDefs() != 1) in findTargetRecurrence()
1768 const MCInstrDesc &MIDesc = MI->getDesc(); in runOnMachineFunction()
1850 if (Def->getDesc().getNumDefs() != 1) in getNextSourceFromBitcast()
2066 (DefIdx < Def->getDesc().getNumDefs() || in getNextSourceImpl()
2067 Def->getDesc().isVariadic())) || in getNextSourceImpl()
DCriticalAntiDepBreaker.cpp188 if (i < MI.getDesc().getNumOperands()) in PrescanInstruction()
189 NewRC = TII->getRegClass(MI.getDesc(), i, TRI, MF); in PrescanInstruction()
322 if (i < MI.getDesc().getNumOperands()) in ScanInstruction()
323 NewRC = TII->getRegClass(MI.getDesc(), i, TRI, MF); in ScanInstruction()
/openbsd/src/gnu/llvm/llvm/lib/Target/X86/
DX86DiscriminateMemOps.cpp116 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/
DReduceRegisterUses.cpp32 MI.getDesc().implicit_defs().size() + in removeUsesFromFunction()
33 MI.getDesc().implicit_uses().size(); in removeUsesFromFunction()
DReduceRegisterDefs.cpp43 MI.getDesc().implicit_defs().size() + in removeDefsFromFunction()
44 MI.getDesc().implicit_uses().size(); in removeDefsFromFunction()
/openbsd/src/gnu/llvm/llvm/lib/Target/ARM/
DARMHazardRecognizer.cpp31 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()
DARMBaseRegisterInfo.cpp532 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/
DStatistic.cpp150 return std::strcmp(LHS->getDesc(), RHS->getDesc()) < 0; in sort()
197 MaxDebugTypeLen, Stat->getDebugType(), Stat->getDesc()); in PrintStatistics()
/openbsd/src/gnu/llvm/llvm/lib/MCA/HardwareUnits/
DScheduler.cpp74 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/
DRISCVInstrInfo.cpp236 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 …]
DRISCVInsertVSETVLI.cpp48 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/
DHexagonInstrInfo.cpp1666 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 …]
DHexagonOptAddrMode.cpp129 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/
DMipsInstrInfo.cpp581 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()

1234567