Home
last modified time | relevance | path

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

12

/external/libcxx/test/std/experimental/filesystem/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/swiftshader/third_party/LLVM/include/llvm/Support/
DFormat.h99 T2 Val2; variable
102 : format_object_base(fmt), Val1(val1), Val2(val2) { in format_object2()
106 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2); in snprint()
117 T2 Val2; variable
121 : format_object_base(fmt), Val1(val1), Val2(val2), Val3(val3) { in format_object3()
125 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2, Val3); in snprint()
136 T2 Val2; variable
142 : format_object_base(fmt), Val1(val1), Val2(val2), Val3(val3), Val4(val4) { in format_object4()
146 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2, Val3, Val4); in snprint()
157 T2 Val2; variable
[all …]
/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/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/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/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/clang/test/Sema/
Dgnu-flags.c136 Val2 enumerator
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp933 APFloat Val2 = APFloat(Val); in isValueValidForType() local
941 if (&Val2.getSemantics() == &APFloat::IEEEsingle) in isValueValidForType()
943 Val2.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
947 if (&Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
948 &Val2.getSemantics() == &APFloat::IEEEdouble) in isValueValidForType()
950 Val2.convert(APFloat::IEEEdouble, APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
954 return &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
955 &Val2.getSemantics() == &APFloat::IEEEdouble || in isValueValidForType()
956 &Val2.getSemantics() == &APFloat::x87DoubleExtended; in isValueValidForType()
958 return &Val2.getSemantics() == &APFloat::IEEEsingle || in isValueValidForType()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp740 Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0); in FoldAndOfICmps() local
750 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
756 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
762 Value *NewAnd = Builder->CreateAnd(Val, Val2); in FoldAndOfICmps()
768 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldAndOfICmps()
782 if (match(Val2, m_Trunc(m_Value(V))) && in FoldAndOfICmps()
789 match(Val2, m_And(m_Specific(V), m_ConstantInt(AndCst)))) { in FoldAndOfICmps()
811 if (Val != Val2) return 0; in FoldAndOfICmps()
1482 Value *Val = LHS->getOperand(0), *Val2 = RHS->getOperand(0); in FoldOrOfICmps() local
1490 Value *NewOr = Builder->CreateOr(Val, Val2); in FoldOrOfICmps()
[all …]
/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/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()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DValueTracking.cpp1270 APInt Val2; in isBytewiseValue() local
1273 Val2 = Val.lshr(NextWidth); in isBytewiseValue()
1274 Val2 = Val2.trunc(Val.getBitWidth()/2); in isBytewiseValue()
1278 if (Val != Val2) in isBytewiseValue()
/external/llvm/test/CodeGen/AArch64/
Ddp2.ll139 ; The point of this test is that we may not actually see (shl GPR32:$Val, (zext GPR32:$Val2))
/external/llvm/unittests/ADT/
DAPFloatTest.cpp468 APFloat Val2(2.0f); in TEST() local
471 f1.divide(Val2, rdmd); in TEST()
472 f2.divide(Val2, rdmd); in TEST()
563 APFloat Val2(APFloat::IEEEsingle, 2.0e0); in TEST() local
565 T.divide(Val2, rdmd); in TEST()
575 APFloat Val2(APFloat::IEEEdouble, 2.0e0); in TEST() local
577 T.divide(Val2, rdmd); in TEST()
587 APFloat Val2(APFloat::x87DoubleExtended, 2.0e0); in TEST() local
589 T.divide(Val2, rdmd); in TEST()
599 APFloat Val2(APFloat::IEEEquad, 2.0e0); in TEST() local
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1610 APInt GreatestCommonDivisor(const APInt& Val1, const APInt& Val2);
/external/llvm/include/llvm/ADT/
DAPInt.h1815 APInt GreatestCommonDivisor(const APInt &Val1, const APInt &Val2);
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1842 APInt GreatestCommonDivisor(const APInt &Val1, const APInt &Val2);
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp3834 int64_t Val2 = cast<ConstantSDNode>(*K2)->getSExtValue(); in isSaturatingConditional() local
3835 int64_t PosVal = std::max(Val1, Val2); in isSaturatingConditional()
3837 if (((Val1 > Val2 && UpperCheckOp == &Op) || in isSaturatingConditional()
3838 (Val1 < Val2 && UpperCheckOp == &Op2)) && in isSaturatingConditional()
3839 Val1 == ~Val2 && isPowerOf2_64(PosVal + 1)) { in isSaturatingConditional()

12