/llvm-project/clang/lib/Format/ |
H A D | FormatTokenLexer.h | 62 bool tryMergeTokens(ArrayRef<tok::TokenKind> Kinds, TokenType NewType); 64 bool tryMergeTokens(size_t Count, TokenType NewType); 67 TokenType NewType); 130 llvm::SmallMapVector<IdentifierInfo *, TokenType, 8> Macros;
|
H A D | UnwrappedLineParser.h | 148 bool parseParens(TokenType AmpAmpTokenType = TT_Unknown); 240 void setPreviousRBraceType(TokenType Type);
|
H A D | FormatToken.h | 218 enum TokenType : uint8_t { 226 const char *getTokenTypeName(TokenType Type); 431 TokenType Type; in setType() 436 TokenType getType() const { return Type; } in setType() 437 void setType(TokenType T) { in setType() 451 void setFinalizedType(TokenType T) { in overwriteFixedType() 457 void overwriteFixedType(TokenType T) { 619 bool is(TokenType TT) const { return getType() == TT; } 211 enum TokenType : uint8_t { global() enum
|
H A D | WhitespaceManager.h | 227 TokenType Type);
|
H A D | FormatTokenLexer.cpp | 563 TokenType NewType) { in tryMergeTokens() 575 bool FormatTokenLexer::tryMergeTokens(size_t Count, TokenType NewType) { in tryMergeTokens() 598 ArrayRef<ArrayRef<tok::TokenKind>> Kinds, TokenType NewType) { in precedesOperand() 1047 TokenType Type = TT_Unknown; in tryMergeConflictMarkers()
|
H A D | FormatToken.cpp | 24 const char *getTokenTypeName(TokenType Type) { in getTokenTypeName() 33 llvm_unreachable("unknown TokenType"); in getTokenTypeName()
|
H A D | UnwrappedLineParser.cpp | 660 void UnwrappedLineParser::setPreviousRBraceType(TokenType Type) { in setPreviousRBraceType() 2461 // Fat arrows (=>) have tok::TokenKind tok::equal but TokenType TT_FatArrow. in parseBracedList() 2569 bool UnwrappedLineParser::parseParens(TokenType AmpAmpTokenType) { in parseParens() 4147 [](const FormatToken &RecordTok) -> std::pair<TokenType, TokenType> { in parseObjCProtocolList()
|
H A D | WhitespaceManager.cpp | 864 const FormatStyle::AlignConsecutiveStyle &AlignStyle, TokenType Type) { in alignConsecutiveColons()
|
H A D | TokenAnnotator.cpp | 2968 TokenType determineStarAmpUsage(const FormatToken &Tok, bool IsExpression, in determineStarAmpUsage() 3115 TokenType determinePlusMinusCaretUsage(const FormatToken &Tok) { in parse() 3131 TokenType determineIncrementUsage(const FormatToken &Tok) { in parse()
|
/llvm-project/mlir/lib/Conversion/AsyncToLLVM/ |
H A D | AsyncToLLVM.cpp | 94 return FunctionType::get(ctx, {}, {TokenType::get(ctx)}); in createTokenFunctionType() 114 return FunctionType::get(ctx, {TokenType::get(ctx)}, {}); in emplaceTokenFunctionType() 123 return FunctionType::get(ctx, {TokenType::get(ctx)}, {}); in setTokenErrorFunctionType() 133 return FunctionType::get(ctx, {TokenType::get(ctx)}, {i1}); in isTokenErrorFunctionType() 148 return FunctionType::get(ctx, {TokenType::get(ctx)}, {}); in awaitTokenFunctionType() 167 return FunctionType::get(ctx, {TokenType::get(ctx), GroupType::get(ctx)}, in addTokenToGroupFunctionType() 173 return FunctionType::get(ctx, {TokenType::get(ctx), ptrType, ptrType}, {}); in awaitTokenAndExecuteFunctionType() 295 if (isa<TokenType, GroupType, ValueType>(type)) in convertAsyncTypes() 587 if (isa<TokenType>(resultType)) { in matchAndRewrite() 663 .Case<TokenType>([](Typ in matchAndRewrite() [all...] |
/llvm-project/mlir/lib/Dialect/Async/IR/ |
H A D | Async.cpp | 84 result.addTypes({TokenType::get(result.getContext())}); in build() 139 auto tokenTy = TokenType::get(ctx); in parse() 280 if (llvm::isa<TokenType>(argType) && !getResultTypes().empty()) in verify() 345 if (!llvm::isa<TokenType>(type) && !llvm::isa<ValueType>(type)) in verify() 350 if (llvm::isa<TokenType>(type) && i != 0) { in verify()
|
/llvm-project/mlir/include/mlir/Dialect/Async/IR/ |
H A D | Async.h | 53 return isa<TokenType, ValueType, GroupType>(type); in isRefCounted()
|
H A D | AsyncOps.td | 175 bool isStateful() { return isa<TokenType>(getFunctionType().getResult(0));}
|
/llvm-project/mlir/lib/Dialect/Async/Transforms/ |
H A D | AsyncToAsyncRuntime.cpp | 186 bool isStateful = isa<TokenType>(func.getResultTypes().front()); in setupCoroMachinery() 190 retToken.emplace(builder.create<RuntimeCreateOp>(TokenType::get(ctx))); in setupCoroMachinery() 658 class AwaitTokenOpLowering : public AwaitOpLoweringBase<AwaitOp, TokenType> { 659 using Base = AwaitOpLoweringBase<AwaitOp, TokenType>;
|
H A D | AsyncRuntimeRefCounting.cpp | 531 bool isToken = isa<TokenType>(type); in initializeDefaultPolicy()
|
/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
H A D | BreakpadRecords.cpp | 230 static std::optional<T> parseNumberName(llvm::StringRef Line, Token TokenType) { in parseNumberName() argument 232 if (consume<Token>(Line) != TokenType) in parseNumberName()
|
/llvm-project/mlir/lib/Dialect/GPU/Transforms/ |
H A D | AsyncRegionRewriter.cpp | 163 assert(isa<async::TokenType>(type) && "expected token type"); in addExecuteResults()
|