Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/compiler/xla/tests/
Dtoken_hlo_test.cc34 builder.AddInstruction(HloInstruction::CreateToken()); in XLA_TEST_F()
39 EXPECT_TRUE(LiteralTestUtil::Equal(result, LiteralUtil::CreateToken())); in XLA_TEST_F()
45 auto token = builder.AddInstruction(HloInstruction::CreateToken()); in XLA_TEST_F()
51 Literal token_literal = LiteralUtil::CreateToken(); in XLA_TEST_F()
59 auto token0 = builder.AddInstruction(HloInstruction::CreateToken()); in XLA_TEST_F()
60 auto token1 = builder.AddInstruction(HloInstruction::CreateToken()); in XLA_TEST_F()
61 auto token2 = builder.AddInstruction(HloInstruction::CreateToken()); in XLA_TEST_F()
68 EXPECT_TRUE(LiteralTestUtil::Equal(result, LiteralUtil::CreateToken())); in XLA_TEST_F()
/external/antlr/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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp369 static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in __anonf38cb3b50211::SparcOperand
648 Operands.push_back(SparcOperand::CreateToken(Name, NameLoc)); in ParseInstruction()
669 Operands.push_back(SparcOperand::CreateToken("+", Parser.getTok().getLoc())); in ParseInstruction()
758 Operands.push_back(SparcOperand::CreateToken("[", in parseOperand()
786 Operands.push_back(SparcOperand::CreateToken("]", in parseOperand()
837 Op = SparcOperand::CreateToken("%psr", S); in parseSparcAsmOperand()
840 Op = SparcOperand::CreateToken("%fsr", S); in parseSparcAsmOperand()
843 Op = SparcOperand::CreateToken("%fq", S); in parseSparcAsmOperand()
846 Op = SparcOperand::CreateToken("%csr", S); in parseSparcAsmOperand()
849 Op = SparcOperand::CreateToken("%cq", S); in parseSparcAsmOperand()
[all …]
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp341 static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in __anonb718c15d0111::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/tensorflow/tensorflow/compiler/xla/service/
Dconditional_simplifier_test.cc125 auto* token = true_computation->AddInstruction(HloInstruction::CreateToken()); in TEST_F()
141 auto* token = true_computation->AddInstruction(HloInstruction::CreateToken()); in TEST_F()
154 auto token = false_computation->AddInstruction(HloInstruction::CreateToken()); in TEST_F()
Dinstruction_fusion_test.cc170 auto token = builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
359 auto token = builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
383 auto token = builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
Dhlo_dce_test.cc76 auto token = builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
237 auto token = body_builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
282 nested_callee_builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
Dwhile_loop_simplifier_test.cc188 auto* token = while_body->AddInstruction(HloInstruction::CreateToken()); in TEST_F()
204 auto* token = while_body->AddInstruction(HloInstruction::CreateToken()); in TEST_F()
222 auto token = while_body->AddInstruction(HloInstruction::CreateToken()); in TEST_F()
Dzero_sized_hlo_elimination_test.cc71 auto token = builder_.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
Dhlo_reachability_test.cc192 auto token0 = builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
196 auto token1 = builder.AddInstruction(HloInstruction::CreateToken()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/
DLanaiAsmParser.cpp582 static std::unique_ptr<LanaiOperand> CreateToken(StringRef Str, SMLoc Start) { in CreateToken() function
1056 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic()
1060 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic()
1085 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic()
1092 Operands->push_back(LanaiOperand::CreateToken(Mnemonic, NameLoc)); in splitMnemonic()
1094 Operands->push_back(LanaiOperand::CreateToken(".r", NameLoc)); in splitMnemonic()
1177 Operands.insert(Operands.begin(), LanaiOperand::CreateToken("s", NameLoc)); in ParseInstruction()
1190 Operands.insert(Operands.begin(), LanaiOperand::CreateToken("bt", NameLoc)); in ParseInstruction()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1781 CreateToken(StringRef Str, bool IsSuffix, SMLoc S, MCContext &Ctx) { in CreateToken() function in __anon766491d50111::AArch64Operand
2509 AArch64Operand::CreateToken("#0", false, S, getContext())); in tryParseFPImm()
2511 AArch64Operand::CreateToken(".0", false, S, getContext())); in tryParseFPImm()
2768 AArch64Operand::CreateToken("sys", false, NameLoc, getContext())); in parseSysAlias()
2954 AArch64Operand::CreateToken(Kind, false, S, getContext())); in tryParseNeonVectorRegister()
3054 AArch64Operand::CreateToken("/" , false, getLoc(), getContext())); in tryParseSVEPredicateVector()
3068 AArch64Operand::CreateToken(ZM, false, getLoc(), getContext())); in tryParseSVEPredicateVector()
3369 AArch64Operand::CreateToken("mul", false, getLoc(), getContext())); in parseOptionalMulOperand()
3374 AArch64Operand::CreateToken("vl", false, getLoc(), getContext())); in parseOptionalMulOperand()
3431 Operands.push_back(AArch64Operand::CreateToken("[", false, Loc, in parseOperand()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/AsmParser/
DHexagonAsmParser.cpp421 static std::unique_ptr<HexagonOperand> CreateToken(MCContext &Context, in CreateToken() function
856 HexagonOperand::CreateToken(getContext(), HeadTail.first, Loc)); in splitIdentifier()
858 Operands.push_back(HexagonOperand::CreateToken( in splitIdentifier()
885 HexagonOperand::CreateToken(getContext(), LParen, Begin)); in parseOperand()
893 HexagonOperand::CreateToken(getContext(), RParen, Begin)); in parseOperand()
902 Operands.insert(Operands.end() - 1, HexagonOperand::CreateToken( in parseOperand()
911 HexagonOperand::CreateToken(getContext(), RParen, Begin)); in parseOperand()
1109 Operands.push_back(HexagonOperand::CreateToken( in parseInstruction()
1116 Operands.push_back(HexagonOperand::CreateToken( in parseInstruction()
1132 Operands.push_back(HexagonOperand::CreateToken( in parseInstruction()
[all …]
/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/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp1615 CreateToken(StringRef Str, bool IsSuffix, SMLoc S, MCContext &Ctx) { in CreateToken() function in __anon170f337d0211::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/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/antlr/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp1680 return X86Operand::CreateToken("{sae}", consumedToken); in ParseRoundingModeOp()
2001 Z = X86Operand::CreateToken("{z}", StartLoc); in ParseZ()
2035 Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive, in HandleAVX512Operand()
2062 Operands.push_back(X86Operand::CreateToken("{", StartLoc)); in HandleAVX512Operand()
2065 Operands.push_back(X86Operand::CreateToken("}", consumeToken())); in HandleAVX512Operand()
2368 Operands.push_back(X86Operand::CreateToken(PatchedName.slice(0, CCIdx), in ParseInstruction()
2396 Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc)); in ParseInstruction()
2423 Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc)); in ParseInstruction()
2500 Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc)); in ParseInstruction()
2509 Operands.push_back(X86Operand::CreateToken("*", consumeToken())); in ParseInstruction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/AsmParser/
DAVRAsmParser.cpp184 static std::unique_ptr<AVROperand> CreateToken(StringRef Str, SMLoc S) { in CreateToken() function in llvm::AVROperand
517 Operands.push_back(AVROperand::CreateToken(Parser.getTok().getString(), in parseOperand()
580 Operands.push_back(AVROperand::CreateToken(Mnemonic, NameLoc)); in ParseInstruction()

123