Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DVectorUtils.cpp754 auto *ConstMask = dyn_cast<Constant>(Mask); in maskIsAllZeroOrUndef() local
755 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() local
772 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()
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.function_test.cpp54 CASE(ConstMask, "Const"),
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.function_test.cpp54 CASE(ConstMask, "Const"),
/third_party/spirv-tools/test/
Dtext_to_binary.function_test.cpp54 CASE(ConstMask, "Const"),
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1083 auto *ConstMask = dyn_cast<Constant>(II.getArgOperand(3)); in simplifyMaskedStore() local
1084 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() local
1130 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp8229 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local
8230 return (0x03020100 & ConstMask) | (0x0c0c0c0c & ~ConstMask); in getPermuteMask()
8235 if (uint32_t ConstMask = getConstantPermuteMask(C)) { in getPermuteMask() local
8236 return (0x03020100 & ~ConstMask) | ConstMask; in getPermuteMask()