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/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/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DPhiValuesTest.cpp41 Value *Val2 = new LoadInst(UndefValue::get(I32PtrTy), "val2", Entry); in TEST() local
47 Phi1->addIncoming(Val2, Else); in TEST()
59 EXPECT_TRUE(Vals.count(Val2)); in TEST()
71 EXPECT_TRUE(Vals.count(Val2)); in TEST()
83 EXPECT_TRUE(Vals.count(Val2)); in TEST()
113 Value *Val2 = new LoadInst(UndefValue::get(I32PtrTy), "val2", Entry); in TEST() local
119 Phi1->addIncoming(Val2, Else1); in TEST()
121 Phi2->addIncoming(Val2, If1); in TEST()
134 EXPECT_TRUE(Vals.count(Val2)); in TEST()
137 EXPECT_TRUE(Vals.count(Val2)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DBypassSlowDivision.h40 static bool isEqual(const DivRemMapKey &Val1, const DivRemMapKey &Val2) {
41 return Val1.SignedOp == Val2.SignedOp && Val1.Dividend == Val2.Dividend &&
42 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/swiftshader/third_party/llvm-7.0/llvm/test/TableGen/
Dgeneric-tables.td22 // CHECK: const AEntry *lookupATableByValues(uint8_t Val1, uint16_t Val2);
32 // CHECK: const AEntry *lookupATableByValues(uint8_t Val1, uint16_t Val2) {
39 bits<10> Val2 = val2;
49 let Fields = ["Str", "Val1", "Val2"];
51 let PrimaryKey = ["Val1", "Val2"];
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp1260 APFloat Val2 = APFloat(Val); in isValueValidForType() local
1268 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1270 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1274 if (&Val2.getSemantics() == &APFloat::IEEEsingle()) in isValueValidForType()
1276 Val2.convert(APFloat::IEEEsingle(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1280 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1281 &Val2.getSemantics() == &APFloat::IEEEsingle() || in isValueValidForType()
1282 &Val2.getSemantics() == &APFloat::IEEEdouble()) in isValueValidForType()
1284 Val2.convert(APFloat::IEEEdouble(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1288 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
[all …]
/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/CoverageMapping/
Dmd.cpp7 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/clang/test/Sema/
Dgnu-flags.c136 Val2 enumerator
/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-7.0/llvm/unittests/IR/
DPatternMatch.cpp451 Value *Val2 = IRB.CreateAdd(Val, IRB.getInt8(3)); in TEST_F() local
460 Value *VI2 = IRB.CreateInsertElement(VI1, Val2, Val); in TEST_F()
461 Value *VI3 = IRB.CreateInsertElement(VI1, Val2, (uint64_t)1); in TEST_F()
495 EXPECT_TRUE(B == Val2); in TEST_F()
/external/swiftshader/third_party/llvm-7.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()
/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()

12