Searched refs:ConstMask (Results 1 – 6 of 6) sorted by relevance
754 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllZeroOrUndef() local755 if (!ConstMask) in maskIsAllZeroOrUndef()757 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef()759 for (unsigned I = 0, E = ConstMask->getType()->getVectorNumElements(); I != E; in maskIsAllZeroOrUndef()761 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef()771 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllOneOrUndef() local772 if (!ConstMask) in maskIsAllOneOrUndef()774 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef()776 for (unsigned I = 0, E = ConstMask->getType()->getVectorNumElements(); I != E; in maskIsAllOneOrUndef()778 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef()
54 CASE(ConstMask, "Const"),
1083 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedStore() local1084 if (!ConstMask) in simplifyMaskedStore()1088 if (ConstMask->isNullValue()) in simplifyMaskedStore()1092 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore()1100 APInt DemandedElts = possiblyDemandedEltsInMask(ConstMask); in simplifyMaskedStore()1129 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedScatter() local1130 if (!ConstMask) in simplifyMaskedScatter()1134 if (ConstMask->isNullValue()) in simplifyMaskedScatter()1138 APInt DemandedElts = possiblyDemandedEltsInMask(ConstMask); in simplifyMaskedScatter()1314 auto *ConstMask = dyn_cast<ConstantDataVector>(Mask); in simplifyX86MaskedLoad() local[all …]
8229 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local8230 return (0x03020100 & ConstMask) | (0x0c0c0c0c & ~ConstMask); in getPermuteMask()8235 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local8236 return (0x03020100 & ~ConstMask) | ConstMask; in getPermuteMask()