Home
last modified time | relevance | path

Searched full:runner (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/llvm-project/llvm/lib/CodeGen/
H A DMLRegAllocPriorityAdvisor.cpp95 SlotIndexes *const Indexes, MLModelRunner *Runner);
102 // The assumption is that if the Runner could not be constructed, we emit-ed
104 const MLModelRunner &getRunner() const { return *Runner; } in getRunner()
110 MLModelRunner *const Runner; member in llvm::MLPriorityAdvisor
143 if (!Runner) { in getAdvisor()
145 Runner = std::make_unique<ReleaseModeModelRunner<CompiledModelType>>( in getAdvisor()
148 Runner = std::make_unique<InteractiveModelRunner>( in getAdvisor()
154 MF, RA, &getAnalysis<SlotIndexesWrapperPass>().getSI(), Runner.get()); in getAdvisor()
156 std::unique_ptr<MLModelRunner> Runner; member in llvm::ReleaseModePriorityAdvisorAnalysis
181 MLModelRunner *Runner, Logge in DevelopmentModePriorityAdvisor() argument
272 std::unique_ptr<MLModelRunner> Runner; global() member in llvm::DevelopmentModePriorityAdvisorAnalysis
289 MLPriorityAdvisor(const MachineFunction & MF,const RAGreedy & RA,SlotIndexes * const Indexes,MLModelRunner * Runner) MLPriorityAdvisor() argument
[all...]
H A DMLRegAllocEvictAdvisor.cpp263 void resetInputs(MLModelRunner &Runner) { in resetInputs()
265 std::memset(Runner.getTensorUntyped(FeatureIDs::NAME), 0, \ in resetInputs()
297 MLModelRunner *Runner, const MachineBlockFrequencyInfo &MBFI,
305 // The assumption is that if the Runner could not be constructed, we emit-ed
307 const MLModelRunner &getRunner() const { return *Runner; }
309 /// This just calls Evaluate on the Runner, but in the development mode
357 MLModelRunner *const Runner;
421 if (!Runner) {
423 Runner = std::make_unique<ReleaseModeModelRunner<CompiledModelType>>(
426 Runner
256 resetInputs(MLModelRunner & Runner) resetInputs() argument
350 MLModelRunner *const Runner; global() member in __anon5815b77c0111::MLEvictAdvisor
412 std::unique_ptr<MLModelRunner> Runner; global() member in __anon5815b77c0111::ReleaseModeEvictionAdvisorAnalysis
433 DevelopmentModeEvictAdvisor(const MachineFunction & MF,const RAGreedy & RA,MLModelRunner * Runner,const MachineBlockFrequencyInfo & MBFI,const MachineLoopInfo & Loops,Logger * Log) DevelopmentModeEvictAdvisor() argument
551 std::unique_ptr<MLModelRunner> Runner; global() member in __anon5815b77c0111::DevelopmentModeEvictionAdvisorAnalysis
571 MLEvictAdvisor(const MachineFunction & MF,const RAGreedy & RA,MLModelRunner * Runner,const MachineBlockFrequencyInfo & MBFI,const MachineLoopInfo & Loops) MLEvictAdvisor() argument
[all...]
/llvm-project/mlir/utils/mbr/
H A DREADME.md1 # MBR - MLIR Benchmark Runner
13 and a runner. Here's an outline of a benchmark; we explain its working after
24 def runner(executable_object):
30 return compiler, runner
38 A benchmark returns two functions, a `compiler` and a `runner`. The `compiler`
39 returns a callable which is accepted as an argument by the runner function.
42 2. `runner`: takes that callable in as input, sets up its arguments, and calls
52 def runner():
56 return None, runner
58 In this case, the runner does not take any input as there is no compiled object
/llvm-project/mlir/tools/mlir-cpu-runner/
H A DCMakeLists.txt
/llvm-project/mlir/utils/mbr/mbr/
H A Dmain.py35 compiler, runner = benchmark_function()
38 f"Obtaining compiler and runner failed because of {e}."
40 f" must return a two-tuple value (compiler, runner)."
69 measurement_ns = runner(*runner_args)
72 f"Runner of {benchmark_function.__name__} failed"
77 # Recover from runner error by breaking out of this loop
84 f"Expected benchmark runner function"
/llvm-project/mlir/tools/mlir-spirv-cpu-runner/
H A DCMakeLists.txt
/llvm-project/mlir/tools/mlir-vulkan-runner/
H A DCMakeLists.txt
/llvm-project/mlir/test/mlir-cpu-runner/
H A Dsimple.mlir
H A Dverify-flags.mlir
/llvm-project/mlir/test/Integration/
H A Dlit.local.cfg8 mcr_cmd = "mlir-runner"
23 # mlir-runner executable, use absolute path
24 # %llvm_tools_dir/mlir-runner.
26 "mlir-runner",
64 # * ARM_EMULATOR_MLIR_RUNNER_EXECUTABLE - AArch64 native mlir-runner to
/llvm-project/lldb/packages/Python/lldbsuite/test/test_runner/
H A DREADME.txt1 This directory contains source and tests for the lldb test runner
3 is the test runner. The tests under this directory are test-runner
4 tests (i.e. tests that verify the test runner itself runs properly).
/llvm-project/mlir/tools/
H A DCMakeLists.txt13 # mlir-runner requires ExecutionEngine.
15 add_subdirectory(mlir-runner)
/llvm-project/mlir/benchmark/python/
H A Dbenchmark_sparse.py36 MLIR benchmark we need to return both a `compiler` function and a `runner`
80 def runner(engine_invoke): function
104 return compiler, runner
110 the `runner` function.
113 def runner(): function
120 return None, runner
/llvm-project/lldb/test/API/python_api/was_interrupted/
H A DTestDebuggerInterruption.py35 # We smuggle out barriers and event to the runner thread using thread local data:
139 self.runner = TestDebuggerInterruption.DirectCommandRunner(self, command)
140 self.runner.start()
143 self.runner = TestDebuggerInterruption.CommandInterpreterRunner(self)
144 self.runner.start()
160 self.runner.join(10.0)
161 finished = not self.runner.is_alive()
162 # Don't leave the runner thread stranded if the interrupt didn't work.
165 self.runner.join(10.0)
212 # after the runner thread had a chance to execute the command:
/llvm-project/mlir/test/Integration/Dialect/Math/CPU/
H A Dmathtofuncs_ctlz.mlir8 // RUN: | mlir-runner -e test_7i32_to_29 -entry-point-result=i32 | FileCheck %s --check-prefix=CHECK_TEST_7i32_TO_29
24 // RUN: | mlir-runner -e test_zero -entry-point-result=i32 | FileCheck %s --check-prefix=CHECK_TEST_ZERO
33 // Apparently mlir-runner doesn't support i8 return values, so testing i64 instead
41 // RUN: | mlir-runner -e test_7i64_to_61 -entry-point-result=i64 | FileCheck %s --check-prefix=CHECK_TEST_7i64_TO_61
/llvm-project/mlir/test/
H A DCMakeLists.txt26 "If arch-specific Arm integration tests run emulated, use this Arm native mlir-runner.")
138 mlir-runner
H A Dlit.cfg.py17 # Configuration file for the 'lit' test runner.
203 "mlir-runner",
336 mlir_runner_exe = lit.util.which("mlir-runner", config.mlir_tools_dir)
347 print("could not exec mlir-runner")
/llvm-project/libc/src/__support/threads/
H A Dthread.h160 ThreadRunner runner;
161 runner.posix_runner = func;
162 return run(ThreadStyle::POSIX, runner, arg, stack, stacksize, guardsize,
170 ThreadRunner runner;
171 runner.stdc_runner = func;
172 return run(ThreadStyle::STDC, runner, arg, stack, stacksize, guardsize,
199 int run(ThreadStyle style, ThreadRunner runner, void *arg, void *stack,
158 ThreadRunner runner; global() member
168 ThreadRunner runner; global() member
/llvm-project/llvm/include/llvm/Analysis/
H A DNoInferenceModelRunner.h1 //===- NoInferenceModelRunner.h ---- noop ML model runner ------*- C++ -*-===//
17 /// A pseudo model runner. We use it to store feature values when collecting
31 llvm_unreachable("We shouldn't call run on this model runner."); in evaluateUntyped()
/llvm-project/third-party/benchmark/src/
H A Dbenchmark.cc411 assert(runners.size() == benchmarks.size() && "Unexpected runner count."); in RunBenchmarks()
428 const internal::BenchmarkRunner& runner = runners[runner_index]; in RunBenchmarks() local
430 runner.GetNumRepeats(), runner_index); in RunBenchmarks()
442 internal::BenchmarkRunner& runner = runners[repetition_index]; in RunBenchmarks() local
443 runner.DoOneRepetition(); in RunBenchmarks()
444 if (runner.HasRepeatsRemaining()) continue; in RunBenchmarks()
448 runner.GetMinTime(), runner.HasExplicitIters(), runner.GetIters()); in RunBenchmarks()
451 runner.GetMinTime(), runner.HasExplicitIters(), runner.GetIters()); in RunBenchmarks()
453 RunResults run_results = runner.GetResults(); in RunBenchmarks()
456 if (const auto* reports_for_family = runner.GetReportsForFamily()) { in RunBenchmarks()
/llvm-project/libc/benchmarks/
H A DLibcMemoryGoogleBenchmarkMain.cpp36 template <typename SetupType, typename ConfigurationType> struct Runner { struct
37 Runner(benchmark::State &S, llvm::ArrayRef<ConfigurationType> Configurations) in Runner() argument
51 ~Runner() { in ~Runner() argument
82 Runner<SETUP, CONFIGURATION_TYPE> Setup(State, CONFIGURATION_ARRAY_REF); \ argument
/llvm-project/clang/unittests/Basic/
H A DSarifTest.cpp200 Writer.createRun("sarif test", "sarif test runner"); in TEST_F()
232 EXPECT_EQ(*Driver->getString("fullName"), "sarif test runner"); in TEST_F()
244 R"({"$schema":"https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json","runs":[{"artifacts":[],"columnKind":"unicodeCodePoints","results":[{"level":"warning","message":{"text":""},"ruleId":"clang.unittest","ruleIndex":0}],"tool":{"driver":{"fullName":"sarif test runner","informationUri":"https://clang.llvm.org/docs/UsersManual.html","language":"en-US","name":"sarif test","rules":[{"defaultConfiguration":{"enabled":true,"level":"warning","rank":-1},"fullDescription":{"text":"Example rule created during unit tests"},"id":"clang.unittest","name":"clang unit test"}],"version":"1.0.0"}}}],"version":"2.1.0"})"; in TEST_F()
254 Writer.createRun("sarif test", "sarif test runner", "1.0.0"); in TEST_F()
267 R"({"$schema":"https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json","runs":[{"artifacts":[],"columnKind":"unicodeCodePoints","results":[{"level":"error","message":{"text":""},"ruleId":"clang.unittest","ruleIndex":0}],"tool":{"driver":{"fullName":"sarif test runner","informationUri":"https://clang.llvm.org/docs/UsersManual.html","language":"en-US","name":"sarif test","rules":[{"defaultConfiguration":{"enabled":true,"level":"error","rank":35.5},"fullDescription":{"text":"Example rule created during unit tests"},"id":"clang.unittest","name":"clang unit test"}],"version":"1.0.0"}}}],"version":"2.1.0"})"; in TEST_F()
280 Writer.createRun("sarif test", "sarif test runner", "1.0.0"); in TEST_F()
294 R"({"$schema":"https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json","runs":[{"artifacts":[{"length":40,"location":{"index":0,"uri":"file:///main.cpp"},"mimeType":"text/plain","roles":["resultFile"]}],"columnKind":"unicodeCodePoints","results":[{"level":"error","locations":[{"physicalLocation":{"artifactLocation":{"index":0,"uri":"file:///main.cpp"},"region":{"endColumn":14,"startColumn":14,"startLine":3}}}],"message":{"text":"expected ';' after top level declarator"},"ruleId":"clang.unittest","ruleIndex":0}],"tool":{"driver":{"fullName":"sarif test runner","informationUri":"https://clang.llvm.org/docs/UsersManual.html","language":"en-US","name":"sarif test","rules":[{"defaultConfiguration":{"enabled":true,"level":"warning","rank":-1},"fullDescription":{"text":"Example rule created during unit tests"},"id":"clang.unittest","name":"clang unit test"}],"version":"1.0.0"}}}],"version":"2.1.0"})"; in TEST_F()
304 Writer.createRun("sarif test", "sarif test runner", "1.0.0"); in TEST_F()
334 R"({"$schema":"https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json","runs":[{"artifacts":[{"length":41,"location":{"index":0,"uri":"file:///main.cpp"},"mimeType":"text/plain","roles":["resultFile"]},{"length":27,"location":{"index":1,"uri":"file:///test-header-1.h"},"mimeType":"text/plain","roles":["resultFile"]},{"length":30,"location":{"index":2,"uri":"file:///test-header-2.h"},"mimeType":"text/plain","roles":["resultFile"]},{"length":28,"location":{"index":3,"uri":"file:///test-header-3.h"},"mimeType":"text/plain","roles":["resultFile"]}],"columnKind":"unicodeCodePoints","results":[{"codeFlows":[{"threadFlows":[{"locations":[{"importance":"essential","location":{"message":{"text":"Message #1"},"physicalLocation":{"artifactLocation":{"index":1,"uri":"file:///test-header-1.h"},"region":{"endColumn":8,"endLine":2,"startColumn":1,"startLine":1}}}},{"importance":"important","location":{"message":{"text":"Message #2"},"physicalLocation":{"artifactLocation":{"index":2,"uri":"file:///test-header-2.h"},"region":{"endColumn":8,"endLine":2,"startColumn":1,"startLine":1}}}},{"importance":"unimportant","location":{"message":{"text":"Message #3"},"physicalLocation":{"artifactLocation":{"index":3,"uri":"file:///test-header-3.h"},"region":{"endColumn":8,"endLine":2,"startColumn":1,"startLine":1}}}}]}]}],"level":"warning","locations":[{"physicalLocation":{"artifactLocation":{"index":0,"uri":"file:///main.cpp"},"region":{"endColumn":8,"endLine":2,"startColumn":5,"startLine":2}}}],"message":{"text":"Redefinition of 'foo'"},"ruleId":"clang.unittest","ruleIndex":0}],"tool":{"driver":{"fullName":"sarif test runner","informationUri":"https://clang.llvm.org/docs/UsersManual.html","language":"en-US","name":"sarif test","rules":[{"defaultConfiguration":{"enabled":true,"level":"warning","rank":-1},"fullDescription":{"text":"Example rule created during unit tests"},"id":"clang.unittest","name":"clang unit test"}],"version":"1.0.0"}}}],"version":"2.1.0"})"; in TEST_F()
377 Writer.createRun("sarif test", "sarif test runner", "1. in TEST_F()
[all...]
/llvm-project/clang-tools-extra/clangd/unittests/
H A DThreadCrashReporterTests.cpp33 AsyncTaskRunner Runner; in TEST() local
35 Runner.runAsync("signal another thread", SignalCurrentThread); in TEST()
36 Runner.wait(); in TEST()
/llvm-project/compiler-rt/test/asan/TestCases/Posix/
H A Ddeep_thread_stack.cpp37 pthread_t runner; in RunThread() local
38 pthread_create(&runner, NULL, RunnerThread, (void*)function); in RunThread()
39 pthread_join(runner, NULL); in RunThread()
/llvm-project/lldb/packages/Python/lldbsuite/test/
H A Dbench.py

12345678910>>...18