/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 339 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in CloneLoopBlocks() local 342 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks() 343 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks() 344 NewPHI->removeIncomingValue(Latch, false); in CloneLoopBlocks() 346 VMap[&*I] = NewPHI->getIncomingValueForBlock(Preheader); in CloneLoopBlocks() 347 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in CloneLoopBlocks() 350 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks() 351 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks() 353 idx = NewPHI->getBasicBlockIndex(Latch); in CloneLoopBlocks() 354 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks() [all …]
|
D | LoopUnroll.cpp | 427 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHI]); in UnrollLoop() local 428 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop() 433 New->getInstList().erase(NewPHI); in UnrollLoop()
|
D | SSAUpdater.cpp | 38 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode*> *NewPHI) in SSAUpdater() argument 39 : AV(nullptr), ProtoType(nullptr), ProtoName(), InsertedPHIs(NewPHI) {} in SSAUpdater()
|
D | BasicBlockUtils.cpp | 397 PHINode *NewPHI = in UpdatePHINodes() local 408 NewPHI->addIncoming(V, IncomingBB); in UpdatePHINodes() 412 PN->addIncoming(NewPHI, NewBB); in UpdatePHINodes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 265 auto *NewPHI = PHINode::Create(Int1Ty, in rewrite() local 268 NewPHI->addIncoming(UndefValue::get(Int1Ty), in rewrite() 270 NewPHI->insertBefore(OldPHI); in rewrite() 271 ValToPoison[OldPHI] = NewPHI; in rewrite() 307 auto *NewPHI = cast<PHINode>(ValToPoison[OldPHI]); in rewrite() local 310 NewPHI->setIncomingValue(i, getPoisonFor(ValToPoison, OldVal)); in rewrite()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 377 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in CloneLoopBlocks() local 380 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks() 381 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks() 382 NewPHI->removeIncomingValue(Latch, false); in CloneLoopBlocks() 384 VMap[&*I] = NewPHI->getIncomingValueForBlock(Preheader); in CloneLoopBlocks() 385 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in CloneLoopBlocks() 388 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks() 389 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks() 391 idx = NewPHI->getBasicBlockIndex(Latch); in CloneLoopBlocks() 392 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks() [all …]
|
D | LoopUnrollPeel.cpp | 558 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in cloneLoopBlocks() local 560 VMap[&*I] = NewPHI->getIncomingValueForBlock(PreHeader); in cloneLoopBlocks() 562 Value *LatchVal = NewPHI->getIncomingValueForBlock(Latch); in cloneLoopBlocks() 569 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in cloneLoopBlocks()
|
D | SSAUpdater.cpp | 46 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode *> *NewPHI) in SSAUpdater() argument 47 : InsertedPHIs(NewPHI) {} in SSAUpdater()
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | PoisonChecking.cpp | 269 auto *NewPHI = PHINode::Create(Int1Ty, OldPHI->getNumIncomingValues()); in rewrite() local 271 NewPHI->addIncoming(UndefValue::get(Int1Ty), in rewrite() 273 NewPHI->insertBefore(OldPHI); in rewrite() 274 ValToPoison[OldPHI] = NewPHI; in rewrite() 312 auto *NewPHI = cast<PHINode>(ValToPoison[OldPHI]); in rewrite() local 315 NewPHI->setIncomingValue(i, getPoisonFor(ValToPoison, OldVal)); in rewrite()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 378 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in CloneLoopBlocks() local 381 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks() 382 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks() 383 NewPHI->removeIncomingValue(Latch, false); in CloneLoopBlocks() 385 VMap[&*I] = NewPHI->getIncomingValueForBlock(Preheader); in CloneLoopBlocks() 386 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in CloneLoopBlocks() 389 unsigned idx = NewPHI->getBasicBlockIndex(Preheader); in CloneLoopBlocks() 390 NewPHI->setIncomingBlock(idx, InsertTop); in CloneLoopBlocks() 392 idx = NewPHI->getBasicBlockIndex(Latch); in CloneLoopBlocks() 393 Value *InVal = NewPHI->getIncomingValue(idx); in CloneLoopBlocks() [all …]
|
D | LoopPeel.cpp | 579 PHINode *NewPHI = cast<PHINode>(VMap[&*I]); in cloneLoopBlocks() local 581 VMap[&*I] = NewPHI->getIncomingValueForBlock(PreHeader); in cloneLoopBlocks() 583 Value *LatchVal = NewPHI->getIncomingValueForBlock(Latch); in cloneLoopBlocks() 590 cast<BasicBlock>(VMap[Header])->getInstList().erase(NewPHI); in cloneLoopBlocks()
|
D | SSAUpdater.cpp | 46 SSAUpdater::SSAUpdater(SmallVectorImpl<PHINode *> *NewPHI) in SSAUpdater() argument 47 : InsertedPHIs(NewPHI) {} in SSAUpdater()
|
D | LoopUnroll.cpp | 609 PHINode *NewPHI = cast<PHINode>(VMap[OrigPHI]); in UnrollLoop() local 610 Value *InVal = NewPHI->getIncomingValueForBlock(LatchBlock); in UnrollLoop() 615 New->getInstList().erase(NewPHI); in UnrollLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 542 PHINode *NewPHI = in rewriteLoadStores() local 557 NewPHI->addIncoming(BasePtrStart, LoopPredecessor); in rewriteLoadStores() 565 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in rewriteLoadStores() 572 NewPHI->addIncoming(PtrInc, PI); in rewriteLoadStores() 592 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in rewriteLoadStores() 597 NewPHI->addIncoming(PtrInc, PI); in rewriteLoadStores() 599 PtrInc = NewPHI; in rewriteLoadStores() 600 if (NewPHI->getType() != BasePtr->getType()) in rewriteLoadStores() 602 new BitCastInst(NewPHI, BasePtr->getType(), in rewriteLoadStores() 603 getInstrName(NewPHI, CastNodeNameSuffix), in rewriteLoadStores() [all …]
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 547 PHINode *NewPHI = in rewriteLoadStores() local 562 NewPHI->addIncoming(BasePtrStart, LoopPredecessor); in rewriteLoadStores() 570 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in rewriteLoadStores() 577 NewPHI->addIncoming(PtrInc, PI); in rewriteLoadStores() 597 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in rewriteLoadStores() 602 NewPHI->addIncoming(PtrInc, PI); in rewriteLoadStores() 604 PtrInc = NewPHI; in rewriteLoadStores() 605 if (NewPHI->getType() != BasePtr->getType()) in rewriteLoadStores() 607 new BitCastInst(NewPHI, BasePtr->getType(), in rewriteLoadStores() 608 getInstrName(NewPHI, CastNodeNameSuffix), in rewriteLoadStores() [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopPreIncPrep.cpp | 335 PHINode *NewPHI = PHINode::Create(I8PtrTy, HeaderLoopPredCount, in runOnLoop() local 350 NewPHI->addIncoming(BasePtrStart, LoopPredecessor); in runOnLoop() 355 I8Ty, NewPHI, BasePtrIncSCEV->getValue(), in runOnLoop() 363 NewPHI->addIncoming(PtrInc, *PI); in runOnLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineSSAUpdater.h | 58 SmallVectorImpl<MachineInstr*> *NewPHI = nullptr);
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachineSSAUpdater.h | 57 SmallVectorImpl<MachineInstr*> *NewPHI = nullptr);
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInferAddressSpaces.cpp | 308 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace() local 311 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace() 314 return NewPHI; in cloneInstructionWithNewAddressSpace()
|
/external/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 39 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument 40 : AV(nullptr), InsertedPHIs(NewPHI) { in MachineSSAUpdater()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 44 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument 45 : InsertedPHIs(NewPHI), TII(MF.getSubtarget().getInstrInfo()), in MachineSSAUpdater()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineSSAUpdater.cpp | 44 SmallVectorImpl<MachineInstr*> *NewPHI) in MachineSSAUpdater() argument 45 : InsertedPHIs(NewPHI), TII(MF.getSubtarget().getInstrInfo()), in MachineSSAUpdater()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | GVNSink.cpp | 692 ModelledPHI NewPHI(NewInsts, ActivePreds); in analyzeInstructionForSinking() local 695 if (NeededPHIs.find(NewPHI) != NeededPHIs.end()) { in analyzeInstructionForSinking() 696 NeededPHIs.erase(NewPHI); in analyzeInstructionForSinking() 710 for (auto *V : NewPHI.getValues()) in analyzeInstructionForSinking()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | GVNSink.cpp | 689 ModelledPHI NewPHI(NewInsts, ActivePreds); in analyzeInstructionForSinking() local 692 if (NeededPHIs.find(NewPHI) != NeededPHIs.end()) { in analyzeInstructionForSinking() 693 NeededPHIs.erase(NewPHI); in analyzeInstructionForSinking() 707 for (auto *V : NewPHI.getValues()) in analyzeInstructionForSinking()
|
D | InferAddressSpaces.cpp | 475 PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues()); in cloneInstructionWithNewAddressSpace() local 478 NewPHI->addIncoming(NewPointerOperands[OperandNo], in cloneInstructionWithNewAddressSpace() 481 return NewPHI; in cloneInstructionWithNewAddressSpace()
|