Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp749 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode() local
753 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()
763 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()
764 SizePHI->eraseFromParent(); in visitPHINode()
767 SizePHI->addIncoming(EdgeData.first, PHI.getIncomingBlock(i)); in visitPHINode()
771 Value *Size = SizePHI, *Offset = OffsetPHI, *Tmp; in visitPHINode()
772 if ((Tmp = SizePHI->hasConstantValue())) { in visitPHINode()
774 SizePHI->replaceAllUsesWith(Size); in visitPHINode()
775 SizePHI->eraseFromParent(); in visitPHINode()