Lines Matching refs:EatIfPresent
327 if (EatIfPresent(lltok::rsquare)) in ParseDepLibs()
333 } while (EatIfPresent(lltok::comma)); in ParseDepLibs()
605 } while (EatIfPresent(lltok::comma)); in ParseNamedMetadata()
626 bool IsDistinct = EatIfPresent(lltok::kw_distinct); in ParseStandaloneMetadata()
1240 if (!EatIfPresent(lltok::kw_thread_local)) in ParseOptionalThreadLocal()
1257 if (!EatIfPresent(lltok::kw_addrspace)) in ParseOptionalAddrSpace()
1271 if (EatIfPresent(lltok::equal) && ParseStringConstant(Val)) in ParseStringAttribute()
1624 } while (EatIfPresent(lltok::comma)); in ParseInstructionMetadata()
1647 if (!EatIfPresent(lltok::kw_align)) in ParseOptionalAlignment()
1670 if (!EatIfPresent(AttrKind)) in ParseOptionalDerefAttrBytes()
1673 if (!EatIfPresent(lltok::lparen)) in ParseOptionalDerefAttrBytes()
1678 if (!EatIfPresent(lltok::rparen)) in ParseOptionalDerefAttrBytes()
1694 while (EatIfPresent(lltok::comma)) { in ParseOptionalCommaAlign()
1721 if (EatIfPresent(lltok::kw_singlethread)) in ParseScopeAndOrdering()
1750 if (!EatIfPresent(lltok::kw_alignstack)) in ParseOptionalStackAlignment()
1753 if (!EatIfPresent(lltok::lparen)) in ParseOptionalStackAlignment()
1758 if (!EatIfPresent(lltok::rparen)) in ParseOptionalStackAlignment()
1781 while (EatIfPresent(lltok::comma)) { in ParseIndexList()
1979 if (!EatIfPresent(lltok::lsquare)) in ParseOptionalOperandBundles()
2066 while (EatIfPresent(lltok::comma)) { in ParseArgumentList()
2068 if (EatIfPresent(lltok::dotdotdot)) { in ParseArgumentList()
2150 if (EatIfPresent(lltok::kw_opaque)) { in ParseStructDefinition()
2162 bool isPacked = EatIfPresent(lltok::less); in ParseStructDefinition()
2208 if (EatIfPresent(lltok::rbrace)) in ParseStructBody()
2219 while (EatIfPresent(lltok::comma)) { in ParseStructBody()
2577 bool isPackedStruct = EatIfPresent(lltok::lbrace); in ParseValID()
2888 if (EatIfPresent(lltok::kw_nuw)) in ParseValID()
2890 if (EatIfPresent(lltok::kw_nsw)) { in ParseValID()
2892 if (EatIfPresent(lltok::kw_nuw)) in ParseValID()
2897 if (EatIfPresent(lltok::kw_exact)) in ParseValID()
2984 InBounds = EatIfPresent(lltok::kw_inbounds); in ParseValID()
3098 if (!EatIfPresent(lltok::kw_comdat)) in parseOptionalComdat()
3101 if (EatIfPresent(lltok::lparen)) { in parseOptionalComdat()
3132 while (EatIfPresent(lltok::comma)) { in ParseGlobalValueVector()
3407 } while (EatIfPresent(lltok::bar)); in ParseMDField()
3511 } while (EatIfPresent(lltok::comma)); in ParseMDFieldsImplBody()
4017 } while (EatIfPresent(lltok::comma)); in ParseDIExpression()
4415 (EatIfPresent(lltok::kw_section) && in ParseFunctionHeader()
4419 (EatIfPresent(lltok::kw_gc) && in ParseFunctionHeader()
4421 (EatIfPresent(lltok::kw_prefix) && in ParseFunctionHeader()
4423 (EatIfPresent(lltok::kw_prologue) && in ParseFunctionHeader()
4425 (EatIfPresent(lltok::kw_personality) && in ParseFunctionHeader()
4682 if (EatIfPresent(lltok::comma)) in ParseBasicBlock()
4738 bool NUW = EatIfPresent(lltok::kw_nuw); in ParseInstruction()
4739 bool NSW = EatIfPresent(lltok::kw_nsw); in ParseInstruction()
4740 if (!NUW) NUW = EatIfPresent(lltok::kw_nuw); in ParseInstruction()
4766 bool Exact = EatIfPresent(lltok::kw_exact); in ParseInstruction()
5003 while (EatIfPresent(lltok::comma)) { in ParseIndirectBr()
5245 } while (EatIfPresent(lltok::comma)); in ParseCatchSwitch()
5255 if (EatIfPresent(lltok::kw_to)) { in ParseCatchSwitch()
5536 if (!EatIfPresent(lltok::comma)) in ParsePHI()
5575 LP->setCleanup(EatIfPresent(lltok::kw_cleanup)); in ParseLandingPad()
5579 if (EatIfPresent(lltok::kw_catch)) in ParseLandingPad()
5581 else if (EatIfPresent(lltok::kw_filter)) in ParseLandingPad()
5745 bool IsInAlloca = EatIfPresent(lltok::kw_inalloca); in ParseAlloc()
5753 if (EatIfPresent(lltok::comma)) { in ParseAlloc()
5879 if (EatIfPresent(lltok::kw_weak)) in ParseCmpXchg()
5882 if (EatIfPresent(lltok::kw_volatile)) in ParseCmpXchg()
5932 if (EatIfPresent(lltok::kw_volatile)) in ParseAtomicRMW()
6001 bool InBounds = EatIfPresent(lltok::kw_inbounds); in ParseGetElementPtr()
6026 while (EatIfPresent(lltok::comma)) { in ParseGetElementPtr()
6115 if (EatIfPresent(lltok::rbrace)) in ParseMDNodeVector()
6120 if (EatIfPresent(lltok::kw_null)) { in ParseMDNodeVector()
6129 } while (EatIfPresent(lltok::comma)); in ParseMDNodeVector()
6188 } while (EatIfPresent(lltok::comma)); in ParseUseListOrderIndexes()