Home
last modified time | relevance | path

Searched refs:Val1 (Results 1 – 25 of 32) sorted by relevance

12

/external/libcxx/test/std/experimental/filesystem/fs.enum/
Dcheck_bitmask_types.hpp10 template <class EnumType, EnumType Val1, EnumType Val2,
12 UT UVal1 = static_cast<UT>(Val1),
22 static_assert(Val1 != Zero && Val2 != Zero, "");
23 static_assert(Val1 != Val2, "");
30 EnumType ValRef = Val1; in check()
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()
34 ASSERT_SAME_TYPE(EnumType, decltype((~Val1))); in check()
40 static_assert((Val1 & Zero) == Zero, ""); in check()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DFormat.h98 T1 Val1; variable
102 : format_object_base(fmt), Val1(val1), Val2(val2) { in format_object2()
106 return snprintf(Buffer, BufferSize, Fmt, Val1, Val2); in snprint()
116 T1 Val1; 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()
135 T1 Val1; 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()
156 T1 Val1; variable
[all …]
/external/clang/test/SemaCXX/
Denum-scoped.cpp4 Val1 = 1L enumerator
8 Val1 = '\0' enumerator
11 E1 v1 = Val1; // expected-error{{undeclared identifier}}
12 E1 v2 = E1::Val1;
15 static_assert(sizeof(E1::Val1) == sizeof(int), "bad size");
17 static_assert(sizeof(E2::Val1) == sizeof(int), "bad size");
19 E1 v3 = E2::Val1; // expected-error{{cannot initialize a variable}}
20 int x1 = E1::Val1; // expected-error{{cannot initialize a variable}}
34 int a2[E1::Val1]; // expected-error{{size of array has non-integer type}}
37 int* p2 = new int[E1::Val1]; // expected-error{{array size expression must have integral or unscope…
Denum.cpp4 Val1, enumerator
14 E e = Val1; in f()
/external/clang/test/SemaTemplate/
Dinstantiate-c99.cpp43 typename Val1, typename Val2>
45 void f(Val1 val1, Val2 val2) { in f()
59 typename Val1>
61 void f(Val1 val1) { in f()
Denum-argument.cpp18 Val1 = get_size<T>::value, enumerator
20 SumOfValues = Val1 + Val2
Dinstantiate-expr-4.cpp217 template<typename T, typename Val1>
219 void f(Val1 val1) { in f()
239 template<typename T, typename Val1, typename Val2>
241 void f(Val1 val1, Val2 val2) { in f()
Dtemp_arg_enum_printing.cpp9 Val1 enumerator
/external/clang/lib/CodeGen/
DCGAtomic.cpp359 Address Val1, Address Val2, in emitAtomicCmpXchg() argument
364 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1); in emitAtomicCmpXchg()
393 CGF.Builder.CreateStore(Old, Val1); 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()
[all …]
/external/ltp/testcases/misc/math/float/power/
Dgenfmod.c49 double tabR[20000], Val, Val1; in create_Result_file() local
68 read(fpi1, &Val1, sizeof(double)); in create_Result_file()
70 tabR[i] = fmod(Val, Val1); in create_Result_file()
/external/clang/test/CoverageMapping/
Dmd.cpp6 Val1, enumerator
31 foo(MD::Val1); in main()
/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()
77 return (Val1 / Val2); in computeDifferenceRatio()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp330 Value *Val1 = getRandomValue(Val0->getType()); in Act() local
334 Val1->getType()->isPointerTy()) in Act()
364 PT->push_back(BinaryOperator::Create(Op, Val0, Val1, "B", Term)); in Act()
443 Value *Val1 = getRandomValue(Val0->getType()); in Act() local
459 Value *V = new ShuffleVectorInst(Val0, Val1, Mask, "Shuff", in Act()
471 Value *Val1 = getRandomValue(Val0->getType()->getScalarType()); in Act() local
473 Value *V = InsertElementInst::Create(Val0, Val1, in Act()
574 Value *Val1 = getRandomValue(Val0->getType()); in Act() local
586 Value *V = SelectInst::Create(Cond, Val0, Val1, "Sl", BB->getTerminator()); in Act()
597 Value *Val1 = getRandomValue(Val0->getType()); in Act() local
[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.def2 HANDLE_MD(Val1)
/external/clang/test/Index/
Dcode-completion.cpp6 enum E { Val1 }; enumerator
/external/llvm/test/tools/llvm-pdbdump/Inputs/
DClassLayoutTest.cpp26 Val1 enumerator
/external/llvm/test/tools/llvm-pdbdump/
Denum-layout.test8 ; GLOBAL_ENUM-NEXT: Val1 = 0
/external/clang/test/Sema/
Dgnu-flags.c135 Val1, enumerator
/external/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp2126 Constant *Val0, *Val1; in ParseValID() local
2131 ParseGlobalTypeAndValue(Val1) || in ParseValID()
2139 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices); in ParseValID()
2146 Constant *Val0, *Val1; in ParseValID() local
2152 ParseGlobalTypeAndValue(Val1) || in ParseValID()
2156 if (Val0->getType() != Val1->getType()) in ParseValID()
2164 ID.ConstantVal = ConstantExpr::getFCmp(Pred, Val0, Val1); in ParseValID()
2170 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in ParseValID()
2196 Constant *Val0, *Val1; in ParseValID() local
2216 ParseGlobalTypeAndValue(Val1) || in ParseValID()
[all …]
/external/llvm/lib/AsmParser/
DLLParser.cpp2970 Constant *Val0, *Val1; in ParseValID() local
2975 ParseGlobalTypeAndValue(Val1) || in ParseValID()
2985 if (IndexedType != Val1->getType()) in ParseValID()
2987 getTypeString(Val1->getType()) + in ParseValID()
2990 ID.ConstantVal = ConstantExpr::getInsertValue(Val0, Val1, Indices); in ParseValID()
2997 Constant *Val0, *Val1; in ParseValID() local
3003 ParseGlobalTypeAndValue(Val1) || in ParseValID()
3007 if (Val0->getType() != Val1->getType()) in ParseValID()
3015 ID.ConstantVal = ConstantExpr::getFCmp(Pred, Val0, Val1); in ParseValID()
3021 ID.ConstantVal = ConstantExpr::getICmp(Pred, Val0, Val1); in ParseValID()
[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/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);

12