Searched refs:SizePHI (Results 1 – 1 of 1) sorted by relevance
764 PHINode *SizePHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues()); in visitPHINode() local768 CacheMap[&PHI] = std::make_pair(SizePHI, OffsetPHI); in visitPHINode()778 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy)); in visitPHINode()779 SizePHI->eraseFromParent(); in visitPHINode()782 SizePHI->addIncoming(EdgeData.first, PHI.getIncomingBlock(i)); in visitPHINode()786 Value *Size = SizePHI, *Offset = OffsetPHI, *Tmp; in visitPHINode()787 if ((Tmp = SizePHI->hasConstantValue())) { in visitPHINode()789 SizePHI->replaceAllUsesWith(Size); in visitPHINode()790 SizePHI->eraseFromParent(); in visitPHINode()