/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestCommonTokenStream.java | 56 String result = tokens.LT(1).getText(); in testFirstToken() 77 String result = tokens.LT(2).getText(); in test2ndToken() 99 Token t = tokens.LT(i); in testCompleteBuffer() 102 t = tokens.LT(i); in testCompleteBuffer() 104 tokens.LT(i++); // push it past end in testCompleteBuffer() 105 tokens.LT(i++); in testCompleteBuffer() 128 Token t = tokens.LT(1); in testCompleteBufferAfterConsuming() 131 t = tokens.LT(1); in testCompleteBufferAfterConsuming() 134 tokens.LT(1); // push it past end in testCompleteBufferAfterConsuming() 136 tokens.LT(1); in testCompleteBufferAfterConsuming() [all …]
|
D | TestTreeNodeStream.java | 156 assertEquals(101, ((Tree)stream.LT(1)).getType()); in testLT() 157 assertEquals(Token.DOWN, ((Tree)stream.LT(2)).getType()); in testLT() 158 assertEquals(102, ((Tree)stream.LT(3)).getType()); in testLT() 159 assertEquals(Token.DOWN, ((Tree)stream.LT(4)).getType()); in testLT() 160 assertEquals(103, ((Tree)stream.LT(5)).getType()); in testLT() 161 assertEquals(Token.UP, ((Tree)stream.LT(6)).getType()); in testLT() 162 assertEquals(104, ((Tree)stream.LT(7)).getType()); in testLT() 163 assertEquals(Token.UP, ((Tree)stream.LT(8)).getType()); in testLT() 164 assertEquals(Token.EOF, ((Tree)stream.LT(9)).getType()); in testLT() 166 assertEquals(Token.EOF, ((Tree)stream.LT(100)).getType()); in testLT() [all …]
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugLineTest.cpp | 74 LineTable < = Gen->addLineTable(DWARF32); in setupParser() local 75 LT.addExtendedOpcode(9, DW_LNE_set_address, {{0xadd4e55, LineTable::Quad}}); in setupParser() 76 LT.addStandardOpcode(DW_LNS_copy, {}); in setupParser() 77 LT.addByte(0xaa); in setupParser() 78 LT.addExtendedOpcode(1, DW_LNE_end_sequence, {}); in setupParser() 206 LineTable < = Gen->addLineTable(); in TEST_F() local 207 LT.setCustomPrologue({{0, LineTable::Byte}}); in TEST_F() 226 LineTable < = Gen->addLineTable(Format); in TEST_P() local 227 DWARFDebugLine::Prologue Prologue = LT.createBasicPrologue(); in TEST_P() 228 LT.setPrologue(Prologue); in TEST_P() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | ITreeNodeStreamFixture.cs | 179 Assert.AreEqual(101, ((ITree)stream.LT(1)).Type); in testLT() 180 Assert.AreEqual(Token.Down, ((ITree)stream.LT(2)).Type); in testLT() 181 Assert.AreEqual(102, ((ITree)stream.LT(3)).Type); in testLT() 182 Assert.AreEqual(Token.Down, ((ITree)stream.LT(4)).Type); in testLT() 183 Assert.AreEqual(103, ((ITree)stream.LT(5)).Type); in testLT() 184 Assert.AreEqual(Token.Up, ((ITree)stream.LT(6)).Type); in testLT() 185 Assert.AreEqual(104, ((ITree)stream.LT(7)).Type); in testLT() 186 Assert.AreEqual(Token.Up, ((ITree)stream.LT(8)).Type); in testLT() 187 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(9)).Type); in testLT() 189 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(100)).Type); in testLT() [all …]
|
/external/antlr/runtime/Python/unittests/ |
D | testtree.py | 163 self.failUnlessEqual(101, stream.LT(1).getType()) 164 self.failUnlessEqual(DOWN, stream.LT(2).getType()) 165 self.failUnlessEqual(102, stream.LT(3).getType()) 166 self.failUnlessEqual(DOWN, stream.LT(4).getType()) 167 self.failUnlessEqual(103, stream.LT(5).getType()) 168 self.failUnlessEqual(UP, stream.LT(6).getType()) 169 self.failUnlessEqual(104, stream.LT(7).getType()) 170 self.failUnlessEqual(UP, stream.LT(8).getType()) 171 self.failUnlessEqual(EOF, stream.LT(9).getType()) 173 self.failUnlessEqual(EOF, stream.LT(100).getType()) [all …]
|
/external/antlr/runtime/Python3/unittests/ |
D | testtree.py | 160 self.assertEqual(101, stream.LT(1).getType()) 161 self.assertEqual(DOWN, stream.LT(2).getType()) 162 self.assertEqual(102, stream.LT(3).getType()) 163 self.assertEqual(DOWN, stream.LT(4).getType()) 164 self.assertEqual(103, stream.LT(5).getType()) 165 self.assertEqual(UP, stream.LT(6).getType()) 166 self.assertEqual(104, stream.LT(7).getType()) 167 self.assertEqual(UP, stream.LT(8).getType()) 168 self.assertEqual(EOF, stream.LT(9).getType()) 170 self.assertEqual(EOF, stream.LT(100).getType()) [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 294 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local 301 return LT.first; in getShuffleCost() 356 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Src); in getMemoryOpCost() local 363 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() 368 (LT.second == MVT::v16i8 || LT.second == MVT::v8i16 || in getMemoryOpCost() 369 LT.second == MVT::v4i32 || LT.second == MVT::v4f32); in getMemoryOpCost() 371 (LT.second == MVT::v2f64 || LT.second == MVT::v2i64); in getMemoryOpCost() 373 (LT.second == MVT::v4f64 || LT.second == MVT::v4f32); in getMemoryOpCost() 384 Alignment >= LT.second.getScalarType().getStoreSize()) in getMemoryOpCost() 385 return Cost + LT.first; // Add the cost of the permutations. in getMemoryOpCost() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | ASTImporterLookupTable.cpp | 23 ASTImporterLookupTable < member 24 Builder(ASTImporterLookupTable <) : LT(LT) {} in Builder() 30 LT.add(RTy->getAsRecordDecl()); in VisitTypedefNameDecl() 33 LT.add(it); in VisitTypedefNameDecl() 40 LT.add(D); in VisitNamedDecl() 59 LT.add(RTy->getAsCXXRecordDecl()); in VisitFriendDecl() 61 LT.add(SpecTy->getAsCXXRecordDecl()); in VisitFriendDecl() 65 LT.add(SubstTy->getAsCXXRecordDecl()); in VisitFriendDecl()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | DebugTokenStream.cs | 48 input.LT(1); in DebugTokenStream() 81 IToken t = input.LT(1); in Consume() 102 public virtual IToken LT(int i) { in LT() method in Antlr.Runtime.Debug.DebugTokenStream 106 dbg.LT(i, input.LT(i)); in LT() 107 return input.LT(i); in LT() 114 dbg.LT(i, input.LT(i)); in LA()
|
D | DebugTreeNodeStream.cs | 109 object node = input.LT(1); in Consume() 120 public virtual object LT(int i) { in LT() method in Antlr.Runtime.Debug.DebugTreeNodeStream 121 object node = input.LT(i); in LT() 125 dbg.LT(i, node); in LT() 130 object node = input.LT(i); in LA() 134 dbg.LT(i, node); in LA()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | DebugTokenStream.cs | 51 input.LT( 1 ); in DebugTokenStream() 93 IToken t = input.LT( 1 ); in Consume() 118 public virtual IToken LT( int i ) in LT() method in Antlr.Runtime.Debug.DebugTokenStream 124 dbg.LT( i, input.LT( i ) ); in LT() 125 return input.LT( i ); in LT() 134 dbg.LT( i, input.LT( i ) ); in LA()
|
D | DebugTreeNodeStream.cs | 127 object node = input.LT( 1 ); in Consume() 140 public virtual object LT( int i ) in LT() method in Antlr.Runtime.Debug.DebugTreeNodeStream 142 object node = input.LT( i ); in LT() 146 dbg.LT( i, node ); in LT() 152 object node = input.LT( i ); in LA() 156 dbg.LT( i, node ); in LA()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 122 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 127 unsigned NElts = LT.second.isVector() ? in getArithmeticInstrCost() 128 LT.second.getVectorNumElements() : 1; in getArithmeticInstrCost() 130 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getArithmeticInstrCost() 137 return get64BitInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 140 return getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 149 return 2 * getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 152 return LT.first * NElts * getFullRateInstrCost(); in getArithmeticInstrCost() 158 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts; in getArithmeticInstrCost() 162 return QuarterRateCost * NElts * LT.first; in getArithmeticInstrCost() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 180 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 194 LT.second)) in getArithmeticInstrCost() 195 return LT.first * Entry->Cost; in getArithmeticInstrCost() 222 if (Args.size() == 2 && ISD == ISD::MUL && LT.second == MVT::v4i32) { in getArithmeticInstrCost() 233 return LT.first * 3; // pmullw/sext in getArithmeticInstrCost() 235 return LT.first * 3; // pmullw/zext in getArithmeticInstrCost() 237 return LT.first * 5; // pmullw/pmulhw/pshuf in getArithmeticInstrCost() 239 return LT.first * 5; // pmullw/pmulhw/pshuf in getArithmeticInstrCost() 243 LT.second)) { in getArithmeticInstrCost() 244 return LT.first * Entry->Cost; in getArithmeticInstrCost() [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugTokenStream.java | 45 input.LT(1); in DebugTokenStream() 58 Token t = input.LT(1); in consume() 80 public Token LT(int i) { in LT() method in DebugTokenStream 84 dbg.LT(i, input.LT(i)); in LT() 85 return input.LT(i); in LT() 93 dbg.LT(i, input.LT(i)); in LA()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Chrono.cpp | 30 struct tm *LT = ::localtime_r(&OurTime, &Storage); in getStructTM() local 31 assert(LT); in getStructTM() 32 (void)LT; in getStructTM() 44 struct tm LT = getStructTM(TP); in operator <<() local 46 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", <); in operator <<() 58 struct tm LT = getStructTM(Truncated); in format() local 89 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), <); in format()
|
/external/llvm-project/llvm/lib/Support/ |
D | Chrono.cpp | 30 struct tm *LT = ::localtime_r(&OurTime, &Storage); in getStructTM() local 31 assert(LT); in getStructTM() 32 (void)LT; in getStructTM() 44 struct tm LT = getStructTM(TP); in operator <<() local 46 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", <); in operator <<() 58 struct tm LT = getStructTM(Truncated); in format() local 89 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), <); in format()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 93 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 130 LT.second)) in getArithmeticInstrCost() 131 return LT.first * Entry->Cost; in getArithmeticInstrCost() 144 if (const auto *Entry = CostTableLookup(AVX512CostTable, ISD, LT.second)) in getArithmeticInstrCost() 145 return LT.first * Entry->Cost; in getArithmeticInstrCost() 165 if (ISD == ISD::SHL && LT.second == MVT::v16i16 && in getArithmeticInstrCost() 170 return LT.first; in getArithmeticInstrCost() 172 if (const auto *Entry = CostTableLookup(AVX2CostTable, ISD, LT.second)) in getArithmeticInstrCost() 173 return LT.first * Entry->Cost; in getArithmeticInstrCost() 207 if (const auto *Entry = CostTableLookup(XOPCostTable, ISD, LT.second)) in getArithmeticInstrCost() [all …]
|
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/ |
D | SimpleCParser.java | 15 public static final int LT=18; field in SimpleCParser 74 retval.start = input.LT(1); in program() 126 retval.stop = input.LT(-1); in program() 135 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in program() 153 retval.start = input.LT(1); in declaration() 280 retval.stop = input.LT(-1); in declaration() 289 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in declaration() 307 retval.start = input.LT(1); in variable() 371 retval.stop = input.LT(-1); in variable() 380 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in variable() [all …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 186 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 200 LT.second)) in getArithmeticInstrCost() 201 return LT.first * Entry->Cost; in getArithmeticInstrCost() 228 if (Args.size() == 2 && ISD == ISD::MUL && LT.second == MVT::v4i32) { in getArithmeticInstrCost() 239 return LT.first * 3; // pmullw/sext in getArithmeticInstrCost() 241 return LT.first * 3; // pmullw/zext in getArithmeticInstrCost() 243 return LT.first * 5; // pmullw/pmulhw/pshuf in getArithmeticInstrCost() 245 return LT.first * 5; // pmullw/pmulhw/pshuf in getArithmeticInstrCost() 249 LT.second)) { in getArithmeticInstrCost() 250 return LT.first * Entry->Cost; in getArithmeticInstrCost() [all …]
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | Parser.cs | 70 return ( (ITokenStream)input ).LT( 1 ); in GetCurrentInputSymbol() 84 IToken current = ( (ITokenStream)input ).LT( 1 ); in GetMissingSymbol() 87 current = ( (ITokenStream)input ).LT( -1 ); in GetMissingSymbol() 122 base.TraceIn( ruleName, ruleIndex, input.LT( 1 ) ); in TraceIn() 128 base.TraceOut( ruleName, ruleIndex, input.LT( 1 ) ); in TraceOut()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | Parser.cs | 64 return ((ITokenStream)input).LT(1); in GetCurrentInputSymbol() 77 IToken current = ((ITokenStream)input).LT(1); in GetMissingSymbol() 79 current = ((ITokenStream)input).LT(-1); in GetMissingSymbol() 107 base.TraceIn(ruleName, ruleIndex, input.LT(1)); in TraceIn() 112 base.TraceOut(ruleName, ruleIndex, input.LT(1)); in TraceOut()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 355 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 360 unsigned NElts = LT.second.isVector() ? in getArithmeticInstrCost() 361 LT.second.getVectorNumElements() : 1; in getArithmeticInstrCost() 363 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getArithmeticInstrCost() 370 return get64BitInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 376 return getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 384 return 2 * getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 390 return LT.first * NElts * getFullRateInstrCost(); in getArithmeticInstrCost() 395 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts; in getArithmeticInstrCost() 402 return QuarterRateCost * NElts * LT.first; in getArithmeticInstrCost() [all …]
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 485 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 492 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) { in getArithmeticInstrCost() 495 return LT.first * OpCost; in getArithmeticInstrCost() 498 if (!TLI->isOperationExpand(ISD, LT.second)) { in getArithmeticInstrCost() 501 return LT.first * 2 * OpCost; in getArithmeticInstrCost() 522 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 527 unsigned NElts = LT.second.isVector() ? in getArithmeticInstrCost() 528 LT.second.getVectorNumElements() : 1; in getArithmeticInstrCost() 530 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getArithmeticInstrCost() 537 return get64BitInstrCost(CostKind) * LT.first * NElts; in getArithmeticInstrCost() [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
D | Parser.java | 56 return ((TokenStream)input).LT(1); in getCurrentInputSymbol() 69 Token current = ((TokenStream)input).LT(1); in getMissingSymbol() 71 current = ((TokenStream)input).LT(-1); in getMissingSymbol() 97 super.traceIn(ruleName, ruleIndex, input.LT(1)); in traceIn() 101 super.traceOut(ruleName, ruleIndex, input.LT(1)); in traceOut()
|