Home
last modified time | relevance | path

Searched refs:Val2 (Results 1 – 25 of 42) sorted by relevance

12

/external/libcxx/test/std/input.output/filesystems/fs.enum/
Dcheck_bitmask_types.hpp10 template <class EnumType, EnumType Val1, EnumType Val2,
13 UT UVal2 = static_cast<UT>(Val2),
22 static_assert(Val1 != Zero && Val2 != Zero, "");
23 static_assert(Val1 != Val2, "");
31 ASSERT_SAME_TYPE(EnumType, decltype(Val1 & Val2)); in check()
32 ASSERT_SAME_TYPE(EnumType, decltype(Val1 | Val2)); in check()
33 ASSERT_SAME_TYPE(EnumType, decltype(Val1 ^ Val2)); in check()
35 ASSERT_SAME_TYPE(EnumType&, decltype(ValRef &= Val2)); in check()
36 ASSERT_SAME_TYPE(EnumType&, decltype(ValRef |= Val2)); in check()
37 ASSERT_SAME_TYPE(EnumType&, decltype(ValRef ^= Val2)); in check()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.enum/
Dcheck_bitmask_types.h10 template <class EnumType, EnumType Val1, EnumType Val2,
13 UT UVal2 = static_cast<UT>(Val2),
22 static_assert(Val1 != Zero && Val2 != Zero, "");
23 static_assert(Val1 != Val2, "");
31 ASSERT_SAME_TYPE(EnumType, decltype(Val1 & Val2)); in check()
32 ASSERT_SAME_TYPE(EnumType, decltype(Val1 | Val2)); in check()
33 ASSERT_SAME_TYPE(EnumType, decltype(Val1 ^ Val2)); in check()
35 ASSERT_SAME_TYPE(EnumType&, decltype(ValRef &= Val2)); in check()
36 ASSERT_SAME_TYPE(EnumType&, decltype(ValRef |= Val2)); in check()
37 ASSERT_SAME_TYPE(EnumType&, decltype(ValRef ^= Val2)); in check()
[all …]
/external/OpenCL-CTS/test_conformance/non_uniform_work_group/
Dtest_advanced_other.cpp80 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_basic()
99 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_basic()
100 size_t reqdWorkGroupSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_basic()
165 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_atomics()
184 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_atomics()
185 size_t reqdWorkGroupSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_atomics()
252 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_barriers()
272 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_barriers()
273 size_t reqdWorkGroupSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_other_barriers()
Dtools.h38 size_t Val2; member
43 size_t Val2; member
52 static Result2d fitMaxPrime2d(size_t Val1, size_t Val2, size_t productMax);
54 static Result3d fitMaxPrime3d(size_t Val1, size_t Val2, size_t Val3, size_t productMax);
Dtest_advanced_3d.cpp126 size_t localSize[] = {fit2dResult.Val1, fit2dResult.Val2, 1}; in test_non_uniform_3d_basic()
143 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_3d_basic()
256 size_t localSize[] = {fit2dResult.Val1, fit2dResult.Val2, 1}; in test_non_uniform_3d_atomics()
273 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_3d_atomics()
386 size_t localSize[] = {fit2dResult.Val1, fit2dResult.Val2, 1}; in test_non_uniform_3d_barriers()
404 size_t localSize[] = {fit3dResult.Val1, fit3dResult.Val2, fit3dResult.Val3}; in test_non_uniform_3d_barriers()
Dtools.cpp109 result.Val2 = 1; in fitMaxPrime2d()
125 result.Val2 = val2; in fitMaxPrime2d()
136 result.Val2 = 1; in fitMaxPrime3d()
157 result.Val2 = val2; in fitMaxPrime3d()
Dtest_advanced_2d.cpp120 size_t localSize[] = {fit2dResult.Val1, fit2dResult.Val2}; in test_non_uniform_2d_basic()
242 size_t localSize[] = {fit2dResult.Val1, fit2dResult.Val2}; in test_non_uniform_2d_atomics()
362 size_t localSize[] = {fit2dResult.Val1, fit2dResult.Val2}; in test_non_uniform_2d_barriers()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBypassSlowDivision.h42 static bool isEqual(const DivRemMapKey &Val1, const DivRemMapKey &Val2) {
43 return Val1.SignedOp == Val2.SignedOp && Val1.Dividend == Val2.Dividend &&
44 Val1.Divisor == Val2.Divisor;
/external/compiler-rt/lib/esan/
Dcache_frag.cpp71 static inline u64 computeDifferenceRatio(u64 Val1, u64 Val2) { in computeDifferenceRatio() argument
72 if (Val2 > Val1) { in computeDifferenceRatio()
73 Swap(Val1, Val2); in computeDifferenceRatio()
75 if (Val2 == 0) in computeDifferenceRatio()
76 Val2 = 1; in computeDifferenceRatio()
77 return (Val1 / Val2); in computeDifferenceRatio()
/external/clang/test/SemaCXX/
Denum-scoped.cpp23 Val2 = 1 enumerator
26 E3 v4 = Val2;
27 E1 v5 = Val2; // expected-error{{cannot initialize a variable}}
31 int x2 = Val2;
33 int a1[Val2];
36 int* p1 = new int[Val2];
Denum.cpp5 Val2 enumerator
15 float& fr = enumerator_type(Val2); in f()
/external/clang/lib/CodeGen/
DCGAtomic.cpp359 Address Val1, Address Val2, in emitAtomicCmpXchg() argument
365 llvm::Value *Desired = CGF.Builder.CreateLoad(Val2); in emitAtomicCmpXchg()
407 Address Val1, Address Val2, in emitAtomicCmpXchgFailureSet() argument
437 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet()
462 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, in emitAtomicCmpXchgFailureSet()
468 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, in emitAtomicCmpXchgFailureSet()
478 emitAtomicCmpXchg(CGF, E, IsWeak, Dest, Ptr, Val1, Val2, Size, SuccessOrder, in emitAtomicCmpXchgFailureSet()
489 Address Ptr, Address Val1, Address Val2, in EmitAtomicOp() argument
500 emitAtomicCmpXchgFailureSet(CGF, E, false, Dest, Ptr, Val1, Val2, in EmitAtomicOp()
504 emitAtomicCmpXchgFailureSet(CGF, E, true, Dest, Ptr, Val1, Val2, in EmitAtomicOp()
[all …]
/external/clang/test/SemaTemplate/
Denum-argument.cpp19 Val2, enumerator
20 SumOfValues = Val1 + Val2
Dinstantiate-c99.cpp43 typename Val1, typename Val2>
45 void f(Val1 val1, Val2 val2) { in f()
Dinstantiate-expr-4.cpp239 template<typename T, typename Val1, typename Val2>
241 void f(Val1 val1, Val2 val2) { in f()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp50 static bool isEqual(const DivOpInfo &Val1, const DivOpInfo &Val2) { in isEqual()
51 return Val1.SignedOp == Val2.SignedOp && in isEqual()
52 Val1.Dividend == Val2.Dividend && in isEqual()
53 Val1.Divisor == Val2.Divisor; in isEqual()
/external/clang/test/CoverageMapping/Inputs/
Dmd.def3 HANDLE_MD(Val2)
/external/clang/test/CoverageMapping/
Dmd.cpp7 Val2 enumerator
/external/llvm/lib/IR/
DConstants.cpp1212 APFloat Val2 = APFloat(Val); in isValueValidForType() local
1220 if (&Val2.getSemantics() == &APFloat::IEEEhalf) in isValueValidForType()
1222 Val2.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1226 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType()
1228 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1232 if (&Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
1233 &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
1234 &Val2.getSemantics() == &APFloat::IEEEdouble) in isValueValidForType()
1236 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1240 return &Val2.getSemantics() == &APFloat::IEEEhalf || in isValueValidForType()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp1365 APFloat Val2 = APFloat(Val); in isValueValidForType() local
1373 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1375 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1379 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType()
1381 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1385 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1386 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType()
1387 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType()
1389 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1393 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
[all …]
/external/clang/test/Sema/
Dgnu-flags.c136 Val2 enumerator
/external/rust/crates/rusticata-macros/src/
Dmacros.rs257 Val2 = 1 in test_newtype_enum()
262 assert_eq!(MyType(1), MyType::Val2); in test_newtype_enum()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp898 Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0); in FoldAndOfICmps() local
909 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
924 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
929 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
951 if (Val != Val2) return nullptr; in FoldAndOfICmps()
1794 Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0); in FoldOrOfICmps() local
1802 A = Val2; in FoldOrOfICmps()
1803 else if (RHSCC == ICmpInst::ICMP_UGT && Val == Val2) in FoldOrOfICmps()
1809 B = Val2; in FoldOrOfICmps()
1810 if (LHSCC == ICmpInst::ICMP_ULT && Val2 == LHS->getOperand(1)) in FoldOrOfICmps()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp105 CmpInst::Predicate Cmp2, float Val2) { in createOrCond() argument
108 auto Cond2 = createCond(BBBuilder, Arg, Cmp2, Val2); in createOrCond()
/external/llvm/unittests/DebugInfo/PDB/
DMappedBlockStreamTest.cpp310 enum class MyEnum : uint32_t { Val1 = 2908234, Val2 = 120891234 }; in TEST() enumerator
315 MyEnum Enum[] = {MyEnum::Val1, MyEnum::Val2}; in TEST()

12