| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | TypeParser.cpp | 25 switch (getToken().getKind()) { in parseOptionalType() 55 if (getToken().is(Token::l_paren)) in parseType() 66 if (getToken().is(Token::l_paren)) in parseFunctionResultTypes() 101 if (getToken().is(Token::r_paren)) in parseTypeListParens() 138 assert(getToken().is(Token::l_paren)); in parseFunctionType() 193 SMLoc loc = getToken().getLoc(); in parseMemRefType() 215 auto typeLoc = getToken().getLoc(); in parseMemRefType() 229 if (getToken().is(Token::kw_offset)) { in parseMemRefType() 296 switch (getToken().getKind()) { in parseNonFunctionType() 471 auto typeLoc = getToken().getLoc(); in parseVectorType() [all …]
|
| H A D | LocationParser.cpp | 42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation() 43 getToken().getSpelling() != "at") in parseCallSiteLocation() 97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation() 103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation() 106 auto line = getToken().getUnsignedIntegerValue(); in parseNameOrFileLineColLocation() 117 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation() 153 if (getToken().is(Token::string)) in parseLocationInstance() 157 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance() 161 if (getToken().getSpelling() == "callsite") in parseLocationInstance() 165 if (getToken().getSpelling() == "fused") in parseLocationInstance() [all …]
|
| H A D | AttributeParser.cpp | 49 switch (getToken().getKind()) { in parseAttribute() 119 if (getToken().is(Token::integer)) in parseAttribute() 236 switch (getToken().getKind()) { in parseOptionalAttribute() 286 if (getToken().is(Token::string)) in parseAttributeDict() 289 getToken().isKeyword()) in parseAttributeDict() 393 Token tok = getToken(); in parseDecOrHexAttr() 516 hexStorage = p.getToken(); in parse() 737 switch (p.getToken().getKind()) { in parseElement() 933 SMLoc loc = getToken().getLoc(); in parseOpaqueElementsAttr() 947 Token hexTok = getToken(); in parseOpaqueElementsAttr() [all …]
|
| H A D | Parser.cpp | 142 if (getToken().is(rightToken)) { in parseCommaSeparatedListUntil() 171 if (getToken().is(Token::error)) in emitError() 241 Token curToken = getToken(); in parseOptionalInteger() 246 Token curTok = getToken(); in parseOptionalInteger() 1077 auto loc = getToken().getLoc(); in parseOperation() 1118 Token nameTok = getToken(); in parseOperation() 1375 Token nameToken = getToken(); in parseGenericOperation() 1795 Token nameTok = getToken(); in parseCustomOperationName() 1900 Token tok = getToken(); in parseLocationAlias() 1933 Token tok = getToken(); in parseTrailingLocationSpecifier() [all …]
|
| H A D | AffineParser.cpp | 164 switch (getToken().getKind()) { in consumeIfLowPrecOp() 179 switch (getToken().getKind()) { in consumeIfHighPrecOp() 214 auto opLoc = getToken().getLoc(); in parseAffineHighPrecOpExpr() 240 if (getToken().is(Token::r_paren)) in parseParentheticalExpr() 280 if (!isIdentifier(getToken())) in parseBareIdExpr() 352 switch (getToken().getKind()) { in parseAffineOperandExpr() 377 if (isIdentifier(getToken())) in parseAffineOperandExpr() 424 auto opLoc = getToken().getLoc(); in parseAffineLowPrecOpExpr() 473 if (!isIdentifier(getToken())) in parseIdentifierDefinition() 700 SMLoc curLoc = getToken().getLoc(); in parseAffineMapReference() [all …]
|
| H A D | AsmParserImpl.h | 234 if (!parser.getToken().is(Token::string)) in parseOptionalString() 238 *string = parser.getToken().getStringValue(); in parseOptionalString() 246 Token curTok = parser.getToken(); in parseFloat() 294 if (parser.getToken().isCodeCompletion()) in parseKeyword() 306 if (parser.getToken().isCodeCompletion()) in parseOptionalKeyword() 332 if (parser.getToken().isCodeCompletion()) in parseOptionalKeyword() 376 if (parser.getToken().isNot(Token::hash_identifier)) in parseCustomAttributeWithFallback() 408 if (parser.getToken().isNot(Token::l_brace)) in parseOptionalAttrDict() 439 Token atToken = parser.getToken(); in parseOptionalSymbolName() 541 Token tok = parser.getToken(); in parseKeywordOrCompletion() [all …]
|
| H A D | DialectSymbolParser.cpp | 32 : AsmParserImpl<DialectAsmParser>(parser.getToken().getLoc(), parser), in CustomDialectAsmParser() 151 Token tok = p.getToken(); in parseExtendedSymbol() 159 SMLoc loc = p.getToken().getLoc(); in parseExtendedSymbol() 171 p.getToken().is(Token::less) && in parseExtendedSymbol() 236 const char *curLexerPos = getToken().getLoc().getPointer(); in parseExtendedAttr() 276 const char *curLexerPos = getToken().getLoc().getPointer(); in parseExtendedType() 317 Token startTok = parser.getToken(); in parseSymbol() 323 Token endTok = parser.getToken(); in parseSymbol()
|
| H A D | Parser.h | 101 const Token &getToken() const { return state.curToken; } in getToken() function 149 return getToken().isAny(Token::bare_identifier, Token::inttype) || in isCurrentTokenAKeyword() 150 getToken().isKeyword(); in isCurrentTokenAKeyword() 245 if (getToken().isNot(kind))
|
| /llvm-project-15.0.7/lldb/source/Plugins/ObjectFile/Breakpad/ |
| H A D | BreakpadRecords.cpp | 86 std::tie(Token, Str) = getToken(Str); in consume() 186 std::tie(Str, Line) = getToken(Line); in parse() 210 std::tie(Str, Line) = getToken(Line); in parse() 235 std::tie(Str, Line) = getToken(Line); in parseNumberName() 280 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc() 294 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc() 382 std::tie(Str, Line) = getToken(Line); in parse() 387 std::tie(Str, Line) = getToken(Line); in parse() 392 std::tie(Str, Line) = getToken(Line); in parse() 397 std::tie(Str, Line) = getToken(Line); in parse() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/BPF/AsmParser/ |
| H A D | BPFAsmParser.cpp | 159 StringRef getToken() const { in getToken() function 174 OS << "'" << getToken() << "'"; in print() 274 && Op1.getToken() == "=" in PreMatchCheck() 275 && (Op2.getToken() == "-" || Op2.getToken() == "be16" in PreMatchCheck() 276 || Op2.getToken() == "be32" || Op2.getToken() == "be64" in PreMatchCheck() 277 || Op2.getToken() == "le16" || Op2.getToken() == "le32" in PreMatchCheck() 278 || Op2.getToken() == "le64") in PreMatchCheck()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | StringExtras.cpp | 39 std::pair<StringRef, StringRef> llvm::getToken(StringRef Source, in getToken() function in llvm 55 std::pair<StringRef, StringRef> S = getToken(Source, Delimiters); in SplitString() 58 S = getToken(S.second, Delimiters); in SplitString()
|
| H A D | LockFileManager.cpp | 69 std::tie(Hostname, PIDStr) = getToken(MB.getBuffer(), " "); in readLockFile()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/ |
| H A D | TokenBufferTokenManager.h | 30 const auto *Token = getToken(I); in getText() 40 const syntax::Token *getToken(Key I) const { in getToken() function
|
| /llvm-project-15.0.7/clang/unittests/Tooling/Syntax/ |
| H A D | TreeTestBase.cpp | 42 return llvm::makeArrayRef(STM.getToken(L->getTokenKey()), 1); in tokens() 44 return llvm::makeArrayRef(STM.getToken(T->findFirstLeaf()->getTokenKey()), in tokens() 45 STM.getToken(T->findLastLeaf()->getTokenKey()) + 1); in tokens()
|
| H A D | TreeTest.cpp | 115 EXPECT_EQ(TM->getToken(Tree->findFirstLeaf()->getTokenKey())->kind(), tok::l_paren); in TEST_P() 125 EXPECT_EQ(TM->getToken(Tree->findLastLeaf()->getTokenKey())->kind(), tok::r_paren); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/Tooling/Syntax/ |
| H A D | ComputeReplacements.cpp | 47 if (SpanEnd == STM.getToken(L->getTokenKey()) && in enumerateTokenSpans() 57 SpanBegin = STM.getToken(L->getTokenKey()); in enumerateTokenSpans()
|
| /llvm-project-15.0.7/clang/include/clang/Lex/ |
| H A D | ScratchBuffer.h | 36 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/ |
| H A D | PDBSymbolData.h | 46 FORWARD_SYMBOL_METHOD(getToken)
|
| H A D | PDBSymbolFunc.h | 71 FORWARD_SYMBOL_METHOD(getToken)
|
| /llvm-project-15.0.7/clang/lib/Lex/ |
| H A D | ScratchBuffer.cpp | 33 SourceLocation ScratchBuffer::getToken(const char *Buf, unsigned Len, in getToken() function in ScratchBuffer
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | PostfixExpression.cpp | 50 while (std::tie(token, expr) = getToken(expr), !token.empty()) { in ParseOneExpression() 99 std::tie(lhs, expr) = getToken(expr); in ParseFPOProgram()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticSelection.cpp | 74 TM.getToken(LBrace->getTokenKey())->endLocation(), in extractFoldingRange() 76 TM.getToken(RBrace->getTokenKey())->location(); in extractFoldingRange()
|
| /llvm-project-15.0.7/clang/lib/Rewrite/ |
| H A D | TokenRewriter.cpp | 91 Tok.setLocation(ScratchBuf->getToken(Val, Len, Spelling)); in AddTokenBefore()
|
| /llvm-project-15.0.7/llvm/lib/Target/LoongArch/AsmParser/ |
| H A D | LoongArchAsmParser.cpp | 182 StringRef getToken() const { in getToken() function in __anon1ba74a0a0111::LoongArchOperand 203 OS << "'" << getToken() << "'"; in print() 467 ((LoongArchOperand &)*Operands[0]).getToken(), FBS, 0); in MatchAndEmitInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 166 StringRef getToken() const { in getToken() function 566 OS << "Token: " << getToken() << "\n"; in print() 905 Type = static_cast<LanaiOperand *>(Operands[0].get())->getToken(); in parseMemoryOperand() 1171 static_cast<const LanaiOperand &>(*Operands[0]).getToken()) in MaybePredicatedInst()
|