/external/llvm/test/CodeGen/X86/ |
D | 2009-04-27-CoalescerAssert.ll | 104 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 …]
|
D | 2009-10-25-RewriterBug.ll | 45 …%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 …]
|
D | 2010-02-23-SingleDefPhiJoin.ll | 4 ; This test case creates a phi join register with a single definition. The other 7 ; If LiveIntervalAnalysis fails to recognize this as a phi join, the coalescer 72 …%ooffset.2.lcssa.phi.SV.phi203 = phi i32 [ 0, %meshBB122 ], [ %ooffset.2.lcssa.phi.SV.phi233, %mes… 94 ret i32 %ooffset.2.lcssa.phi.SV.phi250 100 …%ooffset.2.lcssa.phi.SV.phi233 = phi i32 [ undef, %bb3 ], [ %ooffset.2.lcssa.phi.SV.phi209, %bb1.i… 107 …%ooffset.2.lcssa.phi.SV.phi239 = phi i32 [ %ooffset.2.lcssa.phi.SV.phi209, %bb1.i.fragment ], [ %o… 120 …%ooffset.2.lcssa.phi.SV.phi250 = phi i32 [ 0, %bb13.fragment ], [ %ooffset.2.lcssa.phi.SV.phi239, … 124 …%ooffset.2.lcssa.phi.SV.phi209 = phi i32 [ undef, %bb2.fragment15 ], [ %ooffset.2.lcssa.phi.SV.phi… 137 %meshStackVariable115.phi = phi i32 [ 19, %bb7 ], [ 8, %bb.nph ] ; <i32> [#uses=0]
|
/external/llvm/test/Transforms/SimplifyCFG/ |
D | SpeculativeExec.ll | 1 ; 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/llvm/unittests/Transforms/Utils/ |
D | Local.cpp | 29 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/llvm/test/Analysis/ScalarEvolution/ |
D | 2008-08-04-LongAddRec.ll | 31 %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/ |
D | hydrogen-uint32-analysis.cc | 119 bool HUint32AnalysisPhase::CheckPhiOperands(HPhi* phi) { in CheckPhiOperands() argument 120 if (!phi->CheckFlag(HInstruction::kUint32)) { in CheckPhiOperands() 125 for (int j = 0; j < phi->OperandCount(); j++) { in CheckPhiOperands() 126 HValue* operand = phi->OperandAt(j); in CheckPhiOperands() 147 void HUint32AnalysisPhase::UnmarkPhi(HPhi* phi, ZoneList<HPhi*>* worklist) { in UnmarkPhi() argument 148 phi->ClearFlag(HInstruction::kUint32); in UnmarkPhi() 149 for (int j = 0; j < phi->OperandCount(); j++) { in UnmarkPhi() 150 HValue* operand = phi->OperandAt(j); in UnmarkPhi() 180 HPhi* phi = phis_[i]; in UnmarkUnsafePhis() local 182 if (CheckPhiOperands(phi) && Uint32UsesAreSafe(phi)) { in UnmarkUnsafePhis() [all …]
|
D | hydrogen-mark-deoptimize.cc | 13 HPhi* phi = phi_list->at(i); in Run() local 14 if (phi->CheckFlag(HValue::kAllowUndefinedAsNaN) && in Run() 15 !phi->CheckUsesForFlag(HValue::kAllowUndefinedAsNaN)) { in Run() 16 ProcessPhi(phi); in Run() 22 void HMarkDeoptimizeOnUndefinedPhase::ProcessPhi(HPhi* phi) { in ProcessPhi() argument 23 DCHECK(phi->CheckFlag(HValue::kAllowUndefinedAsNaN)); in ProcessPhi() 27 phi->ClearFlag(HValue::kAllowUndefinedAsNaN); in ProcessPhi() 28 worklist_.Add(phi, zone()); in ProcessPhi() 32 phi = worklist_.RemoveLast(); in ProcessPhi() 33 for (int i = phi->OperandCount() - 1; i >= 0; --i) { in ProcessPhi() [all …]
|
D | hydrogen-dce.cc | 57 HPhi* phi = block->phis()->at(j); in MarkLiveInstructions() local 58 if (phi->CannotBeEliminated()) MarkLive(phi, &worklist); in MarkLiveInstructions() 84 HPhi* phi = block->phis()->at(j); in RemoveDeadInstructions() local 85 if (!phi->CheckFlag(HValue::kIsLive)) { in RemoveDeadInstructions() 86 worklist.Add(phi, zone()); in RemoveDeadInstructions() 88 phi->ClearFlag(HValue::kIsLive); in RemoveDeadInstructions() 95 HPhi* phi = worklist.RemoveLast(); in RemoveDeadInstructions() local 96 HBasicBlock* block = phi->block(); in RemoveDeadInstructions() 97 phi->DeleteAndReplaceWith(NULL); in RemoveDeadInstructions() 98 if (phi->HasMergedIndex()) { in RemoveDeadInstructions() [all …]
|
D | hydrogen-representation-changes.cc | 118 HPhi* phi = phi_list->at(i); in Run() local 119 if (phi->representation().IsInteger32()) { in Run() 120 phi->SetFlag(HValue::kTruncatingToInt32); in Run() 121 } else if (phi->representation().IsSmi()) { in Run() 122 phi->SetFlag(HValue::kTruncatingToSmi); in Run() 123 phi->SetFlag(HValue::kTruncatingToInt32); in Run() 128 HPhi* phi = phi_list->at(i); in Run() local 130 if (phi->representation().IsSmiOrInteger32() && in Run() 131 !phi->CheckUsesForFlag(HValue::kTruncatingToInt32, &value)) { in Run() 132 int_worklist.Add(phi, zone()); in Run() [all …]
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | no-iv-rewrite.ll | 19 ; 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 …]
|
D | iv-sext.ll | 20 ; CHECK: phi i64 21 ; CHECK-NOT: phi i64 23 …%distERBhi.121 = phi float [ %distERBhi.2.lcssa, %bb8 ], [ 0.000000e+00, %bb.nph22 ] ; <float> [#… 24 …%distERBlo.120 = phi float [ %distERBlo.0.lcssa, %bb8 ], [ 0.000000e+00, %bb.nph22 ] ; <float> [#… 25 %hiPart.119 = phi i32 [ %hiPart.0.lcssa, %bb8 ], [ 0, %bb.nph22 ] ; <i32> [#uses=3] 26 %loPart.118 = phi i32 [ %loPart.0.lcssa, %bb8 ], [ 0, %bb.nph22 ] ; <i32> [#uses=2] 27 %peakCount.117 = phi float [ %peakCount.2.lcssa, %bb8 ], [ %tmp, %bb.nph22 ] ; <float> [#uses=2] 28 %part.016 = phi i32 [ %tmp46, %bb8 ], [ 0, %bb.nph22 ] ; <i32> [#uses=5] 47 %distERBlo.0.ph = phi float [ %distERBlo.120, %bb ], [ %tmp9, %bb1 ] ; <float> [#uses=3] 48 %distERBhi.0.ph = phi float [ %distERBhi.121, %bb ], [ %tmp14, %bb1 ] ; <float> [#uses=3] [all …]
|
/external/llvm/test/CodeGen/Hexagon/ |
D | hwloop-cleanup.ll | 1 ; 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 …]
|
D | postinc-load.ll | 11 %lsr.iv = phi i32 [ %lsr.iv.next, %for.body ], [ 10, %entry ] 12 %arrayidx.phi = phi i32* [ %a, %entry ], [ %arrayidx.inc, %for.body ] 13 %arrayidx1.phi = phi i16* [ %b, %entry ], [ %arrayidx1.inc, %for.body ] 14 %sum.03 = phi i32 [ 0, %entry ], [ %add2, %for.body ] 15 %0 = load i32, i32* %arrayidx.phi, align 4 16 %1 = load i16, i16* %arrayidx1.phi, align 2 20 %arrayidx.inc = getelementptr i32, i32* %arrayidx.phi, i32 1 21 %arrayidx1.inc = getelementptr i16, i16* %arrayidx1.phi, i32 1
|
D | postinc-store.ll | 11 %lsr.iv = phi i32 [ %lsr.iv.next, %for.body ], [ 10, %entry ] 12 %arrayidx.phi = phi i32* [ %a, %entry ], [ %arrayidx.inc, %for.body ] 13 %arrayidx1.phi = phi i16* [ %b, %entry ], [ %arrayidx1.inc, %for.body ] 14 %0 = load i32, i32* %arrayidx.phi, align 4 15 %1 = load i16, i16* %arrayidx1.phi, align 2 19 store i32 %add3, i32* %arrayidx.phi, align 4 21 %arrayidx.inc = getelementptr i32, i32* %arrayidx.phi, i32 1 22 %arrayidx1.inc = getelementptr i16, i16* %arrayidx1.phi, i32 1
|
/external/llvm/test/Transforms/LoopVectorize/ARM/ |
D | arm-unroll.ll | 21 %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 …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | phi.ll | 13 %B = phi i32 [ %A, %BB0 ] 32 %B = phi i32 [ %A, %BB0 ], [ %A, %BB1 ] 45 %B = phi i32 [ %A, %BB0 ], [ %B, %Loop ] 62 %B = phi i32 [ %B, %L2 ], [ %B, %Loop ] 78 %B = phi i32 [ %A, %BB0 ], [ undef, %Loop ] 100 ;; Suck casts into phi 101 %B = phi i32 [ %X, %BB0 ], [ %Y, %BB1 ] 115 %B = phi i32 [ %A, %BB0 ], [ %C, %Loop ] 136 ;; Suck GEPs into phi 137 %B = phi i32* [ %X, %BB0 ], [ %Y, %BB1 ] [all …]
|
/external/libvncserver/test/ |
D | copyrecttest.c | 22 double r,phi=0; in main() local 38 phi=0; in main() 41 phi+=0.02; in main() 42 if(phi>2*M_PI) in main() 43 phi-=2*M_PI; in main() 45 x=width*(0.5+cos(phi)*r); in main() 46 y=height*(0.5+sin(phi)*r); in main() 48 unsigned int dx=width*0.5*(1-cos(phi)*r)-x, in main() 49 dy=height*0.5*(1-sin(phi)*r)-y; in main()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | vsx-infl-copy1.ll | 17 %index = phi i64 [ 0, %entry ], [ %index.next, %vector.body ] 18 %vec.phi = phi <4 x i32> [ zeroinitializer, %entry ], [ %43, %vector.body ] 19 %vec.phi20 = phi <4 x i32> [ zeroinitializer, %entry ], [ %44, %vector.body ] 20 %vec.phi21 = phi <4 x i32> [ zeroinitializer, %entry ], [ %45, %vector.body ] 21 %vec.phi23 = phi <4 x i32> [ zeroinitializer, %entry ], [ %46, %vector.body ] 22 %vec.phi24 = phi <4 x i32> [ zeroinitializer, %entry ], [ %47, %vector.body ] 23 %vec.phi25 = phi <4 x i32> [ zeroinitializer, %entry ], [ %48, %vector.body ] 24 %vec.phi26 = phi <4 x i32> [ zeroinitializer, %entry ], [ %49, %vector.body ] 25 %vec.phi27 = phi <4 x i32> [ zeroinitializer, %entry ], [ %50, %vector.body ] 26 %vec.phi28 = phi <4 x i32> [ zeroinitializer, %entry ], [ %51, %vector.body ] [all …]
|
/external/llvm/test/CodeGen/R600/ |
D | schedule-vs-if-nested-loop-failure.ll | 24 %9 = phi float [ %115, %ENDIF19 ], [ undef, %ENDIF16 ] 25 %10 = phi float [ %114, %ENDIF19 ], [ undef, %ENDIF16 ] 26 %11 = phi float [ %113, %ENDIF19 ], [ undef, %ENDIF16 ] 27 %12 = phi float [ %112, %ENDIF19 ], [ undef, %ENDIF16 ] 28 %13 = phi float [ %111, %ENDIF19 ], [ undef, %ENDIF16 ] 29 %14 = phi i1 [ false, %ENDIF19 ], [ true, %ENDIF16 ] 36 %temp.0 = phi float [ 0.000000e+00, %main_body ], [ %104, %Flow2 ] 37 %temp1.0 = phi float [ 1.000000e+00, %main_body ], [ %103, %Flow2 ] 38 %temp2.0 = phi float [ 0.000000e+00, %main_body ], [ %102, %Flow2 ] 39 %temp3.0 = phi float [ 0.000000e+00, %main_body ], [ %101, %Flow2 ] [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
D | HarmonicFunction.java | 36 private final double phi; field in HarmonicFunction 43 public HarmonicFunction(double a, double omega, double phi) { in HarmonicFunction() argument 46 this.phi = phi; in HarmonicFunction() 51 return a * FastMath.cos(omega * x + phi); in value() 56 return new HarmonicFunction(a * omega, omega, phi + FastMath.PI / 2); in derivative() 77 return phi; in getPhase()
|
/external/llvm/test/Transforms/LoopIdiom/X86/ |
D | popcnt.ll | 22 %c.05 = phi i32 [ %inc, %while.body ], [ 0, %entry ] 23 %a.addr.04 = phi i64 [ %and, %while.body ], [ %a, %entry ] 31 %c.0.lcssa = phi i32 [ 0, %entry ], [ %inc, %while.body ] 55 %c.013 = phi i32 [ %inc, %while.body ], [ 0, %entry ] 56 %mydata2.addr.012 = phi i32 [ %mul1, %while.body ], [ %mydata2, %entry ] 57 %mydata1.addr.011 = phi i32 [ %mul, %while.body ], [ %mydata1, %entry ] 58 %a.addr.010 = phi i64 [ %and, %while.body ], [ %a, %entry ] 69 %c.0.lcssa = phi i32 [ 0, %entry ], [ %inc, %while.body ] 70 %mydata2.addr.0.lcssa = phi i32 [ %mydata2, %entry ], [ %mul1, %while.body ] 71 %mydata1.addr.0.lcssa = phi i32 [ %mydata1, %entry ], [ %mul, %while.body ] [all …]
|
/external/llvm/lib/CodeGen/ |
D | UnreachableBlockElim.cpp | 174 MachineBasicBlock::iterator phi = BB->begin(); in runOnMachineFunction() local 175 while (phi != BB->end() && phi->isPHI()) { in runOnMachineFunction() 176 for (unsigned i = phi->getNumOperands() - 1; i >= 2; i-=2) in runOnMachineFunction() 177 if (!preds.count(phi->getOperand(i).getMBB())) { in runOnMachineFunction() 178 phi->RemoveOperand(i); in runOnMachineFunction() 179 phi->RemoveOperand(i-1); in runOnMachineFunction() 183 if (phi->getNumOperands() == 3) { in runOnMachineFunction() 184 unsigned Input = phi->getOperand(1).getReg(); in runOnMachineFunction() 185 unsigned Output = phi->getOperand(0).getReg(); in runOnMachineFunction() 187 MachineInstr* temp = phi; in runOnMachineFunction() [all …]
|
/external/llvm/test/Transforms/GVN/ |
D | phi-translate-partial-alias.ll | 7 ; if phi-translation is ignored. 11 ; CHECK: %l0 = load i8, i8* %phi 13 ; CHECK: %l1 = load i8, i8* %phi 19 %phi = phi i8* [ %begin, %entry ], [ %next, %loop ] 20 %l0 = load i8, i8* %phi 22 %l1 = load i8, i8* %phi 23 %next = getelementptr inbounds i8, i8* %phi, i8 %l1
|
/external/llvm/test/Analysis/BasicAA/ |
D | dag.ll | 8 ; CHECK: MustAlias: i8* %base, i8* %phi 9 ; CHECK: MustAlias: i8* %phi, i8* %wwa 10 ; CHECK: MustAlias: i8* %phi, i8* %wwb 11 ; CHECK: MustAlias: i16* %bigbase, i8* %phi 22 %first = phi i8* [ %wwa, %wa ], [ %wwb, %wb ] 32 %phi = phi i8* [ %xxa, %xa ], [ %xxb, %xb ] 34 store i8 0, i8* %phi 39 %loaded = load i8, i8* %phi
|