Lines Matching refs:ConstMask
324 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedStore() local
325 if (!ConstMask) in simplifyMaskedStore()
329 if (ConstMask->isNullValue()) in simplifyMaskedStore()
333 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore()
342 if (isa<ScalableVectorType>(ConstMask->getType())) in simplifyMaskedStore()
346 APInt DemandedElts = possiblyDemandedEltsInMask(ConstMask); in simplifyMaskedStore()
362 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(2)); in simplifyMaskedGather() local
363 if (!ConstMask) in simplifyMaskedGather()
369 if (ConstMask->isAllOnesValue()) in simplifyMaskedGather()
390 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedScatter() local
391 if (!ConstMask) in simplifyMaskedScatter()
395 if (ConstMask->isNullValue()) in simplifyMaskedScatter()
402 if (maskContainsAllOneOrUndef(ConstMask)) { in simplifyMaskedScatter()
413 if (ConstMask->isAllOnesValue()) { in simplifyMaskedScatter()
427 if (isa<ScalableVectorType>(ConstMask->getType())) in simplifyMaskedScatter()
431 APInt DemandedElts = possiblyDemandedEltsInMask(ConstMask); in simplifyMaskedScatter()