Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp3224 auto *MaskedLoad = cast<IntrinsicInst>(TrueVal); in visitSelectInst() local
3225 if (isa<UndefValue>(MaskedLoad->getArgOperand(3))) in visitSelectInst()
3226 MaskedLoad->setArgOperand(3, FalseVal /* Zero */); in visitSelectInst()
3227 return replaceInstUsesWith(SI, MaskedLoad); in visitSelectInst()
3244 auto *MaskedLoad = cast<IntrinsicInst>(FalseVal); in visitSelectInst() local
3245 if (isa<UndefValue>(MaskedLoad->getArgOperand(3))) in visitSelectInst()
3246 MaskedLoad->setArgOperand(3, TrueVal /* Zero */); in visitSelectInst()
3247 return replaceInstUsesWith(SI, MaskedLoad); in visitSelectInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp16663 std::pair<unsigned, unsigned> MaskedLoad; in ReduceLoadOpStoreWidth() local
16664 MaskedLoad = CheckForMaskedLoad(Value.getOperand(0), Ptr, Chain); in ReduceLoadOpStoreWidth()
16665 if (MaskedLoad.first) in ReduceLoadOpStoreWidth()
16666 if (SDValue NewST = ShrinkLoadReplaceStoreWithStore(MaskedLoad, in ReduceLoadOpStoreWidth()
16671 MaskedLoad = CheckForMaskedLoad(Value.getOperand(1), Ptr, Chain); in ReduceLoadOpStoreWidth()
16672 if (MaskedLoad.first) in ReduceLoadOpStoreWidth()
16673 if (SDValue NewST = ShrinkLoadReplaceStoreWithStore(MaskedLoad, in ReduceLoadOpStoreWidth()