Searched refs:SizePHI (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 801 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode() local 805 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode() 815 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode() 816 SizePHI->eraseFromParent(); in visitPHINode() 819 SizePHI->addIncoming(EdgeData.first, PHI.getIncomingBlock(i)); in visitPHINode() 823 Value *Size = SizePHI, *Offset = OffsetPHI, *Tmp; in visitPHINode() 824 if ((Tmp = SizePHI->hasConstantValue())) { in visitPHINode() 826 SizePHI->replaceAllUsesWith(Size); in visitPHINode() 827 SizePHI->eraseFromParent(); in visitPHINode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 905 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode() local 909 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode() 919 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode() 920 SizePHI->eraseFromParent(); in visitPHINode() 923 SizePHI->addIncoming(EdgeData.first, PHI.getIncomingBlock(i)); in visitPHINode() 927 Value *Size = SizePHI, *Offset = OffsetPHI, *Tmp; in visitPHINode() 928 if ((Tmp = SizePHI->hasConstantValue())) { in visitPHINode() 930 SizePHI->replaceAllUsesWith(Size); in visitPHINode() 931 SizePHI->eraseFromParent(); in visitPHINode()
|