Home
last modified time | relevance | path

Searched refs:NewPhi (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonVectorLoopCarriedReuse.cpp520 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/
DSIAnnotateControlFlow.cpp240 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/
DSIAnnotateControlFlow.cpp247 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/
DMemorySSAUpdater.cpp514 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/
DInstCombinePHI.cpp455 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()
DInstCombineCompares.cpp804 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/
DInstCombinePHI.cpp711 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()
DInstructionCombining.cpp1034 if (Instruction *NewPhi = foldOpIntoPhi(I, PN)) in foldBinOpIntoSelectOrPhi() local
1035 return NewPhi; in foldBinOpIntoSelectOrPhi()
DInstCombineCompares.cpp746 PHINode *NewPhi = static_cast<PHINode *>(NewInsts[PHI]); in rewriteGEPAsOffset() local
753 NewPhi->addIncoming(NewIncoming, PHI->getIncomingBlock(I)); in rewriteGEPAsOffset()
/external/llvm/lib/CodeGen/
DMachinePipeliner.cpp2659 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/
DMachinePipeliner.cpp2777 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/
Dbytecode-graph-builder.h118 Node* NewPhi(int count, Node* input, Node* control);
Dbytecode-graph-builder.cc363 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/
DSLPVectorizer.cpp2219 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/
DSLPVectorizer.cpp3064 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()