Lines Matching refs:EatIfPresent
281 if (EatIfPresent(lltok::rsquare)) in ParseDepLibs()
288 while (EatIfPresent(lltok::comma)) { in ParseDepLibs()
509 } while (EatIfPresent(lltok::comma)); in ParseNamedMetadata()
872 if (!EatIfPresent(lltok::kw_addrspace)) in ParseOptionalAddrSpace()
1106 } while (EatIfPresent(lltok::comma)); in ParseInstructionMetadata()
1115 if (!EatIfPresent(lltok::kw_align)) in ParseOptionalAlignment()
1135 while (EatIfPresent(lltok::comma)) { in ParseOptionalCommaAlign()
1162 if (EatIfPresent(lltok::kw_singlethread)) in ParseScopeAndOrdering()
1182 if (!EatIfPresent(lltok::kw_alignstack)) in ParseOptionalStackAlignment()
1185 if (!EatIfPresent(lltok::lparen)) in ParseOptionalStackAlignment()
1190 if (!EatIfPresent(lltok::rparen)) in ParseOptionalStackAlignment()
1213 while (EatIfPresent(lltok::comma)) { in ParseIndexList()
1421 while (EatIfPresent(lltok::comma)) { in ParseArgumentList()
1423 if (EatIfPresent(lltok::dotdotdot)) { in ParseArgumentList()
1502 if (EatIfPresent(lltok::kw_opaque)) { in ParseStructDefinition()
1514 bool isPacked = EatIfPresent(lltok::less); in ParseStructDefinition()
1560 if (EatIfPresent(lltok::rbrace)) in ParseStructBody()
1571 while (EatIfPresent(lltok::comma)) { in ParseStructBody()
1952 bool isPackedStruct = EatIfPresent(lltok::lbrace); in ParseValID()
2201 if (EatIfPresent(lltok::kw_nuw)) in ParseValID()
2203 if (EatIfPresent(lltok::kw_nsw)) { in ParseValID()
2205 if (EatIfPresent(lltok::kw_nuw)) in ParseValID()
2210 if (EatIfPresent(lltok::kw_exact)) in ParseValID()
2295 InBounds = EatIfPresent(lltok::kw_inbounds); in ParseValID()
2382 while (EatIfPresent(lltok::comma)) { in ParseGlobalValueVector()
2663 (EatIfPresent(lltok::kw_section) && in ParseFunctionHeader()
2666 (EatIfPresent(lltok::kw_gc) && in ParseFunctionHeader()
2845 if (EatIfPresent(lltok::comma)) in ParseBasicBlock()
2897 bool NUW = EatIfPresent(lltok::kw_nuw); in ParseInstruction()
2898 bool NSW = EatIfPresent(lltok::kw_nsw); in ParseInstruction()
2899 if (!NUW) NUW = EatIfPresent(lltok::kw_nuw); in ParseInstruction()
2915 bool Exact = EatIfPresent(lltok::kw_exact); in ParseInstruction()
2963 if (EatIfPresent(lltok::kw_load)) in ParseInstruction()
2965 else if (EatIfPresent(lltok::kw_store)) in ParseInstruction()
3149 while (EatIfPresent(lltok::comma)) { in ParseIndirectBr()
3490 if (!EatIfPresent(lltok::comma)) in ParsePHI()
3532 LP->setCleanup(EatIfPresent(lltok::kw_cleanup)); in ParseLandingPad()
3536 if (EatIfPresent(lltok::kw_catch)) in ParseLandingPad()
3538 else if (EatIfPresent(lltok::kw_filter)) in ParseLandingPad()
3669 if (EatIfPresent(lltok::comma)) { in ParseAlloc()
3796 if (EatIfPresent(lltok::kw_volatile)) in ParseCmpXchg()
3840 if (EatIfPresent(lltok::kw_volatile)) in ParseAtomicRMW()
3907 bool InBounds = EatIfPresent(lltok::kw_inbounds); in ParseGetElementPtr()
3916 while (EatIfPresent(lltok::comma)) { in ParseGetElementPtr()
3991 if (EatIfPresent(lltok::kw_null)) { in ParseMDNodeVector()
3999 } while (EatIfPresent(lltok::comma)); in ParseMDNodeVector()