Home
last modified time | relevance | path

Searched refs:getInst (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryDependenceAnalysis.cpp652 if (Instruction *Inst = LocalCache.getInst()) { in getDependency()
690 if (Instruction *I = LocalCache.getInst()) in getDependency()
820 if (Instruction *Inst = Dep.getInst()) in getNonLocalCallDependency()
971 Instruction *Inst = Dep.getInst(); in getNonLocalInfoForBlock()
1475 Instruction *Target = DE.getResult().getInst(); in removeCachedNonLocalPointerDependencies()
1511 if (Instruction *Inst = Entry.getResult().getInst()) in removeInstruction()
1574 assert(NewDirtyVal.getInst() && in removeInstruction()
1602 if (Entry.getResult().getInst() != RemInst) in removeInstruction()
1608 if (Instruction *NextI = NewDirtyVal.getInst()) in removeInstruction()
1642 if (Entry.getResult().getInst() != RemInst) in removeInstruction()
[all …]
H A DMemDepPrinter.cpp66 return InstTypePair(dep.getInst(), Clobber); in getInstTypePair()
68 return InstTypePair(dep.getInst(), Def); in getInstTypePair()
70 return InstTypePair(dep.getInst(), NonFuncLocal); in getInstTypePair()
72 return InstTypePair(dep.getInst(), Unknown); in getInstTypePair()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCDuplexInfo.cpp1043 if (isStoreInst(MCB.getOperand(j).getInst()->getOpcode()) && in getDuplexPossibilties()
1044 isStoreInst(MCB.getOperand(k).getInst()->getOpcode())) { in getDuplexPossibilties()
1054 MCII, *MCB.getOperand(k).getInst(), in getDuplexPossibilties()
1056 *MCB.getOperand(j).getInst(), in getDuplexPossibilties()
1061 getDuplexCandidateGroup(*MCB.getOperand(k).getInst()), in getDuplexPossibilties()
1062 getDuplexCandidateGroup(*MCB.getOperand(j).getInst())); in getDuplexPossibilties()
1079 MCII, *MCB.getOperand(j).getInst(), in getDuplexPossibilties()
1081 *MCB.getOperand(k).getInst(), in getDuplexPossibilties()
1086 getDuplexCandidateGroup(*MCB.getOperand(j).getInst()), in getDuplexPossibilties()
1087 getDuplexCandidateGroup(*MCB.getOperand(k).getInst())); in getDuplexPossibilties()
[all …]
H A DHexagonInstPrinter.cpp41 MCInst const &MCI = *I.getInst(); in printInst()
43 printInstruction(MCI.getOperand(1).getInst(), Address, OS); in printInst()
46 printInstruction(MCI.getOperand(0).getInst(), Address, OS); in printInst()
H A DHexagonMCShuffler.cpp38 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
63 assert(!HexagonMCInstrInfo::getDesc(MCII, *I.getInst()).isPseudo()); in init()
64 MCInst &MI = *const_cast<MCInst *>(I.getInst()); in init()
H A DHexagonMCInstrInfo.cpp62 MCInst const &Inst = *BundleCurrent->getInst(); in operator ++()
73 return *DuplexCurrent->getInst(); in operator *()
74 return *BundleCurrent->getInst(); in operator *()
228 MCB.getOperand(Index + bundleInstructionsOffset - 1).getInst(); in extenderForIndex()
489 if (HexagonMCInstrInfo::isDuplex(MCII, *I.getInst())) in hasDuplex()
505 if (isImmext(*I.getInst())) in hasImmExt()
529 return *MCB.getOperand(bundleInstructionsOffset + Index).getInst(); in instruction()
982 MCInst const &MCI = *HMI.getInst(); in slotsConsumed()
1000 *MCB.getOperand(Candidate.packetIndexJ).getInst(), in replaceDuplex()
1001 *MCB.getOperand(Candidate.packetIndexI).getInst()); in replaceDuplex()
H A DHexagonAsmBackend.cpp577 MCInst const &MCB = DF->getInst(); in fixupNeedsRelaxationAdvanced()
666 MCInst &CrntHMI = const_cast<MCInst &>(*I.getInst()); in relaxInstruction()
682 Res.addOperand(MCOperand::createInst(I.getInst())); in relaxInstruction()
738 auto &Inst = const_cast<MCInst &>(RF.getInst()); in finishLayout()
H A DHexagonMCChecker.cpp57 MCInst const &Inst = *I.getInst(); in init()
59 init(*Inst.getOperand(0).getInst()); in init()
60 init(*Inst.getOperand(1).getInst()); in init()
536 MCInst const &Inst = *I.getInst(); in checkRegistersReadOnly()
680 if (HexagonMCInstrInfo::getType(MCII, *HMI.getInst()) == in checkRegisters()
H A DHexagonMCCodeEmitter.cpp381 MCInst &HMI = const_cast<MCInst &>(*I.getInst()); in encodeInstruction()
433 const MCInst *Sub0 = MI.getOperand(0).getInst(); in EncodeSingleInstruction()
434 const MCInst *Sub1 = MI.getOperand(1).getInst(); in EncodeSingleInstruction()
470 if (I->getInst() != &MI) in getFixupNoBits()
473 const MCInst &NextI = *(I+1)->getInst(); in getFixupNoBits()
735 MCInst const &Inst = *I->getInst(); in getMachineOpValue()
H A DHexagonMCCompound.cpp356 MCInst const *JumpInst = J->getInst(); in lookForCompound()
367 MCInst const *Inst = B->getInst(); in lookForCompound()
H A DHexagonMCELFStreamer.cpp71 MCInst *MCI = const_cast<MCInst *>(I.getInst()); in emitInstruction()
H A DHexagonShuffler.cpp554 MCInst const &Inst0 = *ID.getOperand(0).getInst(); in GetPacketSummary()
555 MCInst const &Inst1 = *ID.getOperand(1).getInst(); in GetPacketSummary()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DDataflowAnalysis.h84 MCInst *getInst() const { in getInst() function
241 return getOrCreateStateAt(*Point.getInst()); in getOrCreateStateAt()
288 return getStateAt(*Point.getInst()); in getStateAt()
301 return getStateAt(PrevPoint[Point.getInst()]); in getStateBefore()
363 if (P.isInst() && BC.MIB->isInvoke(*P.getInst())) in run()
365 *P.getInst()); in run()
H A DDataflowInfoManager.h61 return PP.isBB() ? PP.getBB() : getInsnToBBMap()[PP.getInst()]; in getParentBB()
H A DDominatorAnalysis.h80 return doesADominateB(*A.getInst(), B); in doesADominateB()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DShrinkWrapping.cpp989 BC.printInstruction(dbgs(), *PP.getInst()); in doRestorePlacement()
995 if (PP.isInst() && BC.MIB->isTerminator(*PP.getInst()) && in doRestorePlacement()
996 doesInstUsesCSR(*PP.getInst(), CSR)) { in doRestorePlacement()
1006 if (PP.isInst() && BC.MIB->isInvoke(*PP.getInst())) { in doRestorePlacement()
1041 PP.getInst()->dump(); in doRestorePlacement()
1241 PP.getInst()->dump(); in scheduleSaveRestoreInsertions()
1246 FrontierBB->getTerminatorBefore(PP.isInst() ? PP.getInst() : nullptr); in scheduleSaveRestoreInsertions()
1251 auto Iter = FrontierBB->findInstruction(PP.getInst()); in scheduleSaveRestoreInsertions()
1258 (doesInstUsesCSR(*PP.getInst(), CSR) || PrecededByPrefix)) { in scheduleSaveRestoreInsertions()
1259 assert(!InsnToBB[PP.getInst()]->hasTerminatorAfter(PP.getInst()) && in scheduleSaveRestoreInsertions()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/MCA/
H A DInstrBuilder.h39 Instruction *getInst() const { return RecycledInst; } in getInst() function
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DMCPlus.h109 assert(std::prev(Inst.end())->getInst()->getOpcode() == in getNumPrimeOperands()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCInst.cpp41 getInst()->print(OS, RegInfo); in print()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/Disassembler/
H A DHexagonDisassembler.cpp210 auto &MI = const_cast<MCInst &>(*I.getInst()); in remapInstruction()
488 bool CurrentVector = HexagonMCInstrInfo::isVector(*MCII, *i->getInst()); in getSingleInstruction()
492 if (HexagonMCInstrInfo::isImmext(*i->getInst()) && (Vector == PrevVector)) in getSingleInstruction()
498 auto const &Inst = *i->getInst(); in getSingleInstruction()
528 ? *MI.getOperand(1).getInst() in getSingleInstruction()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp775 auto &Inst = RF.getInst(); in isFullyRelaxed()
801 Emitter.emitPrefix(RF.getInst(), VecOS, STI); in padInstructionViaPrefix()
819 const uint8_t Prefix = determinePaddingPrefix(RF.getInst()); in padInstructionViaPrefix()
843 MCInst Relaxed = RF.getInst(); in padInstructionViaRelaxation()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCInst.h124 const MCInst *getInst() const { in getInst() function
/llvm-project-15.0.7/llvm/unittests/tools/llvm-mca/X86/
H A DTestIncrementalMCA.cpp137 RecycledInst = RC.getInst(); in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DPeepholeOptimizer.cpp304 const MachineInstr *getInst() const { return Inst; } in getInst() function in __anon4a9001390111::ValueTrackerResult
337 if (Other.getInst() != getInst()) in operator ==()
1165 MachineInstr &OrigPHI = const_cast<MachineInstr &>(*Res.getInst()); in getNewSource()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DDFAJumpThreading.cpp125 SelectInst *getInst() { return SI; } in getInst() function in __anon91a52f600111::SelectInstToUnfold
246 SelectInst *SI = SIToUnfold.getInst(); in unfold()
522 SelectInst *PrevSI = SIToUnfold.getInst(); in isValidSelectInst()

12