Home
last modified time | relevance | path

Searched refs:Tok (Results 1 – 25 of 71) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DCOFFModuleDefinition.cpp155 } while (Tok.K != Eof); in parse()
162 Tok = Lex.lex(); in read()
165 Tok = Stack.back(); in read()
171 if (Tok.K != Identifier || Tok.Value.getAsInteger(10, *I)) in readAsInt()
178 if (Tok.K != Expected) in expect()
183 void unget() { Stack.push_back(Tok); } in unget()
187 switch (Tok.K) { in parseOne()
193 if (Tok.K != Identifier) { in parseOne()
206 bool IsDll = Tok.K == KwLibrary; // Check before parseName. in parseOne()
226 return createError("unknown directive: " + Tok.Value); in parseOne()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp242 StringRef &Tok = Split.first; // Current token. in parseSpecifier() local
245 if (Tok == "ni") { in parseSpecifier()
258 char Specifier = Tok.front(); in parseSpecifier()
259 Tok = Tok.substr(1); in parseSpecifier()
274 unsigned AddrSpace = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier()
283 unsigned PointerMemSize = inBytes(getInt(Tok)); in parseSpecifier()
292 unsigned PointerABIAlign = inBytes(getInt(Tok)); in parseSpecifier()
305 PointerPrefAlign = inBytes(getInt(Tok)); in parseSpecifier()
313 IndexSize = inBytes(getInt(Tok)); in parseSpecifier()
337 unsigned Size = Tok.empty() ? 0 : getInt(Tok); in parseSpecifier()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp48 StringRef Tok; member
68 struct TokOp Tok; member
76 : Kind(K), StartLoc(Start), EndLoc(End), Tok(T) {} in WebAssemblyOperand()
105 return Tok.Tok; in getToken()
143 OS << "Tok:" << Tok.Tok; in print()
218 bool error(const Twine &Msg, const AsmToken &Tok) { in error() argument
219 return Parser.Error(Tok.getLoc(), Msg + Tok.getString()); in error()
410 auto Tok = Lexer.getTok(); in checkForP2AlignIfLoadStore() local
412 WebAssemblyOperand::Integer, Tok.getLoc(), Tok.getEndLoc(), in checkForP2AlignIfLoadStore()
528 auto &Tok = Lexer.getTok(); in ParseInstruction() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp407 struct TokOp Tok; member
437 Tok = o.Tok; in AArch64Operand()
491 return StringRef(Tok.Data, Tok.Length); in getToken()
496 return Tok.IsSuffix; in isTokenSuffix()
1805 Op->Tok.Data = Str.data(); in CreateToken()
1806 Op->Tok.Length = Str.size(); in CreateToken()
1807 Op->Tok.IsSuffix = IsSuffix; in CreateToken()
2299 const AsmToken &Tok = Parser.getTok(); in tryParseScalarRegister() local
2300 if (Tok.isNot(AsmToken::Identifier)) in tryParseScalarRegister()
2303 std::string lowerCase = Tok.getString().lower(); in tryParseScalarRegister()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1144 const AsmToken &Tok = Parser.getTok(); in ParseRegister() local
1145 EndLoc = Tok.getEndLoc(); in ParseRegister()
1147 if (Tok.isNot(AsmToken::Identifier)) { in ParseRegister()
1153 RegNo = MatchRegisterName(Tok.getString()); in ParseRegister()
1157 RegNo = MatchRegisterName(Tok.getString().lower()); in ParseRegister()
1175 StringRef RegName = Tok.getString(); in ParseRegister()
1220 if (RegNo == 0 && Tok.getString().startswith("db")) { in ParseRegister()
1221 if (Tok.getString().size() == 3) { in ParseRegister()
1222 switch (Tok.getString()[2]) { in ParseRegister()
1234 } else if (Tok.getString().size() == 4 && Tok.getString()[2] == '1') { in ParseRegister()
[all …]
DX86Operand.h74 struct TokOp Tok; member
117 OS << Tok.Data; in print()
152 return StringRef(Tok.Data, Tok.Length); in getToken()
156 Tok.Data = Value.data(); in setTokenValue()
157 Tok.Length = Value.size(); in setTokenValue()
583 Res->Tok.Data = Str.data(); in CreateToken()
584 Res->Tok.Length = Str.size(); in CreateToken()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/AsmParser/
DBPFAsmParser.cpp97 StringRef Tok; member
118 Tok = o.Tok; in BPFOperand()
158 return Tok; in getToken()
198 Op->Tok = Str; in createToken()
325 const AsmToken &Tok = getParser().getTok(); in ParseRegister() local
326 StartLoc = Tok.getLoc(); in ParseRegister()
327 EndLoc = Tok.getEndLoc(); in ParseRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/MCParser/
DMCAsmLexer.h106 AsmToken Tok; variable
108 MutableArrayRef<AsmToken> Buf(Tok);
114 return Tok;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp96 bool matchRegisterName(const AsmToken &Tok, unsigned &RegNo,
246 struct Token Tok; member
282 return StringRef(Tok.Data, Tok.Length); in getToken()
380 Op->Tok.Data = Str.data(); in CreateToken()
381 Op->Tok.Length = Str.size(); in CreateToken()
633 const AsmToken &Tok = Parser.getTok(); in ParseRegister() local
634 StartLoc = Tok.getLoc(); in ParseRegister()
635 EndLoc = Tok.getEndLoc(); in ParseRegister()
641 if (matchRegisterName(Tok, RegNo, regKind)) { in ParseRegister()
982 bool SparcAsmParser::matchRegisterName(const AsmToken &Tok, unsigned &RegNo, in matchRegisterName() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp844 struct TokOp Tok; member
895 return StringRef(Tok.Data, Tok.Length); in getToken()
3443 Op->Tok.Data = Str.data(); in CreateToken()
3444 Op->Tok.Length = Str.size(); in CreateToken()
3880 const AsmToken &Tok = getParser().getTok(); in ParseRegister() local
3881 StartLoc = Tok.getLoc(); in ParseRegister()
3882 EndLoc = Tok.getEndLoc(); in ParseRegister()
3893 const AsmToken &Tok = Parser.getTok(); in tryParseRegister() local
3894 if (Tok.isNot(AsmToken::Identifier)) return -1; in tryParseRegister()
3896 std::string lowerCase = Tok.getString().lower(); in tryParseRegister()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/AsmParser/
DMSP430AsmParser.cpp108 StringRef Tok; member
115 MSP430Operand(StringRef Tok, SMLoc const &S) in MSP430Operand() argument
116 : Base(), Kind(k_Tok), Tok(Tok), Start(S), End(S) {} in MSP430Operand()
180 return Tok; in getToken()
229 O << "Token " << Tok; in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DWasmAsmParser.cpp70 bool error(const StringRef &Msg, const AsmToken &Tok) { in error() argument
71 return Parser->Error(Tok.getLoc(), Msg + Tok.getString()); in error()
DDarwinAsmParser.cpp1007 static bool isSDKVersionToken(const AsmToken &Tok) { in isSDKVersionToken() argument
1008 return Tok.is(AsmToken::Identifier) && Tok.getIdentifier() == "sdk_version"; in isSDKVersionToken()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/AsmParser/
DRISCVAsmParser.cpp244 StringRef Tok; member
266 Tok = o.Tok; in RISCVOperand()
637 return Tok; in getToken()
661 Op->Tok = Str; in createToken()
1013 const AsmToken &Tok = getParser().getTok(); in ParseRegister() local
1014 StartLoc = Tok.getLoc(); in ParseRegister()
1015 EndLoc = Tok.getEndLoc(); in ParseRegister()
1220 AsmToken Tok = getLexer().getTok(); in parseBareSymbol() local
1235 getLexer().UnLex(Tok); // Put back if it's not a bare symbol. in parseBareSymbol()
1543 AsmToken Tok = Parser.getTok(); in parseDirectiveOption() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp108 AVROperand(StringRef Tok, SMLoc const &S) in AVROperand() argument
109 : Base(), Kind(k_Token), Tok(Tok), Start(S), End(S) {} in AVROperand()
122 StringRef Tok; member
187 return Tok; in getToken()
222 Tok = Token; in makeToken()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DYAMLParser.cpp180 TokenQueueT::iterator Tok; member
187 return Tok == Other.Tok; in operator ==()
409 void saveSimpleKeyCandidate( TokenQueueT::iterator Tok
802 SK.Tok = TokenQueue.begin(); in peekNext()
977 void Scanner::saveSimpleKeyCandidate( TokenQueueT::iterator Tok in saveSimpleKeyCandidate() argument
982 SK.Tok = Tok; in saveSimpleKeyCandidate()
997 , i->Tok->Range.begin()); in removeStaleSimpleKeyCandidates()
1229 T.Range = SK.Tok->Range; in scanValue()
1232 if (i == SK.Tok) in scanValue()
1878 void Node::setError(const Twine &Msg, Token &Tok) const { in setError()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp136 struct Token Tok; member
166 return StringRef(Tok.Data, Tok.Length); in getToken()
585 Op->Tok.Data = Str.data(); in CreateToken()
586 Op->Tok.Length = Str.size(); in CreateToken()
710 const AsmToken &Tok = getParser().getTok(); in ParseRegister() local
711 StartLoc = Tok.getLoc(); in ParseRegister()
712 EndLoc = Tok.getEndLoc(); in ParseRegister()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp202 struct TokOp Tok; member
217 Tok = o.Tok; in PPCOperand()
575 return StringRef(Tok.Data, Tok.Length); in getToken()
583 Op->Tok.Data = Str.data(); in CreateToken()
584 Op->Tok.Length = Str.size(); in CreateToken()
600 Op->Tok.Data = reinterpret_cast<const char *>(Op.get() + 1); in CreateTokenWithStringCopy()
601 Op->Tok.Length = Str.size(); in CreateTokenWithStringCopy()
602 std::memcpy(const_cast<char *>(Op->Tok.Data), Str.data(), Str.size()); in CreateTokenWithStringCopy()
1213 const AsmToken &Tok = getParser().getTok(); in ParseRegister() local
1214 StartLoc = Tok.getLoc(); in ParseRegister()
[all …]
/third_party/libphonenumber/resources/carrier/en/
D678.txt17 6788|Wan Tok
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGLexer.cpp368 tgtok::TokKind Tok = LexToken(); in LexInclude() local
369 if (Tok == tgtok::Error) return true; in LexInclude()
370 if (Tok != tgtok::StrVal) { in LexInclude()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp217 struct TokTy Tok; member
239 Tok = o.Tok; in HexagonOperand()
413 return StringRef(Tok.Data, Tok.Length); in getToken()
421 Op->Tok.Data = Str.data(); in CreateToken()
422 Op->Tok.Length = Str.size(); in CreateToken()
1255 StringRef myStringRef = StringRef(Op->Tok.Data, Op->Tok.Length); in validateTargetOperandClass()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp209 TokOp Tok; member
681 return StringRef(Tok.Data, Tok.Length); in getToken()
913 Res->Tok.Data = Str.data(); in CreateToken()
914 Res->Tok.Length = Str.size(); in CreateToken()
2318 const auto &Tok = Parser.getTok(); in parseRegister() local
2319 SMLoc StartLoc = Tok.getLoc(); in parseRegister()
2320 SMLoc EndLoc = Tok.getEndLoc(); in parseRegister()
2344 const auto& Tok = getToken(); in parseImm() local
2346 bool IsReal = Tok.is(AsmToken::Real); in parseImm()
2350 if (!IsReal && Tok.is(AsmToken::Minus) && NextTok.is(AsmToken::Real)) { in parseImm()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp844 struct Token Tok; /// The input token this operand originated from. member
862 struct Token Tok; member
881 Op->RegIdx.Tok.Data = Str.data(); in CreateReg()
882 Op->RegIdx.Tok.Length = Str.size(); in CreateReg()
1430 return StringRef(Tok.Data, Tok.Length); in getToken()
1478 Op->Tok.Data = Str.data(); in CreateToken()
1479 Op->Tok.Length = Str.size(); in CreateToken()
1699 << StringRef(RegIdx.Tok.Data, RegIdx.Tok.Length) << ">"; in print()
1722 StringRef Token(RegIdx.Tok.Data, RegIdx.Tok.Length); in isValidForTie()
1723 StringRef OtherToken(Other.RegIdx.Tok.Data, Other.RegIdx.Tok.Length); in isValidForTie()
[all …]
/third_party/skia/third_party/externals/icu/source/data/locales/
Dto.txt469 "Tok",
487 "Tok",
507 "Tok",
525 "Tok",
/third_party/icu/icu4c/source/data/locales/
Dto.txt492 "Tok",
510 "Tok",
530 "Tok",
548 "Tok",

123