Home
last modified time | relevance | path

Searched refs:isSubsetOf (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm-project/llvm/unittests/Support/
DKnownBitsTest.cpp91 EXPECT_TRUE(KnownNSWComputed.Zero.isSubsetOf(KnownNSW.Zero)); in TestAddSubExhaustive()
92 EXPECT_TRUE(KnownNSWComputed.One.isSubsetOf(KnownNSW.One)); in TestAddSubExhaustive()
224 EXPECT_TRUE(ComputedMul.Zero.isSubsetOf(KnownMul.Zero)); in TEST()
225 EXPECT_TRUE(ComputedMul.One.isSubsetOf(KnownMul.One)); in TEST()
228 EXPECT_TRUE(ComputedUDiv.Zero.isSubsetOf(KnownUDiv.Zero)); in TEST()
229 EXPECT_TRUE(ComputedUDiv.One.isSubsetOf(KnownUDiv.One)); in TEST()
232 EXPECT_TRUE(ComputedURem.Zero.isSubsetOf(KnownURem.Zero)); in TEST()
233 EXPECT_TRUE(ComputedURem.One.isSubsetOf(KnownURem.One)); in TEST()
236 EXPECT_TRUE(ComputedSRem.Zero.isSubsetOf(KnownSRem.Zero)); in TEST()
237 EXPECT_TRUE(ComputedSRem.One.isSubsetOf(KnownSRem.One)); in TEST()
[all …]
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp42 if (C->isSubsetOf(Demanded)) in ShrinkDemandedConstant()
174 if (DemandedMask.isSubsetOf(Known.Zero | Known.One)) in SimplifyDemandedUseBits()
179 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyDemandedUseBits()
181 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyDemandedUseBits()
203 if (DemandedMask.isSubsetOf(Known.Zero | Known.One)) in SimplifyDemandedUseBits()
208 if (DemandedMask.isSubsetOf(LHSKnown.One | RHSKnown.Zero)) in SimplifyDemandedUseBits()
210 if (DemandedMask.isSubsetOf(RHSKnown.One | LHSKnown.Zero)) in SimplifyDemandedUseBits()
230 if (DemandedMask.isSubsetOf(Known.Zero | Known.One)) in SimplifyDemandedUseBits()
235 if (DemandedMask.isSubsetOf(RHSKnown.Zero)) in SimplifyDemandedUseBits()
237 if (DemandedMask.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp53 if (C->isSubsetOf(Demanded)) in ShrinkDemandedConstant()
183 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne)) in SimplifyDemandedUseBits()
188 if (DemandedMask.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyDemandedUseBits()
190 if (DemandedMask.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyDemandedUseBits()
217 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne)) in SimplifyDemandedUseBits()
222 if (DemandedMask.isSubsetOf(LHSKnown.One | RHSKnown.Zero)) in SimplifyDemandedUseBits()
224 if (DemandedMask.isSubsetOf(RHSKnown.One | LHSKnown.Zero)) in SimplifyDemandedUseBits()
251 if (DemandedMask.isSubsetOf(IKnownZero|IKnownOne)) in SimplifyDemandedUseBits()
256 if (DemandedMask.isSubsetOf(RHSKnown.Zero)) in SimplifyDemandedUseBits()
258 if (DemandedMask.isSubsetOf(LHSKnown.Zero)) in SimplifyDemandedUseBits()
[all …]
DInstCombineCalls.cpp2980 if (DemandedElts1.isSubsetOf(UndefElts1) || in visitCallInst()
2981 DemandedElts2.isSubsetOf(UndefElts2)) in visitCallInst()
/external/llvm-project/llvm/unittests/ADT/
DSCCIteratorTest.cpp66 EXPECT_TRUE(NodesInThisSCC.isSubsetOf(G.NodesReachableFrom(i))); in TEST()
107 EXPECT_TRUE(NodesReachableFromSCC.isSubsetOf(NodesInSomeSCC)); in TEST()
DAPIntTest.cpp2552 TEST(APIntTest, isSubsetOf) { in TEST() argument
2556 EXPECT_FALSE(i32_3.isSubsetOf(i32_1)); in TEST()
2557 EXPECT_TRUE(i32_1.isSubsetOf(i32_3)); in TEST()
2558 EXPECT_FALSE(i32_2.isSubsetOf(i32_1)); in TEST()
2559 EXPECT_FALSE(i32_1.isSubsetOf(i32_2)); in TEST()
2560 EXPECT_TRUE(i32_3.isSubsetOf(i32_3)); in TEST()
2565 EXPECT_FALSE(i128_3.isSubsetOf(i128_1)); in TEST()
2566 EXPECT_TRUE(i128_1.isSubsetOf(i128_3)); in TEST()
2567 EXPECT_FALSE(i128_2.isSubsetOf(i128_1)); in TEST()
2568 EXPECT_FALSE(i128_1.isSubsetOf(i128_2)); in TEST()
[all …]
DTestGraph.h79 bool isSubsetOf(const NodeSubset &other) const { in isSubsetOf() function
/external/llvm/unittests/ADT/
DSCCIteratorTest.cpp75 bool isSubsetOf(const NodeSubset &other) const { in isSubsetOf() function in llvm::Graph::NodeSubset
292 EXPECT_TRUE(NodesInThisSCC.isSubsetOf(G.NodesReachableFrom(i))); in TEST()
331 EXPECT_TRUE(NodesReachableFromSCC.isSubsetOf(NodesInSomeSCC)); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DGISelKnownBits.h58 return Mask.isSubsetOf(getKnownBits(Val).Zero); in maskedValueIsZero()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DGISelKnownBits.h78 return Mask.isSubsetOf(getKnownBits(Val).Zero); in maskedValueIsZero()
/external/deqp/framework/randomshaders/
DrsgVariableValue.cpp148 bool ConstValueRangeAccess::isSubsetOf (const ConstValueRangeAccess& other) const in isSubsetOf() function in rsg::ConstValueRangeAccess
155 return other.isSubsetOf(*this); in isSupersetOf()
DrsgVariableValue.hpp215 bool isSubsetOf (const ConstValueRangeAccess& other) const;
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp510 if (Opcode == ISD::XOR && DemandedBits.isSubsetOf(C)) in ShrinkDemandedConstant()
513 if (!C.isSubsetOf(DemandedBits)) { in ShrinkDemandedConstant()
708 if (DemandedBits.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyMultipleUseDemandedBits()
710 if (DemandedBits.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyMultipleUseDemandedBits()
721 if (DemandedBits.isSubsetOf(LHSKnown.One | RHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
723 if (DemandedBits.isSubsetOf(RHSKnown.One | LHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
733 if (DemandedBits.isSubsetOf(RHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
735 if (DemandedBits.isSubsetOf(LHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
1236 if (DemandedBits.isSubsetOf(Known2.Zero | Known.One)) in SimplifyDemandedBits()
1238 if (DemandedBits.isSubsetOf(Known.Zero | Known2.One)) in SimplifyDemandedBits()
[all …]
DSelectionDAGISel.cpp2000 if (!ActualMask.isSubsetOf(DesiredMask)) in CheckAndMask()
2029 if (!ActualMask.isSubsetOf(DesiredMask)) in CheckOrMask()
2038 if (NeededMask.isSubsetOf(Known.One)) in CheckOrMask()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp516 if (Opcode == ISD::XOR && Demanded.isSubsetOf(C)) in ShrinkDemandedConstant()
519 if (!C.isSubsetOf(Demanded)) { in ShrinkDemandedConstant()
691 if (DemandedBits.isSubsetOf(LHSKnown.Zero | RHSKnown.One)) in SimplifyMultipleUseDemandedBits()
693 if (DemandedBits.isSubsetOf(RHSKnown.Zero | LHSKnown.One)) in SimplifyMultipleUseDemandedBits()
704 if (DemandedBits.isSubsetOf(LHSKnown.One | RHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
706 if (DemandedBits.isSubsetOf(RHSKnown.One | LHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
716 if (DemandedBits.isSubsetOf(RHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
718 if (DemandedBits.isSubsetOf(LHSKnown.Zero)) in SimplifyMultipleUseDemandedBits()
1112 if (DemandedBits.isSubsetOf(Known2.Zero | Known.One)) in SimplifyDemandedBits()
1114 if (DemandedBits.isSubsetOf(Known.Zero | Known2.One)) in SimplifyDemandedBits()
[all …]
DSelectionDAGISel.cpp2000 if (!ActualMask.isSubsetOf(DesiredMask)) in CheckAndMask()
2029 if (!ActualMask.isSubsetOf(DesiredMask)) in CheckOrMask()
2038 if (NeededMask.isSubsetOf(Known.One)) in CheckOrMask()
DSelectionDAG.cpp2220 if (DemandedBits.isSubsetOf(AndVal) || in GetDemandedBits()
2221 DemandedBits.isSubsetOf(computeKnownBits(V.getOperand(0)).Zero | in GetDemandedBits()
2269 return Mask.isSubsetOf(computeKnownBits(V, DemandedElts, Depth).Zero); in MaskedValueIsZero()
2275 return Mask.isSubsetOf(computeKnownBits(V, Depth).One); in MaskedValueIsAllOnes()
2388 if (DemandedElts.isSubsetOf(UndefElts)) { in getSplatSourceVector()
3196 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBits()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstCombineIntrinsic.cpp1448 if (DemandedElts1.isSubsetOf(UndefElts1) || in instCombineIntrinsic()
1449 DemandedElts2.isSubsetOf(UndefElts2)) { in instCombineIntrinsic()
1920 if (DemandedElts.isSubsetOf(SubMask)) in simplifyDemandedVectorEltsIntrinsic()
1924 if (DemandedElts.isSubsetOf(AddMask)) in simplifyDemandedVectorEltsIntrinsic()
/external/llvm-project/llvm/lib/Support/
DKnownBits.cpp422 if (LHS.isNonNegative() || LowBits.isSubsetOf(LHS.Zero)) in srem()
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp261 bool isSubsetOf(const ClassInfo &RHS) const { in isSubsetOf() function
268 if (CI->isSubsetOf(RHS)) in isSubsetOf()
1621 assert(I == J || !J->isSubsetOf(*I)); in buildInfo()
2267 if (&A != &B && A.isSubsetOf(B)) in emitIsSubclass()
/external/llvm-project/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp269 bool isSubsetOf(const ClassInfo &RHS) const { in isSubsetOf() function
1661 assert(I == J || !J->isSubsetOf(*I)); in buildInfo()
2529 if (&A != &B && A.isSubsetOf(B)) in emitIsSubclass()
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h1349 bool isSubsetOf(const APInt &RHS) const {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1349 bool isSubsetOf(const APInt &RHS) const { in isSubsetOf() function
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DValueTracking.cpp1314 if (Known2.isNonNegative() || LowBits.isSubsetOf(Known2.Zero)) in computeKnownBitsFromOperator()
2397 return Mask.isSubsetOf(Known.Zero); in MaskedValueIsZero()
5352 if (CA->isSubsetOf(Known.Zero) && CB->isSubsetOf(Known.Zero)) in isTruePredicate()
/external/llvm-project/llvm/lib/Analysis/
DValueTracking.cpp2591 return Mask.isSubsetOf(Known.Zero); in MaskedValueIsZero()
6025 if (CA->isSubsetOf(Known.Zero) && CB->isSubsetOf(Known.Zero)) in isTruePredicate()

12