Home
last modified time | relevance | path

Searched refs:getBasicBlockIndex (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DEVLIndVarSimplify.cpp196 if (PN.getBasicBlockIndex(InitBlock) < 0 || in run()
197 PN.getBasicBlockIndex(BackEdgeBlock) < 0) in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp267 assert(EpilogPN->getBasicBlockIndex(EpilogPreHeader) >= 0 && in ConnectEpilog()
270 EpilogPN->setIncomingBlock(EpilogPN->getBasicBlockIndex(EpilogPreHeader), in ConnectEpilog()
428 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks()
431 idx = NewPHI->getBasicBlockIndex(Latch); in CloneLoopBlocks()
H A DCallPromotionUtils.cpp59 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForNormalDest()
91 int Idx = Phi.getBasicBlockIndex(OrigBlock); in fixupPHINodeForUnwindDest()
H A DControlFlowUtils.cpp249 if (Phi->getBasicBlockIndex(BB) != -1) { in reconnectPhis()
H A DBreakCriticalEdges.cpp204 BBIdx = PN->getBasicBlockIndex(TIBB); in SplitKnownCriticalEdge()
H A DLowerSwitch.cpp213 int BlockIdx = PN->getBasicBlockIndex(OrigBlock); in NewLeafBlock()
H A DSimplifyCFG.cpp1758 PN->setIncomingValue(PN->getBasicBlockIndex(BB), NewLoadStore); in hoistConditionalLoadsStores()
3375 unsigned OrigI = PN.getBasicBlockIndex(BB); in speculativelyExecuteBB()
3376 unsigned ThenI = PN.getBasicBlockIndex(ThenBB); in speculativelyExecuteBB()
4724 unsigned PBBIdx = PN.getBasicBlockIndex(PBI->getParent()); in SimplifyCondBranchToCondBranch()
5232 while (PhiLPInst->getBasicBlockIndex(TrivialBB) != -1) in simplifyCommonResume()
5320 int Idx = DestPN.getBasicBlockIndex(BB); in removeEmptyCleanup()
5913 int Idx = PHI.getBasicBlockIndex(BB); in findPHIForConditionForwarding()
5957 int SwitchBBIdx = Phi.getBasicBlockIndex(SwitchBlock); in forwardSwitchConditionToPHI()
6107 int Idx = PHI.getBasicBlockIndex(Pred); in getCaseResults()
H A DLoopRotationUtils.cpp109 PN->removeIncomingValue(PN->getBasicBlockIndex(OrigPreheader)); in RewriteUsesOfClonedInstructions()
H A DBasicBlockUtils.cpp685 BBIdx = PN.getBasicBlockIndex(OldPred); in updatePhiNodes()
849 int Idx = PN.getBasicBlockIndex(SplitBB); in createPHIsForSplitLoopExit()
H A DLoopUtils.cpp472 int LatchIdx = PN->getBasicBlockIndex(LatchBlock); in isAlmostDeadIV()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemorySSAUpdater.cpp289 int i = MP->getBasicBlockIndex(BB); in setMemoryPhiValueForBlock()
1245 MPhi->setIncomingBlock(MPhi->getBasicBlockIndex(From), To); in moveAllAfterSpliceBlocks()
1255 MPhi->setIncomingBlock(MPhi->getBasicBlockIndex(From), To); in moveAllAfterMergeBlocks()
H A DIVDescriptors.cpp1130 if (Phi->getBasicBlockIndex(Preheader) < 0 || in isFixedOrderRecurrence()
1131 Phi->getBasicBlockIndex(Latch) < 0) in isFixedOrderRecurrence()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h574 int getBasicBlockIndex(const BasicBlock *BB) const {
582 int Idx = getBasicBlockIndex(BB);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp486 int PreheaderIdx = ExitVal->getBasicBlockIndex(LoopPreheader); in rewriteFirstIterationLoopExitValues()
748 int Idx = Phi->getBasicBlockIndex(L->getLoopLatch()); in needsLFTR()
814 int LatchIdx = Phi->getBasicBlockIndex(L->getLoopLatch()); in isLoopCounter()
H A DLoopFuse.cpp1677 int L1LatchBBIdx = LCPHI->getBasicBlockIndex(FC1.Latch); in performFusion()
1962 int L1LatchBBIdx = LCPHI->getBasicBlockIndex(FC1.Latch); in fuseGuardedLoops()
H A DMergeICmps.cpp768 if (Phi.getBasicBlockIndex(SinglePredecessor) < 0) { in getOrderedBlocks()
H A DStructurizeCFG.cpp666 while (Phi.getBasicBlockIndex(From) != -1) { in delPhiValues()
/freebsd/contrib/llvm-project/llvm/lib/SandboxIR/
H A DInstruction.cpp885 Tracker.emplaceIfTracking<PHIRemoveIncoming>(this, getBasicBlockIndex(BB)); in removeIncomingValue()
893 int PHINode::getBasicBlockIndex(const BasicBlock *BB) const { in getBasicBlockIndex() function in llvm::sandboxir::PHINode
895 return cast<llvm::PHINode>(Val)->getBasicBlockIndex(LLVMBB); in getBasicBlockIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstructions.h2794 int Idx = getBasicBlockIndex(BB);
2807 int getBasicBlockIndex(const BasicBlock *BB) const {
2815 int Idx = getBasicBlockIndex(BB);
2847 return getBasicBlockIndex(Pred) >= 0;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp1178 if (CurrentPHINode->getBasicBlockIndex(LatchBB) < 0) in getNodeForInc()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp1062 int OldBlockIdx = SuccPN.getBasicBlockIndex(OldBlock); in cloneCommonBlocks()
H A DComplexDeinterleavingPass.cpp1670 auto BackEdgeIdx = PHI.getBasicBlockIndex(B); in collectPotentialReductions()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp1776 assert(PN.getBasicBlockIndex(NewPred) == -1); in handleLongjmpableCallsForWasmSjLj()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1603 unsigned J = PN.getBasicBlockIndex(BBB); in visitPHINode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1306 int Index = PN->getBasicBlockIndex(InsertedBB); in movePHIValuesToInsertedBlock()

12