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

123456

/external/llvm/unittests/Transforms/Utils/
H A DLocal.cpp29 PHINode *phi = builder.CreatePHI(Type::getInt32Ty(C), 2); local
35 phi->addIncoming(phi, bb0);
36 phi->addIncoming(phi, bb1);
39 EXPECT_TRUE(RecursivelyDeleteDeadPHINode(phi));
46 phi = builder.CreatePHI(Type::getInt32Ty(C), 0);
48 EXPECT_TRUE(RecursivelyDeleteDeadPHINode(phi));
51 phi = builder.CreatePHI(Type::getInt32Ty(C), 0);
52 builder.CreateAdd(phi, ph
[all...]
/external/chromium_org/v8/src/
H A Dhydrogen-mark-deoptimize.cc13 HPhi* phi = phi_list->at(i); local
14 if (phi->CheckFlag(HValue::kAllowUndefinedAsNaN) &&
15 !phi->CheckUsesForFlag(HValue::kAllowUndefinedAsNaN)) {
16 ProcessPhi(phi);
22 void HMarkDeoptimizeOnUndefinedPhase::ProcessPhi(HPhi* phi) { argument
23 DCHECK(phi->CheckFlag(HValue::kAllowUndefinedAsNaN));
26 // Push the phi onto the worklist
27 phi->ClearFlag(HValue::kAllowUndefinedAsNaN);
28 worklist_.Add(phi, zone());
30 // Process all phis that can reach this phi
[all...]
H A Dhydrogen-uint32-analysis.cc87 // There is a phi use of this value from a phi that is not yet
105 // There is a phi use of this value from a phi that is not yet
118 // Check if all operands to the given phi are marked with kUint32 flag.
119 bool HUint32AnalysisPhase::CheckPhiOperands(HPhi* phi) { argument
120 if (!phi->CheckFlag(HInstruction::kUint32)) {
121 // This phi is not uint32 safe. No need to check operands.
125 for (int j = 0; j < phi->OperandCount(); j++) {
126 HValue* operand = phi
147 UnmarkPhi(HPhi* phi, ZoneList<HPhi*>* worklist) argument
180 HPhi* phi = phis_[i]; local
195 HPhi* phi = worklist.RemoveLast(); local
204 HPhi* phi = phis_[i]; local
[all...]
H A Dhydrogen-dce.cc57 HPhi* phi = block->phis()->at(j); local
58 if (phi->CannotBeEliminated()) MarkLive(phi, &worklist);
84 HPhi* phi = block->phis()->at(j); local
85 if (!phi->CheckFlag(HValue::kIsLive)) {
86 worklist.Add(phi, zone());
88 phi->ClearFlag(HValue::kIsLive);
93 // Process phis separately to avoid simultaneously mutating the phi list.
95 HPhi* phi = worklist.RemoveLast(); local
96 HBasicBlock* block = phi
[all...]
H A Dhydrogen-redundant-phi.cc5 #include "src/hydrogen-redundant-phi.h"
46 HPhi* phi = phis->at(i); local
47 if (phi->CheckFlag(HValue::kIsDead)) continue; // Already replaced.
49 HValue* replacement = phi->GetRedundantReplacement();
51 phi->SetFlag(HValue::kIsDead);
52 for (HUseIterator it(phi->uses()); !it.Done(); it.Advance()) {
55 // Iterate again if used in another non-dead phi.
58 phi->block()->RemovePhi(phi);
H A Dhydrogen-uint32-analysis.h26 INLINE(bool CheckPhiOperands(HPhi* phi));
27 INLINE(void UnmarkPhi(HPhi* phi, ZoneList<HPhi*>* worklist));
H A Dhydrogen-representation-changes.cc12 // Insert the representation change right before its use. For phi-uses we
118 HPhi* phi = phi_list->at(i); local
119 if (phi->representation().IsInteger32()) {
120 phi->SetFlag(HValue::kTruncatingToInt32);
121 } else if (phi->representation().IsSmi()) {
122 phi->SetFlag(HValue::kTruncatingToSmi);
123 phi->SetFlag(HValue::kTruncatingToInt32);
128 HPhi* phi = phi_list->at(i); local
130 if (phi->representation().IsSmiOrInteger32() &&
131 !phi
[all...]
H A Dhydrogen-infer-types.cc32 HPhi* phi = block->phis()->at(j); local
33 worklist_.Add(phi, zone());
34 in_worklist_.Add(phi->id());
H A Dhydrogen-bch.cc48 HLoopInformation* loop = data->phi()->block()->current_loop();
100 loop_header_ = data->phi()->block()->current_loop()->loop_header();
195 data->phi()->block()->current_loop()->loop_header();
285 HPhi* phi = bb->phis()->at(i); local
286 phi->DetectInductionVariable();
303 HPhi* phi = HPhi::cast(decomposition.base); local
305 if (!phi->IsInductionVariable()) continue;
306 InductionVariableData* data = phi->induction_variable_data();
320 if (!phi->IsLimitedInductionVariable()) continue;
324 phi
339 HPhi* phi = bb->phis()->at(i); local
[all...]
H A Dhydrogen-mark-deoptimize.h14 // Compute DeoptimizeOnUndefined flag for phis. Any phi that can reach a use
28 void ProcessPhi(HPhi* phi);
H A Dhydrogen-osr.cc95 HPhi* phi = phis->at(j); local
96 if (phi->HasMergedIndex()) {
97 osr_values_->at(phi->merged_index())->set_incoming_value(phi);
H A Dhydrogen-infer-representation.cc20 // (1) Initialize bit vectors and count real uses. Each phi gets a
33 // phi is connected to another phi if its value is used either directly or
41 HPhi* phi = phi_list->at(i); local
42 for (HUseIterator it(phi->uses()); !it.Done(); it.Advance()) {
96 // Simplify constant phi inputs where possible.
102 // Use the phi reachability information from step 2 to
103 // sum up the non-phi use counts of all connected phis.
105 HPhi* phi = phi_list->at(i); local
111 if (index != i) phi
142 HPhi* phi = phis->at(j); local
[all...]
H A Dhydrogen-escape-analysis.cc92 HPhi* phi = NewPhiAndInsert(block, operand, index); local
93 state->SetOperandAt(index, phi);
112 // Insert a newly created phi into the given block and fill all incoming
118 HPhi* phi = new(zone) HPhi(HPhi::kInvalidMergedIndex, zone); local
120 phi->AddInput(incoming_value);
122 block->AddPhi(phi);
123 return phi;
275 HPhi* phi = HPhi::cast(succ_operand); local
276 phi->SetOperandAt(succ->PredecessorIndexOf(block), operand);
279 HPhi* phi local
[all...]
/external/llvm/lib/CodeGen/
H A DUnreachableBlockElim.cpp177 MachineBasicBlock::iterator phi = BB->begin(); local
178 while (phi != BB->end() && phi->isPHI()) {
179 for (unsigned i = phi->getNumOperands() - 1; i >= 2; i-=2)
180 if (!preds.count(phi->getOperand(i).getMBB())) {
181 phi->RemoveOperand(i);
182 phi->RemoveOperand(i-1);
186 if (phi->getNumOperands() == 3) {
187 unsigned Input = phi->getOperand(1).getReg();
188 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
/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/chromium_org/v8/src/compiler/
H A Dchange-lowering-unittest.cc131 Node* phi = reduction.replacement(); local
133 EXPECT_THAT(phi,
202 Node* phi = reduction.replacement(); local
205 phi,
232 Node* phi = reduction.replacement(); local
235 phi,
261 Node* phi = reduction.replacement(); local
264 phi,
287 Node* phi = reduction.replacement(); local
290 phi,
313 Node* phi = reduction.replacement(); local
369 Node* phi = reduction.replacement(); local
398 Node* phi = reduction.replacement(); local
425 Node* phi = reduction.replacement(); local
452 Node* phi = reduction.replacement(); local
[all...]
H A Dchange-lowering.cc114 Node* phi = graph()->NewNode( local
118 return Replace(phi);
154 Node* phi = graph()->NewNode(common()->Phi(kMachAnyTagged, 2), heap_number, local
157 return Replace(phi);
180 Node* phi = graph()->NewNode( local
184 return Replace(phi);
204 Node* phi = local
207 return Replace(phi);
232 Node* phi = graph()->NewNode(common()->Phi(kMachAnyTagged, 2), smi, local
235 return Replace(phi);
[all...]
/external/llvm/examples/BrainF/
H A DBrainF.h73 void readloop(PHINode *phi, BasicBlock *oldbb,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_bb.cpp74 joinAt = phi = entry = exit = NULL;
123 if (phi) {
124 insertBefore(phi, inst);
130 phi = exit = inst;
139 if (phi) {
140 insertAfter(exit, inst); // after last phi
161 assert(phi);
164 assert(!phi);
165 phi = exit = inst;
173 assert(!phi);
[all...]
H A Dnv50_ir_ssa.cpp350 // TODO: don't add phi functions for values that aren't used outside
366 // for each block in workList, insert a phi for lval in the block's
373 Instruction *phi; local
380 // pruned SSA: don't need a phi if the value is not live-in
384 phi = new_Instruction(this, OP_PHI, typeOfSize(lval->reg.size));
385 dfBB->insertTail(phi);
387 phi->setDef(0, lval);
389 phi->setSrc(s, lval);
489 Instruction *phi; local
501 for (phi
[all...]
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir_bb.cpp74 joinAt = phi = entry = exit = NULL;
123 if (phi) {
124 insertBefore(phi, inst);
130 phi = exit = inst;
139 if (phi) {
140 insertAfter(exit, inst); // after last phi
161 assert(phi);
164 assert(!phi);
165 phi = exit = inst;
173 assert(!phi);
[all...]
H A Dnv50_ir_ssa.cpp350 // TODO: don't add phi functions for values that aren't used outside
366 // for each block in workList, insert a phi for lval in the block's
373 Instruction *phi; local
380 // pruned SSA: don't need a phi if the value is not live-in
384 phi = new_Instruction(this, OP_PHI, typeOfSize(lval->reg.size));
385 dfBB->insertTail(phi);
387 phi->setDef(0, lval);
389 phi->setSrc(s, lval);
489 Instruction *phi; local
501 for (phi
[all...]

Completed in 474 milliseconds

123456