/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonVectorLoopCarriedReuse.cpp | 520 PHINode *NewPhi; in reuseValue() local 523 NewPhi = IRB.CreatePHI(InstInPreheader->getType(), 2); in reuseValue() 524 NewPhi->addIncoming(InstInPreheader, LoopPH); in reuseValue() 525 NewPhi->addIncoming(BEVal, BB); in reuseValue() 526 LLVM_DEBUG(dbgs() << "Adding " << *NewPhi << " to " << BB->getName() in reuseValue() 528 BEVal = NewPhi; in reuseValue() 532 Inst2Replace->replaceAllUsesWith(NewPhi); in reuseValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 240 PHINode *NewPhi = PHINode::Create(Int64, 0, "loop.phi", &Parent->front()); in handleLoopCondition() local 241 Value *Ret = NewPhi; in handleLoopCondition() 248 NewPhi->addIncoming(Broken, From); in handleLoopCondition() 255 NewPhi->addIncoming(PhiArg, From); in handleLoopCondition() 285 Value *Args[] = { OldEnd->getArgOperand(0), NewPhi }; in handleLoopCondition() 293 NewPhi->setIncomingValue(i, PhiArg); in handleLoopCondition()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 247 PHINode *NewPhi = PHINode::Create(Int64, 0, "", &Parent->front()); in handleLoopCondition() local 248 Value *Ret = NewPhi; in handleLoopCondition() 255 NewPhi->addIncoming(Broken, From); in handleLoopCondition() 261 NewPhi->addIncoming(PhiArg, From); in handleLoopCondition() 292 Value *Args[] = { OldEnd->getArgOperand(0), NewPhi }; in handleLoopCondition() 299 NewPhi->setIncomingValue(i, PhiArg); in handleLoopCondition()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | MemorySSAUpdater.cpp | 514 MemoryPhi *NewPhi = MSSA->createMemoryPhi(New); in wireOldPredecessorsToNewImmediatePredecessor() local 518 NewPhi->addIncoming(MA, B); in wireOldPredecessorsToNewImmediatePredecessor() 523 Phi->addIncoming(NewPhi, New); in wireOldPredecessorsToNewImmediatePredecessor() 524 if (onlySingleValue(NewPhi)) in wireOldPredecessorsToNewImmediatePredecessor() 525 removeMemoryAccess(NewPhi); in wireOldPredecessorsToNewImmediatePredecessor()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 455 PHINode *NewPhi = PHINode::Create(NarrowType, NumIncomingValues, in FoldPHIArgZextsIntoPHI() local 458 NewPhi->addIncoming(NewIncoming[i], Phi.getIncomingBlock(i)); in FoldPHIArgZextsIntoPHI() 460 InsertNewInstBefore(NewPhi, Phi); in FoldPHIArgZextsIntoPHI() 461 return CastInst::CreateZExtOrBitCast(NewPhi, Phi.getType()); in FoldPHIArgZextsIntoPHI()
|
D | InstCombineCompares.cpp | 804 PHINode *NewPhi = static_cast<PHINode *>(NewInsts[PHI]); in rewriteGEPAsOffset() local 811 NewPhi->addIncoming(NewIncoming, PHI->getIncomingBlock(I)); in rewriteGEPAsOffset()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombinePHI.cpp | 711 PHINode *NewPhi = PHINode::Create(NarrowType, NumIncomingValues, in FoldPHIArgZextsIntoPHI() local 714 NewPhi->addIncoming(NewIncoming[i], Phi.getIncomingBlock(i)); in FoldPHIArgZextsIntoPHI() 716 InsertNewInstBefore(NewPhi, Phi); in FoldPHIArgZextsIntoPHI() 717 return CastInst::CreateZExtOrBitCast(NewPhi, Phi.getType()); in FoldPHIArgZextsIntoPHI()
|
D | InstructionCombining.cpp | 1034 if (Instruction *NewPhi = foldOpIntoPhi(I, PN)) in foldBinOpIntoSelectOrPhi() local 1035 return NewPhi; in foldBinOpIntoSelectOrPhi()
|
D | InstCombineCompares.cpp | 746 PHINode *NewPhi = static_cast<PHINode *>(NewInsts[PHI]); in rewriteGEPAsOffset() local 753 NewPhi->addIncoming(NewIncoming, PHI->getIncomingBlock(I)); in rewriteGEPAsOffset()
|
/external/llvm/lib/CodeGen/ |
D | MachinePipeliner.cpp | 2659 MachineInstrBuilder NewPhi = in generateExistingPhis() local 2662 NewPhi.addReg(PhiOp1).addMBB(BB1); in generateExistingPhis() 2663 NewPhi.addReg(PhiOp2).addMBB(BB2); in generateExistingPhis() 2665 InstrMap[NewPhi] = &*BBI; in generateExistingPhis() 2776 MachineInstrBuilder NewPhi = in generatePhis() local 2779 NewPhi.addReg(PhiOp1).addMBB(BB1); in generatePhis() 2780 NewPhi.addReg(PhiOp2).addMBB(BB2); in generatePhis() 2782 InstrMap[NewPhi] = &*BBI; in generatePhis()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachinePipeliner.cpp | 2777 MachineInstrBuilder NewPhi = in generateExistingPhis() local 2780 NewPhi.addReg(PhiOp1).addMBB(BB1); in generateExistingPhis() 2781 NewPhi.addReg(PhiOp2).addMBB(BB2); in generateExistingPhis() 2783 InstrMap[NewPhi] = &*BBI; in generateExistingPhis() 2894 MachineInstrBuilder NewPhi = in generatePhis() local 2897 NewPhi.addReg(PhiOp1).addMBB(BB1); in generatePhis() 2898 NewPhi.addReg(PhiOp2).addMBB(BB2); in generatePhis() 2900 InstrMap[NewPhi] = &*BBI; in generatePhis()
|
/external/v8/src/compiler/ |
D | bytecode-graph-builder.h | 118 Node* NewPhi(int count, Node* input, Node* control);
|
D | bytecode-graph-builder.cc | 363 context_ = builder()->NewPhi(1, context_, control); in PrepareForLoop() 366 values_[i] = builder()->NewPhi(1, values_[i], control); in PrepareForLoop() 373 values_[index] = builder()->NewPhi(1, values_[index], control); in PrepareForLoop() 380 generator_state_ = builder()->NewPhi(1, generator_state_, control); in PrepareForLoop() 3462 Node* BytecodeGraphBuilder::NewPhi(int count, Node* input, Node* control) { in NewPhi() function in v8::internal::compiler::BytecodeGraphBuilder 3528 value = NewPhi(inputs, value, control); in MergeValue()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 2219 PHINode *NewPhi = Builder.CreatePHI(VecTy, PH->getNumIncomingValues()); in vectorizeTree() local 2220 E->VectorizedValue = NewPhi; in vectorizeTree() 2231 NewPhi->addIncoming(NewPhi->getIncomingValueForBlock(IBB), IBB); in vectorizeTree() 2242 NewPhi->addIncoming(Vec, IBB); in vectorizeTree() 2245 assert(NewPhi->getNumIncomingValues() == PH->getNumIncomingValues() && in vectorizeTree() 2247 return NewPhi; in vectorizeTree()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 3064 PHINode *NewPhi = Builder.CreatePHI(VecTy, PH->getNumIncomingValues()); in vectorizeTree() local 3065 Value *V = NewPhi; in vectorizeTree() 3081 NewPhi->addIncoming(NewPhi->getIncomingValueForBlock(IBB), IBB); in vectorizeTree() 3092 NewPhi->addIncoming(Vec, IBB); in vectorizeTree() 3095 assert(NewPhi->getNumIncomingValues() == PH->getNumIncomingValues() && in vectorizeTree()
|