Home
last modified time | relevance | path

Searched refs:ConstMask (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1042 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
[all …]
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp3948 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllZeroOrUndef() local
3949 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()