/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/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/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugLineTest.cpp | 70 LineTable < = Gen->addLineTable(DWARF32); in setupParser() local 71 LT.addExtendedOpcode(9, DW_LNE_set_address, {{0xadd4e55, LineTable::Quad}}); in setupParser() 72 LT.addStandardOpcode(DW_LNS_copy, {}); in setupParser() 73 LT.addByte(0xaa); in setupParser() 74 LT.addExtendedOpcode(1, DW_LNE_end_sequence, {}); in setupParser() 214 LineTable < = Gen->addLineTable(); in TEST_F() local 215 LT.setCustomPrologue({{0, LineTable::Byte}}); in TEST_F() 230 LineTable < = Gen->addLineTable(Format); in TEST_P() local 231 LT.addExtendedOpcode(9, DW_LNE_set_address, {{0xadd4e55, LineTable::Quad}}); in TEST_P() 232 LT.addStandardOpcode(DW_LNS_copy, {}); in TEST_P() [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 …]
|
D | teststreams.py | 91 self.failUnlessEqual(stream.LT(1), 'f') 99 self.failUnlessEqual(stream.LT(1), 'f') 100 self.failUnlessEqual(stream.LT(2), 'o') 101 self.failUnlessEqual(stream.LT(3), 'o') 106 self.failUnlessEqual(stream.LT(1), 'o') 107 self.failUnlessEqual(stream.LT(2), antlr3.EOF) 108 self.failUnlessEqual(stream.LT(3), antlr3.EOF) 132 self.failUnlessEqual(stream.LT(1), 'b') 220 self.failUnlessEqual(stream.LT(1), 'b') 242 self.failUnlessEqual(stream.LT(1), 'a') [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 …]
|
D | teststreams.py | 90 self.assertEqual(stream.LT(1), 'f') 98 self.assertEqual(stream.LT(1), 'f') 99 self.assertEqual(stream.LT(2), 'o') 100 self.assertEqual(stream.LT(3), 'o') 105 self.assertEqual(stream.LT(1), 'o') 106 self.assertEqual(stream.LT(2), antlr3.EOF) 107 self.assertEqual(stream.LT(3), antlr3.EOF) 131 self.assertEqual(stream.LT(1), 'b') 219 self.assertEqual(stream.LT(1), 'b') 241 self.assertEqual(stream.LT(1), 'a') [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetTransformInfo.cpp | 201 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, U->getType()); in getUserCost() local 202 return LT.first * BaseT::getUserCost(U, Operands); in getUserCost() 341 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Tp); in getShuffleCost() local 348 return LT.first; in getShuffleCost() 405 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Src); in getMemoryOpCost() local 412 (LT.second == MVT::v16i8 || LT.second == MVT::v8i16 || in getMemoryOpCost() 413 LT.second == MVT::v4i32 || LT.second == MVT::v4f32); in getMemoryOpCost() 415 (LT.second == MVT::v2f64 || LT.second == MVT::v2i64); in getMemoryOpCost() 417 (LT.second == MVT::v4f64 || LT.second == MVT::v4f32); in getMemoryOpCost() 429 unsigned SrcBytes = LT.second.getStoreSize(); in getMemoryOpCost() [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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86TargetTransformInfo.cpp | 179 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 193 LT.second)) in getArithmeticInstrCost() 194 return LT.first * Entry->Cost; in getArithmeticInstrCost() 221 if (Args.size() == 2 && ISD == ISD::MUL && LT.second == MVT::v4i32) { in getArithmeticInstrCost() 232 return LT.first * 3; // pmullw/sext in getArithmeticInstrCost() 234 return LT.first * 3; // pmullw/zext in getArithmeticInstrCost() 236 return LT.first * 5; // pmullw/pmulhw/pshuf in getArithmeticInstrCost() 238 return LT.first * 5; // pmullw/pmulhw/pshuf in getArithmeticInstrCost() 242 LT.second)) { in getArithmeticInstrCost() 243 return LT.first * Entry->Cost; in getArithmeticInstrCost() [all …]
|
/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/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/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/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/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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | Chrono.cpp | 31 struct tm *LT = ::localtime_r(&OurTime, &Storage); in getStructTM() local 32 assert(LT); in getStructTM() 33 (void)LT; in getStructTM() 45 struct tm LT = getStructTM(TP); in operator <<() local 47 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", <); in operator <<() 59 struct tm LT = getStructTM(Truncated); in format() local 90 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), <); in format()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetTransformInfo.cpp | 348 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); in getArithmeticInstrCost() local 353 unsigned NElts = LT.second.isVector() ? in getArithmeticInstrCost() 354 LT.second.getVectorNumElements() : 1; in getArithmeticInstrCost() 356 MVT::SimpleValueType SLT = LT.second.getScalarType().SimpleTy; in getArithmeticInstrCost() 363 return get64BitInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 366 return getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 374 return 2 * getFullRateInstrCost() * LT.first * NElts; in getArithmeticInstrCost() 377 return LT.first * NElts * getFullRateInstrCost(); in getArithmeticInstrCost() 382 return (4 * QuarterRateCost + (2 * 2) * FullRateCost) * LT.first * NElts; in getArithmeticInstrCost() 386 return QuarterRateCost * NElts * LT.first; in getArithmeticInstrCost() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/WebAssembly/ |
D | conv-trap.ll | 15 ; CHECK-NEXT: f32.lt $push[[LT:[0-9]+]]=, $pop[[ABS]], $pop[[LIMIT]]{{$}} 16 ; CHECK-NEXT: br_if 0, $pop[[LT]]{{$}} 33 ; CHECK-NEXT: f32.lt $push[[LT:[0-9]+]]=, $0, $pop[[LIMIT]]{{$}} 36 ; CHECK-NEXT: i32.and $push[[AND:[0-9]+]]=, $pop[[LT]], $pop[[GE]]{{$}} 55 ; CHECK-NEXT: f64.lt $push[[LT:[0-9]+]]=, $pop[[ABS]], $pop[[LIMIT]]{{$}} 56 ; CHECK-NEXT: br_if 0, $pop[[LT]]{{$}} 73 ; CHECK-NEXT: f64.lt $push[[LT:[0-9]+]]=, $0, $pop[[LIMIT]]{{$}} 76 ; CHECK-NEXT: i32.and $push[[AND:[0-9]+]]=, $pop[[LT]], $pop[[GE]]{{$}} 95 ; CHECK-NEXT: f32.lt $push[[LT:[0-9]+]]=, $pop[[ABS]], $pop[[LIMIT]]{{$}} 96 ; CHECK-NEXT: br_if 0, $pop[[LT]]{{$}} [all …]
|
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/ |
D | Antlr.Runtime.Tree.Tests.pas | 628 T := Nodes.LT(I + 1); 748 Node := Stream.LT(1) as ITree; 759 Node := Stream.LT(I) as ITree; // look ahead to ith token 826 CheckEquals((Stream.LT(1) as ITree).TokenType,101); 827 CheckEquals((Stream.LT(2) as ITree).TokenType,TToken.DOWN); 828 CheckEquals((Stream.LT(3) as ITree).TokenType,102); 829 CheckEquals((Stream.LT(4) as ITree).TokenType,TToken.DOWN); 830 CheckEquals((Stream.LT(5) as ITree).TokenType,103); 831 CheckEquals((Stream.LT(6) as ITree).TokenType,TToken.UP); 832 CheckEquals((Stream.LT(7) as ITree).TokenType,104); [all …]
|
/external/llvm/include/llvm/CodeGen/ |
D | BasicTTIImpl.h | 308 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, Ty); variable 315 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) { 318 return LT.first * OpCost; 321 if (!TLI->isOperationExpand(ISD, LT.second)) { 324 return LT.first * 2 * OpCost; 490 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost() local 492 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost() 493 !TLI->isOperationExpand(ISD, LT.second)) { in getCmpSelInstrCost() 496 return LT.first * 1; in getCmpSelInstrCost() 519 std::pair<unsigned, MVT> LT = in getVectorInstrCost() local [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()
|