Searched refs:LookAhead (Results 1 – 4 of 4) sorted by relevance
250 const char *LookAhead = CurPtr; in doHexLookAhead() local252 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()
376 bool Parser::LookAhead(Token::Type type) { in LookAhead() function in Parser383 if (!LookAhead(type)) in Match()540 if (LookAhead(Token::LEFT_PAREN)) { in IdentifierOrCall()553 if (LookAhead(Token::LEFT_BRACE)) { in IdentifierOrCall()648 while (!LookAhead(stop_before)) { in ParseList()711 if (LookAhead(Token::IF)) { in ParseStatement()713 } else if (LookAhead(Token::BLOCK_COMMENT)) { in ParseStatement()740 if (LookAhead(Token::RIGHT_BRACE)) { in ParseBlock()765 if (LookAhead(Token::LEFT_BRACE)) { in ParseCondition()768 } else if (LookAhead(Token::IF)) { in ParseCondition()
96 bool LookAhead(Token::Type type);
930 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local932 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()935 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()