/external/llvm/lib/Transforms/Scalar/ |
LoopDeletion.cpp | 56 bool &Changed, BasicBlock *Preheader); 82 bool &Changed, BasicBlock *Preheader) { 104 if (!L->makeLoopInvariant(I, Changed, Preheader->getTerminator())) 133 // We can only remove the loop if there is a preheader that we can 135 BasicBlock *preheader = L->getLoopPreheader(); local 136 if (!preheader) 163 if (!isLoopDead(L, exitingBlocks, exitBlocks, Changed, preheader)) 174 // branch from the preheader to go to the single exit block. 186 // Connect the preheader directly to the exit block. 187 TerminatorInst *TI = preheader->getTerminator() [all...] |
/external/llvm/test/CodeGen/PowerPC/ |
2006-04-19-vmaddfp-crash.ll | 30 br i1 %tmp1208107, label %cond_true1209.preheader, label %bb1212 31 cond_true498: ; preds = %cond_true1209.preheader 33 cond_true519: ; preds = %cond_true1209.preheader 36 cond_false548: ; preds = %cond_true1209.preheader 48 cond_true1209.preheader: ; preds = %cond_next463
|
ctrloop-sums.ll | 11 br i1 %cmp12, label %for.end8, label %for.cond1.preheader.lr.ph 13 for.cond1.preheader.lr.ph: ; preds = %entry 34 for.body3.lr.ph.us: ; preds = %for.inc6.us, %for.cond1.preheader.lr.ph 35 %indvars.iv16 = phi i64 [ %indvars.iv.next17, %for.inc6.us ], [ 0, %for.cond1.preheader.lr.ph ] 36 %Result.014.us = phi i32 [ %add.us, %for.inc6.us ], [ 0, %for.cond1.preheader.lr.ph ] 39 for.inc6: ; preds = %for.inc6, %for.cond1.preheader.lr.ph 40 %i.013 = phi i32 [ %inc7, %for.inc6 ], [ 0, %for.cond1.preheader.lr.ph ] 67 br i1 %exitcond36, label %for.cond6.preheader, label %for.body 69 for.cond6.preheader: ; preds = %for.body, %for.inc17 73 for.body8: ; preds = %for.inc14, %for.cond6.preheader [all...] |
2007-11-16-landingpad-split.ll | 28 to label %bb30.preheader unwind label %unwind 30 bb30.preheader: ; preds = %entry 45 bb30: ; preds = %invcont23, %bb30.preheader 46 %range_addr.1.0 = phi i64 [ %tmp28, %invcont23 ], [ %range.0.1, %bb30.preheader ] ; <i64> [#uses=2]
|
/external/llvm/test/CodeGen/X86/ |
no-compact-unwind.ll | 24 br label %for.cond1.preheader 26 for.cond1.preheader: ; preds = %for.inc10, %entry 30 for.body3: ; preds = %for.inc, %for.cond1.preheader 31 %indvars.iv = phi i64 [ 0, %for.cond1.preheader ], [ %indvars.iv.next, %for.inc ] 52 br i1 %cmp, label %for.end11, label %for.cond1.preheader
|
phi-bit-propagation.ll | 45 lbl_919: ; preds = %for.cond7.preheader, %entry 46 br label %for.cond7.preheader 48 for.cond7.preheader: ; preds = %for.inc, %lbl_919 52 for.inc: ; preds = %for.cond7.preheader, %entry.for.inc_crit_edge 54 br label %for.cond7.preheader
|
2008-09-09-LinearScanBug.ll | 10 br label %forcond1.preheader.i.i7 12 forcond1.preheader.i.i7: ; preds = %forinc6.i.i25, %entry 17 forinc.i.i11: ; preds = %forcond1.backedge.i.i20, %forcond1.preheader.i.i7 18 %p_87.addr.02.i.i8 = phi i32 [ %p_87.addr.15.i.i5, %forcond1.preheader.i.i7 ], [ %p_87.addr.0.be.i.i18, %forcond1.backedge.i.i20 ] ; <i32> [#uses=1] 35 forinc6.i.i25: ; preds = %forcond1.backedge.i.i20, %forcond1.preheader.i.i7 36 %p_87.addr.0.lcssa.i.i21 = phi i32 [ %p_87.addr.15.i.i5, %forcond1.preheader.i.i7 ], [ %p_87.addr.0.be.i.i18, %forcond1.backedge.i.i20 ] ; <i32> [#uses=1] 40 br i1 %phitmp.i.i24, label %func_106.exit27, label %forcond1.preheader.i.i7
|
2009-01-31-BigShift3.ll | 20 br i1 false, label %return, label %bb1.preheader 22 bb1.preheader: ; preds = %entry 26 bb1: ; preds = %bb1, %bb1.preheader
|
2010-09-16-asmcrash.ll | 30 br i1 undef, label %while.cond.preheader, label %sem_check_validity.exit 32 while.cond.preheader: ; preds = %entry 39 while.cond: ; preds = %while.body, %while.cond.preheader
|
postra-licm.ll | 34 br i1 undef, label %bb4, label %bb5.preheader 36 bb5.preheader: ; preds = %bb.nph41 42 bb5: ; preds = %bb5, %bb5.preheader 65 br i1 undef, label %bb23, label %bb26.preheader 67 bb26.preheader: ; preds = %imix_test.exit 79 bb28: ; preds = %bb28, %bb26.preheader 80 %counter.035 = phi i32 [ %3, %bb28 ], [ 0, %bb26.preheader ] ; <i32> [#uses=2] 87 bb30: ; preds = %bb26.preheader 98 br i1 false, label %bb35, label %bb39.preheader 103 bb39.preheader: ; preds = %bb3 [all...] |
2008-02-25-X86-64-CoalescerBug.ll | 22 br i1 %tmp121131, label %bb124, label %bb70.preheader 24 bb70.preheader: ; preds = %bb53 28 bb70: ; preds = %bb119, %bb70.preheader 29 %indvar133 = phi i32 [ %indvar.next134, %bb119 ], [ 0, %bb70.preheader ] ; <i32> [#uses=2]
|
2012-11-30-handlemove-dbg.ll | 23 br i1 %cmp, label %return, label %for.cond.preheader 25 for.cond.preheader: ; preds = %entry 31 return: ; preds = %for.cond.preheader, %entry 32 %retval.0 = phi i16 [ %conv24, %for.cond.preheader ], [ 0, %entry ]
|
pr13209.ll | 9 br label %indirectgoto.preheader 10 indirectgoto.preheader: 56 br label %indirectgoto.preheader 72 %frombool.i5915 = phi i8 [ 0, %do.body495 ],[ 0, %do.body482 ] , [ %frombool.i5915, %do.body4936 ],[ %frombool.i5915, %do.body5184 ], [ %frombool.i5915, %L_JSOP_UINT24 ], [ %frombool.i5915, %do.end286 ], [ %frombool.i5915, %do.end297 ], [ %frombool.i5915, %do.end308 ], [ %frombool.i5915, %do.end429 ], [ %frombool.i5915, %do.end440 ], [ %frombool.i5915, %L_JSOP_THROWING ], [ %frombool.i5915, %do.end253 ], [ %frombool.i5915, %do.end242 ], [ %frombool.i5915, %do.end231 ], [ %frombool.i5915, %do.end220 ], [ %frombool.i5915, %do.end209 ],[ %frombool.i5915, %do.end165 ], [ %frombool.i5915.ph, %indirectgoto.preheader ]
|
/external/llvm/test/Analysis/BasicAA/ |
phi-spec-order.ll | 10 br label %for.cond2.preheader 12 for.cond2.preheader: ; preds = %for.end, %entry 16 for.body4: ; preds = %for.body4, %for.cond2.preheader 18 to [16000 x double]*), %for.cond2.preheader ] 19 %lsr.iv1 = phi [16000 x double]* [ %i10, %for.body4 ], [ @X, %for.cond2.preheader ] 23 %lsr.iv = phi i32 [ %lsr.iv.next, %for.body4 ], [ 16000, %for.cond2.preheader ] 63 br i1 %exitcond, label %for.end10, label %for.cond2.preheader
|
/external/llvm/test/CodeGen/ARM/ |
2009-09-20-LiveIntervalsBug.ll | 7 br i1 undef, label %return, label %bb.preheader 9 bb.preheader: ; preds = %entry 12 bb: ; preds = %bb, %bb.preheader
|
2010-05-17-FastAllocCrash.ll | 34 br i1 false, label %cond_next518, label %cond_true397.preheader 39 cond_true397.preheader: ; preds = %cond_true298 73 br i1 false, label %bb1567, label %cond_true1369.preheader 81 cond_true1369.preheader: ; preds = %cond_true1254
|
/external/llvm/test/Transforms/LICM/ |
sinking.ll | 193 br i1 false, label %no_exit.1.i.preheader, label %loopentry.3.i.preheader 194 no_exit.1.i.preheader: ; preds = %loopentry.2.i 196 no_exit.1.i: ; preds = %endif.8.i, %no_exit.1.i.preheader 200 br i1 false, label %no_exit.1.i, label %loopentry.3.i.preheader.loopexit 201 loopentry.3.i.preheader.loopexit: ; preds = %endif.8.i 202 br label %loopentry.3.i.preheader 203 loopentry.3.i.preheader: ; preds = %loopentry.3.i.preheader.loopexit, %loopentry.2.i 204 %arg_num.0.i.ph13000 = phi i32 [ 0, %loopentry.2.i ], [ %inc.1.i, %loopentry.3.i.preheader.loopexit ] ; <i32> [#uses=0 [all...] |
/external/llvm/test/Transforms/SimplifyCFG/ |
2004-12-10-SimplifyCFGCrash.ll | 7 br i1 undef, label %loopentry.2, label %loopentry.1.preheader 8 loopentry.1.preheader: ; preds = %then.0 10 loopentry.1.outer: ; preds = %loopexit.1, %loopentry.1.preheader
|
/external/llvm/test/Transforms/LoopDeletion/ |
2011-06-21-phioperands.ll | 117 br label %for.cond.i.preheader 150 br label %for.cond.i.preheader 152 for.cond.i.preheader: ; preds = %_ZN4llvm15SmallVectorImplIPKcE9push_backERKS2_.exit140, %_ZN4llvm15SmallVectorImplIPKcE9push_backERKS2_.exit 153 br i1 undef, label %for.cond.i.preheader.split.us, label %for.cond.i.preheader.for.cond.i.preheader.split_crit_edge 155 for.cond.i.preheader.for.cond.i.preheader.split_crit_edge: ; preds = %for.cond.i.preheader 156 br label %for.cond.i.preheader.spli [all...] |
/external/llvm/test/Transforms/LoopVectorize/ |
gcc-examples.ll | 74 br i1 %1, label %.lr.ph5, label %.preheader 78 br label %.preheader 80 .preheader: ; preds = %..preheader_crit_edge, %0 94 .lr.ph: ; preds = %.preheader, %.lr.ph 95 %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %i.0.lcssa, %.preheader ] 96 %.02 = phi i32 [ %4, %.lr.ph ], [ %n, %.preheader ] 109 ._crit_edge: ; preds = %.lr.ph, %.preheader 173 .preheader: ; preds = %.lr.ph6 189 br i1 %exitcond14, label %.preheader, label %.lr.ph6 191 .lr.ph: ; preds = %.preheader, %.lr.p [all...] |
/external/llvm/lib/Transforms/Utils/ |
LoopSimplify.cpp | 105 BasicBlock *Preheader); 106 BasicBlock *InsertUniqueBackedgeBlock(Loop *L, BasicBlock *Preheader); 209 // Does the loop already have a preheader? If so, don't insert one. 210 BasicBlock *Preheader = L->getLoopPreheader(); 211 if (!Preheader) { 212 Preheader = InsertPreheaderForLoop(L, this); 213 if (Preheader) { 221 // loop preheader/header will dominate the exit blocks. If the exit block has 245 // preheader and from multiple backedges), we must adjust the loop. 252 if (SeparateNestedLoop(L, LPM, Preheader)) { [all...] |
/external/llvm/test/Analysis/DependenceAnalysis/ |
StrongSIV.ll | 15 br i1 %cmp1, label %for.body.preheader, label %for.end 24 for.body.preheader: ; preds = %entry 27 for.body: ; preds = %for.body.preheader, %for.body 28 %indvars.iv = phi i64 [ 0, %for.body.preheader ], [ %indvars.iv.next, %for.body ] 29 %B.addr.02 = phi i32* [ %incdec.ptr, %for.body ], [ %B, %for.body.preheader ] 57 br i1 %cmp1, label %for.body.preheader, label %for.end 66 for.body.preheader: ; preds = %entry 70 for.body: ; preds = %for.body.preheader, %for.body 71 %i.03 = phi i64 [ %inc, %for.body ], [ 0, %for.body.preheader ] 72 %B.addr.02 = phi i32* [ %incdec.ptr, %for.body ], [ %B, %for.body.preheader ] [all...] |
/external/llvm/test/Linker/ |
2004-05-07-TypeResolution2.ll | 10 loopentry.preheader:
|
/external/llvm/test/Transforms/GVN/ |
pre-compare.ll | 42 br i1 %cmp, label %for.cond.preheader, label %if.then 48 br label %for.cond.preheader 50 for.cond.preheader: ; preds = %entry, %if.then 54 for.cond: ; preds = %for.cond.backedge, %for.cond.preheader
|
/external/llvm/test/Transforms/IndVarSimplify/ |
iv-sext.ll | 30 br i1 %tmp4, label %bb1, label %bb3.preheader 44 br label %bb3.preheader 46 bb3.preheader: ; preds = %bb1, %bb 50 br i1 %tmp15, label %bb.nph, label %bb5.preheader 52 bb.nph: ; preds = %bb3.preheader 78 br label %bb5.preheader 80 bb5.preheader: ; preds = %bb3.bb5.preheader_crit_edge, %bb3.preheader 81 %distERBlo.0.lcssa = phi float [ %tmp19.lcssa, %bb3.bb5.preheader_crit_edge ], [ %distERBlo.0.ph, %bb3.preheader ] ; <float> [#uses=2] 82 %loPart.0.lcssa = phi i32 [ %tmp24.lcssa, %bb3.bb5.preheader_crit_edge ], [ %loPart.118, %bb3.preheader ] ; <i32> [#uses=1 [all...] |