Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmLexer.cpp268 const char *LookAhead = CurPtr; in doHexLookAhead() local
270 if (isDigit(*LookAhead)) { in doHexLookAhead()
271 ++LookAhead; in doHexLookAhead()
274 FirstNonDec = LookAhead; in doHexLookAhead()
277 if (LexHex && isHexDigit(*LookAhead)) in doHexLookAhead()
278 ++LookAhead; in doHexLookAhead()
283 bool isHex = LexHex && (*LookAhead == 'h' || *LookAhead == 'H'); in doHexLookAhead()
284 CurPtr = isHex || !FirstNonDec ? LookAhead : FirstNonDec; in doHexLookAhead()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp44 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart()
69 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
H A DParseStmt.cpp1148 unsigned LookAhead = 0; in handleExprStmt() local
1149 while (GetLookAheadToken(LookAhead).is(tok::semi)) { in handleExprStmt()
1150 ++LookAhead; in handleExprStmt()
1155 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) && in handleExprStmt()
1156 GetLookAheadToken(LookAhead + 1).is(tok::r_paren); in handleExprStmt()
1471 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) { in Check()
H A DParseStmtAsm.cpp252 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier()
454 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
H A DParseOpenMP.cpp207 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind()
547 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPDeclareMapperDirective()
3247 PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause()
4206 if (PP.LookAhead(0).isNot(tok::comma) && in parseMapTypeModifiers()
4207 PP.LookAhead(0).isNot(tok::colon) && getLangOpts().OpenMP >= 52) in parseMapTypeModifiers()
4232 if (PP.LookAhead(0).is(tok::colon)) in parseMapTypeModifiers()
4575 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList()
4593 Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()
H A DParseExprCXX.cpp404 PP.LookAhead(1).is(tok::identifier)) { in ParseOptionalCXXScopeSpecifier()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGRRList.cpp932 unsigned LookAhead = std::min((unsigned)Sequence.size(), in RestoreHazardCheckerBottomUp() local
934 if (LookAhead == 0) in RestoreHazardCheckerBottomUp()
937 std::vector<SUnit *>::const_iterator I = (Sequence.end() - LookAhead); in RestoreHazardCheckerBottomUp()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h832 return PP.LookAhead(N-1); in GetLookAheadToken()
839 return PP.LookAhead(0); in NextToken()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h1803 const Token &LookAhead(unsigned N) { in LookAhead() function
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1662 LookAheadHeuristics LookAhead(TLI, DL, SE, R, getNumLanes(), in getLookAheadScore() local
1667 LookAhead.getScoreAtLevelRec(LHS, RHS, /*U1=*/nullptr, /*U2=*/nullptr, in getLookAheadScore()
2205 LookAheadHeuristics LookAhead(*TLI, *DL, *SE, *this, /*NumLanes=*/2, in findBestRootPair() local
2210 int Score = LookAhead.getScoreAtLevelRec(Candidates[I].first, in findBestRootPair()