Searched refs:LookAhead (Results 1 – 10 of 10) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmLexer.cpp | 268 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 D | ParseInit.cpp | 46 switch (PP.LookAhead(0).getKind()) { in MayBeDesignationStart() 71 return PP.LookAhead(0).is(tok::colon); in MayBeDesignationStart()
|
H A D | ParseStmt.cpp | 1160 unsigned LookAhead = 0; in handleExprStmt() local 1161 while (GetLookAheadToken(LookAhead).is(tok::semi)) { in handleExprStmt() 1162 ++LookAhead; in handleExprStmt() 1167 IsStmtExprResult = GetLookAheadToken(LookAhead).is(tok::r_brace) && in handleExprStmt() 1168 GetLookAheadToken(LookAhead + 1).is(tok::r_paren); in handleExprStmt() 1483 P.getPreprocessor().LookAhead(0).isNot(tok::colon))) { in Check()
|
H A D | ParseStmtAsm.cpp | 252 Token IdTok = PP.LookAhead(0); in ParseMSAsmIdentifier() 454 if (PP.LookAhead(0).is(tok::l_brace)) in ParseMicrosoftAsmStatement()
|
H A D | ParseOpenMP.cpp | 209 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind() 554 if (PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPDeclareMapperDirective() 3151 PP.LookAhead(/*N=*/0).isNot(tok::l_paren)) in ParseOpenMPClause() 4119 if (PP.LookAhead(0).isNot(tok::comma) && in parseMapTypeModifiers() 4120 PP.LookAhead(0).isNot(tok::colon) && getLangOpts().OpenMP >= 52) in parseMapTypeModifiers() 4158 if (PP.LookAhead(0).is(tok::colon)) { in parseMapTypeModifiers() 4518 if (Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::l_paren)) { in ParseOpenMPVarList() 4536 Tok.is(tok::identifier) && PP.LookAhead(0).is(tok::colon)) { in ParseOpenMPVarList()
|
H A D | ParseExprCXX.cpp | 449 PP.LookAhead(1).is(tok::identifier)) { in ParseOptionalCXXScopeSpecifier()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGRRList.cpp | 932 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 D | Parser.h | 866 return PP.LookAhead(N-1); in GetLookAheadToken() 873 return PP.LookAhead(0); in NextToken()
|
/freebsd/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | Preprocessor.h | 1828 const Token &LookAhead(unsigned N) { in LookAhead() function
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 1860 LookAheadHeuristics LookAhead(TLI, DL, SE, R, getNumLanes(), in getLookAheadScore() local 1865 LookAhead.getScoreAtLevelRec(LHS, RHS, /*U1=*/nullptr, /*U2=*/nullptr, in getLookAheadScore() 2477 LookAheadHeuristics LookAhead(*TLI, *DL, *SE, *this, /*NumLanes=*/2, in findBestRootPair() local 2482 int Score = LookAhead.getScoreAtLevelRec(Candidates[I].first, in findBestRootPair()
|