Home
last modified time | relevance | path

Searched refs:LookAhead (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/MC/MCParser/
DAsmLexer.cpp224 const char *LookAhead = CurPtr; in doLookAhead() local
226 if (isdigit(*LookAhead)) { in doLookAhead()
227 ++LookAhead; in doLookAhead()
228 } else if (isxdigit(*LookAhead)) { in doLookAhead()
230 FirstHex = LookAhead; in doLookAhead()
231 ++LookAhead; in doLookAhead()
236 bool isHex = *LookAhead == 'h' || *LookAhead == 'H'; in doLookAhead()
237 CurPtr = isHex || !FirstHex ? LookAhead : FirstHex; in doLookAhead()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DAsmLexer.cpp250 const char *LookAhead = CurPtr; in doHexLookAhead() local
252 if (isDigit(*LookAhead)) { in doHexLookAhead()
253 ++LookAhead; in doHexLookAhead()
256 FirstNonDec = LookAhead; in doHexLookAhead()
259 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead()
260 ++LookAhead; in doHexLookAhead()
265 bool isHex = LexHex && (*LookAhead == 'h' || *LookAhead == 'H'); in doHexLookAhead()
266 CurPtr = isHex || !FirstNonDec ? LookAhead : FirstNonDec; in doHexLookAhead()
/external/llvm-project/llvm/lib/MC/MCParser/
DAsmLexer.cpp259 const char *LookAhead = CurPtr; in doHexLookAhead() local
261 if (isDigit(*LookAhead)) { in doHexLookAhead()
262 ++LookAhead; in doHexLookAhead()
265 FirstNonDec = LookAhead; in doHexLookAhead()
268 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead()
269 ++LookAhead; in doHexLookAhead()
274 bool isHex = LexHex && (*LookAhead == 'h' || *LookAhead == 'H'); in doHexLookAhead()
275 CurPtr = isHex || !FirstNonDec ? LookAhead : FirstNonDec; in doHexLookAhead()
/external/clang/lib/Parse/
DParseOpenMP.cpp126 Tok = P.getPreprocessor().LookAhead(0); in ParseOpenMPDirectiveKind()
838 if (PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPDeclarativeOrExecutableDirective()
1117 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause()
1589 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList()
1618 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()
1624 } else if (PP.LookAhead(0).is(tok::comma)) { in ParseOpenMPVarList()
1625 if (IsMapClauseModifierToken(PP.LookAhead(1)) && in ParseOpenMPVarList()
1626 PP.LookAhead(2).is(tok::colon)) { in ParseOpenMPVarList()
DParseInit.cpp42 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart()
65 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
DParseStmtAsm.cpp236 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier()
456 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
DParseExprCXX.cpp441 PP.LookAhead(1).is(tok::identifier)) { in ParseOptionalCXXScopeSpecifier()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_lexer.h139 TokKind LookAhead();
Dhlo_lexer.cc80 TokKind HloLexer::LookAhead() { in LookAhead() function in xla::HloLexer
Dhlo_parser.cc4617 (lexer_.LookAhead() == TokKind::kInt || in ParseShape()
4618 lexer_.LookAhead() == TokKind::kColon)) { in ParseShape()
4791 lexer_.LookAhead() == TokKind::kLbrace) { in ParseSingleOrListMetadata()
/external/llvm-project/clang/lib/Parse/
DParseInit.cpp43 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart()
68 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
DParseStmt.cpp1011 unsigned LookAhead = 0; in handleExprStmt() local
1012 while (GetLookAheadToken(LookAhead).is(tok::semi)) { in handleExprStmt()
1013 ++LookAhead; in handleExprStmt()
1018 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) && in handleExprStmt()
1019 GetLookAheadToken(LookAhead + 1).is(tok::r_paren); in handleExprStmt()
1318 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) { in Check()
DParseStmtAsm.cpp252 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier()
454 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
DParseOpenMP.cpp184 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind()
528 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPDeclareMapperDirective()
2637 if (CKind == OMPC_ordered && PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause()
3217 if (PP.LookAhead(0).is(tok::colon)) in parseMapTypeModifiers()
3463 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList()
3477 Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py548 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
553 (r.Backtrack, r.Input, r.LookAhead) = d
569 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
574 (r.Backtrack, r.Input, r.LookAhead) = d
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas1907 property LookAhead: TANTLRInterfaceArray read GetLookAhead write SetLookAhead; property
4729 State.LookAhead := LA;
4812 while (FTail < Length(State.LookAhead)) do
4814 FLookahead[FTail] := State.LookAhead[FTail];
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp895 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
897 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
900 std::vector<SUnit*>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp930 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
932 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
935 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp930 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
932 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
935 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/external/fonttools/Lib/fontTools/subset/
D__init__.py820 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
825 (r.Backtrack, r.Input, r.LookAhead) = d
841 ChainRuleData = lambda r:(r.Backtrack, r.Input, r.LookAhead)
846 (r.Backtrack, r.Input, r.LookAhead) = d
/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py412 ruleAsSubtable.LookAhead = [list(x)[0] for x in rule.suffix]
479 ruleAsSubtable.LookAhead = [
/external/clang/include/clang/Parse/
DParser.h551 return PP.LookAhead(N-1); in GetLookAheadToken()
558 return PP.LookAhead(0); in NextToken()
/external/clang/include/clang/Lex/
DPreprocessor.h1153 const Token &LookAhead(unsigned N) { in LookAhead() function
/external/llvm-project/clang/include/clang/Parse/
DParser.h783 return PP.LookAhead(N-1); in GetLookAheadToken()
790 return PP.LookAhead(0); in NextToken()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h1486 const Token &LookAhead(unsigned N) { in LookAhead() function

12