Home
last modified time | relevance | path

Searched refs:TestFn (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm/tools/bugpoint/
DCrashDebugger.cpp121 bool (*TestFn)(const BugDriver &, Module *); member in __anondb1835c20211::ReduceCrashingGlobalVariables
125 : BD(bd), TestFn(testFn) {} in ReduceCrashingGlobalVariables()
171 if (TestFn(BD, M)) { in TestGlobalVariables()
191 bool (*TestFn)(const BugDriver &, Module *); member in __anondb1835c20311::ReduceCrashingFunctions
195 : BD(bd), TestFn(testFn) {} in ReduceCrashingFunctions()
306 if (TestFn(BD, M)) { in TestFuncs()
327 bool (*TestFn)(const BugDriver &, Module *); member in __anondb1835c20411::ReduceCrashingBlocks
331 : BD(bd), TestFn(testFn) {} in ReduceCrashingBlocks()
410 if (TestFn(BD, M)) { in TestBlocks()
436 bool (*TestFn)(const BugDriver &, Module *); member in __anondb1835c20511::ReduceCrashingInstructions
[all …]
DMiscompilation.cpp180 bool (*TestFn)(BugDriver &, std::unique_ptr<Module>, member in __anon6ef191b40211::ReduceMiscompilingFunctions
188 : BD(bd), TestFn(F) {} in ReduceMiscompilingFunctions()
274 TestFn(BD, std::move(ToOptimize), std::move(ToNotOptimize), Error); in TestFuncs()
298 bool (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractLoops()
373 Failure = TestFn(BD, std::move(ToOptimizeLoopExtracted), in ExtractLoops()
441 bool (*TestFn)(BugDriver &, std::unique_ptr<Module>, member in __anon6ef191b40311::ReduceMiscompiledBlocks
449 : BD(bd), TestFn(F), FunctionsBeingTested(Fns) {} in ReduceMiscompiledBlocks()
517 bool Ret = TestFn(BD, std::move(New), std::move(ToNotOptimize), Error); in TestFuncs()
529 bool (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractBlocks()
547 bool Ret = ReduceMiscompiledBlocks(BD, TestFn, MiscompiledFunctions) in ExtractBlocks()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DCrashDebugger.cpp126 BugTester TestFn; member in __anon3483791a0211::ReduceCrashingGlobalInitializers
130 : BD(bd), TestFn(testFn) {} in ReduceCrashingGlobalInitializers()
174 if (TestFn(BD, M.get())) { in TestGlobalVariables()
193 BugTester TestFn; member in __anon3483791a0311::ReduceCrashingFunctions
197 : BD(bd), TestFn(testFn) {} in ReduceCrashingFunctions()
306 if (TestFn(BD, M.get())) { in TestFuncs()
364 BugTester TestFn; member in __anon3483791a0411::ReduceCrashingBlocks
368 : BD(BD), TestFn(testFn) {} in ReduceCrashingBlocks()
454 if (TestFn(BD, M.get())) { in TestBlocks()
481 BugTester TestFn; member in __anon3483791a0511::ReduceCrashingConditionals
[all …]
DMiscompilation.cpp189 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, member in __anonf5c5400c0211::ReduceMiscompilingFunctions
197 : BD(bd), TestFn(F) {} in ReduceMiscompilingFunctions()
284 TestFn(BD, std::move(ToOptimize), std::move(ToNotOptimize)); in TestFuncs()
308 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractLoops()
378 Expected<bool> Result = TestFn(BD, std::move(ToOptimizeLoopExtracted), in ExtractLoops()
447 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, member in __anonf5c5400c0311::ReduceMiscompiledBlocks
457 : BD(bd), TestFn(F), FunctionsBeingTested(Fns) {} in ReduceMiscompiledBlocks()
525 Expected<bool> Ret = TestFn(BD, std::move(New), std::move(ToNotOptimize)); in TestFuncs()
538 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractBlocks()
555 Expected<bool> Ret = ReduceMiscompiledBlocks(BD, TestFn, MiscompiledFunctions) in ExtractBlocks()
[all …]
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DCrashDebugger.cpp109 bool (*TestFn)(const BugDriver &, Module *); member in __anon9d5587ee0211::ReduceCrashingGlobalVariables
113 : BD(bd), TestFn(testFn) {} in ReduceCrashingGlobalVariables()
159 if (TestFn(BD, M)) { in TestGlobalVariables()
179 bool (*TestFn)(const BugDriver &, Module *); member in llvm::ReduceCrashingFunctions
183 : BD(bd), TestFn(testFn) {} in ReduceCrashingFunctions()
231 if (TestFn(BD, M)) { in TestFuncs()
252 bool (*TestFn)(const BugDriver &, Module *); member in __anon9d5587ee0311::ReduceCrashingBlocks
256 : BD(bd), TestFn(testFn) {} in ReduceCrashingBlocks()
335 if (TestFn(BD, M)) { in TestBlocks()
361 bool (*TestFn)(const BugDriver &, Module *); member in __anon9d5587ee0411::ReduceCrashingInstructions
[all …]
DMiscompilation.cpp178 bool (*TestFn)(BugDriver &, Module *, Module *, std::string &); member in __anon78d929600211::ReduceMiscompilingFunctions
183 : BD(bd), TestFn(F) {} in ReduceMiscompilingFunctions()
281 bool Broken = TestFn(BD, ToOptimize, ToNotOptimize, Error); in TestFuncs()
305 bool (*TestFn)(BugDriver &, Module *, Module *, in ExtractLoops()
371 Failure = TestFn(BD, ToOptimizeLoopExtracted, ToNotOptimize, Error); in ExtractLoops()
426 bool (*TestFn)(BugDriver &, Module *, Module *, std::string &); member in __anon78d929600311::ReduceMiscompiledBlocks
433 : BD(bd), TestFn(F), FunctionsBeingTested(Fns) {} in ReduceMiscompiledBlocks()
504 bool Ret = TestFn(BD, New, ToNotOptimize, Error); in TestFuncs()
520 bool (*TestFn)(BugDriver &, Module *, Module *, in ExtractBlocks()
538 bool Ret = ReduceMiscompiledBlocks(BD, TestFn, MiscompiledFunctions) in ExtractBlocks()
[all …]
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
DF_nullptr.pass.cpp163 template <class TestFn, class Fn>
166 TestFn tf = nullptr; in test_imp()
168 assert(f.template target<TestFn>() == nullptr); in test_imp()
171 TestFn tf = Creator<TestFn>::create(); in test_imp()
174 assert(f.template target<TestFn>() != nullptr); in test_imp()
175 assert(*f.template target<TestFn>() == tf); in test_imp()
/external/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
Datomic_is_lock_free.pass.cpp28 struct TestFn { struct
46 TestFn<A>()(); in main() argument
47 TestEachAtomicType<TestFn>()(); in main()
Datomic_init.pass.cpp30 struct TestFn { struct
44 TestEachAtomicType<TestFn>()(); in main() argument
Datomic_store.pass.cpp29 struct TestFn { struct
44 TestEachAtomicType<TestFn>()(); in main() argument
Datomic_load.pass.cpp30 struct TestFn { struct
44 TestEachAtomicType<TestFn>()(); in main() argument
Datomic_store_explicit.pass.cpp29 struct TestFn { struct
44 TestEachAtomicType<TestFn>()(); in main() argument
Datomic_load_explicit.pass.cpp30 struct TestFn { struct
44 TestEachAtomicType<TestFn>()(); in main() argument
Datomic_exchange.pass.cpp30 struct TestFn { struct
47 TestEachAtomicType<TestFn>()(); in main() argument
Datomic_fetch_and.pass.cpp29 struct TestFn { struct
50 TestEachIntegralType<TestFn>()(); in main() argument
Datomic_fetch_xor.pass.cpp29 struct TestFn { struct
50 TestEachIntegralType<TestFn>()(); in main() argument
Datomic_exchange_explicit.pass.cpp30 struct TestFn { struct
49 TestEachAtomicType<TestFn>()(); in main() argument
Datomic_fetch_or.pass.cpp29 struct TestFn { struct
50 TestEachIntegralType<TestFn>()(); in main() argument
Datomic_fetch_or_explicit.pass.cpp29 struct TestFn { struct
52 TestEachIntegralType<TestFn>()(); in main() argument
Datomic_fetch_xor_explicit.pass.cpp29 struct TestFn { struct
52 TestEachIntegralType<TestFn>()(); in main() argument
Datomic_fetch_and_explicit.pass.cpp29 struct TestFn { struct
52 TestEachIntegralType<TestFn>()(); in main() argument
Datomic_compare_exchange_strong.pass.cpp30 struct TestFn { struct
61 TestEachAtomicType<TestFn>()(); in main()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dcomparisons.pass.cpp61 auto TestFn = [](path const& LHS, const directory_entry& LHSE, in test_comparisons_simple() local
73 TestFn(TC.first, L, TC.second, R); in test_comparisons_simple()
74 TestFn(TC.second, R, TC.first, L); in test_comparisons_simple()
/external/llvm/lib/Fuzzer/test/
DSimpleFnAdapterTest.cpp12 static void TestFn(std::vector<uint8_t> V1, std::vector<uint8_t> V2) { in TestFn() function
20 fuzzer::Adapt(TestFn, Data, Size); in LLVMFuzzerTestOneInput()
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/
Dfunction_type_default_deleter.fail.cpp14 void TestFn(Tag<ID>) {} in TestFn() function
18 return &TestFn<ID>; in getFn()

12