Searched refs:ConstMask (Results 1 – 4 of 4) sorted by relevance
1024 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllZeroOrUndef() local1025 if (!ConstMask) in maskIsAllZeroOrUndef()1027 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef()1029 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllZeroOrUndef()1033 E = cast<FixedVectorType>(ConstMask->getType())->getNumElements(); in maskIsAllZeroOrUndef()1035 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef()1050 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllOneOrUndef() local1051 if (!ConstMask) in maskIsAllOneOrUndef()1053 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef()1055 if (isa<ScalableVectorType>(ConstMask->getType())) in maskIsAllOneOrUndef()[all …]
81 auto *ConstMask = dyn_cast<Constant>(Val); in isAllTrueMask() local82 if (!ConstMask) in isAllTrueMask()86 if (!ConstMask->isAllOnesValue()) in isAllTrueMask()90 auto *MaskVecTy = cast<FixedVectorType>(ConstMask->getType()); in isAllTrueMask()
345 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedStore() local346 if (!ConstMask) in simplifyMaskedStore()350 if (ConstMask->isNullValue()) in simplifyMaskedStore()354 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore()363 if (isa<ScalableVectorType>(ConstMask->getType())) in simplifyMaskedStore()384 if (!ConstMask) in simplifyMaskedGather()390 if (ConstMask->isAllOnesValue()) in simplifyMaskedGather()412 if (!ConstMask) in simplifyMaskedScatter()416 if (ConstMask->isNullValue()) in simplifyMaskedScatter()431 if (ConstMask->isAllOnesValue()) { in simplifyMaskedScatter()[all …]
9544 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local9545 return (0x03020100 & ConstMask) | (0x0c0c0c0c & ~ConstMask); in getPermuteMask()9550 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local9551 return (0x03020100 & ~ConstMask) | ConstMask; in getPermuteMask()