Searched refs:ConstMask (Results 1 – 3 of 3) sorted by relevance
970 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllZeroOrUndef() local971 if (!ConstMask) in maskIsAllZeroOrUndef()973 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef()975 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllZeroOrUndef()996 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllOneOrUndef() local997 if (!ConstMask) in maskIsAllOneOrUndef()999 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef()1001 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllOneOrUndef()1022 auto *ConstMask = dyn_cast<Constant>(Mask); in maskContainsAllOneOrUndef() local1023 if (!ConstMask) in maskContainsAllOneOrUndef()[all …]
338 if (!ConstMask) in simplifyMaskedStore()342 if (ConstMask->isNullValue()) in simplifyMaskedStore()346 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore()355 if (isa<ScalableVectorType>(ConstMask->getType())) in simplifyMaskedStore()376 if (!ConstMask) in simplifyMaskedGather()382 if (ConstMask->isAllOnesValue()) in simplifyMaskedGather()404 if (!ConstMask) in simplifyMaskedScatter()408 if (ConstMask->isNullValue()) in simplifyMaskedScatter()415 if (maskContainsAllOneOrUndef(ConstMask)) { in simplifyMaskedScatter()426 if (ConstMask->isAllOnesValue()) { in simplifyMaskedScatter()[all …]
11290 if (uint32_t ConstMask = getConstantPermuteMask(C)) in getPermuteMask() local11291 return (0x03020100 & ConstMask) | (0x0c0c0c0c & ~ConstMask); in getPermuteMask()11295 if (uint32_t ConstMask = getConstantPermuteMask(C)) in getPermuteMask() local11296 return (0x03020100 & ~ConstMask) | ConstMask; in getPermuteMask()