/openbsd/gnu/llvm/llvm/utils/vscode/llvm/src/ |
H A D | litTaskProvider.ts | 15 private litPromise: Thenable<vscode.Task[]> | undefined = undefined; 28 public provideTasks(): Thenable<vscode.Task[]> | undefined { 35 public resolveTask(_task: vscode.Task): vscode.Task | undefined { 46 return new vscode.Task( 57 private async getLITTasks(): Promise<vscode.Task[]> { 58 let result: vscode.Task[] = []; 66 result.push(new vscode.Task({ type: 'llvm-lit', task: taskName }, 72 result.push(new vscode.Task({ type: 'llvm-lit', task: taskName },
|
/openbsd/gnu/llvm/llvm/include/llvm/Support/ |
H A D | ThreadPool.h | 67 auto Task = in async() local 69 return async(std::move(Task)); in async() 75 auto Task = in async() local 77 return async(Group, std::move(Task)); in async() 121 createTaskAndFuture(std::function<ResTy()> Task) { in createTaskAndFuture() argument 126 [Promise = std::move(Promise), Task]() { Promise->set_value(Task()); }, in createTaskAndFuture() 130 createTaskAndFuture(std::function<void()> Task) { in createTaskAndFuture() argument 134 return {[Promise = std::move(Promise), Task]() { in createTaskAndFuture() 135 Task(); in createTaskAndFuture() 148 std::shared_future<ResTy> asyncImpl(std::function<ResTy()> Task, in asyncImpl() argument [all …]
|
H A D | Caching.h | 42 unsigned Task, const Twine &ModuleName)>; 58 unsigned Task, StringRef Key, const Twine &ModuleName)>; 63 using AddBufferFn = std::function<void(unsigned Task, const Twine &ModuleName, 75 AddBufferFn AddBuffer = [](size_t Task, const Twine &ModuleName,
|
H A D | TaskQueue.h | 40 template <typename Callable> struct Task { struct 42 explicit Task(Callable C, TaskQueue &Parent) in Task() argument 86 Task<Callable> T{std::move(C), *this}; in async() argument
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | Caching.cpp | 40 return [=](unsigned Task, StringRef Key, in localCache() 58 AddBuffer(Task, ModuleName, std::move(*MBOrErr)); in localCache() 82 unsigned Task; in localCache() member 86 std::string ModuleName, unsigned Task) in localCache() 89 ModuleName(ModuleName), Task(Task) {} in localCache() 138 AddBuffer(Task, ModuleName, std::move(*MBOrErr)); in localCache() 142 return [=](size_t Task, const Twine &ModuleName) in localCache() 165 ModuleName.str(), Task); in localCache()
|
H A D | ThreadPool.cpp | 61 std::function<void()> Task; in processTasks() local 84 Task = std::move(Tasks.front().first); in processTasks() 99 Task(); in processTasks() 203 auto Task = std::move(Tasks.front().first); in wait() local 205 Task(); in wait()
|
H A D | Parallel.cpp | 114 auto Task = std::move(WorkStack.top()); in work() local 117 Task(); in work()
|
/openbsd/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | TaskDispatch.h | 34 class Task : public RTTIExtends<Task, RTTIRoot> { 38 virtual ~Task() = default; 51 class GenericNamedTask : public RTTIExtends<GenericNamedTask, Task> { 100 virtual void dispatch(std::unique_ptr<Task> T) = 0; 109 void dispatch(std::unique_ptr<Task> T) override; 117 void dispatch(std::unique_ptr<Task> T) override;
|
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/ |
H A D | TaskDispatch.cpp | 14 char Task::ID = 0; 18 void Task::anchor() {} in anchor() 21 void InPlaceTaskDispatcher::dispatch(std::unique_ptr<Task> T) { T->run(); } in dispatch() 26 void DynamicThreadPoolTaskDispatcher::dispatch(std::unique_ptr<Task> T) { in dispatch()
|
/openbsd/gnu/usr.bin/perl/cpan/Test2-Suite/lib/Test2/Workflow/ |
H A D | Build.pm | 7 use Test2::Workflow::Task::Group; 85 $_->isa('Test2::Workflow::Task::Action') ? Test2::Workflow::Task::Group->new( 100 Test2::Workflow::Task::Group->new( 111 … my %params = map { Test2::Workflow::Task::Group->can($_) ? ($_ => $self->{$_}) : () } keys %$self; 114 return Test2::Workflow::Task::Group->new(
|
/openbsd/gnu/llvm/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 104 Hook = [=](unsigned Task, const Module &M) { in addSaveTemps() argument 107 if (LinkerHook && !LinkerHook(Task, M)) in addSaveTemps() 116 if (Task != (unsigned)-1) in addSaveTemps() 117 PathPrefix += utostr(Task) + "."; in addSaveTemps() 382 sys::path::append(DwoFile, std::to_string(Task) + ".dwo"); in codegen() 396 AddStream(Task, Mod.getModuleIdentifier()); in codegen() 557 Task); in thinBackend() 569 codegen(Conf, TM.get(), AddStream, Task, Mod, CombinedIndex); in thinBackend() 579 if (!opt(Conf, TM, Task, Mod, /*IsThinLTO=*/true, in thinBackend() 584 codegen(Conf, TM, AddStream, Task, Mod, CombinedIndex); in thinBackend() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Test2-Suite/lib/Test2/Tools/ |
H A D | Spec.pm | 13 use Test2::Workflow::Task::Action(); 14 use Test2::Workflow::Task::Group(); 37 elsif (Test2::Workflow::Task::Group->can($arg)) { 82 my $action = Test2::Workflow::Task::Action->new(
|
/openbsd/gnu/usr.bin/perl/cpan/Test2-Suite/lib/Test2/Workflow/Task/ |
H A D | Group.pm | 1 package Test2::Workflow::Task::Group; 9 use Test2::Workflow::Task::Action;
|
H A D | Action.pm | 1 package Test2::Workflow::Task::Action;
|
/openbsd/gnu/llvm/llvm/include/llvm/LTO/ |
H A D | LTOBackend.h | 37 bool opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module &Mod, 54 Error thinBackend(const Config &C, unsigned Task, AddStreamFn AddStream,
|
/openbsd/gnu/llvm/llvm/tools/gold/ |
H A D | gold-plugin.cpp | 916 Conf.PreOptModuleHook = [](size_t Task, const Module &M) { return false; }; in createLTO() argument 920 Conf.PostInternalizeModuleHook = [](size_t Task, const Module &M) { in createLTO() argument 924 Task); in createLTO() 1084 [&](size_t Task, in runLTO() 1086 Files[Task].second = !SaveTemps; in runLTO() 1088 Files[Task].first, Task); in runLTO() 1093 auto AddBuffer = [&](size_t Task, const Twine &moduleName, in runLTO() argument 1095 *AddStream(Task, moduleName)->OS << MB->getBuffer(); in runLTO()
|
/openbsd/gnu/usr.bin/perl/cpan/Test2-Suite/t/modules/Workflow/Task/ |
H A D | Action.t | 1 use Test2::Bundle::Extended -target => 'Test2::Workflow::Task::Action';
|
H A D | Group.t | 1 use Test2::Bundle::Extended -target => 'Test2::Workflow::Task::Group';
|
/openbsd/gnu/usr.bin/perl/cpan/Test2-Suite/t/modules/Workflow/ |
H A D | Task.t | 1 use Test2::Bundle::Extended -target => 'Test2::Workflow::Task';
|
/openbsd/gnu/usr.bin/perl/amigaos4/ |
H A D | amigaio.c | 69 struct Task *parent; 77 struct Task *thisTask = IExec->FindTask(0); in popen_child() 117 struct Task *thisTask = IExec->FindTask(0); in Perl_my_popen() 352 struct Task *ca_parent_task; 800 struct Task *parent; in amigaos_system_child() 898 struct Task *parent;
|
H A D | amigaio.h | 35 struct Task *parent;
|
H A D | amigaos.c | 107 struct Task *thisTask = IExec->FindTask(0); in __myrc() 121 struct Task *thisTask = IExec->FindTask(0); in myruncommand() 313 struct Task *parent;
|
/openbsd/gnu/llvm/llvm/tools/llvm-lto2/ |
H A D | llvm-lto2.cpp | 403 [&](size_t Task, in run() 405 std::string Path = OutputFilename + "." + utostr(Task); in run() 413 auto AddBuffer = [&](size_t Task, const Twine &ModuleName, in run() argument 415 *AddStream(Task, ModuleName)->OS << MB->getBuffer(); in run()
|
/openbsd/gnu/llvm/llvm/examples/SpeculativeJIT/ |
H A D | SpeculativeJIT.cpp | 120 [this](std::unique_ptr<Task> T) { in SpeculativeJIT() 123 std::unique_ptr<Task> T(UnownedT); in SpeculativeJIT()
|
/openbsd/gnu/llvm/clang/tools/clang-linker-wrapper/ |
H A D | ClangLinkerWrapper.cpp | 532 Conf.PostInternalizeModuleHook = [=](size_t Task, const Module &M) { in __anon632ef1a00502() argument 534 !Task ? TempName + ".postlink.bc" in __anon632ef1a00502() 535 : TempName + "." + std::to_string(Task) + ".postlink.bc"; in __anon632ef1a00502() 543 Conf.PreCodeGenModuleHook = [=](size_t Task, const Module &M) { in __anon632ef1a00602() argument 545 !Task ? TempName + ".postopt.bc" in __anon632ef1a00602() 546 : TempName + "." + std::to_string(Task) + ".postopt.bc"; in __anon632ef1a00602() 721 [&](size_t Task, in linkBitcodeFiles() 724 auto &TempFile = Files[Task]; in linkBitcodeFiles() 726 std::string TaskStr = Task ? "." + std::to_string(Task) : ""; in linkBitcodeFiles()
|