Home
last modified time | relevance | path

Searched +full:- +full:- +full:user +full:- +full:token (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/llvm-project/mlir/lib/Dialect/Async/Transforms/
H A DAsyncRuntimeRefCountingOpt.cpp1 //===- AsyncRuntimeRefCountingOpt.cpp - Async Ref Counting --------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
25 #define DEBUG_TYPE "async-ref-counting"
56 // %token = ... in optimizeReferenceCounting()
59 // async.runtime.await %token : !async.token in optimizeReferenceCounting()
62 // %token has a use inside ^bb2 (`async.runtime.await`) and inside ^bb1 in optimizeReferenceCounting()
73 auto updateBlockUsersInfo = [&](Operation *user) { in optimizeReferenceCounting() argument
74 BlockUsersInfo &info = blockUsers[user->getBlock()]; in optimizeReferenceCounting()
[all …]
H A DAsyncRuntimeRefCounting.cpp1 //===- AsyncRuntimeRefCounting.cpp - Async Runtime Ref Counting -----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
31 #define DEBUG_TYPE "async-runtime-ref-counting"
36 //===----------------------------------------------------------------------===//
38 //===----------------------------------------------------------------------===//
65 WalkResult checkNoAsyncWalk = op->walk([&](Operation *op) -> WalkResult { in walkReferenceCountedValues()
69 return op->emitError() in walkReferenceCountedValues()
77 WalkResult blockWalk = op->walk([&](Block *block) -> WalkResult { in walkReferenceCountedValues()
[all …]
/llvm-project/llvm/utils/release/
H A Dgithub-upload-release.py2 # ===-- github-upload-release.py ------------------------------------------===#
6 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 # ===------------------------------------------------------------------------===#
16 # You will need to obtain a personal access token for your github account in
18 # https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
21 # ./github-upload-release.py --token $github_token --release 8.0.1-rc4 create
24 # ./github-upload-release.py --token $github_token --release 8.0.1-rc4 upload --files llvm-8.0.1rc4…
27 # ./github-upload-release.py --token $github_token --release 8.0.1-rc4 upload --files *.src.*
28 # ===------------------------------------------------------------------------===#
39 tag = "llvmorg-{}".format(release)
[all …]
/llvm-project/llvm/include/llvm/IR/
H A DGenericConvergenceVerifierImpl.h1 //===- GenericConvergenceVerifierImpl.h ---------
204 if (auto *Token = Tokens.lookup(&I)) verify() local
[all...]
/llvm-project/llvm/utils/git/
H A Dgithub-automation.py3 # ======- github-automation - LLVM GitHub Automation Routines--*- python -*--==#
7 # SPDX-Licens
362 def token(self) -> str: global() member in ReleaseWorkflow
[all...]
/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.td1 //===- Nodes.td - Node types in the Syntax Tree grammar -------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // complete, so currently there is a mix of generated and hand-authored code.
16 //===----------------------------------------------------------------------===//
52 Role<"OpenParen", Token<"l_paren">>,
54 Role<"CloseParen", Token<"r_paren">>,
67 Role<"LiteralToken", Token<"numeric_constant">>,
84 Expression for floating-point literals. C++ [lex.fcon]
87 Role<"LiteralToken", Token<"numeric_constant">>,
[all …]
H A DTokenBufferTokenManager.h1 //===- TokenBufferTokenManager.h -----------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
18 /// A TokenBuffer-powered token manager.
19 /// It tracks the underlying token buffers, source manager, etc.
26 static bool classof(const TokenManager *N) { return N->kind() == Kind; } in classof()
30 const auto *Token = getToken(I); in getText() local
31 assert(Token); in getText()
34 // have a direct way to retrive token kind in the syntax::Leaf. in getText()
35 if (Token->kind() == tok::eof) in getText()
[all …]
/llvm-project/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp1 //===-- ClangHighlighter.cpp ----------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
25 bool ClangHighlighter::isKeyword(llvm::StringRef token) const { in isKeyword()
26 return keywords.contains(token); in isKeyword()
34 /// Determines which style should be applied to the given token.
37 /// \param token
38 /// The current token.
40 /// The string in the source code the token represents.
45 /// passed by reference and will be updated if the current token starts
[all …]
/llvm-project/lldb/include/lldb/Utility/
H A DCompletionRequest.h1 //===-- CompletionRequest.h --------
[all...]
/llvm-project/.github/workflows/
H A Drelease-binaries.yml6 release-version:
15 runs-on:
20 - ubuntu-22.04
21 - ubuntu-22.04-arm
22 - macos-13
23 - maco
[all...]
H A Dissue-release-workflow.yml4 # /cherry-pick <commit> <...>
6 # This comment will attempt to cherry-pick the given commits to the latest
23 - created
24 - edited
27 - opened
33 backport-commits:
35 runs-on: ubuntu-latest
38 pull-requests: write
39 if: >-
40 (github.repository == 'llvm/llvm-project') &&
[all …]
H A Drelease-tasks.yml9 # The regex support here is limited, so just match everything that starts with llvmorg- and filter later.
10 - 'llvmorg-*'
13 validate-tag:
15 runs-on: ubuntu-latest
16 if: github.repository == 'llvm/llvm-project'
18 release-version: ${{ steps.validate-tag.outputs.release-versio
[all...]
H A Drelease-sources.yml9 release-version:
15 release-version:
21 description: "Secret used to check user permissions."
26 - '.github/workflows/release-sources.yml'
28 - opened
29 - synchronize
30 - reopened
32 # all the jobs, which makes it effectively a no-op. The reason to
35 - close
[all...]
H A Drelease-doxygen.yml9 release-version:
20 release-version:
30 description: "Secret used to check user permissions."
34 release-doxygen:
36 runs-on: ubuntu-latest
40 upload: ${{ inputs.upload && !contains(inputs.release-version, 'rc') }}
42 - name: Checkout LLVM
45 - name: Setup Python env
46 uses: actions/setup-pytho
[all...]
/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp1 //===-- ClangExpressionSourceCode.cpp -------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
33 #include "lldb/lldb-forward.h"
146 // Clang instance which parses the user expression. The Clang diagnostics in AddMacros()
147 // caused by this are not useful for the user as the source code here is in AddMacros()
150 stream << "#pragma clang diagnostic ignored \"-Wmacro-redefined\"\n"; in AddMacros()
151 stream << "#pragma clang diagnostic ignored \"-Wbuiltin-macro-redefined\"\n"; in AddMacros()
156 for (size_t i = 0; i < dm->GetNumMacroEntries(); i++) { in AddMacros()
157 const DebugMacroEntry &entry = dm->GetMacroEntryAtIndex(i); in AddMacros()
[all …]
/llvm-project/lldb/include/lldb/Core/
H A DHighlighter.h1 //===-- Highlighter.h -------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
17 #include "lldb/lldb-enumerations.h"
23 /// Stores information about how every kind of token should be annotated.
26 /// A pair of strings that should be placed around a certain token. Usually
50 /// The style for the token which is below the cursor of the user. Note that
52 /// stop-show-column-ansi-prefix/stop-show-column-ansi-suffix.
71 /// Matches operators like '+', '-', '%', '&', '='
105 /// The user supplied line that needs to be highlighted.
[all …]
/llvm-project/llvm/test/Transforms/DeadArgElim/
H A Dkeepalive.ll1 ; RUN: opt < %s -passes=deadargelim -S | FileCheck %s
3 declare token @llvm.call.preallocated.setup(i32)
4 declare ptr @llvm.call.preallocated.arg(token, i32)
20 ; This checks if the struct doesn't get non-packed
21 ; CHECK-LABEL: define internal <{ i32, i32 }> @test2(
29 declare void @user(i32, <{ i32, i32 }>)
36 call void @user(i32 %B, <{ i32, i32 }> %C)
48 ; CHECK-LABEL: define internal x86_thiscallcc i32 @unused_this(ptr %this, ptr inalloca(i32) %argmem)
68 ; CHECK-LABEL: define internal x86_thiscallcc i32 @unused_this_preallocated(ptr %this, ptr prealloc…
74 %c = call token @llvm.call.preallocated.setup(i32 1)
[all …]
/llvm-project/clang/lib/Tooling/Syntax/
H A DComputeReplacements.cpp1 //===- ComputeReplacements.cpp --------------------------------*- C++ -*-=====//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
18 using ProcessTokensFn = llvm::function_ref<void(llvm::ArrayRef<syntax::Token>,
32 // Report the last span to the user. in enumerateTokenSpans()
40 for (const auto *C = T->getFirstChild(); C != nullptr; in enumerateTokenSpans()
41 C = C->getNextSibling()) in enumerateTokenSpans()
47 if (SpanEnd == STM.getToken(L->getTokenKey()) && in enumerateTokenSpans()
48 SpanIsOriginal == L->isOriginal()) { in enumerateTokenSpans()
53 // Report the current span to the user. in enumerateTokenSpans()
[all …]
/llvm-project/mlir/lib/Dialect/GPU/Transforms/
H A DAsyncRegionRewriter.cpp1 //===- AsyncRegionRewriter.cpp - Implementation of GPU async rewriters ----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exceptio
278 for (auto token : tokens) addAsyncDependencyAfter() local
[all...]
/llvm-project/llvm/docs/tutorial/MyFirstLanguageFrontend/
H A DLangImpl02.rst20 `Operator-Precedence
21 Parsing <http://en.wikipedia.org/wiki/Operator-precedence_parser>`_ to
36 .. code-block:: c++
38 /// ExprAST - Base class for all expression nodes.
44 /// NumberExprAST - Expression class for numeric literals like "1.0".
64 .. code-block:: c++
66 /// VariableExprAST - Expression class for referencing a variable, like "a".
74 /// BinaryExprAST - Expression class for a binary operator.
85 /// CallExprAST - Expression class for function calls.
96 This is all (intentionally) rather straight-forward: variables capture
[all …]
/llvm-project/llvm/test/Transforms/Coroutines/
H A Dcoro-alloc-with-param-O2.ll2 ; the user body consume the same argument.
3 ; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s
5 ; using this directly (as it would happen under -O2)
8 %id = call token @llvm.coro.id(i32 0, ptr null, ptr null, ptr null)
11 %hdl = call ptr @llvm.coro.begin(token %id, ptr %alloc)
12 %0 = call i8 @llvm.coro.suspend(token none, i1 false)
20 %mem = call ptr @llvm.coro.free(token %id, ptr %hdl)
24 call i1 @llvm.coro.end(ptr %hdl, i1 0, token none)
32 ; CHECK-LABEL: define ptr @f_direct(i64 %this)
38 ; CHECK-LABEL: @f_direct.resume(
[all …]
H A Dcoro-alloc-with-param-O0.ll2 ; the user body consume the same argument.
3 ; RUN: opt < %s -passes='cgscc(coro-split),simplifycfg,early-cse' -S | FileCheck %s
5 ; using copy of this (as it would happen under -O0)
11 %id = call token @llvm.coro.id(i32 0, ptr null, ptr null, ptr null)
14 %hdl = call ptr @llvm.coro.begin(token %id, ptr %alloc)
15 %0 = call i8 @llvm.coro.suspend(token none, i1 false)
23 %mem = call ptr @llvm.coro.free(token %id, ptr %hdl)
27 call i1 @llvm.coro.end(ptr %hdl, i1 0, token none)
35 ; CHECK-LABEL: define ptr @f_copy(i64 %this_arg)
43 ; CHECK-LABEL: @f_copy.resume(
[all …]
/llvm-project/clang-tools-extra/clangd/
H A DSourceCode.h1 //===--- SourceCode.h - Manipulating source code as strings -----*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
48 // If not set, defaults to UTF-16 for backwards-compatibility.
51 // Counts the number of UTF-16 code units needed to represent a string (LSP
52 // specifies string lengths in UTF-16 code units).
53 // Use of UTF-16 may be overridden by kCurrentOffsetEncoding.
58 /// If P.character exceeds the line length, returns the offset at end-of-line.
93 /// Returns true if the token at Loc is spelled in the source code.
[all …]
/llvm-project/llvm/utils/
H A Dcount_running_jobs.py3 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
9 python3 ./count_running_jobs.py --token=<github token>
11 Note that the token argument is optional. If it is not specified, the queries
21 def main(token, filter_gha_runners): argument
23 github.Github(args.token)
24 .get_repo("llvm/llvm-project")
57 "--token",
59 help="The Github token to use to authorize with the API",
64 "--output-file",
66 help="The output file to write time-series data to",
[all …]
/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DIRTranslator.h1 //===- llvm/CodeGen/GlobalISel/IRTranslator.h - IRTranslator ----*- C++ -*-===//
5 // SPDX-Licens
55 class User; global() variable
716 getOrCreateConvergenceTokenVReg(const Value & Token) getOrCreateConvergenceTokenVReg() argument
[all...]

12345678910>>...14