Home
last modified time | relevance | path

Searched refs:phi (Results 1 – 25 of 3323) sorted by relevance

12345678910>>...133

/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2009-04-27-CoalescerAssert.ll104 store i32 %.SV194.phi, i32* %.SV196.phi, align 4
105 …%26 = getelementptr %struct.Macroblock* %.load17.SV.phi, i64 %.load36.SV.phi, i32 29 ; <i32*> [#u…
107 store i32 %27, i32* %.load67.SV.phi, align 4
119 store i32 %.SV198.phi, i32* %.SV200.phi, align 4
120 …%31 = getelementptr %struct.Macroblock* %.load16.SV.phi, i64 %.load35.SV.phi, i32 26 ; <i32*> [#u…
122 store i32 %32, i32* %.load66.SV.phi, align 4
132 %38 = load i32* %.SV76.phi, align 4 ; <i32> [#uses=1]
145 %43 = add i32 %.SV78.phi, 1 ; <i32> [#uses=1]
150 store i32 %.SV206.phi, i32* %.load81.SV.phi, align 4
151 %44 = add i32 %.load50.SV.phi, %yN ; <i32> [#uses=1]
[all …]
D2009-10-25-RewriterBug.ll45 …%2 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
46 …%3 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
47 …%4 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
48 …%5 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
49 …%6 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
50 …%7 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
51 …%8 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
52 …%9 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
53 …%10 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePictur…
54 …%11 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePictur…
[all …]
/external/llvm/test/CodeGen/X86/
D2009-04-27-CoalescerAssert.ll104 store i32 %.SV194.phi, i32* %.SV196.phi, align 4
105 …%26 = getelementptr %struct.Macroblock, %struct.Macroblock* %.load17.SV.phi, i64 %.load36.SV.phi, …
107 store i32 %27, i32* %.load67.SV.phi, align 4
119 store i32 %.SV198.phi, i32* %.SV200.phi, align 4
120 …%31 = getelementptr %struct.Macroblock, %struct.Macroblock* %.load16.SV.phi, i64 %.load35.SV.phi, …
122 store i32 %32, i32* %.load66.SV.phi, align 4
132 %38 = load i32, i32* %.SV76.phi, align 4 ; <i32> [#uses=1]
145 %43 = add i32 %.SV78.phi, 1 ; <i32> [#uses=1]
150 store i32 %.SV206.phi, i32* %.load81.SV.phi, align 4
151 %44 = add i32 %.load50.SV.phi, %yN ; <i32> [#uses=1]
[all …]
D2009-10-25-RewriterBug.ll45 …%2 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
46 …%3 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
47 …%4 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
48 …%5 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
49 …%6 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
50 …%7 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
51 …%8 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
52 …%9 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePicture…
53 …%10 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePictur…
54 …%11 = phi %struct.StorablePicture* [ null, %bb36.i ], [ undef, %bb30.i ] ; <%struct.StorablePictur…
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Div_outside_user.ll5 ; CHECK: %bc.resume.val = phi i32 [ %n.vec, %middle.block ], [ 0, %entry ]
7 ; CHECK: %[[RET:.*]] = phi i32 [ {{.*}}, %for.body ], [ %n.vec, %middle.block ]
14 %inc.phi = phi i32 [ 0, %entry ], [ %inc, %for.body ]
15 %inc = add nsw i32 %inc.phi, 1
28 ; CHECK: %bc.resume.val = phi i32 [ %n.vec, %middle.block ], [ 0, %entry ]
30 ; CHECK: %[[RET:.*]] = phi i32 [ {{.*}}, %for.body ], [ %ind.escape, %middle.block ]
37 %inc.phi = phi i32 [ 0, %entry ], [ %inc, %for.body ]
38 %inc = add nsw i32 %inc.phi, 1
43 ret i32 %inc.phi
48 ; CHECK: %[[RET:.*]] = phi i32 [ {{.*}}, %for.body ], [ 2, %middle.block ]
[all …]
/external/swiftshader/third_party/LLVM/test/Transforms/IndVarSimplify/
Dno-iv-rewrite.ll19 ; CHECK: phi
20 ; CHECK: phi
21 ; CHECK-NOT: phi
28 %i.02 = phi i32 [ 0, %ph ], [ %iinc, %loop ]
29 %s.01 = phi i32 [ 0, %ph ], [ %sinc, %loop ]
39 %s.lcssa = phi i32 [ %sinc, %loop ]
43 %s.0.lcssa = phi i32 [ %s.lcssa, %exit ], [ 0, %entry ]
58 ; CHECK: phi
59 ; CHECK: phi
60 ; CHECK-NOT: phi
[all …]
/external/llvm/test/CodeGen/Hexagon/
Dbarrier-flag.ll23 %i.086 = phi i32 [ 0, %entry ], [ %inc49, %for.inc48 ]
37 …%arrayidx44.phi = phi i8* [ %arrayidx44.gep, %for.cond5.preheader.lr.ph ], [ %arrayidx44.inc, %if.…
38 %j.085 = phi i32 [ 0, %for.cond5.preheader.lr.ph ], [ %inc46, %if.end40 ]
39 %IN1.084 = phi i8* [ %arrayidx, %for.cond5.preheader.lr.ph ], [ %incdec.ptr, %if.end40 ]
40 %IN2.083 = phi i8* [ %add.ptr, %for.cond5.preheader.lr.ph ], [ %incdec.ptr33, %if.end40 ]
41 %IN3.082 = phi i8* [ %add.ptr1, %for.cond5.preheader.lr.ph ], [ %incdec.ptr34, %if.end40 ]
45 %arrayidx8.phi = phi i8* [ %IN1.084, %for.cond5.preheader ], [ %arrayidx8.inc, %for.body7 ]
46 %arrayidx9.phi = phi i8* [ %IN2.083, %for.cond5.preheader ], [ %arrayidx9.inc, %for.body7 ]
47 %arrayidx11.phi = phi i8* [ %IN3.082, %for.cond5.preheader ], [ %arrayidx11.inc, %for.body7 ]
48 %arrayidx13.phi = phi i8* [ %mask, %for.cond5.preheader ], [ %arrayidx13.inc, %for.body7 ]
[all …]
Dremove-endloop.ll23 %arrayidx.phi = phi i32* [ %arrayidx.inc, %for.body ], [ %B, %for.body.preheader ]
24 %arrayidx3.phi = phi i32* [ %arrayidx3.inc, %for.body ], [ %A, %for.body.preheader ]
25 %i.014 = phi i32 [ %inc, %for.body ], [ 0, %for.body.preheader ]
26 %0 = load i32, i32* %arrayidx.phi, align 4
28 store i32 %sub, i32* %arrayidx3.phi, align 4
31 %arrayidx.inc = getelementptr i32, i32* %arrayidx.phi, i32 1
32 %arrayidx3.inc = getelementptr i32, i32* %arrayidx3.phi, i32 1
36 %arrayidx8.phi = phi i32* [ %arrayidx8.inc, %for.body7 ], [ %B, %for.body7.preheader ]
37 %arrayidx9.phi = phi i32* [ %arrayidx9.inc, %for.body7 ], [ %A, %for.body7.preheader ]
38 %i.117 = phi i32 [ %inc11, %for.body7 ], [ 0, %for.body7.preheader ]
[all …]
Dhwloop4.ll24 %arrayidx.phi = phi i32* [ %arrayidx.inc.7, %for.body ], [ %C, %for.body.preheader9 ]
25 %i.05 = phi i32 [ %inc.7, %for.body ], [ 0, %for.body.preheader9 ]
26 store i32 %i.05, i32* %arrayidx.phi, align 4
28 %arrayidx.inc = getelementptr i32, i32* %arrayidx.phi, i32 1
31 %arrayidx.inc.1 = getelementptr i32, i32* %arrayidx.phi, i32 2
34 %arrayidx.inc.2 = getelementptr i32, i32* %arrayidx.phi, i32 3
37 %arrayidx.inc.3 = getelementptr i32, i32* %arrayidx.phi, i32 4
40 %arrayidx.inc.4 = getelementptr i32, i32* %arrayidx.phi, i32 5
43 %arrayidx.inc.5 = getelementptr i32, i32* %arrayidx.phi, i32 6
46 %arrayidx.inc.6 = getelementptr i32, i32* %arrayidx.phi, i32 7
[all …]
Dhwloop-cleanup.ll1 ; RUN: llc -march=hexagon -mcpu=hexagonv4 -no-phi-elim-live-out-early-exit \
21 %sum.03 = phi i32 [ %add, %for.body ], [ 0, %for.body.preheader ]
22 %arrayidx.phi = phi i32* [ %arrayidx.inc, %for.body ], [ %b, %for.body.preheader ]
23 %i.02 = phi i32 [ %inc, %for.body ], [ 0, %for.body.preheader ]
24 %0 = load i32, i32* %arrayidx.phi, align 4
28 %arrayidx.inc = getelementptr i32, i32* %arrayidx.phi, i32 1
35 %sum.0.lcssa = phi i32 [ 0, %entry ], [ %add, %for.end.loopexit ]
51 %sum.02 = phi i32 [ 0, %entry ], [ %add, %for.body ]
52 %arrayidx.phi = phi i32* [ %b, %entry ], [ %arrayidx.inc, %for.body ]
53 %i.01 = phi i32 [ 0, %entry ], [ %inc, %for.body ]
[all …]
Dswp-multi-loops.ll28 %sum1.026 = phi i32 [ %add8, %for.inc12 ], [ 0, %for.body3.lr.ph.preheader ]
29 %sum.025 = phi i32 [ %add, %for.inc12 ], [ 0, %for.body3.lr.ph.preheader ]
30 %j.024 = phi i32 [ %inc13, %for.inc12 ], [ 0, %for.body3.lr.ph.preheader ]
34 %sum.118 = phi i32 [ %sum.025, %for.body3.lr.ph ], [ %add, %for.body3 ]
35 %arrayidx.phi = phi i32* [ %a, %for.body3.lr.ph ], [ %arrayidx.inc, %for.body3 ]
36 %i.017 = phi i32 [ 0, %for.body3.lr.ph ], [ %inc, %for.body3 ]
37 %0 = load i32, i32* %arrayidx.phi, align 4
41 %arrayidx.inc = getelementptr i32, i32* %arrayidx.phi, i32 1
49 %sum1.121 = phi i32 [ %sum1.026, %for.end ], [ %add8, %for.body6 ]
50 %arrayidx7.phi = phi i32* [ %a, %for.end ], [ %arrayidx7.inc, %for.body6 ]
[all …]
Dbit-loop.ll38 %add.ptr11.phi = phi i16* [ %add.ptr11.inc, %for.body ], [ %add.ptr, %for.body.preheader ]
39 %add.ptr16.phi = phi i16* [ %add.ptr16.inc, %for.body ], [ %add.ptr3, %for.body.preheader ]
40 %add.ptr21.phi = phi i16* [ %add.ptr21.inc, %for.body ], [ %add.ptr4, %for.body.preheader ]
41 %add.ptr26.phi = phi i16* [ %add.ptr26.inc, %for.body ], [ %add.ptr5, %for.body.preheader ]
42 %i.058.pmt = phi i32 [ %inc.pmt, %for.body ], [ 0, %for.body.preheader ]
43 …%v.sroa.0.157 = phi i16 [ %v.sroa.0.0.extract.trunc34, %for.body ], [ %v.sroa.0.0.extract.trunc, %…
44 …%v.sroa.4.156 = phi i16 [ %v.sroa.4.0.extract.trunc36, %for.body ], [ %v.sroa.4.0.extract.trunc, %…
45 …%v.sroa.5.155 = phi i16 [ %v.sroa.5.0.extract.trunc38, %for.body ], [ %v.sroa.5.0.extract.trunc, %…
46 …%v.sroa.6.154 = phi i16 [ %v.sroa.6.0.extract.trunc40, %for.body ], [ %v.sroa.6.0.extract.trunc, %…
47 %q64.153.pn = phi i64* [ %q64.153, %for.body ], [ %r64, %for.body.preheader ]
[all …]
/external/llvm/test/Transforms/IndVarSimplify/
Dno-iv-rewrite.ll19 ; CHECK: phi
20 ; CHECK: phi
21 ; CHECK-NOT: phi
28 %i.02 = phi i32 [ 0, %ph ], [ %iinc, %loop ]
29 %s.01 = phi i32 [ 0, %ph ], [ %sinc, %loop ]
39 %s.lcssa = phi i32 [ %sinc, %loop ]
43 %s.0.lcssa = phi i32 [ %s.lcssa, %exit ], [ 0, %entry ]
58 ; CHECK: phi
59 ; CHECK: phi
60 ; CHECK-NOT: phi
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dvgpr-spill-emergency-stack-slot.ll48 %tmp25 = phi float [ 0.000000e+00, %bb ], [ %tmp350, %bb157 ]
49 %tmp26 = phi float [ 0.000000e+00, %bb ], [ %tmp349, %bb157 ]
50 %tmp27 = phi float [ 0.000000e+00, %bb ], [ %tmp348, %bb157 ]
51 %tmp28 = phi float [ 0.000000e+00, %bb ], [ %tmp351, %bb157 ]
52 %tmp29 = phi float [ 0.000000e+00, %bb ], [ %tmp347, %bb157 ]
53 %tmp30 = phi float [ 0.000000e+00, %bb ], [ %tmp346, %bb157 ]
54 %tmp31 = phi float [ 0.000000e+00, %bb ], [ %tmp345, %bb157 ]
55 %tmp32 = phi float [ 0.000000e+00, %bb ], [ %tmp352, %bb157 ]
56 %tmp33 = phi float [ 0.000000e+00, %bb ], [ %tmp344, %bb157 ]
57 %tmp34 = phi float [ 0.000000e+00, %bb ], [ %tmp343, %bb157 ]
[all …]
Dpromote-alloca-to-lds-phi.ll14 ; CHECK: %phi.ptr = phi i32 addrspace(3)* [ %arrayidx0, %if ], [ %arrayidx1, %else ]
15 ; CHECK: store i32 0, i32 addrspace(3)* %phi.ptr, align 4
30 %phi.ptr = phi i32* [ %arrayidx0, %if ], [ %arrayidx1, %else ]
31 store i32 0, i32* %phi.ptr, align 4
36 ; CHECK: %phi.ptr = phi i32 addrspace(3)* [ %arrayidx0, %if ], [ null, %entry ]
47 %phi.ptr = phi i32* [ %arrayidx0, %if ], [ null, %entry ]
48 store i32 0, i32* %phi.ptr, align 4
53 ; CHECK: %phi.ptr = phi i32 addrspace(3)* [ null, %entry ], [ %arrayidx0, %if ]
64 %phi.ptr = phi i32* [ null, %entry ], [ %arrayidx0, %if ]
65 store i32 0, i32* %phi.ptr, align 4
[all …]
Dvgpr-spill-emergency-stack-slot-compute.ll57 %tmp13 = phi float [ 0.000000e+00, %bb ], [ %tmp338, %bb145 ]
58 %tmp14 = phi float [ 0.000000e+00, %bb ], [ %tmp337, %bb145 ]
59 %tmp15 = phi float [ 0.000000e+00, %bb ], [ %tmp336, %bb145 ]
60 %tmp16 = phi float [ 0.000000e+00, %bb ], [ %tmp339, %bb145 ]
61 %tmp17 = phi float [ 0.000000e+00, %bb ], [ %tmp335, %bb145 ]
62 %tmp18 = phi float [ 0.000000e+00, %bb ], [ %tmp334, %bb145 ]
63 %tmp19 = phi float [ 0.000000e+00, %bb ], [ %tmp333, %bb145 ]
64 %tmp20 = phi float [ 0.000000e+00, %bb ], [ %tmp340, %bb145 ]
65 %tmp21 = phi float [ 0.000000e+00, %bb ], [ %tmp332, %bb145 ]
66 %tmp22 = phi float [ 0.000000e+00, %bb ], [ %tmp331, %bb145 ]
[all …]
/external/llvm/test/Analysis/ScalarEvolution/
D2008-08-04-LongAddRec.ll31 %x2.0 = phi i16 [ 0, %entry ], [ %15, %bb ] ; <i16> [#uses=1]
32 %x3.0 = phi i16 [ 0, %entry ], [ %14, %bb ] ; <i16> [#uses=1]
33 %x4.0 = phi i16 [ 0, %entry ], [ %13, %bb ] ; <i16> [#uses=1]
34 %x5.0 = phi i16 [ 0, %entry ], [ %12, %bb ] ; <i16> [#uses=1]
35 %x6.0 = phi i16 [ 0, %entry ], [ %11, %bb ] ; <i16> [#uses=1]
36 %x7.0 = phi i16 [ 0, %entry ], [ %10, %bb ] ; <i16> [#uses=1]
37 %x8.0 = phi i16 [ 0, %entry ], [ %9, %bb ] ; <i16> [#uses=1]
38 %x9.0 = phi i16 [ 0, %entry ], [ %8, %bb ] ; <i16> [#uses=1]
39 %x10.0 = phi i16 [ 0, %entry ], [ %7, %bb ] ; <i16> [#uses=1]
40 %x11.0 = phi i16 [ 0, %entry ], [ %6, %bb ] ; <i16> [#uses=1]
[all …]
/external/swiftshader/third_party/LLVM/test/Analysis/ScalarEvolution/
D2008-08-04-LongAddRec.ll31 %x2.0 = phi i16 [ 0, %entry ], [ %15, %bb ] ; <i16> [#uses=1]
32 %x3.0 = phi i16 [ 0, %entry ], [ %14, %bb ] ; <i16> [#uses=1]
33 %x4.0 = phi i16 [ 0, %entry ], [ %13, %bb ] ; <i16> [#uses=1]
34 %x5.0 = phi i16 [ 0, %entry ], [ %12, %bb ] ; <i16> [#uses=1]
35 %x6.0 = phi i16 [ 0, %entry ], [ %11, %bb ] ; <i16> [#uses=1]
36 %x7.0 = phi i16 [ 0, %entry ], [ %10, %bb ] ; <i16> [#uses=1]
37 %x8.0 = phi i16 [ 0, %entry ], [ %9, %bb ] ; <i16> [#uses=1]
38 %x9.0 = phi i16 [ 0, %entry ], [ %8, %bb ] ; <i16> [#uses=1]
39 %x10.0 = phi i16 [ 0, %entry ], [ %7, %bb ] ; <i16> [#uses=1]
40 %x11.0 = phi i16 [ 0, %entry ], [ %6, %bb ] ; <i16> [#uses=1]
[all …]
/external/v8/src/crankshaft/
Dhydrogen-uint32-analysis.cc116 bool HUint32AnalysisPhase::CheckPhiOperands(HPhi* phi) { in CheckPhiOperands() argument
117 if (!phi->CheckFlag(HInstruction::kUint32)) { in CheckPhiOperands()
122 for (int j = 0; j < phi->OperandCount(); j++) { in CheckPhiOperands()
123 HValue* operand = phi->OperandAt(j); in CheckPhiOperands()
144 void HUint32AnalysisPhase::UnmarkPhi(HPhi* phi, ZoneList<HPhi*>* worklist) { in UnmarkPhi() argument
145 phi->ClearFlag(HInstruction::kUint32); in UnmarkPhi()
146 for (int j = 0; j < phi->OperandCount(); j++) { in UnmarkPhi()
147 HValue* operand = phi->OperandAt(j); in UnmarkPhi()
177 HPhi* phi = phis_[i]; in UnmarkUnsafePhis() local
179 if (CheckPhiOperands(phi) && Uint32UsesAreSafe(phi)) { in UnmarkUnsafePhis()
[all …]
Dhydrogen-representation-changes.cc131 HPhi* phi = phi_list->at(i); in Run() local
132 if (phi->representation().IsInteger32()) { in Run()
133 phi->SetFlag(HValue::kTruncatingToInt32); in Run()
134 } else if (phi->representation().IsSmi()) { in Run()
135 phi->SetFlag(HValue::kTruncatingToSmi); in Run()
136 phi->SetFlag(HValue::kTruncatingToInt32); in Run()
138 phi->SetFlag(HValue::kTruncatingToNumber); in Run()
142 HPhi* phi = phi_list->at(i); in Run() local
145 if (phi->CheckFlag(HValue::kTruncatingToNumber) && in Run()
146 !phi->CheckUsesForFlag(HValue::kTruncatingToNumber, &value)) { in Run()
[all …]
/external/llvm/test/Transforms/SimplifyCFG/
DSpeculativeExec.ll1 ; RUN: opt < %s -simplifycfg -phi-node-folding-threshold=2 -S | FileCheck %s
26 %tmp4 = phi i32 [ %b, %entry ], [ %a, %bb1 ], [ %tmp3, %bb2 ]
48 %x1 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 1 to i8*), %then ]
49 %x2 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 2 to i8*), %then ]
50 %x3 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 3 to i8*), %then ]
51 %x4 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 4 to i8*), %then ]
52 %x5 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 5 to i8*), %then ]
53 %x6 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 6 to i8*), %then ]
54 %x7 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 7 to i8*), %then ]
55 %x8 = phi i8* [ %a, %entry ], [ %b, %if ], [ inttoptr (i64 8 to i8*), %then ]
[all …]
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/
DLocal.cpp29 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2); in TEST() local
35 phi->addIncoming(phi, bb0); in TEST()
36 phi->addIncoming(phi, bb1); in TEST()
39 EXPECT_TRUE(RecursivelyDeleteDeadPHINode(phi)); in TEST()
46 phi = builder.CreatePHI(Type::getInt32Ty(C), 0); in TEST()
48 EXPECT_TRUE(RecursivelyDeleteDeadPHINode(phi)); in TEST()
51 phi = builder.CreatePHI(Type::getInt32Ty(C), 0); in TEST()
52 builder.CreateAdd(phi, phi); in TEST()
54 EXPECT_TRUE(RecursivelyDeleteDeadPHINode(phi)); in TEST()
/external/mesa3d/src/compiler/nir/
Dnir_lower_phis_to_scalar.c47 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state);
131 should_lower_phi(nir_phi_instr *phi, struct lower_phis_to_scalar_state *state) in should_lower_phi() argument
134 if (phi->dest.ssa.num_components == 1) in should_lower_phi()
137 struct hash_entry *entry = _mesa_hash_table_search(state->phi_table, phi); in should_lower_phi()
145 entry = _mesa_hash_table_insert(state->phi_table, phi, (void *)(intptr_t)1); in should_lower_phi()
149 nir_foreach_phi_src(src, phi) { in should_lower_phi()
157 entry = _mesa_hash_table_search(state->phi_table, phi); in should_lower_phi()
187 nir_phi_instr *phi = nir_instr_as_phi(instr); in lower_phis_to_scalar_block() local
189 if (!should_lower_phi(phi, state)) in lower_phis_to_scalar_block()
192 unsigned bit_size = phi->dest.ssa.bit_size; in lower_phis_to_scalar_block()
[all …]
/external/v8/src/compiler/
Dloop-variable-optimizer.cc154 os << "New upper bound for " << phi()->id() << " (loop " in AddUpperBound()
155 << NodeProperties::GetControlInput(phi())->id() << "): " << *bound in AddUpperBound()
165 os << "New lower bound for " << phi()->id() << " (loop " in AddLowerBound()
166 << NodeProperties::GetControlInput(phi())->id() << "): " << *bound; in AddLowerBound()
300 InductionVariable* LoopVariableOptimizer::TryGetInductionVariable(Node* phi) { in TryGetInductionVariable() argument
301 DCHECK_EQ(2, phi->op()->ValueInputCount()); in TryGetInductionVariable()
302 DCHECK_EQ(IrOpcode::kLoop, NodeProperties::GetControlInput(phi)->opcode()); in TryGetInductionVariable()
303 Node* initial = phi->InputAt(0); in TryGetInductionVariable()
304 Node* arith = phi->InputAt(1); in TryGetInductionVariable()
317 if (arith->InputAt(0) != phi) { in TryGetInductionVariable()
[all …]
/external/llvm/test/Transforms/LoopVectorize/ARM/
Darm-unroll.ll21 %i.02 = phi i32 [ %5, %.lr.ph ], [ 0, %0 ]
22 %sum.01 = phi i32 [ %4, %.lr.ph ], [ 0, %0 ]
31 %sum.0.lcssa = phi i32 [ 0, %0 ], [ %4, %.lr.ph ]
44 %i.02 = phi i32 [ %5, %.lr.ph ], [ 0, %0 ]
45 %sum.01 = phi i32 [ %4, %.lr.ph ], [ 0, %0 ]
46 %sum.02 = phi i32 [ %6, %.lr.ph ], [ 0, %0 ]
47 %sum.03 = phi i32 [ %7, %.lr.ph ], [ 0, %0 ]
48 %sum.04 = phi i32 [ %8, %.lr.ph ], [ 0, %0 ]
49 %sum.05 = phi i32 [ %9, %.lr.ph ], [ 0, %0 ]
50 %sum.06 = phi i32 [ %10, %.lr.ph ], [ 0, %0 ]
[all …]

12345678910>>...133