HomeSort by relevance Sort by last modified time
    Searched defs:PHI (Results 1 - 17 of 17) sorted by null

  /external/llvm/include/llvm/Target/
TargetOpcodes.h 26 PHI = 0,
  /external/llvm/include/llvm/Transforms/Utils/
SSAUpdaterImpl.h 279 /// dominating definitions for non-PHI blocks.
289 // If this block already needs a PHI, there is nothing to do here.
297 // Need a PHI here.
312 /// FindAvailableVal - If this block requires a PHI, first check if an
313 /// existing PHI matches the PHI placement and reaching definitions computed
314 /// earlier, and if not, create a new PHI. Visit all the block's
316 /// the incoming values for a new PHI.
324 // Check if there needs to be a PHI in BB.
328 // Look for an existing PHI
    [all...]
  /external/llvm/lib/CodeGen/
MachineSSAUpdater.cpp 49 /// updates. ProtoValue is the value used to name PHI nodes.
108 /// InsertNewDef - Insert an empty PHI or IMPLICIT_DEF instruction which define
137 /// a block. Because of this, we need to insert a new PHI node in SomeBB to
179 // If an identical PHI is already in BB, just reuse it.
184 // Otherwise, we do need a PHI: insert one now.
186 MachineInstrBuilder InsertedPHI = InsertNewDef(TargetOpcode::PHI, BB,
189 // Fill in all the predecessors of the PHI.
193 // See if the PHI node can be merged to a single value. This can happen in
194 // loop cases when we get a PHI of itself and one other value.
203 DEBUG(dbgs() << " Inserted PHI: " << *InsertedPHI << "\n")
    [all...]
EarlyIfConversion.cpp 108 /// Information about each phi in the Tail block.
110 MachineInstr *PHI;
115 PHIInfo(MachineInstr *phi)
116 : PHI(phi), TReg(0), FReg(0), CondCycles(0), TCycles(0), FCycles(0) {}
146 /// Replace PHI instructions in Tail with selects.
149 /// Insert selects and rewrite PHI operands to use them.
411 // Find PHI operands corresponding to TPred and FPred.
412 for (unsigned i = 1; i != PI.PHI->getNumOperands(); i += 2) {
413 if (PI.PHI->getOperand(i+1).getMBB() == TPred
    [all...]
LiveIntervalAnalysis.cpp 219 /// or contain only dead phi-defs from ABI blocks.
276 // Create phi-defs at Begin for all live-in registers.
311 // Find all the values used, including PHI kills.
370 // The PHI is live, make sure the predecessors are live-out.
376 // A predecessor is not required to have a live-out value for a PHI.
407 assert(LII != NewLI.end() && "Missing live range for PHI");
411 // This is a dead PHI. Remove it.
414 DEBUG(dbgs() << "Dead PHI at " << VNI->def << " may separate interval\n");
574 // It is technically possible to have a PHI-defined live range identical to a
596 const VNInfo *PHI = *I
    [all...]
StrongPHIElimination.cpp 1 //===- StrongPHIElimination.cpp - Eliminate PHI nodes by inserting copies -===//
10 // This pass eliminates PHI instructions by aggressively coalescing the copies
13 // registers appearing in a PHI instruction do not interfere. It then eliminates
72 /// PHI with that register as its destination has been isolated.
112 /// Get the color of a PHI. The color of a PHI is 0 if the PHI has been
117 /// Isolate a PHI.
135 // Lowers a PHI instruction, inserting copies of the source and destination
153 // Maps a basic block to a list of its defs of registers that appear as PHI
    [all...]
  /external/llvm/lib/Transforms/Utils/
SSAUpdater.cpp 46 /// updates with type 'Ty'. PHI nodes get a name based on 'Name'.
71 /// IsEquivalentPHI - Check if PHI has the same incoming value as specified
73 static bool IsEquivalentPHI(PHINode *PHI,
75 unsigned PHINumValues = PHI->getNumIncomingValues();
79 // Scan the phi to see if it matches.
81 if (ValueMapping[PHI->getIncomingBlock(i)] !=
82 PHI->getIncomingValue(i)) {
112 /// a block. Because of this, we need to insert a new PHI node in SomeBB to
127 // is relatively slow. If we already have PHI nodes in this block, walk one
165 // Otherwise, we do need a PHI: check to see if we already have one availabl
    [all...]
InlineFunction.cpp 49 PHINode *InnerEHValuesPHI; ///< PHI for EH values from landingpad insts.
56 // If there are PHI nodes in the unwind destination block, we need to keep
63 PHINode *PHI = cast<PHINode>(I);
64 UnwindDestPHIValues.push_back(PHI->getIncomingValueForBlock(InvokeBB));
87 /// addIncomingPHIValuesFor - Add incoming-PHI values to the unwind
97 PHINode *phi = cast<PHINode>(I); local
98 phi->addIncoming(UnwindDestPHIValues[i], src);
129 // Create a PHI for the exception values.
160 /// it rewrites them to be invokes that jump to InvokeDest and fills in the PHI
209 // Update any PHI nodes in the exceptional block to indicate that there i
    [all...]
SimplifyCFG.cpp 51 PHINodeFoldingThreshold("phi-node-folding-threshold", cl::Hidden, cl::init(1),
52 cl::desc("Control the amount of phi node folding to perform (default = 1)"));
119 // successor, and if that successor has a PHI node, and if *that* PHI node has
140 /// unconditional branch. PhiNodes will store all PHI nodes in common
150 // We fold the unconditional branch if we can easily update all PHI nodes in
179 /// AddPredecessorToBlock - Update PHI nodes in Succ to indicate that there will
181 /// flowing into the PHI nodes will be the same as those coming in from
195 /// least one PHI node in it), check to see if the merge at this block is due
658 // Remove PHI node entries for the dead edge
    [all...]
  /external/clang/lib/CodeGen/
CGVTables.cpp 189 llvm::PHINode *PHI = CGF.Builder.CreatePHI(ReturnValue->getType(), 2);
190 PHI->addIncoming(ReturnValue, AdjustNotNull);
191 PHI->addIncoming(llvm::Constant::getNullValue(ReturnValue->getType()),
193 ReturnValue = PHI;
    [all...]
CGExprCXX.cpp     [all...]
CGClass.cpp 212 // Build a phi if we needed a null check.
218 llvm::PHINode *PHI = Builder.CreatePHI(BasePtrTy, 2, "cast.result");
219 PHI->addIncoming(Value, notNullBB);
220 PHI->addIncoming(llvm::Constant::getNullValue(BasePtrTy), origBB);
221 Value = PHI;
275 llvm::PHINode *PHI = Builder.CreatePHI(Value->getType(), 2);
276 PHI->addIncoming(Value, CastNotNull);
277 PHI->addIncoming(llvm::Constant::getNullValue(Value->getType()),
279 Value = PHI;
    [all...]
  /external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 188 /// loop. For PHI nodes, there may be multiple uses, so compute the nearest
192 PHINode *PHI = dyn_cast<PHINode>(User);
193 if (!PHI)
197 for (unsigned i = 0, e = PHI->getNumIncomingValues(); i != e; ++i) {
198 if (PHI->getIncomingValue(i) != Def)
201 BasicBlock *InsertBB = PHI->getIncomingBlock(i);
209 assert(InsertPt && "Missing phi operand");
259 // If this is not an add of the PHI with a constantfp, or if the constant fp
485 // Because of LCSSA, these values will only occur in LCSSA PHI Nodes. Scan
490 // If there are no PHI nodes in this exit block, then no values define
    [all...]
  /external/speex/libspeex/
mdf.c 157 spx_word32_t *PHI; /* scratch */
464 st->PHI = (spx_word32_t*)speex_alloc(N*sizeof(spx_word32_t));
611 speex_free(st->PHI);
822 weighted_spectral_mul_conj(st->power_1, FLOAT_SHL(PSEUDOFLOAT(st->prop[j]),-15), &st->X[(j+1)*N*K+speak*N], st->E+chan*N, st->PHI, N);
824 st->W[chan*N*K*M + j*N*K + speak*N + i] += st->PHI[i];
    [all...]
  /external/llvm/bindings/ocaml/llvm/
llvm.ml 189 | PHI
    [all...]
  /prebuilts/devtools/tools/lib/
bcprov-jdk15on-1.48.jar 
  /prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/
bcprov-jdk15on-1.48.jar 

Completed in 323 milliseconds