Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp287 LoadInst *FirstLI = cast<LoadInst>(PN.getIncomingValue(0)); in FoldPHIArgLoadIntoPHI() local
291 if (FirstLI->isAtomic()) in FoldPHIArgLoadIntoPHI()
299 bool isVolatile = FirstLI->isVolatile(); in FoldPHIArgLoadIntoPHI()
300 unsigned LoadAlignment = FirstLI->getAlignment(); in FoldPHIArgLoadIntoPHI()
301 unsigned LoadAddrSpace = FirstLI->getPointerAddressSpace(); in FoldPHIArgLoadIntoPHI()
305 if (FirstLI->getParent() != PN.getIncomingBlock(0) || in FoldPHIArgLoadIntoPHI()
306 !isSafeAndProfitableToSinkLoad(FirstLI)) in FoldPHIArgLoadIntoPHI()
313 FirstLI->getParent()->getTerminator()->getNumSuccessors() != 1) in FoldPHIArgLoadIntoPHI()
347 PHINode *NewPN = PHINode::Create(FirstLI->getOperand(0)->getType(), in FoldPHIArgLoadIntoPHI()
351 Value *InVal = FirstLI->getOperand(0); in FoldPHIArgLoadIntoPHI()
[all …]