Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs53 "RewriteRuleTokenStream test2", CreateToken(1, in CheckRewriteRuleTokenStreamConstructors()
68 "RewriteRuleSubtreeStream test2", CreateToken(1, in CheckRewriteRuleSubtreeStreamConstructors()
82 "RewriteRuleNodeStream test2", CreateToken(1, in CheckRewriteRuleNodeStreamConstructors()
194 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRTokenStreamBehaviourWithElements()
232 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRTokenStreamBehaviourWithElements()
259 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRSubtreeStreamBehaviourWithElements()
287 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRSubtreeStreamBehaviourWithElements()
313 IToken token1 = CreateToken(1, "test token without any real context"); in CheckRRNodeStreamBehaviourWithElements()
342 IToken token2 = CreateToken(2, "test token without any real context"); in CheckRRNodeStreamBehaviourWithElements()
377 private IToken CreateToken(int type, string text) { in CreateToken() method in Antlr.Runtime.Tests.RewriteRuleXxxxStreamFixture
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTreeAdaptor.cs199 fromToken = CreateToken(fromToken); in Create()
210 fromToken = CreateToken(fromToken); in Create()
218 IToken fromToken = CreateToken(tokenType, text); in Create()
283 public abstract IToken CreateToken(int tokenType, string text); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
303 public abstract IToken CreateToken(IToken fromToken); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
DCommonTreeAdaptor.cs83 public override IToken CreateToken(int tokenType, string text) { in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
105 public override IToken CreateToken(IToken fromToken) { in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTreeAdaptor.cs244 fromToken = CreateToken( fromToken ); in Create()
255 fromToken = CreateToken( fromToken ); in Create()
267 fromToken = CreateToken(fromToken); in Create()
275 IToken fromToken = CreateToken( tokenType, text ); in Create()
371 public abstract IToken CreateToken( int tokenType, string text ); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
391 public abstract IToken CreateToken( IToken fromToken ); in CreateToken() method in Antlr.Runtime.Tree.BaseTreeAdaptor
DCommonTreeAdaptor.cs69 public override IToken CreateToken( int tokenType, string text ) in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
92 public override IToken CreateToken( IToken fromToken ) in CreateToken() method in Antlr.Runtime.Tree.CommonTreeAdaptor
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp341 static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in __anonf1be40530111::SparcOperand
619 Operands.push_back(SparcOperand::CreateToken(Name, NameLoc)); in ParseInstruction()
642 Operands.push_back(SparcOperand::CreateToken("+", Parser.getTok().getLoc())); in ParseInstruction()
771 Operands.push_back(SparcOperand::CreateToken("[", in parseOperand()
799 Operands.push_back(SparcOperand::CreateToken("]", in parseOperand()
851 Op = SparcOperand::CreateToken("%psr", S); in parseSparcAsmOperand()
854 Op = SparcOperand::CreateToken("%fsr", S); in parseSparcAsmOperand()
857 Op = SparcOperand::CreateToken("%fq", S); in parseSparcAsmOperand()
860 Op = SparcOperand::CreateToken("%csr", S); in parseSparcAsmOperand()
863 Op = SparcOperand::CreateToken("%cq", S); in parseSparcAsmOperand()
[all …]
/external/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp567 static std::unique_ptr<LanaiOperand> CreateToken(StringRef Str, SMLoc Start) { in CreateToken() function
1034 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic()
1038 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic()
1063 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic()
1070 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic()
1072 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic()
1155 Operands.insert(Operands.begin(), LanaiOperand::CreateToken("s", NameLoc)); in ParseInstruction()
1168 Operands.insert(Operands.begin(), LanaiOperand::CreateToken("bt", NameLoc)); in ParseInstruction()
/external/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp575 static std::unique_ptr<HexagonOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function
1098 Operands.push_back(HexagonOperand::CreateToken(HeadTail.first, Loc)); in splitIdentifier()
1100 Operands.push_back(HexagonOperand::CreateToken( in splitIdentifier()
1126 Operands.push_back(HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1132 Operands.push_back(HexagonOperand::CreateToken(RParen, Begin)); in parseOperand()
1142 HexagonOperand::CreateToken(LParen, Begin)); in parseOperand()
1148 Operands.push_back(HexagonOperand::CreateToken(RParen, Begin)); in parseOperand()
1342 HexagonOperand::CreateToken(Token.getString(), Token.getLoc())); in parseInstruction()
1349 HexagonOperand::CreateToken(Token.getString(), Token.getLoc())); in parseInstruction()
1364 Operands.push_back(HexagonOperand::CreateToken( in parseInstruction()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp221 static MBlazeOperand *CreateToken(StringRef Str, SMLoc S) { in CreateToken() function
489 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(0,dotLoc),NameLoc)); in ParseInstruction()
491 Operands.push_back(MBlazeOperand::CreateToken(Name.substr(dotLoc),NameLoc)); in ParseInstruction()
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1615 CreateToken(StringRef Str, bool IsSuffix, SMLoc S, MCContext &Ctx) { in CreateToken() function in __anon15a73d730211::AArch64Operand
2458 AArch64Operand::CreateToken("sys", false, NameLoc, getContext())); in parseSysAlias()
2819 AArch64Operand::CreateToken(Kind, false, S, getContext())); in tryParseVectorRegister()
2880 AArch64Operand::CreateToken("[", false, LBracS, getContext())); in parseRegister()
2882 AArch64Operand::CreateToken("1", false, IntS, getContext())); in parseRegister()
2884 AArch64Operand::CreateToken("]", false, RBracS, getContext())); in parseRegister()
3146 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc, in parseOperand()
3216 AArch64Operand::CreateToken("#0", false, S, getContext())); in parseOperand()
3218 AArch64Operand::CreateToken(".0", false, S, getContext())); in parseOperand()
3258 Operands[0] = AArch64Operand::CreateToken("movz", false, Loc, Ctx); in parseOperand()
[all …]
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas91 function CreateToken(const TokenType: Integer; const Text: String): IToken; in CreateToken() function
1230 function TestIRewriteRuleXxxxStream.CreateToken(const TokenType: Integer; in CreateToken() function
1274 CreateToken(1,'test token without any real context'));
1289 CreateToken(1,'test token without any real context'));
1304 CreateToken(1, 'test token without any real context'));
1347 Token1 := CreateToken(1, 'test token without any real context');
1374 Token2 := CreateToken(2, 'test token without any real context');
1428 Token1 := CreateToken(1, 'test token without any real context');
1454 Token2 := CreateToken(2, 'test token without any real context');
1518 Token1 := CreateToken(1, 'test token without any real context');
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1597 return X86Operand::CreateToken("{sae}", consumedToken); in ParseRoundingModeOp()
1958 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
1965 Operands.push_back(X86Operand::CreateToken("{", consumedToken)); in HandleAVX512Operand()
1971 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
1975 Operands.push_back(X86Operand::CreateToken("{z}", consumeToken())); in HandleAVX512Operand()
2235 Operands.push_back(X86Operand::CreateToken(PatchedName.slice(0, CCIdx), in ParseInstruction()
2263 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction()
2290 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction()
2300 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
2318 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
[all …]
DX86Operand.h467 static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) { in CreateToken() function
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas653 function CreateToken(const TokenType: Integer; const Text: String): IToken; overload;
670 function CreateToken(const FromToken: IToken): IToken; overload; in CreateToken() function
1308 …function CreateToken(const TokenType: Integer; const Text: String): IToken; overload; virtual; abs… in CreateToken() function
1309 function CreateToken(const FromToken: IToken): IToken; overload; virtual; abstract; in CreateToken() function
1336 function CreateToken(const TokenType: Integer; const Text: String): IToken; overload; override; in CreateToken() function
1337 function CreateToken(const FromToken: IToken): IToken; overload; override; in CreateToken() function
2725 Token := CreateToken(FromToken);
2735 Token := CreateToken(TokenType, Text);
2744 Token := CreateToken(FromToken);
2887 function TCommonTreeAdaptor.CreateToken(const TokenType: Integer; in CreateToken() function
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/X86/AsmParser/
DX86AsmParser.cpp319 static X86Operand *CreateToken(StringRef Str, SMLoc Loc) { in CreateToken() function
725 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
748 Operands.push_back(X86Operand::CreateToken("*", Loc)); in ParseInstruction()
975 Operands[0] = X86Operand::CreateToken(Repl, IDLoc); in MatchAndEmitInstruction()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp1488 static ARMOperand *CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in __anon10a3738d0311::ARMOperand
1965 Operands.push_back(ARMOperand::CreateToken(ExclaimTok.getString(), in tryParseRegisterWithWriteBack()
3127 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
3177 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
3222 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
3266 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
3405 Operands.push_back(ARMOperand::CreateToken("apsr_nzcv", S)); in parseOperand()
3774 Operands.push_back(ARMOperand::CreateToken(Mnemonic, NameLoc)); in ParseInstruction()
3862 Operands.push_back(ARMOperand::CreateToken(ExtraToken, Loc)); in ParseInstruction()
3928 Operands.push_back(ARMOperand::CreateToken("#0", Op->getStartLoc())); in ParseInstruction()
[all …]
/external/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp500 static AMDGPUOperand::Ptr CreateToken(StringRef Str, SMLoc Loc, in CreateToken() function in __anon350cf59d0111::AMDGPUOperand
1471 Operands.push_back(AMDGPUOperand::CreateToken(Tok.getString(), Tok.getLoc())); in parseOperand()
1505 Operands.push_back(AMDGPUOperand::CreateToken(Name, NameLoc)); in ParseInstruction()
/external/llvm/lib/Target/PowerPC/AsmParser/
DPPCAsmParser.cpp707 static std::unique_ptr<PPCOperand> CreateToken(StringRef Str, SMLoc S, in CreateToken() function
1691 Operands.push_back(PPCOperand::CreateToken(Mnemonic, NameLoc, isPPC64())); in ParseInstruction()
1699 Operands.push_back(PPCOperand::CreateToken(DotStr, DotLoc, isPPC64())); in ParseInstruction()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp2630 static std::unique_ptr<ARMOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in __anon58d02de10311::ARMOperand
3205 Operands.push_back(ARMOperand::CreateToken(ExclaimTok.getString(), in tryParseRegisterWithWriteBack()
3571 Operands.push_back(ARMOperand::CreateToken("^",Parser.getTok().getLoc())); in parseRegisterList()
4863 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4920 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
4969 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
5013 Operands.push_back(ARMOperand::CreateToken("!",Parser.getTok().getLoc())); in parseMemory()
5205 Operands.push_back(ARMOperand::CreateToken("APSR_nzcv", S)); in parseOperand()
5255 Operands.push_back(ARMOperand::CreateToken(Parser.getTok().getString(), in parseOperand()
5849 Operands.push_back(ARMOperand::CreateToken(Mnemonic, NameLoc)); in ParseInstruction()
[all …]
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp1218 static std::unique_ptr<MipsOperand> CreateToken(StringRef Str, SMLoc S, in CreateToken() function in __anon62f483b30311::MipsOperand
4792 MipsOperand::CreateToken("(", getLexer().getLoc(), *this)); in parseParenSuffix()
4805 MipsOperand::CreateToken(")", getLexer().getLoc(), *this)); in parseParenSuffix()
4822 MipsOperand::CreateToken("[", getLexer().getLoc(), *this)); in parseBracketSuffix()
4835 MipsOperand::CreateToken("]", getLexer().getLoc(), *this)); in parseBracketSuffix()
4855 Operands.push_back(MipsOperand::CreateToken(Name, NameLoc, *this)); in ParseInstruction()