Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/tools/bugpoint/
DCrashDebugger.cpp130 BugTester TestFn; member in __anon193c994e0211::ReduceCrashingGlobalInitializers
134 : BD(bd), TestFn(testFn) {} in ReduceCrashingGlobalInitializers()
178 if (TestFn(BD, M.get())) { in TestGlobalVariables()
197 BugTester TestFn; member in __anon193c994e0311::ReduceCrashingFunctions
201 : BD(bd), TestFn(testFn) {} in ReduceCrashingFunctions()
310 if (TestFn(BD, M.get())) { in TestFuncs()
329 BugTester TestFn; member in __anon193c994e0411::ReduceCrashingFunctionAttributes
334 : BD(bd), FnName(FnName), TestFn(testFn) {} in ReduceCrashingFunctionAttributes()
373 if (TestFn(BD, M.get())) { in TestFuncAttrs()
433 BugTester TestFn; member in __anon193c994e0511::ReduceCrashingBlocks
[all …]
DMiscompilation.cpp188 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, member in __anon71a266c00211::ReduceMiscompilingFunctions
196 : BD(bd), TestFn(F) {} in ReduceMiscompilingFunctions()
283 TestFn(BD, std::move(ToOptimize), std::move(ToNotOptimize)); in TestFuncs()
307 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractLoops()
377 Expected<bool> Result = TestFn(BD, std::move(ToOptimizeLoopExtracted), in ExtractLoops()
448 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, member in __anon71a266c00311::ReduceMiscompiledBlocks
458 : BD(bd), TestFn(F), FunctionsBeingTested(Fns) {} in ReduceMiscompiledBlocks()
526 Expected<bool> Ret = TestFn(BD, std::move(New), std::move(ToNotOptimize)); in TestFuncs()
539 Expected<bool> (*TestFn)(BugDriver &, std::unique_ptr<Module>, in ExtractBlocks()
556 Expected<bool> Ret = ReduceMiscompiledBlocks(BD, TestFn, MiscompiledFunctions) in ExtractBlocks()
[all …]
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp121 bool (*TestFn)(const BugDriver &, Module *); member in __anon75e2c7e00211::ReduceCrashingGlobalVariables
125 : BD(bd), TestFn(testFn) {} in ReduceCrashingGlobalVariables()
171 if (TestFn(BD, M)) { in TestGlobalVariables()
191 bool (*TestFn)(const BugDriver &, Module *); member in __anon75e2c7e00311::ReduceCrashingFunctions
195 : BD(bd), TestFn(testFn) {} in ReduceCrashingFunctions()
306 if (TestFn(BD, M)) { in TestFuncs()
327 bool (*TestFn)(const BugDriver &, Module *); member in __anon75e2c7e00411::ReduceCrashingBlocks
331 : BD(bd), TestFn(testFn) {} in ReduceCrashingBlocks()
410 if (TestFn(BD, M)) { in TestBlocks()
436 bool (*TestFn)(const BugDriver &, Module *); member in __anon75e2c7e00511::ReduceCrashingInstructions
[all …]
DMiscompilation.cpp180 bool (*TestFn)(BugDriver &, std::unique_ptr<Module>, member in __anon630e67920211::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 __anon630e67920311::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/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
DF_nullptr.pass.cpp165 template <class TestFn, class Fn>
168 TestFn tf = nullptr; in test_imp()
170 RTTI_ASSERT(f.template target<TestFn>() == nullptr); in test_imp()
173 TestFn tf = Creator<TestFn>::create(); in test_imp()
176 RTTI_ASSERT(f.template target<TestFn>() != nullptr); in test_imp()
177 RTTI_ASSERT(*f.template target<TestFn>() == tf); in test_imp()
/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
/external/llvm-project/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_store_explicit.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_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_xor.pass.cpp29 struct TestFn { struct
50 TestEachIntegralType<TestFn>()(); in main() argument
/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-project/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dcomparisons.pass.cpp62 auto TestFn = [](path const& LHS, const directory_entry& LHSE, in test_comparisons_simple() local
74 TestFn(TC.first, L, TC.second, R); in test_comparisons_simple()
75 TestFn(TC.second, R, TC.first, L); in test_comparisons_simple()
/external/rust/crates/idna/tests/
Dpunycode.rs9 use crate::test::TestFn;
50 pub fn collect_tests<F: FnMut(String, TestFn)>(add_test: &mut F) { in collect_tests()
66 TestFn::dyn_test_fn(move || { in collect_tests()
/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()

123