Home
last modified time | relevance | path

Searched refs:Phi (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm/lib/Target/R600/
DSIAnnotateControlFlow.cpp72 bool isElse(PHINode *Phi);
74 void eraseIfUnused(PHINode *Phi);
165 bool SIAnnotateControlFlow::isElse(PHINode *Phi) { in isElse() argument
166 BasicBlock *IDom = DT->getNode(Phi->getParent())->getIDom()->getBlock(); in isElse()
167 for (unsigned i = 0, e = Phi->getNumIncomingValues(); i != e; ++i) { in isElse()
168 if (Phi->getIncomingBlock(i) == IDom) { in isElse()
170 if (Phi->getIncomingValue(i) != BoolTrue) in isElse()
174 if (Phi->getIncomingValue(i) != BoolFalse) in isElse()
183 void SIAnnotateControlFlow::eraseIfUnused(PHINode *Phi) { in eraseIfUnused() argument
184 if (!Phi->hasNUsesOrMore(1)) in eraseIfUnused()
[all …]
DAMDGPUStructurizeCFG.cpp507 PHINode &Phi = cast<PHINode>(*I++); in delPhiValues() local
508 while (Phi.getBasicBlockIndex(From) != -1) { in delPhiValues()
509 Value *Deleted = Phi.removeIncomingValue(From, false); in delPhiValues()
510 Map[&Phi].push_back(std::make_pair(From, Deleted)); in delPhiValues()
520 PHINode &Phi = cast<PHINode>(*I++); in addPhiValues() local
521 Value *Undef = UndefValue::get(Phi.getType()); in addPhiValues()
522 Phi.addIncoming(Undef, From); in addPhiValues()
544 PHINode *Phi = PI->first; in setPhiValues() local
545 Value *Undef = UndefValue::get(Phi->getType()); in setPhiValues()
546 Updater.Initialize(Phi->getType(), ""); in setPhiValues()
[all …]
DAMDGPUIndirectAddressing.cpp187 MachineInstrBuilder Phi = BuildMI(MBB, MBB.begin(), in runOnMachineFunction() local
198 Phi.addReg(Reg); in runOnMachineFunction()
199 Phi.addMBB(RegBlock); in runOnMachineFunction()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1202 PHINode *Phi = dyn_cast<PHINode>(IncI->getOperand(0)); in getLoopPhiForCounter() local
1203 if (Phi && Phi->getParent() == L->getHeader()) { in getLoopPhiForCounter()
1205 return Phi; in getLoopPhiForCounter()
1212 Phi = dyn_cast<PHINode>(IncI->getOperand(1)); in getLoopPhiForCounter()
1213 if (Phi && Phi->getParent() == L->getHeader()) { in getLoopPhiForCounter()
1215 return Phi; in getLoopPhiForCounter()
1257 PHINode *Phi = dyn_cast<PHINode>(LHS); in needsLFTR() local
1258 if (!Phi) in needsLFTR()
1259 Phi = getLoopPhiForCounter(LHS, L, DT); in needsLFTR()
1261 if (!Phi) in needsLFTR()
[all …]
DGVN.cpp2501 PHINode* Phi = PHINode::Create(CurInst->getType(), predMap.size(), in performPRE() local
2506 Phi->addIncoming(V, predMap[i].second); in performPRE()
2508 Phi->addIncoming(PREInstr, PREPred); in performPRE()
2511 VN.add(Phi, ValNo); in performPRE()
2512 addToLeaderTable(ValNo, Phi, CurrentBlock); in performPRE()
2513 Phi->setDebugLoc(CurInst->getDebugLoc()); in performPRE()
2514 CurInst->replaceAllUsesWith(Phi); in performPRE()
2515 if (Phi->getType()->getScalarType()->isPointerTy()) { in performPRE()
2519 for (unsigned ii = 0, ee = Phi->getNumIncomingValues(); ii != ee; in performPRE()
2522 VN.getAliasAnalysis()->addEscapingUse(Phi->getOperandUse(jj)); in performPRE()
[all …]
DLoopIdiomRecognize.cpp455 PHINode *Phi = dyn_cast<PHINode>(Inst->getOperand(0)); in detectIdiom() local
456 if (!Phi || Phi->getParent() != LoopEntry) in detectIdiom()
470 CountPhi = Phi; in detectIdiom()
DLoopStrengthReduce.cpp2796 PHINode *Phi = dyn_cast<PHINode>(I); ++I) { in GenerateIVChain()
2797 if (!isCompatibleIVType(Phi, IVSrc)) in GenerateIVChain()
2800 Phi->getIncomingValueForBlock(L->getLoopLatch())); in GenerateIVChain()
2811 Phi->replaceUsesOfWith(PostIncV, IVOper); in GenerateIVChain()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp489 bool AddReductionVar(PHINode *Phi, ReductionKind Kind);
495 InductionKind isInductionVariable(PHINode *Phi);
804 PHINode *Phi = dyn_cast_or_null<PHINode>(Ptr); in isConsecutivePtr() local
805 if (Phi && Inductions.count(Phi)) { in isConsecutivePtr()
806 InductionInfo II = Inductions[Phi]; in isConsecutivePtr()
823 Phi = dyn_cast<PHINode>(GpPtr); in isConsecutivePtr()
824 if (Phi && Inductions.count(Phi)) { in isConsecutivePtr()
836 InductionInfo II = Inductions[Phi]; in isConsecutivePtr()
2257 if (PHINode *Phi = dyn_cast<PHINode>(it)) { in canVectorizeInstrs() local
2259 if (Phi->getNumIncomingValues() != 2) { in canVectorizeInstrs()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolutionExpander.cpp1606 PHINode *Phi = dyn_cast<PHINode>(I); ++I) { in replaceCongruentIVs()
1607 Phis.push_back(Phi); in replaceCongruentIVs()
1618 PHINode *Phi = *PIter; in replaceCongruentIVs() local
1622 if (Value *V = Phi->hasConstantValue()) { in replaceCongruentIVs()
1623 Phi->replaceAllUsesWith(V); in replaceCongruentIVs()
1624 DeadInsts.push_back(Phi); in replaceCongruentIVs()
1627 << "INDVARS: Eliminated constant iv: " << *Phi << '\n'); in replaceCongruentIVs()
1631 if (!SE.isSCEVable(Phi->getType())) in replaceCongruentIVs()
1634 PHINode *&OrigPhiRef = ExprToIVMap[SE.getSCEV(Phi)]; in replaceCongruentIVs()
1636 OrigPhiRef = Phi; in replaceCongruentIVs()
[all …]
/external/icu4c/data/region/
Dvi.txt15 002{"Châu Phi"}
19 011{"Tây Phi"}
21 014{"Đông Phi"}
22 015{"Bắc Phi"}
23 017{"Trung Phi"}
24 018{"Miền Nam Châu Phi"}
85 CF{"Cộng hòa Trung Phi"}
298 ZA{"Nam Phi"}
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
D3d-cube.js144 function RotateX(M, Phi) { argument
145 var a = Phi;
158 function RotateY(M, Phi) { argument
159 var a = Phi;
172 function RotateZ(M, Phi) { argument
173 var a = Phi;
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
D3d-cube.js144 function RotateX(M, Phi) { argument
145 var a = Phi;
158 function RotateY(M, Phi) { argument
159 var a = Phi;
172 function RotateZ(M, Phi) { argument
173 var a = Phi;
/external/llvm/test/CodeGen/Generic/
D2003-05-30-BadPreselectPhi.ll7 ;; Error: PreSelection puts the arguments of the Phi just before
8 ;; the Phi instead of in predecessor blocks. This later
Dselect.ll34 ; A constant argument to a Phi produces a Cast instruction in the
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp345 MachineInstr *Phi = &*I; in findInductionRegister() local
350 for (unsigned i = 1, n = Phi->getNumOperands(); i < n; i += 2) { in findInductionRegister()
351 if (Phi->getOperand(i+1).getMBB() != Latch) in findInductionRegister()
354 unsigned PhiOpReg = Phi->getOperand(i).getReg(); in findInductionRegister()
363 if (MRI->getVRegDef(IndReg) == Phi) { in findInductionRegister()
1273 MachineInstr *Phi = &*I; in fixupInductionVariable() local
1276 for (unsigned i = 1, n = Phi->getNumOperands(); i < n; i += 2) { in fixupInductionVariable()
1277 if (Phi->getOperand(i+1).getMBB() != Latch) in fixupInductionVariable()
1280 unsigned PhiReg = Phi->getOperand(i).getReg(); in fixupInductionVariable()
1289 if (MRI->getVRegDef(IndReg) == Phi) { in fixupInductionVariable()
/external/clang/test/CodeGen/
D2007-03-05-DataLayout.c36 #define Phi(x) ((x)->phi) macro
/external/llvm/docs/tutorial/
DOCamlLangImpl5.rst208 `Phi
214 "execution" of the Phi operation requires "remembering" which block
215 control came from. The Phi operation takes on the value corresponding to
227 Phi nodes:
231 Phi node in this case.
237 can insert Phi nodes directly, if convenient. In this case, it is really
238 really easy to generate the Phi node, so we choose to do it directly.
305 issue is that when we create the Phi node in the merge block, we need to
306 set up the block/value pairs that indicate how the Phi will work.
307 Importantly, the Phi node expects to have an entry for each predecessor
[all …]
DLangImpl5.rst228 `Phi
234 "execution" of the Phi operation requires "remembering" which block
235 control came from. The Phi operation takes on the value corresponding to
247 Phi nodes:
251 Phi node in this case.
257 Phi nodes directly, if convenient. In this case, it is really really
258 easy to generate the Phi node, so we choose to do it directly.
345 issue is that when we create the Phi node in the merge block, we need to
346 set up the block/value pairs that indicate how the Phi will work.
347 Importantly, the Phi node expects to have an entry for each predecessor
[all …]
/external/icu4c/data/zone/
Dvi.txt156 ls{"Giờ Trung Phi"}
159 ls{"Giờ Đông Phi"}
162 ls{"Giờ Chuẩn Nam Phi"}
165 ld{"Giờ Mùa Hè Tây Phi"}
166 lg{"Giờ Tây Phi"}
167 ls{"Giờ Chuẩn Tây Phi"}
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp391 PHINode *Phi = dyn_cast<PHINode>(BBI); ++BBI) { in UnrollLoop()
392 Phi->removeIncomingValue(BB, false); in UnrollLoop()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DHTMLEntities.properties156 # Phi 934
/external/clang/include/clang/AST/
DCommentHTMLNamedCharacterReferences.td116 def : NCR<"Phi", 0x003A6>;
/external/icu4c/data/curr/
Dvi.txt1140 "Đồng Rand Nam Phi (tài chính)",
1144 "Ran Nam Phi",
/external/llvm/include/llvm/IR/
DIRBuilder.h101 if (PHINode *Phi = dyn_cast<PHINode>(UseInst)) { in SetInsertPoint() local
102 BasicBlock *PredBB = Phi->getIncomingBlock(U); in SetInsertPoint()
/external/icu4c/data/lang/
Dvi.txt39 af{"Tiếng Nam Phi"}
40 afa{"Ngôn ngữ Phi-Á"}

12