Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp801 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()