Lines Matching refs:ConstMask
1042 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllOneOrUndef() local
1043 if (!ConstMask) in maskIsAllOneOrUndef()
1045 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef()
1047 for (unsigned I = 0, E = ConstMask->getType()->getVectorNumElements(); I != E; in maskIsAllOneOrUndef()
1049 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef()
1071 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedStore() local
1072 if (!ConstMask) in simplifyMaskedStore()
1076 if (ConstMask->isNullValue()) in simplifyMaskedStore()
1080 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore()
1091 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(2)); in simplifyMaskedGather() local
1092 if (ConstMask && ConstMask->isNullValue()) in simplifyMaskedGather()
1100 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedScatter() local
1101 if (ConstMask && ConstMask->isNullValue()) in simplifyMaskedScatter()
1120 auto *ConstMask = dyn_cast<ConstantDataVector>(Mask); in simplifyX86MaskedLoad() local
1121 if (!ConstMask) in simplifyX86MaskedLoad()
1135 Constant *BoolMask = getNegativeIsTrueBoolVec(ConstMask); in simplifyX86MaskedLoad()
1163 auto *ConstMask = dyn_cast<ConstantDataVector>(Mask); in simplifyX86MaskedStore() local
1164 if (!ConstMask) in simplifyX86MaskedStore()
1178 Constant *BoolMask = getNegativeIsTrueBoolVec(ConstMask); in simplifyX86MaskedStore()