Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp4350 auto *MaskedInst = cast<IntrinsicInst>(TrueVal); in visitSelectInst() local
4351 if (isa<UndefValue>(MaskedInst->getArgOperand(3))) in visitSelectInst()
4352 MaskedInst->setArgOperand(3, FalseVal /* Zero */); in visitSelectInst()
4353 return replaceInstUsesWith(SI, MaskedInst); in visitSelectInst()
4372 auto *MaskedInst = cast<IntrinsicInst>(FalseVal); in visitSelectInst() local
4373 if (isa<UndefValue>(MaskedInst->getArgOperand(3))) in visitSelectInst()
4374 MaskedInst->setArgOperand(3, TrueVal /* Zero */); in visitSelectInst()
4375 return replaceInstUsesWith(SI, MaskedInst); in visitSelectInst()