Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp750 PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode() local
753 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()
761 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
762 OffsetPHI->eraseFromParent(); in visitPHINode()
768 OffsetPHI->addIncoming(EdgeData.second, PHI.getIncomingBlock(i)); in visitPHINode()
771 Value *Size = SizePHI, *Offset = OffsetPHI, *Tmp; in visitPHINode()
777 if ((Tmp = OffsetPHI->hasConstantValue())) { in visitPHINode()
779 OffsetPHI->replaceAllUsesWith(Offset); in visitPHINode()
780 OffsetPHI->eraseFromParent(); in visitPHINode()