Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp802 PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode() local
805 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()
813 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
814 OffsetPHI->eraseFromParent(); in visitPHINode()
820 OffsetPHI->addIncoming(EdgeData.second, PHI.getIncomingBlock(i)); in visitPHINode()
823 Value *Size = SizePHI, *Offset = OffsetPHI, *Tmp; in visitPHINode()
829 if ((Tmp = OffsetPHI->hasConstantValue())) { in visitPHINode()
831 OffsetPHI->replaceAllUsesWith(Offset); in visitPHINode()
832 OffsetPHI->eraseFromParent(); in visitPHINode()