Searched defs:phi (Results 1 - 25 of 30) sorted by relevance

12

/external/llvm/unittests/Transforms/Utils/
H A DLocal.cpp30 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2); local
36 phi->addIncoming(phi, bb0);
37 phi->addIncoming(phi, bb1);
40 EXPECT_TRUE(RecursivelyDeleteDeadPHINode(phi));
47 phi = builder.CreatePHI(Type::getInt32Ty(C), 0);
49 EXPECT_TRUE(RecursivelyDeleteDeadPHINode(phi));
52 phi = builder.CreatePHI(Type::getInt32Ty(C), 0);
53 builder.CreateAdd(phi, ph
[all...]
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DDeadCodeRemover.java257 public void visitPhiInsn (PhiInsn phi) { argument
259 if (!hasSideEffect(phi)) {
260 noSideEffectRegs.set(phi.getResult().getReg());
H A DSsaRenamer.java475 public void visitPhiInsn(PhiInsn phi) { argument
476 /* don't process sources for phi's */
477 processResultReg(phi);
583 * All insns that are not move or phi insns have their source registers
625 * Updates the phi insns in successor blocks with operands based
639 * Never add a version 0 register as a phi
/external/llvm/lib/CodeGen/
H A DUnreachableBlockElim.cpp181 MachineBasicBlock::iterator phi = BB->begin(); local
182 while (phi != BB->end() && phi->isPHI()) {
183 for (unsigned i = phi->getNumOperands() - 1; i >= 2; i-=2)
184 if (!preds.count(phi->getOperand(i).getMBB())) {
185 phi->RemoveOperand(i);
186 phi->RemoveOperand(i-1);
190 if (phi->getNumOperands() == 3) {
191 unsigned Input = phi->getOperand(1).getReg();
192 unsigned Output = phi
[all...]
H A DEarlyIfConversion.cpp108 /// Information about each phi in the Tail block.
115 PHIInfo(MachineInstr *phi) argument
116 : PHI(phi), TReg(0), FReg(0), CondCycles(0), TCycles(0), FCycles(0) {}
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/
H A Datlantis.h47 float x, y, z, phi, theta, psi, v; member in struct:_fishRec
/external/clang/test/CodeGen/
H A D2007-03-05-DataLayout.c23 double phi; member in struct:bnode
36 #define Phi(x) ((x)->phi)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
H A Dcodegen.ml67 * phi. We create a new name because one is used for the phi node, and the
77 * phi. *)
84 let phi = build_phi incoming "iftmp" builder in var
98 phi
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dcodegen.ml85 * phi. We create a new name because one is used for the phi node, and the
95 * phi. *)
102 let phi = build_phi incoming "iftmp" builder in var
116 phi
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
H A Dcodegen.ml115 * phi. We create a new name because one is used for the phi node, and the
125 * phi. *)
132 let phi = build_phi incoming "iftmp" builder in var
146 phi
/external/llvm/examples/BrainF/
H A DBrainF.cpp184 void BrainF::readloop(PHINode *phi, BasicBlock *oldbb, BasicBlock *testbb, argument
418 if (!phi) {
430 //%head.%d = phi i8 *[%head.%d, %main.%d], [%head.%d, %main.%d]
431 //Finish phi made at beginning of loop
432 phi->addIncoming(curhead, builder->GetInsertBlock());
433 Value *head_0 = phi;
449 //%head.%d = phi i8 *[%head.%d, %main.%d]
463 if (phi) {
/external/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp97 PHINode *phi = cast<PHINode>(I); local
98 phi->addIncoming(UnwindDestPHIValues[i], src);
876 // If we inserted a phi node, check to see if it has a single value (e.g. all
/external/llvm/test/Bindings/Ocaml/
H A Dvmcore.ml1263 group "phi"; begin
1274 let phi = build_phi [(p1, b1)] "PhiNode" at_jb in var
1275 insist ([(p1, b1)] = incoming phi);
1277 add_incoming (p2, b2) phi;
1278 insist ([(p1, b1); (p2, b2)] = incoming phi);
/external/freetype/src/base/
H A Dftstroke.c983 FT_Angle phi, theta, rotate; local
1021 phi = stroker->angle_in + theta;
1027 FT_Vector_From_Polar( &delta, length, phi + rotate );
1055 FT_Angle theta = 0, phi = 0; local
1075 phi = stroker->angle_in;
1080 phi = stroker->angle_in + theta + rotate;
1124 phi );
1133 FT_Vector_From_Polar( &delta, length, phi + rotate );
1142 FT_Vector_From_Polar( &delta, length, phi - rotate );
1173 FT_Vector_From_Polar( &delta, length, phi );
1434 FT_Angle theta, phi, rotate, alpha0 = 0; local
[all...]
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp1352 const PHINode* phi = cast<PHINode>(I); local
1355 << getCppName(phi->getType()) << ", "
1356 << phi->getNumIncomingValues() << ", \"";
1357 printEscapedString(phi->getName());
1360 for (unsigned i = 0; i < phi->getNumIncomingValues(); ++i) {
1363 << getOpName(phi->getIncomingBlock(i)) << ");";
/external/llvm/lib/Transforms/Instrumentation/
H A DPathProfiling.cpp937 PHINode* phi = PHINode::Create(Type::getInt32Ty(*Context), local
940 node->setPathPHI(phi);
941 node->setStartingPathNumber(phi);
942 node->setEndingPathNumber(phi);
948 phi->addIncoming(createIncrementConstant((long)-1, 32), pred);
985 PHINode* phi = target->getPathPHI(); local
986 assert(phi != NULL && " Tried to push value into node with PHI, but node"
988 phi->removeIncomingValue(source->getBlock(), false);
989 phi->addIncoming(source->getEndingPathNumber(), source->getBlock());
/external/opencv/cv/src/
H A Dcvhough.cpp293 float phi, phi1; local
316 for( ti1 = 1, phi = theta_it - halfPi, phi1 = (theta_it + t) * itheta;
317 ti1 < halftn; ti1++, phi += theta_it, phi1 += scale_factor )
319 rv = r0 * _cos( phi );
380 for( ti1 = 0 /*, phi = ti*theta - Pi/2 - t */ ; ti1 < stn; ti1++, ti2 += 5
381 /*phi += stheta */ )
383 /*rv = r*_cos(phi) - r0; */
H A Dcvimgwarp.cpp2178 int phi, rho; local
2185 for( phi = 0; phi < dsize.height; phi++ )
2187 double cp = cos(phi*2*CV_PI/dsize.height);
2188 double sp = sin(phi*2*CV_PI/dsize.height);
2189 float* mx = (float*)(mapx->data.ptr + phi*mapx->step);
2190 float* my = (float*)(mapy->data.ptr + phi*mapy->step);
2238 double phi = bufa.data.fl[x]*ascale; local
2241 my[x] = (float)phi;
[all...]
/external/opencv/cxcore/src/
H A Dcxmathfuncs.cpp692 double phi = angle_data[x]*C; local
695 x_data[x] = cos(phi)*magval;
697 y_data[x] = sin(phi)*magval;
/external/v8/src/
H A Dlithium-allocator.cc574 // All phi input operands corresponding to this successor edge are live
579 HPhi* phi = phis->at(i); local
580 if (!phi->OperandAt(index)->IsConstant()) {
581 live_out->Add(phi->OperandAt(index)->id());
911 HPhi* phi = LookupPhi(to); local
913 if (phi != NULL) {
914 // This is a phi resolving move.
915 if (!phi->block()->IsLoopHeader()) {
916 hint = LiveRangeFor(phi->id())->FirstHint();
1015 HPhi* phi local
1267 HPhi* phi = phis->at(i); local
[all...]
/external/v8/src/arm/
H A Dlithium-arm.cc944 HPhi* phi = block->phis()->at(i); local
945 last_environment->SetValueAt(phi->merged_index(), phi);
/external/v8/src/ia32/
H A Dlithium-ia32.cc945 HPhi* phi = block->phis()->at(i); local
946 last_environment->SetValueAt(phi->merged_index(), phi);
/external/v8/src/mips/
H A Dlithium-mips.cc944 HPhi* phi = block->phis()->at(i); local
945 last_environment->SetValueAt(phi->merged_index(), phi);

Completed in 420 milliseconds

12