Home
last modified time | relevance | path

Searched refs:Value1 (Results 1 – 25 of 78) sorted by relevance

1234

/external/swiftshader/third_party/subzero/crosstest/
Dtest_arith_main.cpp39 template <class T> bool inputsMayTriggerException(T Value1, T Value2) { in inputsMayTriggerException() argument
45 if (Value1 == std::numeric_limits<T>::min() && Value2 == -1) in inputsMayTriggerException()
99 TypeUnsigned Value1 = Values[i]; in testsInt() local
103 inputsMayTriggerException<TypeSigned>(Value1, Value2)) in testsInt()
108 ResultSz = Funcs[f].FuncSzUnsigned(Value1, Value2); in testsInt()
109 ResultLlc = Funcs[f].FuncLlcUnsigned(Value1, Value2); in testsInt()
111 ResultSz = Funcs[f].FuncSzSigned(Value1, Value2); in testsInt()
112 ResultLlc = Funcs[f].FuncLlcSigned(Value1, Value2); in testsInt()
119 << (CHAR_BIT * sizeof(TypeUnsigned)) << "(" << Value1 in testsInt()
134 TypeUnsigned Value1 = in testsInt() local
[all …]
Dtest_select_main.cpp46 Ty Value1, Value2; in testSelect() local
49 setElement(Value1, j, Values[Index() % NumValues]); in testSelect()
52 Ty ResultLlc = select(Cond, Value1, Value2); in testSelect()
53 Ty ResultSz = Subzero_::select(Cond, Value1, Value2); in testSelect()
61 << ", Value1=" << vectAsString<T>(Value1) in testSelect()
82 v4f32 Value1, Value2; in testSelect() local
85 setElement(Value1, j, Values[Index() % NumValues]); in testSelect()
88 v4f32 ResultLlc = select(Cond, Value1, Value2); in testSelect()
89 v4f32 ResultSz = Subzero_::select(Cond, Value1, Value2); in testSelect()
97 << ", Value1=" << vectAsString<v4f32>(Value1) in testSelect()
[all …]
Dtest_icmp_main.cpp70 TypeUnsigned Value1 = Values[i]; in testsInt() local
73 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt()
74 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt()
80 << (CHAR_BIT * sizeof(TypeUnsigned)) << "(" << Value1 in testsInt()
95 TypeUnsigned Value1 = in testsInt() local
100 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt()
101 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt()
107 << (CHAR_BIT * sizeof(TypeUnsigned)) << "(" << Value1 in testsInt()
217 TypeUnsigned Value1, Value2; in testsVecInt() local
219 setElement(Value1, j, Values[Index() % NumValues]); in testsVecInt()
[all …]
Dtest_sync_atomic_main.cpp108 Type Value1 = static_cast<Type>(Values[i]); in testAtomicRMW() local
114 *AtomicLoc = Value1; in testAtomicRMW()
117 *AtomicLoc = Value1; in testAtomicRMW()
126 << static_cast<uint64>(Value1) << ", " in testAtomicRMW()
153 Type Value1 = static_cast<Type>(Values[i]); in testValCompareAndSwap() local
159 *AtomicLoc = Value1; in testValCompareAndSwap()
161 Funcs[f].FuncSz(AtomicLoc, flip ? Value2 : Value1, Value2); in testValCompareAndSwap()
163 *AtomicLoc = Value1; in testValCompareAndSwap()
165 Funcs[f].FuncLlc(AtomicLoc, flip ? Value2 : Value1, Value2); in testValCompareAndSwap()
172 << "(" << static_cast<uint64>(Value1) << ", " in testValCompareAndSwap()
[all …]
Dtest_fcmp_main.cpp178 v4f32 Value1, Value2; in testsVector() local
180 Value1[j] = Values[Index() % NumValues]; in testsVector()
185 ResultSz = Funcs[f].FuncVectorSz(Value1, Value2); in testsVector()
186 ResultLlc = Funcs[f].FuncVectorLlc(Value1, Value2); in testsVector()
191 std::cout << Funcs[f].Name << "Vector(" << vectAsString<v4f32>(Value1) in testsVector()
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DGPRArith.cpp48 #define TestSetCC(C, Src0, Value0, Src1, Value1, Dest, IsTrue) \ in TEST_F() argument
53 __ mov(IceType_i32, GPRRegister::Encoded_Reg_##Src1, Immediate(Value1)); \ in TEST_F()
66 << "(" #C ", " #Src0 ", " #Value0 ", " #Src1 ", " #Value1 ", " #Dest \ in TEST_F()
69 << "(" #C ", " #Src0 ", " #Value0 ", " #Src1 ", " #Value1 ", " #Dest \ in TEST_F()
326 #define TestImplRegReg(Dst, Value0, Src, Value1, Size) \ in TEST_F() argument
330 "(" #Dst ", " #Value0 ", " #Src ", " #Value1 ", " #Size ")"; \ in TEST_F()
337 Immediate(Value1)); \ in TEST_F()
351 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F()
388 #define TestImplAddrReg(Value0, Src, Value1, Size) \ in TEST_F() argument
392 "(Addr, " #Value0 ", " #Src ", " #Value1 ", " #Size ")"; \ in TEST_F()
[all …]
DLocked.cpp37 #define TestImplAddrReg(Value0, Dst1, Value1, Size) \ in TEST_F() argument
40 "(" #Value0 ", " #Dst1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
43 const uint32_t V1 = (Value1)&Mask##Size; \ in TEST_F()
46 Immediate(Value1)); \ in TEST_F()
86 #define TestImplRegReg(Reg0, Value0, Reg1, Value1, Size) \ in TEST_F() argument
89 "(" #Reg0 "," #Value0 ", " #Reg1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
91 const uint32_t V1 = (Value1)&Mask##Size; \ in TEST_F()
96 Immediate(Value1)); \ in TEST_F()
146 #define TestImplAddrReg(Value0, Dst1, Value1, LockedOrNot, Size) \ in TEST_F() argument
149 "(" #Value0 ", " #Dst1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
[all …]
DXmmArith.cpp17 #define TestArithSSXmmXmm(FloatSize, Src, Value0, Dst, Value1, Inst, Op) \ in TEST_F() argument
22 "(" #FloatSize ", " #Src ", " #Value0 ", " #Dst ", " #Value1 \ in TEST_F()
29 const Type V1 = Value1; \ in TEST_F()
53 #define TestArithSSXmmAddr(FloatSize, Value0, Dst, Value1, Inst, Op) \ in TEST_F() argument
58 "(" #FloatSize ", Addr, " #Value0 ", " #Dst ", " #Value1 ", " #Inst \ in TEST_F()
65 const Type V1 = Value1; \ in TEST_F()
123 #define TestPArithXmmXmm(Dst, Value0, Src, Value1, Inst, Op, Type, Size) \ in TEST_F() argument
126 "(" #Dst ", " #Value0 ", " #Src ", " #Value1 ", " #Inst ", " #Op \ in TEST_F()
132 const Dqword V1 Value1; \ in TEST_F()
149 #define TestPArithXmmAddr(Dst, Value0, Value1, Inst, Op, Type, Size) \ in TEST_F() argument
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DGPRArith.cpp33 #define TestSetCC(C, Dest, IsTrue, Src0, Value0, Src1, Value1) \ in TEST_F() argument
37 ", " #Value1 ")"; \ in TEST_F()
41 __ mov(IceType_i32, Encoded_GPR_##Src1(), Immediate(Value1)); \ in TEST_F()
362 #define TestImplRegReg(Dst, Value0, Src, Value1, Size) \ in TEST_F() argument
366 "(" #Dst ", " #Value0 ", " #Src ", " #Value1 ", " #Size ")"; \ in TEST_F()
371 __ mov(IceType_i##Size, Encoded_GPR_##Src(), Immediate(Value1)); \ in TEST_F()
382 ASSERT_EQ(((Value0)&Mask##Size) & ((Value1)&Mask##Size) ? ValueIfTrue \ in TEST_F()
416 #define TestImplAddrReg(Value0, Src, Value1, Size) \ in TEST_F() argument
420 "(Addr, " #Value0 ", " #Src ", " #Value1 ", " #Size ")"; \ in TEST_F()
425 __ mov(IceType_i##Size, Encoded_GPR_##Src(), Immediate(Value1)); \ in TEST_F()
[all …]
DXmmArith.cpp17 #define TestArithSSXmmXmm(FloatSize, Src, Value0, Dst, Value1, Inst, Op) \ in TEST_F() argument
22 "(" #FloatSize ", " #Src ", " #Value0 ", " #Dst ", " #Value1 \ in TEST_F()
29 const Type V1 = Value1; \ in TEST_F()
50 #define TestArithSSXmmAddr(FloatSize, Value0, Dst, Value1, Inst, Op) \ in TEST_F() argument
55 "(" #FloatSize ", Addr, " #Value0 ", " #Dst ", " #Value1 ", " #Inst \ in TEST_F()
62 const Type V1 = Value1; \ in TEST_F()
124 #define TestPArithXmmXmm(Dst, Value0, Src, Value1, Inst, Op, Type, Size) \ in TEST_F() argument
127 "(" #Dst ", " #Value0 ", " #Src ", " #Value1 ", " #Inst ", " #Op \ in TEST_F()
133 const Dqword V1 Value1; \ in TEST_F()
149 #define TestPArithXmmAddr(Dst, Value0, Value1, Inst, Op, Type, Size) \ in TEST_F() argument
[all …]
DLocked.cpp37 #define TestImplAddrReg(Value0, Dst1, Value1, Size) \ in TEST_F() argument
40 "(" #Value0 ", " #Dst1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
43 const uint32_t V1 = (Value1)&Mask##Size; \ in TEST_F()
45 __ mov(IceType_i##Size, Encoded_GPR_##Dst1(), Immediate(Value1)); \ in TEST_F()
89 #define TestImplRegReg(Reg0, Value0, Reg1, Value1, Size) \ in TEST_F() argument
92 "(" #Reg0 "," #Value0 ", " #Reg1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
94 const uint32_t V1 = (Value1)&Mask##Size; \ in TEST_F()
97 __ mov(IceType_i##Size, Encoded_GPR_##Reg1(), Immediate(Value1)); \ in TEST_F()
146 #define TestImplAddrReg(Value0, Dst1, Value1, LockedOrNot, Size) \ in TEST_F() argument
149 "(" #Value0 ", " #Dst1 ", " #Value1 ", " #Size ")"; \ in TEST_F()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugRnglists.cpp32 Value0 = Value1 = 0; in extract()
41 Value1 = Data.getULEB128(C); in extract()
45 Value1 = Data.getULEB128(C); in extract()
50 Value1 = Data.getULEB128(C); in extract()
59 Value1 = Data.getRelocatedAddress(C); in extract()
64 Value1 = Data.getULEB128(C); in extract()
125 E.HighPC = RLE.Value1; in getAbsoluteRanges()
135 E.HighPC = RLE.Value1; in getAbsoluteRanges()
139 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
147 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
[all …]
DDWARFDebugLoc.cpp64 Optional<SectionedAddress> HighPC = LookupAddr(E.Value1); in Interpret()
66 return createResolverError(E.Value1, E.Kind); in Interpret()
76 LowPC->Address + E.Value1, in Interpret()
86 DWARFAddressRange Range{Base->Address + E.Value0, Base->Address + E.Value1, in Interpret()
99 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret()
102 DWARFAddressRange{E.Value0, E.Value0 + E.Value1, E.SectionIndex}, in Interpret()
215 uint64_t Value1 = Data.getRelocatedAddress(C, &SectionIndex); in visitLocationList() local
223 if (Value0 == 0 && Value1 == 0) { in visitLocationList()
227 E.Value0 = Value1; in visitLocationList()
232 E.Value1 = Value1; in visitLocationList()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLoc.cpp64 Optional<SectionedAddress> HighPC = LookupAddr(E.Value1); in Interpret()
66 return createResolverError(E.Value1, E.Kind); in Interpret()
76 LowPC->Address + E.Value1, in Interpret()
86 DWARFAddressRange Range{Base->Address + E.Value0, Base->Address + E.Value1, in Interpret()
99 DWARFAddressRange{E.Value0, E.Value1, E.SectionIndex}, E.Loc}; in Interpret()
102 DWARFAddressRange{E.Value0, E.Value0 + E.Value1, E.SectionIndex}, in Interpret()
217 uint64_t Value1 = Data.getRelocatedAddress(C, &SectionIndex); in visitLocationList() local
225 if (Value0 == 0 && Value1 == 0) { in visitLocationList()
229 E.Value0 = Value1; in visitLocationList()
234 E.Value1 = Value1; in visitLocationList()
[all …]
DDWARFDebugRnglists.cpp31 Value0 = Value1 = 0; in extract()
53 Value1 = Data.getULEB128(OffsetPtr); in extract()
65 Value1 = Data.getULEB128(OffsetPtr); in extract()
90 Value1 = Data.getRelocatedAddress(OffsetPtr); in extract()
96 Value1 = Data.getULEB128(OffsetPtr); in extract()
149 E.HighPC = RLE.Value1; in getAbsoluteRanges()
157 E.HighPC = RLE.Value1; in getAbsoluteRanges()
161 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
169 E.HighPC = E.LowPC + RLE.Value1; in getAbsoluteRanges()
191 DWARFAddressRange(Entry.Value0, Entry.Value1) in dump()
[all …]
/external/llvm-project/llvm/unittests/IR/
DDemandedBitsTest.cpp44 ForeachNumInKnownBits(Known1, [&](APInt Value1) { in TestBinOpExhaustive() argument
46 APInt ReferenceResult = EvalFn((Value1 & AB1), (Value2 & AB2)); in TestBinOpExhaustive()
47 APInt Result = EvalFn(Value1, Value2); in TestBinOpExhaustive()
/external/clang/test/Sema/
Dwarn-unreachable.c171 typedef enum { Value1 = 1 } MyEnum; enumerator
174 case Value1: in unreachable_default()
207 return Value1; // expected-warning {{'return' will never be executed}} in trivial_dead_return_enum()
338 return Value1; // no-warning in trivial_dead_return_enum_SUPPRESSED()
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/Mips/
DTargetTest.cpp90 const uint32_t Value1 = 0xFFFFFFFFUL; in TEST_F() local
92 EXPECT_THAT(setRegTo(Reg1, APInt(32, Value1)), in TEST_F()
102 const uint32_t Value1 = 0x7FFFFFFFUL; in TEST_F() local
104 EXPECT_THAT(setRegTo(Reg1, APInt(32, Value1)), in TEST_F()
/external/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/
Dp4-neg.cpp11 template<template<class T, T Value1, INT> class X>
13 template<template<typename T, T Value1, int> class>
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/
Dp4-neg.cpp11 template<template<class T, T Value1, INT> class X>
13 template<template<typename T, T Value1, int> class>
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_termination.cpp36 u64 Value1, u64 Value2) { in CheckFailed() argument
38 File, Line, Condition, Value1, Value2); in CheckFailed()
/external/catch2/projects/SelfTest/UsageTests/
DEnumToString.tests.cpp68 enum class EnumClass3 { Value1, Value2, Value3, Value4 }; enumerator
70 CATCH_REGISTER_ENUM( EnumClass3, EnumClass3::Value1, EnumClass3::Value2, EnumClass3::Value3 ) in CATCH_REGISTER_ENUM() argument
75 REQUIRE( stringify( EnumClass3::Value1 ) == "Value1" ); in CATCH_REGISTER_ENUM()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousMemsetUsageCheck.cpp119 llvm::APSInt Value1 = EVResult.Val.getInt(); in check() local
120 if (Value1 == 0 || Value1.isNegative()) in check()
/external/llvm-project/clang/test/Sema/
Dwarn-unreachable.c172 typedef enum { Value1 = 1 } MyEnum; enumerator
175 case Value1: in unreachable_default()
208 return Value1; // expected-warning {{'return' will never be executed}} in trivial_dead_return_enum()
339 return Value1; // no-warning in trivial_dead_return_enum_SUPPRESSED()
/external/llvm-project/llvm/unittests/CodeGen/
DSelectionDAGAddressAnalysisTest.cpp237 SDValue Value1 = DAG->getConstant(0, Loc, SubVecVT); in TEST_F() local
244 SDValue Store1 = DAG->getStore(DAG->getEntryNode(), Loc, Value1, Index1, in TEST_F()
280 SDValue Value1 = DAG->getConstant(0, Loc, SubVecVT); in TEST_F() local
287 SDValue Store1 = DAG->getStore(DAG->getEntryNode(), Loc, Value1, Index1, in TEST_F()
317 SDValue Value1 = DAG->getConstant(0, Loc, VecVT); in TEST_F() local
323 SDValue Store1 = DAG->getStore(DAG->getEntryNode(), Loc, Value1, Index1, in TEST_F()

1234