Home
last modified time | relevance | path

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

1234

/openbsd/src/gnu/gcc/gcc/
Dtree-into-ssa.c830 prune_unused_phi_nodes (bitmap phis, bitmap kills, bitmap uses) in prune_unused_phi_nodes() argument
845 bitmap_clear (phis); in prune_unused_phi_nodes()
853 bitmap_and_compl_into (phis, to_remove); in prune_unused_phi_nodes()
854 if (bitmap_empty_p (phis)) in prune_unused_phi_nodes()
878 bitmap_ior (to_remove, kills, phis); in prune_unused_phi_nodes()
956 if (bitmap_bit_p (phis, b)) in prune_unused_phi_nodes()
963 if (!bitmap_bit_p (phis, p)) in prune_unused_phi_nodes()
993 bitmap_copy (phis, live_phis); in prune_unused_phi_nodes()
1094 tree_vec phis; in mark_phi_for_rewrite() local
1109 phis = VEC_index (tree_vec, phis_to_rewrite, idx); in mark_phi_for_rewrite()
[all …]
Dlambda-code.c2462 VEC(tree,heap) *phis = NULL; in perfect_nestify()
2473 VEC_reserve (tree, heap, phis, 2); in perfect_nestify()
2474 VEC_quick_push (tree, phis, PHI_RESULT (phi)); in perfect_nestify()
2475 VEC_quick_push (tree, phis, PHI_ARG_DEF (phi, 0)); in perfect_nestify()
2488 while (VEC_length (tree, phis) != 0) in perfect_nestify()
2492 def = VEC_pop (tree, phis); in perfect_nestify()
2493 phiname = VEC_pop (tree, phis); in perfect_nestify()
2498 VEC_free (tree, heap, phis); in perfect_nestify()
Dtree-ssa-pre.c296 int phis; member
1837 VEC (tree, heap) *phis = NULL; in compute_vuse_representatives()
1847 VEC_safe_push (tree, heap, phis, phi); in compute_vuse_representatives()
1854 for (i = 0; VEC_iterate (tree, phis, i, phi); i++) in compute_vuse_representatives()
1888 for (i = 0; VEC_iterate (tree, phis, i, phi); i++) in compute_vuse_representatives()
1899 VEC_free (tree, heap, phis); in compute_vuse_representatives()
2609 pre_stats.phis++; in insert_into_preds_of_block()
3918 fprintf (dump_file, "New PHIs: %d\n", pre_stats.phis); in execute_pre()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp738 for (PHINode &PHI : L->getHeader()->phis()) { in findInductionAndReductions()
853 for (PHINode &PHI : L->getHeader()->phis()) { in findInductions()
868 for (PHINode &PHI : InnerExit->phis()) { in areInnerLoopExitPHIsSupported()
892 for (PHINode &PHI : LoopNestExit->phis()) { in areOuterLoopExitPHIsSupported()
939 for (PHINode &PHI : InnerLoopLatch->phis()) { in areInnerLoopLatchPHIsSupported()
1463 for (PHINode &P : make_early_inc_range(InnerExit->phis())) { in moveLCSSAPhis()
1492 for (PHINode &P : InnerExit->phis()) in moveLCSSAPhis()
1496 for (PHINode &P : InnerLatch->phis()) in moveLCSSAPhis()
1517 for (PHINode &P : OuterExit->phis()) { in moveLCSSAPhis()
1663 for (PHINode &PHI : InnerLoopHeader->phis()) in adjustLoopBranches()
[all …]
DLoopDeletion.cpp77 for (PHINode &P : ExitBlock->phis()) { in isLoopDead()
320 for (auto &PN : BB->phis()) { in canProveExitOnFirstIteration()
464 for (PHINode &P : ExitBlock->phis()) { in deleteLoopIfDead()
DReg2Mem.cpp87 for (auto &Phi : BB.phis()) in runPass()
DLoopBoundSplit.cpp365 for (PHINode &PN : L.getHeader()->phis()) { in splitLoopBound()
434 for (PHINode &PN : PostLoop->getExitBlock()->phis()) { in splitLoopBound()
DCallSiteSplitting.cpp338 for (PHINode &PN : TailBB->phis()) { in splitCallSite()
421 for (auto &PN : Parent->phis()) { in isPredicatedOnPHI()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DDivergenceAnalysis.cpp194 for (const auto &Phi : DivExit.phis()) { in analyzeLoopExitDivergence()
223 for (const auto &Phi : UserBlock->phis()) { in analyzeLoopExitDivergence()
277 for (const auto &Phi : JoinBlock.phis()) { in taintAndPushPhiNodes()
DPhiValues.cpp167 for (const PHINode &PN : BB.phis()) { in print()
200 for (const PHINode &PN : BB.phis()) in run()
DLoopNestAnalysis.cpp339 return any_of(ExitBlock.phis(), [](const PHINode &PN) { in checkLoopsStructure()
350 all_of(BB.phis(), [&](const PHINode &PN) { in checkLoopsStructure()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DBasicBlock.h372 iterator_range<const_phi_iterator> phis() const { in phis() function
373 return const_cast<BasicBlock *>(this)->phis(); in phis()
375 iterator_range<phi_iterator> phis();
/openbsd/src/gnu/llvm/llvm/examples/IRTransforms/
DSimplifyCFG.cpp282 for (PHINode &PN : make_early_inc_range(BB.phis())) { in mergeIntoSinglePredecessor_v1()
333 for (PHINode &PN : make_early_inc_range(BB.phis())) { in mergeIntoSinglePredecessor_v2()
/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DAMDGPURewriteUndefForPHI.cpp107 for (auto &PHI : BB.phis()) { in INITIALIZE_PASS_DEPENDENCY()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp100 for (PHINode &PN : Succ->phis()) { in ConnectProlog()
218 for (PHINode &PN : NewExit->phis()) { in ConnectEpilog()
269 for (PHINode &PN : Succ->phis()) { in ConnectEpilog()
825 for (PHINode &PN : BB->phis()) { in UnrollRuntimeLoopRemainder()
DCallPromotionUtils.cpp52 for (PHINode &Phi : Invoke->getNormalDest()->phis()) { in fixupPHINodeForNormalDest()
84 for (PHINode &Phi : Invoke->getUnwindDest()->phis()) { in fixupPHINodeForUnwindDest()
DLoopUnrollAndJam.cpp157 for (auto &Phi : Header->phis()) { in processHeaderPhiOperands()
440 for (PHINode &Phi : ForeBlocksFirst[It]->phis()) { in UnrollAndJamLoop()
463 for (PHINode &Phi : BB->phis()) { in UnrollAndJamLoop()
DCanonicalizeFreezeInLoops.cpp130 for (auto &PHI : L->getHeader()->phis()) { in run()
DLowerSwitch.cpp121 for (auto &I : SuccBB->phis()) { in FixPhis()
200 for (auto &I : Default->phis()) { in NewLeafBlock()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DVPlanTransforms.cpp343 for (auto &Phi : Plan.getVectorLoopRegion()->getEntryBasicBlock()->phis()) { in removeRedundantInductionCasts()
387 for (VPRecipeBase &Phi : HeaderVPBB->phis()) { in removeRedundantCanonicalIVs()
428 for (VPRecipeBase &Phi : HeaderVPBB->phis()) { in optimizeInductions()
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/
DModuloSchedule.cpp780 for (MachineInstr &MI : llvm::make_early_inc_range(KernelBB->phis())) { in removeDeadInstructions()
802 for (auto &PHI : KernelBB->phis()) { in splitLifetimes()
1117 for (auto &PHI : BB->phis()) { in rewritePhiValues()
1234 for (MachineInstr &MI : llvm::make_early_inc_range(MBB->phis())) { in EliminateDeadPhis()
1674 for (MachineInstr &MI : DestBB->phis()) { in moveStageBetweenBlocks()
1789 for (MachineInstr &Phi : B->phis()) in peelPrologAndEpilogs()
1815 for (MachineInstr &MI : (*EI)->phis()) { in peelPrologAndEpilogs()
1870 for (MachineInstr &MI : BB->phis()) { in CreateLCSSAExitingBlock()
1976 for (MachineInstr &P : Fallthrough->phis()) { in fixupBranches()
1986 for (MachineInstr &P : Epilog->phis()) { in fixupBranches()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/ObjCARC/
DObjCARC.h76 for (auto &P : BB->phis()) { in getEquivalentPHIs()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DBasicBlock.cpp336 iterator_range<BasicBlock::phi_iterator> BasicBlock::phis() { in phis() function in BasicBlock
352 for (PHINode &Phi : make_early_inc_range(phis())) { in removePredecessor()
/openbsd/src/gnu/llvm/llvm/tools/llvm-reduce/deltas/
DReduceBasicBlocks.cpp126 for (PHINode &SuccPHI : NewDefault->phis()) { in removeUninterestingBBsFromSwitch()
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h337 inline iterator_range<iterator> phis() {
340 inline iterator_range<const_iterator> phis() const {
341 return const_cast<MachineBasicBlock *>(this)->phis();

1234