Home
last modified time | relevance | path

Searched refs:Funcs (Results 1 – 25 of 43) sorted by relevance

12

/external/swiftshader/third_party/subzero/crosstest/
Dtest_arith_main.cpp67 } Funcs[] = { in testsInt() local
87 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testsInt()
98 if (Funcs[f].ExcludeDivExceptions && in testsInt()
103 if (Funcs[f].FuncSzUnsigned) { in testsInt()
104 ResultSz = Funcs[f].FuncSzUnsigned(Value1, Value2); in testsInt()
105 ResultLlc = Funcs[f].FuncLlcUnsigned(Value1, Value2); in testsInt()
107 ResultSz = Funcs[f].FuncSzSigned(Value1, Value2); in testsInt()
108 ResultLlc = Funcs[f].FuncLlcSigned(Value1, Value2); in testsInt()
114 std::cout << "test" << Funcs[f].Name in testsInt()
134 if (Funcs[f].ExcludeDivExceptions && in testsInt()
[all …]
Dtest_calling_conv_main.cpp71 } Funcs[] = { in testCaller() local
93 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testCaller()
97 Callee = Funcs[f].Callee; in testCaller()
99 for (size_t i = 0; i < Funcs[f].Args; ++i) { in testCaller()
106 Funcs[f].Caller(); in testCaller()
109 Funcs[f].Subzero_Caller(); in testCaller()
116 std::cout << "testCaller(Caller=" << Funcs[f].CallerName in testCaller()
117 << ", Callee=" << Funcs[f].CalleeName << ", ArgNum=" << ArgNum in testCaller()
131 } Funcs[] = { in testCallee() local
143 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testCallee()
[all …]
Dtest_icmp_main.cpp50 } Funcs[] = { in testsInt() local
68 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testsInt()
79 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt()
80 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt()
85 std::cout << "icmp" << Funcs[f].Name in testsInt()
106 bool ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsInt()
107 bool ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsInt()
112 std::cout << "icmp" << Funcs[f].Name in testsInt()
133 } Funcs[] = { in testsIntWithZero() local
151 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testsIntWithZero()
[all …]
Dtest_fcmp_main.cpp80 } Funcs[] = { in testsScalar() local
92 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testsScalar()
104 ResultSz = Funcs[f].FuncFloatSz(Value1Float, Value2Float); in testsScalar()
105 ResultLlc = Funcs[f].FuncFloatLlc(Value1Float, Value2Float); in testsScalar()
110 std::cout << Funcs[f].Name << "Float(" << Value1Float << ", " in testsScalar()
117 ResultSz = Funcs[f].FuncDoubleSz(Value1Double, Value2Double); in testsScalar()
118 ResultLlc = Funcs[f].FuncDoubleLlc(Value1Double, Value2Double); in testsScalar()
123 std::cout << Funcs[f].Name << "Double(" << Value1Double << ", " in testsScalar()
130 ResultSz = Funcs[f].FuncFloatSelectSz(Value1Float, Value2Float, 1, 2); in testsScalar()
131 ResultLlc = Funcs[f].FuncFloatSelectLlc(Value1Float, Value2Float, 1, 2); in testsScalar()
[all …]
Dtest_bitmanip_main.cpp55 } Funcs[] = { in testBitManip() local
63 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testBitManip()
69 Type ResultSz = Funcs[f].FuncSz(Value); in testBitManip()
70 Type ResultLlc = Funcs[f].FuncLlc(Value); in testBitManip()
75 std::cout << "test_" << Funcs[f].Name << (CHAR_BIT * sizeof(Type)) in testBitManip()
91 } Funcs[] = { in testByteSwap() local
94 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testByteSwap()
99 Type ResultSz = Funcs[f].FuncSz(Value); in testByteSwap()
100 Type ResultLlc = Funcs[f].FuncLlc(Value); in testByteSwap()
105 std::cout << "test_" << Funcs[f].Name << (CHAR_BIT * sizeof(Type)) in testByteSwap()
Dtest_sync_atomic_main.cpp66 } Funcs[] = { in testAtomicRMW() local
74 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testAtomicRMW()
85 Type ResultSz1 = Funcs[f].FuncSz(fetch_first, AtomicLoc, Value2); in testAtomicRMW()
88 Type ResultLlc1 = Funcs[f].FuncLlc(fetch_first, AtomicLoc, Value2); in testAtomicRMW()
94 std::cout << "test_" << Funcs[f].Name << (CHAR_BIT * sizeof(Type)) in testAtomicRMW()
117 } Funcs[] = {{"val_cmp_swap", test_val_cmp_swap, Subzero_::test_val_cmp_swap}, in testValCompareAndSwap() local
120 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in testValCompareAndSwap()
131 Funcs[f].FuncSz(AtomicLoc, flip ? Value2 : Value1, Value2); in testValCompareAndSwap()
135 Funcs[f].FuncLlc(AtomicLoc, flip ? Value2 : Value1, Value2); in testValCompareAndSwap()
141 std::cout << "test_" << Funcs[f].Name << (CHAR_BIT * sizeof(Type)) in testValCompareAndSwap()
[all …]
Dtest_stacksave_main.c34 } Funcs[] = {{"test_basic_vla", test_basic_vla, Subzero_test_basic_vla}, in DECLARE_TESTS() local
38 const static size_t NumFuncs = sizeof(Funcs) / sizeof(*Funcs); in DECLARE_TESTS()
44 uint32_t llc_result = Funcs[f].FuncLlc(size_to_test, start, inc); in DECLARE_TESTS()
45 uint32_t sz_result = Funcs[f].FuncSz(size_to_test, start, inc); in DECLARE_TESTS()
52 Funcs[f].Name, start, llc_result, sz_result); in DECLARE_TESTS()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DBugDriver.cpp229 void llvm::PrintFunctionList(const std::vector<Function*> &Funcs) { in PrintFunctionList() argument
230 unsigned NumPrint = Funcs.size(); in PrintFunctionList()
233 outs() << " " << Funcs[i]->getName(); in PrintFunctionList()
234 if (NumPrint < Funcs.size()) in PrintFunctionList()
235 outs() << "... <" << Funcs.size() << " total>"; in PrintFunctionList()
DCrashDebugger.cpp199 bool ReduceCrashingFunctions::TestFuncs(std::vector<Function*> &Funcs) { in TestFuncs() argument
202 if (KeepMain && find(Funcs.begin(), Funcs.end(), in TestFuncs()
203 BD.getProgram()->getFunction("main")) == Funcs.end()) in TestFuncs()
212 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
213 Function *CMF = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
215 assert(CMF->getFunctionType() == Funcs[i]->getFunctionType() && "wrong ty"); in TestFuncs()
216 assert(CMF->getName() == Funcs[i]->getName() && "wrong name"); in TestFuncs()
221 PrintFunctionList(Funcs); in TestFuncs()
236 Funcs.assign(Functions.begin(), Functions.end()); in TestFuncs()
DMiscompilation.cpp246 bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs, in TestFuncs() argument
251 << (Funcs.size()==1 ? "this function is" : "these functions are") in TestFuncs()
254 PrintFunctionList(Funcs); in TestFuncs()
269 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
270 Function *F = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
1004 std::vector<Function*> Funcs = DebugAMiscompilation(*this, TestCodeGenerator, in debugCodeGenerator() local
1012 Module *ToCodeGen = SplitFunctionsOutOfModule(ToNotCodeGen, Funcs, VMap); in debugCodeGenerator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUOpenCLEnqueuedBlockLowering.cpp93 static void collectFunctionUsers(User *U, DenseSet<Function *> &Funcs) { in collectFunctionUsers() argument
96 if (Funcs.insert(F).second) in collectFunctionUsers()
97 collectCallers(F, Funcs); in collectFunctionUsers()
103 collectFunctionUsers(&*UU, Funcs); in collectFunctionUsers()
/external/llvm/tools/bugpoint/
DBugDriver.cpp230 void llvm::PrintFunctionList(const std::vector<Function*> &Funcs) { in PrintFunctionList() argument
231 unsigned NumPrint = Funcs.size(); in PrintFunctionList()
234 outs() << " " << Funcs[i]->getName(); in PrintFunctionList()
235 if (NumPrint < Funcs.size()) in PrintFunctionList()
236 outs() << "... <" << Funcs.size() << " total>"; in PrintFunctionList()
DCrashDebugger.cpp234 bool ReduceCrashingFunctions::TestFuncs(std::vector<Function*> &Funcs) { in TestFuncs() argument
236 if (KeepMain && std::find(Funcs.begin(), Funcs.end(), in TestFuncs()
238 Funcs.end()) in TestFuncs()
247 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
248 Function *CMF = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
250 assert(CMF->getFunctionType() == Funcs[i]->getFunctionType() && "wrong ty"); in TestFuncs()
251 assert(CMF->getName() == Funcs[i]->getName() && "wrong name"); in TestFuncs()
256 PrintFunctionList(Funcs); in TestFuncs()
311 Funcs.assign(Functions.begin(), Functions.end()); in TestFuncs()
DMiscompilation.cpp239 bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs, in TestFuncs() argument
244 << (Funcs.size()==1 ? "this function is" : "these functions are") in TestFuncs()
247 PrintFunctionList(Funcs); in TestFuncs()
262 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
263 Function *F = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
1012 std::vector<Function*> Funcs = DebugAMiscompilation(*this, TestCodeGenerator, in debugCodeGenerator() local
1021 SplitFunctionsOutOfModule(ToNotCodeGen.get(), Funcs, VMap); in debugCodeGenerator()
/external/harfbuzz_ng/src/
Dhb-machinery.hh768 template <typename Stored, typename Funcs>
769 Stored * call_create () const { return Funcs::create (); } in call_create()
784 >::value Funcs; typedef
801 if (p && p != const_cast<Stored *> (Funcs::get_null ())) in do_destroy()
802 Funcs::destroy (p); in do_destroy()
808 { return get_stored () != Funcs::get_null (); }
818 return const_cast<Stored *> (Funcs::get_null ()); in get_stored()
820 p = this->template call_create<Stored, Funcs> (); in get_stored()
822 p = const_cast<Stored *> (Funcs::get_null ()); in get_stored()
843 const Returned * get () const { return Funcs::convert (get_stored ()); } in get()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DBugDriver.cpp241 void llvm::PrintFunctionList(const std::vector<Function *> &Funcs) { in PrintFunctionList() argument
242 unsigned NumPrint = Funcs.size(); in PrintFunctionList()
246 outs() << " " << Funcs[i]->getName(); in PrintFunctionList()
247 if (NumPrint < Funcs.size()) in PrintFunctionList()
248 outs() << "... <" << Funcs.size() << " total>"; in PrintFunctionList()
DMiscompilation.cpp250 ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function *> &Funcs) { in TestFuncs() argument
254 << (Funcs.size() == 1 ? "this function is" : "these functions are") in TestFuncs()
257 PrintFunctionList(Funcs); in TestFuncs()
272 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
273 Function *F = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
1023 Expected<std::vector<Function *>> Funcs = in debugCodeGenerator() local
1025 if (Error E = Funcs.takeError()) in debugCodeGenerator()
1032 SplitFunctionsOutOfModule(ToNotCodeGen.get(), *Funcs, VMap); in debugCodeGenerator()
DCrashDebugger.cpp236 bool ReduceCrashingFunctions::TestFuncs(std::vector<Function *> &Funcs) { in TestFuncs() argument
238 if (KeepMain && !is_contained(Funcs, BD.getProgram().getFunction("main"))) in TestFuncs()
247 for (unsigned i = 0, e = Funcs.size(); i != e; ++i) { in TestFuncs()
248 Function *CMF = cast<Function>(VMap[Funcs[i]]); in TestFuncs()
250 assert(CMF->getFunctionType() == Funcs[i]->getFunctionType() && "wrong ty"); in TestFuncs()
251 assert(CMF->getName() == Funcs[i]->getName() && "wrong name"); in TestFuncs()
256 PrintFunctionList(Funcs); in TestFuncs()
311 Funcs.assign(Functions.begin(), Functions.end()); in TestFuncs()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/
DUDTLayout.h125 ArrayRef<std::unique_ptr<PDBSymbolFunc>> funcs() const { return Funcs; } in funcs()
137 UniquePtrVector<PDBSymbolFunc> Funcs; variable
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp236 ArrayRef<OutputFunctionCoverageData> Funcs(OF); in readOutputFunctions() local
238 make_unique<CoverageMappingReaderMock>(Funcs)); in readOutputFunctions()
241 ArrayRef<OutputFunctionCoverageData> Funcs(OutputFunctions); in readOutputFunctions() local
243 make_unique<CoverageMappingReaderMock>(Funcs)); in readOutputFunctions()
887 auto Funcs = LoadedCoverage->getCoveredFunctions(); in TEST_P() local
888 unsigned NumFuncs = std::distance(Funcs.begin(), Funcs.end()); in TEST_P()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp132 SmallVector<std::unique_ptr<GCOVFunction>, 16> Funcs; member in __anonb1728d150111::GCOVProfiler
529 Funcs.push_back(make_unique<GCOVFunction>(SP, &F, &out, FunctionIdent++, in emitProfileNotes()
532 GCOVFunction &Func = *Funcs.back(); in emitProfileNotes()
575 for (auto &Func : Funcs) { in emitProfileNotes()
868 uint32_t FuncChecksum = Funcs.empty() ? 0 : Funcs[j]->getFuncChecksum(); in insertCounterWriteout()
/external/clang/lib/Sema/
DSemaCoroutine.cpp199 const StringRef Funcs[] = {"await_ready", "await_suspend", "await_resume"}; in buildCoawaitCalls() local
200 for (size_t I = 0, N = llvm::array_lengthof(Funcs); I != N; ++I) { in buildCoawaitCalls()
205 ExprResult Result = buildMemberCall(S, Operand, Loc, Funcs[I], None); in buildCoawaitCalls()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DRPCUtils.h1689 template <typename... Funcs>
1707 template <typename Func, typename... Funcs>
1708 class APICalls<Func, Funcs...> {
1715 APICalls<Funcs...>::template Contains<F>::value;
1722 return APICalls<Funcs...>::negotiate(R); in negotiate()
1727 template <typename... InnerFuncs, typename... Funcs>
1728 class APICalls<APICalls<InnerFuncs...>, Funcs...> {
1736 APICalls<Funcs...>::template Contains<F>::value;
1743 return APICalls<Funcs...>::negotiate(R); in negotiate()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroInternal.h50 void updateCallGraph(Function &Caller, ArrayRef<Function *> Funcs,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp137 SmallVector<std::unique_ptr<GCOVFunction>, 16> Funcs; member in __anon01e9806d0111::GCOVProfiler
581 Funcs.push_back(make_unique<GCOVFunction>(SP, &F, &out, FunctionIdent++, in emitProfileNotes()
584 GCOVFunction &Func = *Funcs.back(); in emitProfileNotes()
627 for (auto &Func : Funcs) { in emitProfileNotes()
966 uint32_t FuncChecksum = Funcs.empty() ? 0 : Funcs[j]->getFuncChecksum(); in insertCounterWriteout()

12