Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DConstant.h220 static Constant *replaceUndefsWith(Constant *C, Constant *Replacement);
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp245 SumOfShAmts = Constant::replaceUndefsWith( in dropRedundantMaskingOfLeftShiftInput()
278 ShAmtsDiff = Constant::replaceUndefsWith( in dropRedundantMaskingOfLeftShiftInput()
H A DInstCombineAndOrXor.cpp1997 SanitizedSignMask = Constant::replaceUndefsWith( in visitAnd()
3324 C = Constant::replaceUndefsWith(C, ConstantInt::getAllOnesValue(EltTy)); in visitMaskedMerge()
3516 C = Constant::replaceUndefsWith(C, ConstantInt::getAllOnesValue(EltTy)); in foldNot()
3526 C = Constant::replaceUndefsWith(C, ConstantInt::getNullValue(EltTy)); in foldNot()
3667 C2 = Constant::replaceUndefsWith( in visitXor()
H A DInstCombineCompares.cpp3720 M = Constant::replaceUndefsWith(VecC, SafeReplacementConstant); in foldICmpWithLowBitMaskedVal()
5801 C = Constant::replaceUndefsWith(C, SafeReplacementConstant); in getFlippedStrictnessPredicateAndConstant()
H A DInstructionCombining.cpp3970 return replaceInstUsesWith(I, Constant::replaceUndefsWith(C, ReplaceC)); in visitFreeze()
/llvm-project-15.0.7/llvm/lib/IR/
H A DConstants.cpp747 Constant *Constant::replaceUndefsWith(Constant *C, Constant *Replacement) { in replaceUndefsWith() function in Constant