Home
last modified time | relevance | path

Searched refs:PHIs (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp122 SmallVector<PHIInfo, 8> PHIs; member in __anon91bad1d10111::SSAIfConv
507 PHIs.clear(); in canConvertIf()
512 PHIs.push_back(&*I); in canConvertIf()
513 PHIInfo &PI = PHIs.back(); in canConvertIf()
616 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in replacePHIInstrs()
617 PHIInfo &PI = PHIs[i]; in replacePHIInstrs()
644 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in rewritePHIOperands()
645 PHIInfo &PI = PHIs[i]; in rewritePHIOperands()
931 for (unsigned i = 0, e = IfConv.PHIs.size(); i != e; ++i) { in shouldConvertIf()
932 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; in shouldConvertIf()
/netbsd-src/external/apache2/llvm/dist/llvm/docs/HistoricalNotes/
H A D2003-06-26-Reoptimizer2.txt30 It does copy insertions for PHIs, which it infers from the machine
32 the PHIs.
102 along with the PHIs that are inserted.
103 PHIs are followed by the copies that implement them.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp280 SmallVectorImpl<MachineInstr *> &PHIs) { in collectUnprimedAccPHIs() argument
281 PHIs.push_back(RootPHI); in collectUnprimedAccPHIs()
283 while (VisitedIndex < PHIs.size()) { in collectUnprimedAccPHIs()
284 MachineInstr *VisitedPHI = PHIs[VisitedIndex]; in collectUnprimedAccPHIs()
307 if (llvm::is_contained(PHIs, Instr)) in collectUnprimedAccPHIs()
309 PHIs.push_back(Instr); in collectUnprimedAccPHIs()
322 SmallVectorImpl<MachineInstr *> &PHIs, in convertUnprimedAccPHIs() argument
325 for (auto It = PHIs.rbegin(), End = PHIs.rend(); It != End; ++It) { in convertUnprimedAccPHIs()
369 if (PHI != PHIs[0]) in convertUnprimedAccPHIs()
456 SmallVector<MachineInstr *, 4> PHIs; in simplifyCode() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp1400 SmallPtrSet<MachineInstr *, 2> PHIs; in extractKilledPHIs() local
1409 PHIs.insert(&Instr); in extractKilledPHIs()
1415 for (auto PI : PHIs) { in extractKilledPHIs()
1636 SmallVector<MachineInstr *, 2> &PHIs) { in collectPHIs() argument
1639 PHIs.push_back(&BBI); in collectPHIs()
1647 SmallVector<MachineInstr *, 2> PHIs; in rewriteRegionExitPHIs() local
1652 collectPHIs(Exit, PHIs); in rewriteRegionExitPHIs()
1654 for (auto PHII : PHIs) { in rewriteRegionExitPHIs()
1661 SmallVector<MachineInstr *, 2> PHIs; in rewriteRegionEntryPHIs() local
1664 collectPHIs(Entry, PHIs); in rewriteRegionEntryPHIs()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGNonTrivialStruct.cpp379 llvm::PHINode *PHIs[N]; in visitArray() local
382 PHIs[I] = CGF.Builder.CreatePHI(CGF.CGM.Int8PtrPtrTy, 2, "addr.cur"); in visitArray()
383 PHIs[I]->addIncoming(StartAddrs[I].getPointer(), PreheaderBB); in visitArray()
393 CGF.Builder.CreateICmpEQ(PHIs[DstIdx], DstArrayEnd, "done"); in visitArray()
404 PHIs[I], StartAddrs[I].getAlignment().alignmentAtOffset(EltSize)); in visitArray()
416 PHIs[I]->addIncoming(NewAddrs[I].getPointer(), LoopBB); in visitArray()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIVDescriptors.cpp384 SmallVector<Instruction *, 8> PHIs; in AddReductionVar() local
419 PHIs.push_back(UI); in AddReductionVar()
433 Worklist.append(PHIs.begin(), PHIs.end()); in AddReductionVar()
H A DValueTracking.cpp4187 SmallPtrSetImpl<const PHINode*> &PHIs, in GetStringLengthH() argument
4195 if (!PHIs.insert(PN).second) in GetStringLengthH()
4201 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH()
4217 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs, CharSize); in GetStringLengthH()
4219 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize); in GetStringLengthH()
4251 SmallPtrSet<const PHINode*, 32> PHIs; in GetStringLength() local
4252 uint64_t Len = GetStringLengthH(V, PHIs, CharSize); in GetStringLength()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp668 SmallPtrSetImpl<const PHINode*> &PHIs) { in AllUsesOfValueWillTrapIfNull() argument
694 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull()
696 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull()
700 if (PHIs.insert(PN).second && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) in AllUsesOfValueWillTrapIfNull()
716 SmallPtrSet<const PHINode*, 8> PHIs; in AllUsesOfLoadedValueWillTrapIfNull() local
717 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) in AllUsesOfLoadedValueWillTrapIfNull()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp412 SmallVector<WeakTrackingVH, 8> PHIs; in rewriteNonIntegerIVs() local
414 PHIs.push_back(&PN); in rewriteNonIntegerIVs()
417 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in rewriteNonIntegerIVs()
418 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i])) in rewriteNonIntegerIVs()
H A DGVNSink.cpp598 void analyzeInitialPHIs(BasicBlock *BB, ModelledPHISet &PHIs, in analyzeInitialPHIs() argument
602 PHIs.insert(MPHI); in analyzeInitialPHIs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp161 SmallVector<WeakTrackingVH, 8> PHIs; in DeleteDeadPHIs() local
163 PHIs.push_back(&PN); in DeleteDeadPHIs()
166 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in DeleteDeadPHIs()
167 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) in DeleteDeadPHIs()
H A DSimplifyCFG.cpp5917 SmallVector<PHINode *, 4> PHIs; in SwitchToLookupTable() local
5938 PHIs.push_back(PHI); in SwitchToLookupTable()
5944 for (PHINode *PHI : PHIs) { in SwitchToLookupTable()
5948 uint64_t NumResults = ResultLists[PHIs[0]].size(); in SwitchToLookupTable()
6042 const ResultListTy &ResultList = ResultLists[PHIs[0]]; in SwitchToLookupTable()
6078 for (PHINode *PHI : PHIs) { in SwitchToLookupTable()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp497 SetVector<PHINode *> PHIs; in canRewriteGEPAsOffset() local
548 PHIs.insert(PN); in canRewriteGEPAsOffset()
553 for (auto *PN : PHIs) in canRewriteGEPAsOffset()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A DChangeLog.tree-ssa177 arguments to bypassed PHIs as needing to be rewritten.
2489 PHIs before looking at the statements in the destination
2776 Record temporary equivalences created by PHIs and temporarily
2779 if the dominated block has PHIs. Remove temporary equivalenecs
2780 created by PHIs in thread_across_edge. Update code to restore the
3222 * tree-ssa-dce.c (find_useful_stmts): Do not consider PHIs for
3630 saved block. Mark variables appearing in PHIs at the jump thread
4048 to restrict threading through PHIs.
6978 * tree-dfa.c (create_phi_node): Clear PHI_REWRITTEN on all new PHIs
6979 (remove_all_phi_nodes_for): Set PHI_REWRITTEN on any PHIs which are
[all …]
H A DChangeLog-20201543 processed PHIs.
1646 PHIs on sink paths in irreducible regions.
5145 loop header PHIs.
6027 * tree-vect-patterns.c (vect_determine_precisions): First walk PHIs.
6268 PHIs are possible mask operations.
6269 (vect_determine_mask_precision): Handle PHIs.
6270 (vect_determine_precisions): Walk PHIs in BB analysis.
7719 * gimple.h (gimple_expr_type): For PHIs return the type
7741 (vect_get_and_check_slp_defs): Handle PHIs.
7742 (vect_build_slp_tree_1): Handle PHIs.
[all …]
H A DChangeLog-20163140 PHIs after a regular stmt.
3141 (stmt_starts_bb_p): PHIs not preceeded by a PHI or a label
6148 present PHIs with arguments.
6723 Split the fallthru edge in case its successor may have PHIs.
9071 (evrp_dom_walker::before_dom_children): Mark PHIs and stmts
15158 Deal with virtual PHIs being out-of-order.
15273 When doing auto-parallelizing also prevent use of PHIs that
15286 phi nodes predicated. Delay removing virtual PHIs.
15288 (combine_blocks): Likewise. Propagate out remaining virtual PHIs.
15609 into PHIs and update the lattice for its def.
[all …]
H A DChangeLog-201711782 error on PHIs in blocks duplicated into multiple places.
12882 (try_generate_gimple_bb): ...here. Add dependences for PHIs,
12889 * sese.c (sese_build_liveouts_bb): Properly handle PHIs,
13190 error on PHIs in blocks duplicated into multiple places.
14602 handle PHIs.
22524 PHIs.
22867 * tree-vect-stmts.c (process_use): Disregard live induction PHIs
23250 this is a reduction chain, pass in the SLP node for the PHIs.
23254 During analysis remember the SLP node with the PHIs in the
23255 instance. Simplify getting at the vectorized reduction PHIs.
[all …]
H A DChangeLog-20192233 * tree-if-conv.c (combine_blocks): Deal with virtual PHIs
3457 * tree-vect-loop.c (vect_update_vf_for_slp): Also scan PHIs
7641 Copy all loop-closed PHIs.
9367 (vect_get_slp_vect_defs): Use gimple_get_lhs also for PHIs.
12678 * gimple.c (gimple_get_lhs): For PHIs return the result.
12682 double-reduction PHIs with vectorizable_lc_phi.
12692 used on backedges adjust the backedge uses of vectorized PHIs.
12929 loop-closed PHIs that are vect_internal_def.
12944 PHI creation and preheader argument setting of PHIs ...
12946 vect_double_reduction_def PHIs, creating the vectorized
[all …]
H A DChangeLog-20218633 (back_threader::resolve_def): Always return true for PHIs.
19807 PHIs also for loop vectorization.
21724 PHIs with not represented initial values as leafs.
21898 * gimple-walk.c (gimple_walk_op): Handle PHIs.
26502 * builtins.c (access_ref::get_ref): Improve detection of PHIs with
28313 PHIs in a block.
29871 set vectorized defs of relevant PHIs.
32818 single-argument PHIs.
33558 PHIs from scalars when the number of CTORs matches the
34698 Record also virtual PHIs.
H A DChangeLog-20183318 degenerate virtual PHIs.
4451 * tree-vect-loop.c (vect_transform_loop): Also copy PHIs
6103 loop exit also create forwarder PHIs for constants.
6106 PHIs.
6683 non-induction or reduction PHIs.
10050 * tree-ssa-propagate.c (add_ssa_edge): Avoid adding PHIs to
11537 PHIs for outer-loop uses.
23199 for pruning loop and prune defs feeding only already visited PHIs.
31182 * omp-expand.c (expand_omp_for_generic): Ignore virtual PHIs. Remove
31713 (vectorizable_live_operation): Handle PHIs.
H A DChangeLog-20096058 * tree-eh.c (unsplit_eh): Propagate degenerate PHIs.
15978 * tree-ssa-dce.c (remove_dead_phis): Only look for abnormal PHIs
15985 virtual PHIs in empty BBs.
29030 (insert_into_preds_of_block): Record inserted PHIs.
29087 single-argument PHIs if we are in loop-closed SSA form.
29570 (propagate_necessity): Do not process virtual PHIs. For
31127 the PHIs value undefined.
32148 that occur in abnormal PHIs should be varying.
H A DChangeLog-20157116 (visit_phi): For PHIs with just a single executable edge
11816 instead of block number for PHIs with two or one args.
11817 (vn_phi_eq): Compare edge predicates of PHIs that are in different
25059 return whether we did. Do not simulate PHIs if they are in a
38977 * ipa-polymorphic-call.c (walk_ssa_copies): Handle empty PHIs.
39688 have replaced looparound PHIs.
39825 threading through blocks with PHIs, but no statements.
39985 threading through blocks with PHIs, but no statements.
43048 information on PHIs for some simple cases.
43736 assign the proper vectorized PHI to the inner loop exit PHIs.
H A DChangeLog-201218216 defining statement is a SSA name that occurs in abnormal PHIs.
22774 Handle PHIs.
26798 * tree-ssa-phiopt.c (conditional_replacement): Replace PHIs whose
30989 (empty_block_p): Check also if the PHIs for the block are empty.
31370 (tree_ssa_phiopt_worker): Go through all the PHIs for
35270 edge from dcall_bb to join_bb and PHIs.
H A DChangeLog-20061341 (slpeel_update_phi_nodes_for_guard1): Ignore memory PHIs.
10055 with an empty list of PHIs.
15168 memory-tag and virtual operand PHIs except for store copy prop.
19624 * passes.c (init_optimization_passes): Merge PHIs before
H A DChangeLog-20135197 bitmaps for the SRC & DEST of PHIs creating equivalences.
18369 scan PHIs for outside loop uses and seed a partition from them.
18726 * tree-cfg.c (gimple_duplicate_bb): Copy UID for PHIs.
18739 (stmts_from_loop): Do not record virtual PHIs.
18740 (generate_loops_for_partition): Skip virtual PHIs.
22707 * lto-streamer-out.c (output_function): Renumber PHIs.
29701 all SSA names that occur in abnormal PHIs.

12