Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3712 Constant *SafeReplacementConstant = nullptr; in foldICmpWithLowBitMaskedVal() local
3715 SafeReplacementConstant = VecC->getAggregateElement(i); in foldICmpWithLowBitMaskedVal()
3719 assert(SafeReplacementConstant && "Failed to find undef replacement"); in foldICmpWithLowBitMaskedVal()
3720 M = Constant::replaceUndefsWith(VecC, SafeReplacementConstant); in foldICmpWithLowBitMaskedVal()
5766 Constant *SafeReplacementConstant = nullptr; in getFlippedStrictnessPredicateAndConstant() local
5787 if (!SafeReplacementConstant) in getFlippedStrictnessPredicateAndConstant()
5788 SafeReplacementConstant = CI; in getFlippedStrictnessPredicateAndConstant()
5800 assert(SafeReplacementConstant && "Replacement constant not set"); in getFlippedStrictnessPredicateAndConstant()
5801 C = Constant::replaceUndefsWith(C, SafeReplacementConstant); in getFlippedStrictnessPredicateAndConstant()