Lines Matching refs:Lex
89 LLLexer Lex; variable
166 : Context(Context), Lex(F, SM, Err, Context), M(M), Index(Index), in Context()
180 bool error(LocTy L, const Twine &Msg) const { return Lex.Error(L, Msg); } in error()
181 bool tokError(const Twine &Msg) const { return error(Lex.getLoc(), Msg); } in tokError()
201 if (Lex.getKind() != T) return false; in EatIfPresent()
202 Lex.Lex(); in EatIfPresent()
209 switch (Lex.getKind()) { in EatFastMathFlagsIfPresent()
210 case lltok::kw_fast: FMF.setFast(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
211 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
212 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
213 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
214 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
217 Lex.Lex(); in EatFastMathFlagsIfPresent()
219 case lltok::kw_reassoc: FMF.setAllowReassoc(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
220 case lltok::kw_afn: FMF.setApproxFunc(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
228 if (Lex.getKind() != T) {
232 *Loc = Lex.getLoc();
233 Lex.Lex();
241 Loc = Lex.getLoc(); in parseUInt32()
246 Loc = Lex.getLoc(); in parseUInt64()
398 Loc = Lex.getLoc();
402 Loc = Lex.getLoc();
471 Loc = Lex.getLoc(); in parseValue()
480 Loc = Lex.getLoc(); in parseTypeAndValue()