Searched refs:ConstMask (Results 1 – 2 of 2) sorted by relevance
1042 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllOneOrUndef() local1043 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() local1072 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[all …]
3948 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllZeroOrUndef() local3949 if (!ConstMask) in maskIsAllZeroOrUndef()3951 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef()3953 for (unsigned I = 0, E = ConstMask->getType()->getVectorNumElements(); I != E; in maskIsAllZeroOrUndef()3955 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef()