Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineParser.h98 TokenType NextLBracesType = TT_Unknown,
108 TokenType NextLBracesType = TT_Unknown);
110 TokenType NextLBracesType = TT_Unknown);
120 TokenType NextLBracesType = TT_Unknown,
128 void parseParens(TokenType AmpAmpTokenType = TT_Unknown);
H A DFormatTokenLexer.h63 bool tryMergeTokens(ArrayRef<tok::TokenKind> Kinds, TokenType NewType);
119 llvm::SmallMapVector<IdentifierInfo *, TokenType, 8> Macros;
H A DFormatToken.h142 enum TokenType : uint8_t { enum
150 const char *getTokenTypeName(TokenType Type);
346 TokenType Type;
351 TokenType getType() const { return Type; } in getType()
352 void setType(TokenType T) { in setType()
361 void setFinalizedType(TokenType T) { in setFinalizedType()
365 void overwriteFixedType(TokenType T) { in overwriteFixedType()
510 bool is(TokenType TT) const { return getType() == TT; } in is()
H A DFormatToken.cpp24 const char *getTokenTypeName(TokenType Type) { in getTokenTypeName()
H A DUnwrappedLineParser.cpp479 TokenType NextLBracesType, in parseLevel()
832 bool CanContainBracedList, TokenType NextLBracesType) { in parseBlock()
1034 bool CanContainBracedList, clang::format::TokenType NextLBracesType) { in parseChildBlock()
1450 bool IsTopLevel, TokenType NextLBracesType, IfStmtKind *IfKind, in parseStructuralElement()
2374 void UnwrappedLineParser::parseParens(TokenType AmpAmpTokenType) { in parseParens()
H A DFormatTokenLexer.cpp409 TokenType NewType) { in tryMergeTokens()
H A DTokenAnnotator.cpp2277 TokenType determineStarAmpUsage(const FormatToken &Tok, bool IsExpression, in determineStarAmpUsage()
2373 TokenType determinePlusMinusCaretUsage(const FormatToken &Tok) { in determinePlusMinusCaretUsage()
2389 TokenType determineIncrementUsage(const FormatToken &Tok) { in determineIncrementUsage()
/llvm-project-15.0.7/mlir/lib/Conversion/AsyncToLLVM/
H A DAsyncToLLVM.cpp88 return FunctionType::get(ctx, {}, {TokenType::get(ctx)}); in createTokenFunctionType()
109 return FunctionType::get(ctx, {TokenType::get(ctx)}, {}); in emplaceTokenFunctionType()
118 return FunctionType::get(ctx, {TokenType::get(ctx)}, {}); in setTokenErrorFunctionType()
128 return FunctionType::get(ctx, {TokenType::get(ctx)}, {i1}); in isTokenErrorFunctionType()
143 return FunctionType::get(ctx, {TokenType::get(ctx)}, {}); in awaitTokenFunctionType()
284 if (type.isa<TokenType, GroupType, ValueType>()) in convertAsyncTypes()
551 if (resultType.isa<TokenType>()) { in matchAndRewrite()
627 .Case<TokenType>([](Type) { return kEmplaceToken; }) in matchAndRewrite()
678 .Case<TokenType>([](Type) { return kIsTokenError; }) in matchAndRewrite()
703 .Case<TokenType>([](Type) { return kAwaitToken; }) in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Async/IR/
H A DAsync.h50 return type.isa<TokenType, ValueType, GroupType>(); in isRefCounted()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/IR/
H A DAsync.cpp107 result.addTypes({TokenType::get(result.getContext())}); in build()
166 auto tokenTy = TokenType::get(ctx); in parse()
308 if (argType.isa<TokenType>() && !getResultTypes().empty()) in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncToAsyncRuntime.cpp139 auto retToken = builder.create<RuntimeCreateOp>(TokenType::get(ctx)).result(); in setupCoroMachinery()
486 class AwaitTokenOpLowering : public AwaitOpLoweringBase<AwaitOp, TokenType> {
487 using Base = AwaitOpLoweringBase<AwaitOp, TokenType>;
620 func.insertResult(0, TokenType::get(ctx), {}); in rewriteFuncAsCoroutine()
H A DAsyncRuntimeRefCounting.cpp525 bool isToken = type.isa<TokenType>(); in initializeDefaultPolicy()
/llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp228 Token TokenType) { in parseNumberName() argument
230 if (consume<Token>(Line) != TokenType) in parseNumberName()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/
H A DAsyncRegionRewriter.cpp154 assert(type.isa<async::TokenType>() && "expected token type"); in addExecuteResults()
/llvm-project-15.0.7/llvm/bindings/go/llvm/
H A Dir.go696 func (c Context) TokenType() (t Type) { t.C = C.LLVMTokenTypeInContext(c.C); return } func