Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp131 SmallVector<Value *, 4> AvailablePtrVals; in FoldIntegerTypedPHI() local
137 AvailablePtrVals.emplace_back(PI->getOperand(0)); in FoldIntegerTypedPHI()
153 AvailablePtrVals.emplace_back(ArgIntToPtr); in FoldIntegerTypedPHI()
160 AvailablePtrVals.emplace_back(Arg); in FoldIntegerTypedPHI()
175 AvailablePtrVals.emplace_back(LoadI); in FoldIntegerTypedPHI()
180 assert(AvailablePtrVals.size() == PN.getNumIncomingValues() && in FoldIntegerTypedPHI()
195 if (AvailablePtrVals[i] != in FoldIntegerTypedPHI()
215 if (all_of(AvailablePtrVals, [&](Value *V) { in FoldIntegerTypedPHI()
224 if (any_of(AvailablePtrVals, [&](Value *V) { in FoldIntegerTypedPHI()
246 auto *IncomingVal = AvailablePtrVals[i]; in FoldIntegerTypedPHI()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp140 SmallVector<Value *, 4> AvailablePtrVals; in foldIntegerTypedPHI() local
146 AvailablePtrVals.emplace_back(PI->getOperand(0)); in foldIntegerTypedPHI()
162 AvailablePtrVals.emplace_back(ArgIntToPtr); in foldIntegerTypedPHI()
169 AvailablePtrVals.emplace_back(Arg); in foldIntegerTypedPHI()
184 AvailablePtrVals.emplace_back(LoadI); in foldIntegerTypedPHI()
189 assert(AvailablePtrVals.size() == PN.getNumIncomingValues() && in foldIntegerTypedPHI()
204 if (AvailablePtrVals[i] != in foldIntegerTypedPHI()
224 if (all_of(AvailablePtrVals, [&](Value *V) { in foldIntegerTypedPHI()
233 if (any_of(AvailablePtrVals, [&](Value *V) { in foldIntegerTypedPHI()
255 auto *IncomingVal = AvailablePtrVals[i]; in foldIntegerTypedPHI()