Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp3770 auto *MaskedInst = cast<IntrinsicInst>(TrueVal); in visitSelectInst() local
3771 if (isa<UndefValue>(MaskedInst->getArgOperand(3))) in visitSelectInst()
3772 MaskedInst->setArgOperand(3, FalseVal /* Zero */); in visitSelectInst()
3773 return replaceInstUsesWith(SI, MaskedInst); in visitSelectInst()
3792 auto *MaskedInst = cast<IntrinsicInst>(FalseVal); in visitSelectInst() local
3793 if (isa<UndefValue>(MaskedInst->getArgOperand(3))) in visitSelectInst()
3794 MaskedInst->setArgOperand(3, TrueVal /* Zero */); in visitSelectInst()
3795 return replaceInstUsesWith(SI, MaskedInst); in visitSelectInst()