Lines Matching refs:Lex
92 LLLexer Lex; variable
145 : Context(M->getContext()), Lex(F, SM, Err, M->getContext()), M(M),
159 return Lex.Error(L, Msg); in Error()
162 return Error(Lex.getLoc(), Msg); in TokError()
182 if (Lex.getKind() != T) return false; in EatIfPresent()
183 Lex.Lex(); in EatIfPresent()
190 switch (Lex.getKind()) { in EatFastMathFlagsIfPresent()
191 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
192 case lltok::kw_nnan: FMF.setNoNaNs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
193 case lltok::kw_ninf: FMF.setNoInfs(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
194 case lltok::kw_nsz: FMF.setNoSignedZeros(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
195 case lltok::kw_arcp: FMF.setAllowReciprocal(); Lex.Lex(); continue; in EatFastMathFlagsIfPresent()
203 if (Lex.getKind() != T) {
207 *Loc = Lex.getLoc();
208 Lex.Lex();
216 Loc = Lex.getLoc(); in ParseUInt32()
221 Loc = Lex.getLoc(); in ParseUInt64()
300 Loc = Lex.getLoc();
304 Loc = Lex.getLoc();
371 Loc = Lex.getLoc(); in ParseValue()
380 Loc = Lex.getLoc(); in ParseTypeAndValue()