Home
last modified time | relevance | path

Searched refs:ConstMask (Results 1 – 7 of 7) 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/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.function_test.cpp54 CASE(ConstMask, "Const"),
/external/deqp-deps/SPIRV-Tools/test/
Dtext_to_binary.function_test.cpp54 CASE(ConstMask, "Const"),
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1213 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllOneOrUndef() local
1214 if (!ConstMask) in maskIsAllOneOrUndef()
1216 if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask)) in maskIsAllOneOrUndef()
1218 for (unsigned I = 0, E = ConstMask->getType()->getVectorNumElements(); I != E; in maskIsAllOneOrUndef()
1220 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllOneOrUndef()
1242 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedStore() local
1243 if (!ConstMask) in simplifyMaskedStore()
1247 if (ConstMask->isNullValue()) in simplifyMaskedStore()
1251 if (ConstMask->isAllOnesValue()) { in simplifyMaskedStore()
1262 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4688 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllZeroOrUndef() local
4689 if (!ConstMask) in maskIsAllZeroOrUndef()
4691 if (ConstMask->isNullValue() || isa<UndefValue>(ConstMask)) in maskIsAllZeroOrUndef()
4693 for (unsigned I = 0, E = ConstMask->getType()->getVectorNumElements(); I != E; in maskIsAllZeroOrUndef()
4695 if (auto *MaskElt = ConstMask->getAggregateElement(I)) in maskIsAllZeroOrUndef()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp6348 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local
6349 return (0x03020100 & ConstMask) | (0x0c0c0c0c & ~ConstMask); in getPermuteMask()
6354 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local
6355 return (0x03020100 & ~ConstMask) | ConstMask; in getPermuteMask()