Home
last modified time | relevance | path

Searched refs:Promise (Results 1 – 15 of 15) sorted by relevance

/openbsd/gnu/llvm/llvm/include/llvm/Support/
H A DThreadPool.h122 std::shared_ptr<std::promise<ResTy>> Promise = in createTaskAndFuture() local
124 auto F = Promise->get_future(); in createTaskAndFuture()
126 [Promise = std::move(Promise), Task]() { Promise->set_value(Task()); }, in createTaskAndFuture()
131 std::shared_ptr<std::promise<void>> Promise = in createTaskAndFuture() local
133 auto F = Promise->get_future(); in createTaskAndFuture()
134 return {[Promise = std::move(Promise), Task]() { in createTaskAndFuture()
136 Promise->set_value(); in createTaskAndFuture()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaCoroutine.cpp109 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType() local
110 if (!Promise) { in lookupPromiseType()
117 QualType PromiseType = S.Context.getTypeDeclType(Promise); in lookupPromiseType()
468 static ExprResult buildPromiseCall(Sema &S, VarDecl *Promise, in buildPromiseCall() argument
474 Promise, Promise->getType().getNonReferenceType(), VK_LValue, Loc); in buildPromiseCall()
846 auto *Promise = FSI->CoroutinePromise; in BuildUnresolvedCoawaitExpr() local
847 if (Promise->getType()->isDependentType()) { in BuildUnresolvedCoawaitExpr()
853 auto *RD = Promise->getType()->getAsCXXRecordDecl(); in BuildUnresolvedCoawaitExpr()
993 VarDecl *Promise = FSI->CoroutinePromise; in BuildCoreturnStmt() local
997 PC = buildPromiseCall(*this, Promise, Loc, "return_value", E); in BuildCoreturnStmt()
[all …]
H A DTreeTransform.h7967 auto *Promise = SemaRef.buildCoroutinePromise(FD->getLocation()); in TransformCoroutineBodyStmt() local
7968 if (!Promise) in TransformCoroutineBodyStmt()
7970 getDerived().transformedLocalDecl(S->getPromiseDecl(), {Promise}); in TransformCoroutineBodyStmt()
7971 ScopeInfo->CoroutinePromise = Promise; in TransformCoroutineBodyStmt()
8009 if (!Promise->getType()->isDependentType()) { in TransformCoroutineBodyStmt()
/openbsd/gnu/llvm/clang/lib/AST/
H A DStmtCXX.cpp113 SubStmts[CoroutineBodyStmt::Promise] = Args.Promise; in CoroutineBodyStmt()
/openbsd/gnu/llvm/llvm/utils/vscode/llvm/src/
H A DlitTaskProvider.ts57 private async getLITTasks(): Promise<vscode.Task[]> {
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DStmtCXX.h322 Promise, ///< The promise statement. enumerator
348 Stmt *Promise = nullptr; member
381 return getStoredStmts()[SubStmt::Promise]; in getPromiseDeclStmt()
/openbsd/gnu/llvm/libcxx/include/
H A Dcoroutine21 template <class Promise = void>
/openbsd/usr.bin/file/magdir/
H A Dintel47 >42 string PROMISE Promise
/openbsd/gnu/llvm/libcxx/include/experimental/
H A Dcoroutine26 template <typename Promise = void>
/openbsd/gnu/llvm/clang/docs/
H A DDebuggingCoroutines.rst339 template <typename Promise>
340 void await_suspend(std::coroutine_handle<Promise> handle,
H A DLanguageExtensions.rst3544 template <typename Promise> struct coroutine_handle : coroutine_handle<> {
3546 Promise &promise() const {
3547 return *reinterpret_cast<Promise *>(
3548 __builtin_coro_promise(ptr, alignof(Promise), /*from-promise=*/false));
3550 static coroutine_handle from_promise(Promise &promise) {
3552 p.ptr = __builtin_coro_promise(&promise, alignof(Promise),
/openbsd/gnu/llvm/llvm/docs/
H A DCoroutines.rst85 - "Promise" storage, which is known to have a certain size and alignment,
597 Coroutine Promise
/openbsd/sys/dev/pci/
H A Dpcidevs99 vendor PROMISE 0x105a Promise
8675 /* Promise products */
/openbsd/share/misc/
H A Dzipcodes23080 52583:Promise City, IA
/openbsd/games/fortune/datfiles/
H A Dfortunes22807 answer: Promise her anything, but give her our page.
30554 Promise her anything, but give her Exxon unleaded.
39358 Promise rides to a distant country