Searched refs:phi (Results 1 - 25 of 55) sorted by relevance

123

/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/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...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DRSAKeyPairGenerator.java30 BigInteger p, q, n, d, e, pSub1, qSub1, phi;
120 phi = p;
122 q = phi;
127 phi = pSub1.multiply(qSub1);
132 d = e.modInverse(phi);
/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
H A Dswim.c49 glRotatef(-fish->phi, 0.0, 0.0, 1.0);
56 fish->phi = -20.0;
H A Datlantis.c202 dolph.phi++;
205 momWhale.phi++;
207 babyWhale.phi++;
/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
H A Dswim.c49 glRotatef(-fish->phi, 0.0, 0.0, 1.0);
56 fish->phi = -20.0;
H A Datlantis.c202 dolph.phi++;
205 momWhale.phi++;
207 babyWhale.phi++;
/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
H A Dswim.c49 glRotatef(-fish->phi, 0.0, 0.0, 1.0);
56 fish->phi = -20.0;
H A Datlantis.c202 dolph.phi++;
205 momWhale.phi++;
207 babyWhale.phi++;
/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/BrainF/
H A DBrainF.h73 void readloop(PHINode *phi, BasicBlock *oldbb,
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/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 DMoveParamCombiner.java65 public void visitPhiInsn (PhiInsn phi) {
H A DSsaMethod.java192 * is called after edge-splitting and phi insertion, since the edges
313 * Borrows a register to use as a temp. Used in the phi removal process.
424 public void visitPhiInsn (PhiInsn phi) {
425 definitionList[phi.getResult().getReg()] = phi;
458 public void visitPhiInsn (PhiInsn phi) {
459 addToUses(phi);
734 * Visits each phi insn in this method
/external/dexmaker/src/dx/java/com/android/dx/ssa/back/
H A DLivenessAnalyzer.java160 // If s is a phi-function with V as it's ith argument.
161 PhiInsn phi = (PhiInsn) insn;
164 phi.predBlocksForReg(regV, ssaMeth)) {
247 * Ensures that all the phi result registers for all the phis in the
251 * a the result of a dead-end phi might be assigned the same register
252 * as the result of another phi, and the phi removal move scheduler may
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
H A DTorus.java149 float phi = FastMath.TWO_PI * radialFraction;
150 float cosPhi = FastMath.cos(phi);
151 float sinPhi = FastMath.sin(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/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/v8/src/
H A Dhydrogen.cc89 void HBasicBlock::AddPhi(HPhi* phi) { argument
91 phis_.Add(phi);
92 phi->SetBlock(this);
96 void HBasicBlock::RemovePhi(HPhi* phi) { argument
97 ASSERT(phi->block() == this);
98 ASSERT(phis_.Contains(phi));
99 ASSERT(phi->HasNoUses() || !phi->is_live());
100 phi->Kill();
101 phis_.RemoveElement(phi);
516 HPhi* phi = block->phis()->at(j); local
851 HPhi* phi = worklist.RemoveLast(); local
881 HPhi* phi = blocks_[i]->phis()->at(j); local
895 HPhi* phi = worklist.RemoveLast(); local
907 HPhi* phi = phi_list[i]; local
921 HPhi* phi = blocks_[i]->phis()->at(j); local
934 HPhi* phi = blocks_[i]->phis()->at(j); local
950 HPhi* phi = blocks_[i]->phis()->at(j); local
1033 HPhi* phi = block->phis()->at(i); local
1874 HPhi* phi = phi_list->at(i); local
1892 HPhi* phi = phi_list->at(i); local
1976 HPhi* phi = HPhi::cast(current); local
2075 HPhi* phi = phi_list()->at(i); local
2084 HPhi* phi = phi_list()->at(i); local
2110 RecursivelyMarkPhiDeoptimizeOnUndefined(HPhi* phi) argument
2131 HPhi* phi = phi_list()->at(i); local
2530 HPhi* phi = phis->at(j); local
7687 HPhi* phi = HPhi::cast(value); local
7695 HPhi* phi = new(block->zone()) HPhi(i); local
7765 HPhi* phi = new(loop_header->zone()) HPhi(i); local
7955 HPhi* phi = current->phis()->at(j); local
[all...]
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/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

Completed in 315 milliseconds

123