Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp738 PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode() local
741 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()
749 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
750 OffsetPHI->eraseFromParent(); in visitPHINode()
756 OffsetPHI->addIncoming(EdgeData.second, PHI.getIncomingBlock(i)); in visitPHINode()
759 Value *Size = SizePHI, *Offset = OffsetPHI, *Tmp; in visitPHINode()
765 if ((Tmp = OffsetPHI->hasConstantValue())) { in visitPHINode()
767 OffsetPHI->replaceAllUsesWith(Offset); in visitPHINode()
768 OffsetPHI->eraseFromParent(); in visitPHINode()