Lines Matching refs:EatIfPresent
342 if (EatIfPresent(lltok::rsquare)) in ParseDepLibs()
348 } while (EatIfPresent(lltok::comma)); in ParseDepLibs()
460 if (EatIfPresent(lltok::kw_unnamed_addr)) in ParseOptionalUnnamedAddr()
462 else if (EatIfPresent(lltok::kw_local_unnamed_addr)) in ParseOptionalUnnamedAddr()
639 } while (EatIfPresent(lltok::comma)); in ParseNamedMetadata()
660 bool IsDistinct = EatIfPresent(lltok::kw_distinct); in ParseStandaloneMetadata()
1310 if (!EatIfPresent(lltok::kw_thread_local)) in ParseOptionalThreadLocal()
1327 if (!EatIfPresent(lltok::kw_addrspace)) in ParseOptionalAddrSpace()
1341 if (EatIfPresent(lltok::equal) && ParseStringConstant(Val)) in ParseStringAttribute()
1748 } while (EatIfPresent(lltok::comma)); in ParseInstructionMetadata()
1778 if (!EatIfPresent(lltok::kw_align)) in ParseOptionalAlignment()
1801 if (!EatIfPresent(AttrKind)) in ParseOptionalDerefAttrBytes()
1804 if (!EatIfPresent(lltok::lparen)) in ParseOptionalDerefAttrBytes()
1809 if (!EatIfPresent(lltok::rparen)) in ParseOptionalDerefAttrBytes()
1825 while (EatIfPresent(lltok::comma)) { in ParseOptionalCommaAlign()
1846 if (!EatIfPresent(lltok::lparen)) in parseAllocSizeArguments()
1852 if (EatIfPresent(lltok::comma)) { in parseAllocSizeArguments()
1865 if (!EatIfPresent(lltok::rparen)) in parseAllocSizeArguments()
1881 if (EatIfPresent(lltok::kw_singlethread)) in ParseScopeAndOrdering()
1914 if (!EatIfPresent(lltok::kw_alignstack)) in ParseOptionalStackAlignment()
1917 if (!EatIfPresent(lltok::lparen)) in ParseOptionalStackAlignment()
1922 if (!EatIfPresent(lltok::rparen)) in ParseOptionalStackAlignment()
1945 while (EatIfPresent(lltok::comma)) { in ParseIndexList()
2143 if (!EatIfPresent(lltok::lsquare)) in ParseOptionalOperandBundles()
2230 while (EatIfPresent(lltok::comma)) { in ParseArgumentList()
2232 if (EatIfPresent(lltok::dotdotdot)) { in ParseArgumentList()
2314 if (EatIfPresent(lltok::kw_opaque)) { in ParseStructDefinition()
2326 bool isPacked = EatIfPresent(lltok::less); in ParseStructDefinition()
2372 if (EatIfPresent(lltok::rbrace)) in ParseStructBody()
2383 while (EatIfPresent(lltok::comma)) { in ParseStructBody()
2741 bool isPackedStruct = EatIfPresent(lltok::lbrace); in ParseValID()
3052 if (EatIfPresent(lltok::kw_nuw)) in ParseValID()
3054 if (EatIfPresent(lltok::kw_nsw)) { in ParseValID()
3056 if (EatIfPresent(lltok::kw_nuw)) in ParseValID()
3061 if (EatIfPresent(lltok::kw_exact)) in ParseValID()
3148 InBounds = EatIfPresent(lltok::kw_inbounds); in ParseValID()
3262 if (!EatIfPresent(lltok::kw_comdat)) in parseOptionalComdat()
3265 if (EatIfPresent(lltok::lparen)) { in parseOptionalComdat()
3296 while (EatIfPresent(lltok::comma)) { in ParseGlobalValueVector()
3613 } while (EatIfPresent(lltok::bar)); in ParseMDField()
3717 } while (EatIfPresent(lltok::comma)); in ParseMDFieldsImplBody()
4239 } while (EatIfPresent(lltok::comma)); in ParseDIExpression()
4634 (EatIfPresent(lltok::kw_section) && in ParseFunctionHeader()
4638 (EatIfPresent(lltok::kw_gc) && in ParseFunctionHeader()
4640 (EatIfPresent(lltok::kw_prefix) && in ParseFunctionHeader()
4642 (EatIfPresent(lltok::kw_prologue) && in ParseFunctionHeader()
4644 (EatIfPresent(lltok::kw_personality) && in ParseFunctionHeader()
4901 if (EatIfPresent(lltok::comma)) in ParseBasicBlock()
4957 bool NUW = EatIfPresent(lltok::kw_nuw); in ParseInstruction()
4958 bool NSW = EatIfPresent(lltok::kw_nsw); in ParseInstruction()
4959 if (!NUW) NUW = EatIfPresent(lltok::kw_nuw); in ParseInstruction()
4985 bool Exact = EatIfPresent(lltok::kw_exact); in ParseInstruction()
5222 while (EatIfPresent(lltok::comma)) { in ParseIndirectBr()
5464 } while (EatIfPresent(lltok::comma)); in ParseCatchSwitch()
5474 if (EatIfPresent(lltok::kw_to)) { in ParseCatchSwitch()
5755 if (!EatIfPresent(lltok::comma)) in ParsePHI()
5794 LP->setCleanup(EatIfPresent(lltok::kw_cleanup)); in ParseLandingPad()
5798 if (EatIfPresent(lltok::kw_catch)) in ParseLandingPad()
5800 else if (EatIfPresent(lltok::kw_filter)) in ParseLandingPad()
5965 bool IsInAlloca = EatIfPresent(lltok::kw_inalloca); in ParseAlloc()
5966 bool IsSwiftError = EatIfPresent(lltok::kw_swifterror); in ParseAlloc()
5974 if (EatIfPresent(lltok::comma)) { in ParseAlloc()
6103 if (EatIfPresent(lltok::kw_weak)) in ParseCmpXchg()
6106 if (EatIfPresent(lltok::kw_volatile)) in ParseCmpXchg()
6155 if (EatIfPresent(lltok::kw_volatile)) in ParseAtomicRMW()
6224 bool InBounds = EatIfPresent(lltok::kw_inbounds); in ParseGetElementPtr()
6249 while (EatIfPresent(lltok::comma)) { in ParseGetElementPtr()
6338 if (EatIfPresent(lltok::rbrace)) in ParseMDNodeVector()
6343 if (EatIfPresent(lltok::kw_null)) { in ParseMDNodeVector()
6352 } while (EatIfPresent(lltok::comma)); in ParseMDNodeVector()
6411 } while (EatIfPresent(lltok::comma)); in ParseUseListOrderIndexes()