Home
last modified time | relevance | path

Searched refs:phis (Results 1 – 25 of 97) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanConstruction.cpp326 for (VPRecipeBase &R : EB->phis()) { in buildPlainCFG()
373 for (VPRecipeBase &R : cast<VPBasicBlock>(HeaderVPB)->phis()) in canonicalHeaderAndLatch()
506 for (VPRecipeBase &R : EB->phis()) in prepareForVectorization()
613 for (VPRecipeBase &R : cast<VPBasicBlock>(ScalarPH)->phis()) { in attachCheckBlock()
668 for (auto &R : LoopRegion->getEntryBasicBlock()->phis()) { in handleMaxMinNumReductions()
758 for (auto &R : ScalarPH->phis()) { in handleMaxMinNumReductions()
H A DVPlanTransforms.cpp462 for (auto &Phi : Plan.getVectorLoopRegion()->getEntryBasicBlock()->phis()) { in removeRedundantInductionCasts()
507 for (VPRecipeBase &Phi : HeaderVPBB->phis()) { in removeRedundantCanonicalIVs()
632 for (VPRecipeBase &Phi : HeaderVPBB->phis()) { in legalizeAndOptimizeInductions()
880 for (VPRecipeBase &R : ExitVPBB->phis()) { in optimizeInductionExitUsers()
1370 for (VPRecipeBase &Phi : HeaderVPBB->phis()) { in optimizeVectorInductionWidthForTCAndVFUF()
1485 Header->phis(), in simplifyBranchConditionForVFAndUF()
1487 for (VPRecipeBase &HeaderR : make_early_inc_range(Header->phis())) { in simplifyBranchConditionForVFAndUF()
1700 Plan.getVectorLoopRegion()->getEntry()->getEntryBasicBlock()->phis()) in adjustFixedOrderRecurrences()
1743 Plan.getVectorLoopRegion()->getEntryBasicBlock()->phis()) { in clearReductionWrapFlags()
1911 for (VPRecipeBase &R : RemovedSucc->phis()) { in removeBranchOnConst()
[all …]
H A DEVLIndVarSimplify.cpp190 for (PHINode &PN : BB->phis()) { in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopInterchange.cpp897 for (PHINode &PHI : L->getHeader()->phis()) { in findInductionAndReductions()
1012 for (PHINode &PHI : L->getHeader()->phis()) { in findInductions()
1027 for (PHINode &PHI : InnerExit->phis()) { in areInnerLoopExitPHIsSupported()
1051 for (PHINode &PHI : LoopNestExit->phis()) { in areOuterLoopExitPHIsSupported()
1098 for (PHINode &PHI : InnerLoopLatch->phis()) { in areInnerLoopLatchPHIsSupported()
1679 for (PHINode &P : make_early_inc_range(InnerExit->phis())) { in moveLCSSAPhis()
1708 llvm::make_pointer_range(InnerExit->phis())); in moveLCSSAPhis()
1711 llvm::make_pointer_range(InnerLatch->phis())); in moveLCSSAPhis()
1731 for (PHINode &P : OuterExit->phis()) { in moveLCSSAPhis()
1877 for (PHINode &PHI : InnerLoopHeader->phis()) in adjustLoopBranches()
[all …]
H A DLoopDeletion.cpp75 for (PHINode &P : ExitBlock->phis()) { in isLoopDead()
318 for (auto &PN : BB->phis()) { in canProveExitOnFirstIteration()
469 for (PHINode &P : ExitBlock->phis()) { in deleteLoopIfDead()
H A DReg2Mem.cpp86 for (auto &Phi : BB.phis()) in runPass()
H A DLoopBoundSplit.cpp364 for (PHINode &PN : L.getHeader()->phis()) { in splitLoopBound()
433 for (PHINode &PN : PostLoop->getExitBlock()->phis()) { in splitLoopBound()
H A DCallSiteSplitting.cpp336 for (PHINode &PN : TailBB->phis()) { in splitCallSite()
422 for (auto &PN : Parent->phis()) { in isPredicatedOnPHI()
H A DIndVarSimplify.cpp410 SmallVector<WeakTrackingVH, 8> PHIs(llvm::make_pointer_range(Header->phis())); in rewriteNonIntegerIVs()
445 for (PHINode &PN : ExitBB->phis()) { in rewriteFirstIterationLoopExitValues()
602 llvm::make_pointer_range(L->getHeader()->phis())); in simplifyAndExtend()
1190 for (auto &PN : LoopHeader->phis()) { in replaceLoopPHINodesWithPreheaderValues()
1755 if (!ExitBlock->phis().empty()) in predicateLoopExits()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DPhiValues.cpp169 for (const PHINode &PN : BB.phis()) { in print()
202 for (const PHINode &PN : BB.phis()) in run()
H A DLoopNestAnalysis.cpp339 return any_of(ExitBlock.phis(), [](const PHINode &PN) { in checkLoopsStructure()
350 all_of(BB.phis(), [&](const PHINode &PN) { in checkLoopsStructure()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DUnreachableBlockElim.cpp160 for (MachineInstr &Phi : succ->phis()) { in run()
190 for (MachineInstr &Phi : make_early_inc_range(BB.phis())) { in run()
H A DWindowScheduler.cpp377 for (auto &Phi : MBB->phis()) { in generateTripleMBB()
535 for (auto &Phi : MBB->phis()) { in schedulePhi()
575 for (auto &Phi : MBB->phis()) in getIssueOrder()
H A DModuloSchedule.cpp795 for (MachineInstr &MI : llvm::make_early_inc_range(KernelBB->phis())) { in removeDeadInstructions()
817 for (auto &PHI : KernelBB->phis()) { in splitLifetimes()
1137 for (auto &PHI : BB->phis()) { in rewritePhiValues()
1255 for (MachineInstr &MI : llvm::make_early_inc_range(MBB->phis())) { in EliminateDeadPhis()
1695 for (MachineInstr &MI : DestBB->phis()) { in moveStageBetweenBlocks()
1811 for (MachineInstr &Phi : B->phis()) in peelPrologAndEpilogs()
1837 for (MachineInstr &MI : (*EI)->phis()) { in peelPrologAndEpilogs()
1892 for (MachineInstr &MI : BB->phis()) { in CreateLCSSAExitingBlock()
1998 for (MachineInstr &P : Fallthrough->phis()) { in fixupBranches()
2008 for (MachineInstr &P : Epilog->phis()) { in fixupBranches()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DBasicBlock.h528 iterator_range<const_phi_iterator> phis() const { in phis() function
529 return const_cast<BasicBlock *>(this)->phis(); in phis()
531 LLVM_ABI iterator_range<phi_iterator> phis();
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteUndefForPHI.cpp104 for (auto &PHI : BB.phis()) { in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp110 for (PHINode &PN : Succ->phis()) { in ConnectProlog()
235 for (PHINode &PN : NewExit->phis()) { in ConnectEpilog()
286 for (PHINode &PN : Succ->phis()) { in ConnectEpilog()
849 for (PHINode &PN : BB->phis()) { in UnrollRuntimeLoopRemainder()
H A DLoopUnrollAndJam.cpp155 for (auto &Phi : Header->phis()) { in processHeaderPhiOperands()
442 for (PHINode &Phi : ForeBlocksFirst[It]->phis()) { in UnrollAndJamLoop()
465 for (PHINode &Phi : BB->phis()) { in UnrollAndJamLoop()
H A DCanonicalizeFreezeInLoops.cpp159 for (auto &PHI : L->getHeader()->phis()) { in run()
H A DLoopConstrainer.cpp510 for (PHINode &PN : SBB->phis()) { in cloneLoop()
651 for (PHINode &PN : LS.Header->phis()) { in changeIterationSpaceEnd()
677 for (PHINode &PN : LS.Header->phis()) in rewriteIncomingValuesForPHIs()
H A DLowerSwitch.cpp118 for (auto &I : SuccBB->phis()) { in FixPhis()
197 for (auto &I : Default->phis()) { in NewLeafBlock()
H A DCallPromotionUtils.cpp58 for (PHINode &Phi : Invoke->getNormalDest()->phis()) { in fixupPHINodeForNormalDest()
90 for (PHINode &Phi : Invoke->getUnwindDest()->phis()) { in fixupPHINodeForUnwindDest()
H A DBasicBlockUtils.cpp167 SmallVector<WeakTrackingVH, 8> PHIs(llvm::make_pointer_range(BB->phis())); in DeleteDeadPHIs()
217 for (PHINode &PN : BB->phis()) in MergeBlockIntoPredecessor()
227 for (PHINode &PN : BB->phis()) in MergeBlockIntoPredecessor()
673 for (PHINode &PN : DestBB->phis()) { in updatePhiNodes()
848 for (PHINode &PN : DestBB->phis()) { in createPHIsForSplitLoopExit()
H A DSimplifyCFG.cpp345 return all_of(BB->phis(), [IncomingBlocks, EquivalenceSet](PHINode &PN) { in incomingValuesAreCompatible()
395 for (PHINode &PN : Succ->phis()) in addPredecessorToBlock()
1463 for (const PHINode &PN : Succ->phis()) { in isSafeToHoistInvoke()
2027 for (PHINode &PN : Succ->phis()) { in hoistSuccIdenticalTerminatorToSwitchOrIf()
2078 for (PHINode &PN : Succ->phis()) { in hoistSuccIdenticalTerminatorToSwitchOrIf()
2412 for (PHINode &PN : BB->phis()) { in sinkCommonCodeFromPredecessors()
3061 for (PHINode &PN : EndBB->phis()) { in validateAndCostRequiredSelects()
3374 for (PHINode &PN : EndBB->phis()) { in speculativelyExecuteBB()
4495 if (!IfFalseBB->phis().empty()) in tryWidenCondBranchToCondBranch()
4722 for (PHINode &PN : CommonDest->phis()) { in SimplifyCondBranchToCondBranch()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h77 for (auto &P : BB->phis()) { in getEquivalentPHIs()

1234