Home
last modified time | relevance | path

Searched refs:getTok (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2902 const AsmToken &Tok = getParser().getTok(); in ParseRegister()
2916 const AsmToken &Tok = Parser.getTok(); in tryParseRegister()
2973 SMLoc S = Parser.getTok().getLoc(); in tryParseShiftRegister()
2974 const AsmToken &Tok = Parser.getTok(); in tryParseShiftRegister()
3012 if (Parser.getTok().is(AsmToken::Hash) || in tryParseShiftRegister()
3013 Parser.getTok().is(AsmToken::Dollar)) { in tryParseShiftRegister()
3015 SMLoc ImmLoc = Parser.getTok().getLoc(); in tryParseShiftRegister()
3041 } else if (Parser.getTok().is(AsmToken::Identifier)) { in tryParseShiftRegister()
3042 SMLoc L = Parser.getTok().getLoc(); in tryParseShiftRegister()
3043 EndLoc = Parser.getTok().getEndLoc(); in tryParseShiftRegister()
[all …]
/external/llvm/lib/Target/SystemZ/AsmParser/
DSystemZAsmParser.cpp496 Reg.StartLoc = Parser.getTok().getLoc(); in parseRegister()
499 if (Parser.getTok().isNot(AsmToken::Percent)) in parseRegister()
500 return Error(Parser.getTok().getLoc(), "register expected"); in parseRegister()
504 if (Parser.getTok().isNot(AsmToken::Identifier)) in parseRegister()
508 StringRef Name = Parser.getTok().getString(); in parseRegister()
529 Reg.EndLoc = Parser.getTok().getLoc(); in parseRegister()
559 if (Parser.getTok().isNot(AsmToken::Percent)) in parseRegister()
628 return Error(Parser.getTok().getLoc(), "unexpected token in address"); in parseAddress()
639 SMLoc StartLoc = Parser.getTok().getLoc(); in parseAddress()
673 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseAddress()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp55 SMLoc getLoc() const { return getParser().getTok().getLoc(); } in getLoc()
1980 const AsmToken &Tok = Parser.getTok(); in tryParseRegister()
2005 if (Parser.getTok().isNot(AsmToken::Identifier)) { in tryMatchVectorRegister()
2010 StringRef Name = Parser.getTok().getString(); in tryMatchVectorRegister()
2040 if (Parser.getTok().isNot(AsmToken::Identifier)) { in tryParseSysCROperand()
2045 StringRef Tok = Parser.getTok().getIdentifier(); in tryParseSysCROperand()
2069 const AsmToken &Tok = Parser.getTok(); in tryParsePrefetch()
2124 const AsmToken &Tok = Parser.getTok(); in tryParsePSBHint()
2153 if (Parser.getTok().is(AsmToken::Hash)) { in tryParseAdrpLabel()
2204 if (Parser.getTok().is(AsmToken::Hash)) { in tryParseAdrLabel()
[all …]
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp727 const char *Start = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
732 const char *End = getTok().getLoc().getPointer(); in parseStringToEndOfStatement()
737 const char *Start = getTok().getLoc().getPointer(); in parseStringToComma()
743 const char *End = getTok().getLoc().getPointer(); in parseStringToComma()
757 EndLoc = Lexer.getTok().getEndLoc(); in parseParenExpr()
772 EndLoc = Lexer.getTok().getEndLoc(); in parseBracketExpr()
839 return Error(Lexer.getTok().getLoc(), in parsePrimaryExpr()
885 SMLoc Loc = getTok().getLoc(); in parsePrimaryExpr()
886 int64_t IntVal = getTok().getIntVal(); in parsePrimaryExpr()
888 EndLoc = Lexer.getTok().getEndLoc(); in parsePrimaryExpr()
[all …]
DMCAsmParser.cpp32 const AsmToken &MCAsmParser::getTok() const { in getTok() function in MCAsmParser
33 return getLexer().getTok(); in getTok()
DELFAsmParser.cpp226 SectionName = getTok().getIdentifier(); in ParseSectionName()
239 CurSize = getTok().getIdentifier().size() + 2; in ParseSectionName()
242 CurSize = getTok().getIdentifier().size(); in ParseSectionName()
252 if (PrevLoc.getPointer() + CurSize != getTok().getLoc().getPointer()) in ParseSectionName()
315 StringRef flagId = getTok().getIdentifier(); in parseSunStyleSectionFlags()
400 StringRef FlagsStr = getTok().getStringContents(); in ParseSectionArguments()
626 StringRef Data = getTok().getIdentifier(); in ParseDirectiveIdent()
674 StringRef Data = getTok().getIdentifier(); in ParseDirectiveVersion()
DDarwinAsmParser.cpp870 SMLoc Loc = getParser().getTok().getLoc(); in parseDirectiveDataRegion()
910 Major = getLexer().getTok().getIntVal(); in parseVersionMin()
920 Minor = getLexer().getTok().getIntVal(); in parseVersionMin()
931 Update = getLexer().getTok().getIntVal(); in parseVersionMin()
DCOFFAsmParser.cpp318 SectionName = getTok().getIdentifier(); in ParseSectionName()
353 StringRef FlagsStr = getTok().getStringContents(); in ParseDirectiveSection()
489 StringRef TypeId = getTok().getIdentifier(); in parseCOMDATType()
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp520 const AsmToken Tok = Parser.getTok(); in ParseRegister()
644 SMLoc S = Parser.getTok().getLoc(); in MatchAndEmitInstruction()
678 Major = getLexer().getTok().getIntVal(); in ParseDirectiveMajorMinor()
688 Minor = getLexer().getTok().getIntVal(); in ParseDirectiveMajorMinor()
735 Stepping = getLexer().getTok().getIntVal(); in ParseDirectiveHSACodeObjectISA()
745 VendorName = getLexer().getTok().getStringContents(); in ParseDirectiveHSACodeObjectISA()
755 ArchName = getLexer().getTok().getStringContents(); in ParseDirectiveHSACodeObjectISA()
773 uint64_t Value = getLexer().getTok().getIntVal(); in ParseAMDKernelCodeTValue()
944 StringRef ID = getLexer().getTok().getIdentifier(); in ParseDirectiveAMDKernelCodeT()
969 StringRef KernelName = Parser.getTok().getString(); in ParseDirectiveAMDGPUHsaKernel()
[all …]
/external/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h168 const AsmToken &getTok() const { in getTok() function
200 AsmToken::TokenKind getKind() const { return getTok().getKind(); } in getKind()
203 bool is(AsmToken::TokenKind K) const { return getTok().is(K); } in is()
206 bool isNot(AsmToken::TokenKind K) const { return getTok().isNot(K); } in isNot()
DMCAsmParserExtension.h83 const AsmToken &getTok() { return getParser().getTok(); } in getTok() function
DMCAsmParser.h146 const AsmToken &getTok() const;
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp68 SMLoc Result = Parser.getTok().getLoc(); in consumeToken()
896 const AsmToken &PercentTok = Parser.getTok(); in ParseRegister()
904 const AsmToken &Tok = Parser.getTok(); in ParseRegister()
950 const AsmToken &IntTok = Parser.getTok(); in ParseRegister()
966 return Error(Parser.getTok().getLoc(), "expected ')'"); in ParseRegister()
968 EndLoc = Parser.getTok().getEndLoc(); in ParseRegister()
973 EndLoc = Parser.getTok().getEndLoc(); in ParseRegister()
991 EndLoc = Parser.getTok().getEndLoc(); in ParseRegister()
1173 const AsmToken &Tok = Parser.getTok(); in ParseIntelExpression()
1238 SMLoc Loc = getTok().getLoc(); in ParseIntelExpression()
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp561 const AsmToken &Tok = Parser.getTok(); in ParseRegister()
728 Parser.getTok().getLoc())); in parseOperand()
732 SMLoc S = Parser.getTok().getLoc(); in parseOperand()
738 if (!matchRegisterName(Parser.getTok(), RegNo, RegKind)) in parseOperand()
742 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1); in parseOperand()
756 Parser.getTok().getLoc())); in parseOperand()
786 SMLoc S = Parser.getTok().getLoc(); in parseSparcAsmOperand()
787 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseSparcAsmOperand()
798 if (matchRegisterName(Parser.getTok(), RegNo, RegKind)) { in parseSparcAsmOperand()
799 StringRef name = Parser.getTok().getString(); in parseSparcAsmOperand()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp3906 Error(Parser.getTok().getLoc(), "unexpected token in operand"); in parseOperand()
3910 SMLoc S = Parser.getTok().getLoc(); in parseOperand()
3925 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
3948 SMLoc S = Parser.getTok().getLoc(); // Start location of the operand. in parseOperand()
3952 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseOperand()
4046 const AsmToken &Tok = Parser.getTok(); // Get next token, operation. in parseRelocOperand()
4062 const AsmToken &nextTok = Parser.getTok(); in parseRelocOperand()
4153 S = Parser.getTok().getLoc(); in parseMemOperand()
4164 const AsmToken &Tok = Parser.getTok(); // Get the next token. in parseMemOperand()
4169 SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in parseMemOperand()
[all …]
/external/llvm/tools/llvm-mc/
Dllvm-mc.cpp252 AsmToken Tok = Lexer.getTok(); in AsLexInput()
264 OS << "identifier: " << Lexer.getTok().getString(); in AsLexInput()
267 OS << "int: " << Lexer.getTok().getString(); in AsLexInput()
270 OS << "real: " << Lexer.getTok().getString(); in AsLexInput()
273 OS << "string: " << Lexer.getTok().getString(); in AsLexInput()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp1280 const AsmToken &Tok = Parser.getTok(); in ParseRegister()
1471 StringRef poss = Parser.getTok().getString(); in ParseDarwinExpression()
1482 return Error(Parser.getTok().getLoc(), "expected '('"); in ParseDarwinExpression()
1493 return Error(Parser.getTok().getLoc(), "expected ')'"); in ParseDarwinExpression()
1505 SMLoc S = Parser.getTok().getLoc(); in ParseOperand()
1506 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseOperand()
1517 if (!MatchRegisterName(Parser.getTok(), RegNo, IntVal)) { in ParseOperand()
1532 if (!MatchRegisterName(Parser.getTok(), RegNo, IntVal)) { in ParseOperand()
1567 S = Parser.getTok().getLoc(); in ParseOperand()
1571 return Error(Parser.getTok().getLoc(), "missing ')'"); in ParseOperand()
[all …]
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp735 if (!Parser.getTok().is(AsmToken::Colon)) in matchBundleOptions()
738 StringRef Option = Parser.getTok().getString(); in matchBundleOptions()
1110 AsmToken const &Token = getParser().getTok(); in splitIdentifier()
1147 AsmToken MaybeDotNew = Lexer.getTok(); in parseOperand()
1163 AsmToken MaybeDotNew = Lexer.getTok(); in parseOperand()
1181 AsmToken const &Second = Lexer.getTok(); in isLabel()
1219 StringRef RawString(Lexer.getTok().getString().data(), 0); in ParseRegister()
1223 AsmToken const &Token = Lexer.getTok(); in ParseRegister()
1229 bool Contigious = Lexer.getTok().getString().data() == in ParseRegister()
1288 if (!getLexer().getTok().is(AsmToken::Colon)) in implicitExpressionLocation()
[all …]
/external/clang/tools/libclang/
DCIndex.cpp5806 CXToken &getTok(unsigned Idx) { in getTok() function in __anonc9d3eafc0a11::AnnotateTokensWorker
5810 const CXToken &getTok(unsigned Idx) const { in getTok() function in __anonc9d3eafc0a11::AnnotateTokensWorker
5818 return SourceLocation::getFromRawEncoding(getTok(tokI).int_data[1]); in GetTokenLoc()
5821 return getTok(tokI).int_data[3] != 0; in isFunctionMacroToken()
5824 return SourceLocation::getFromRawEncoding(getTok(tokI).int_data[3]); in getFunctionMacroTokenLoc()
6191 CXToken &getTok(unsigned Idx) { in getTok() function in __anonc9d3eafc0b11::MarkMacroArgTokensVisitor
6195 const CXToken &getTok(unsigned Idx) const { in getTok() function in __anonc9d3eafc0b11::MarkMacroArgTokensVisitor
6201 return SourceLocation::getFromRawEncoding(getTok(tokI).int_data[1]); in getTokenLoc()
6207 getTok(tokI).int_data[3] = loc.getRawEncoding(); in setFunctionMacroTokenLoc()
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...