Lines Matching refs:EatIfPresent
783 if (EatIfPresent(lltok::kw_unnamed_addr)) in parseOptionalUnnamedAddr()
785 else if (EatIfPresent(lltok::kw_local_unnamed_addr)) in parseOptionalUnnamedAddr()
991 } while (EatIfPresent(lltok::comma)); in parseNamedMetadata()
1011 bool IsDistinct = EatIfPresent(lltok::kw_distinct); in parseStandaloneMetadata()
1928 if (!EatIfPresent(lltok::kw_thread_local)) in parseOptionalThreadLocal()
1945 if (!EatIfPresent(lltok::kw_addrspace)) in parseOptionalAddrSpace()
1985 if (EatIfPresent(lltok::equal) && parseStringConstant(Val)) in parseStringAttribute()
2327 } while (EatIfPresent(lltok::comma)); in parseInstructionMetadata()
2357 if (!EatIfPresent(lltok::kw_align)) in parseOptionalAlignment()
2365 if (EatIfPresent(lltok::lparen)) in parseOptionalAlignment()
2372 if (HaveParens && !EatIfPresent(lltok::rparen)) in parseOptionalAlignment()
2419 if (!EatIfPresent(AttrKind)) in parseOptionalDerefAttrBytes()
2422 if (!EatIfPresent(lltok::lparen)) in parseOptionalDerefAttrBytes()
2428 if (!EatIfPresent(lltok::rparen)) in parseOptionalDerefAttrBytes()
2438 if (!EatIfPresent(lltok::lparen)) in parseOptionalUWTableKind()
2454 if (!EatIfPresent(lltok::lparen)) in parseAllocKind()
2478 if (!EatIfPresent(lltok::rparen)) in parseAllocKind()
2520 if (!EatIfPresent(lltok::lparen)) { in parseMemoryAttr()
2530 if (!EatIfPresent(lltok::colon)) { in parseMemoryAttr()
2558 if (EatIfPresent(lltok::rparen)) in parseMemoryAttr()
2560 } while (EatIfPresent(lltok::comma)); in parseMemoryAttr()
2609 if (!EatIfPresent(lltok::lparen)) { in parseNoFPClassAttr()
2627 if (!EatIfPresent(lltok::rparen)) { in parseNoFPClassAttr()
2639 if (EatIfPresent(lltok::rparen)) in parseNoFPClassAttr()
2655 while (EatIfPresent(lltok::comma)) { in parseOptionalCommaAlign()
2681 while (EatIfPresent(lltok::comma)) { in parseOptionalCommaAddrSpace()
2704 if (!EatIfPresent(lltok::lparen)) in parseAllocSizeArguments()
2710 if (EatIfPresent(lltok::comma)) { in parseAllocSizeArguments()
2723 if (!EatIfPresent(lltok::rparen)) in parseAllocSizeArguments()
2733 if (!EatIfPresent(lltok::lparen)) in parseVScaleRangeArguments()
2739 if (EatIfPresent(lltok::comma)) { in parseVScaleRangeArguments()
2746 if (!EatIfPresent(lltok::rparen)) in parseVScaleRangeArguments()
2770 if (EatIfPresent(lltok::kw_syncscope)) { in parseScope()
2772 if (!EatIfPresent(lltok::lparen)) in parseScope()
2781 if (!EatIfPresent(lltok::rparen)) in parseScope()
2818 if (!EatIfPresent(lltok::kw_alignstack)) in parseOptionalStackAlignment()
2821 if (!EatIfPresent(lltok::lparen)) in parseOptionalStackAlignment()
2827 if (!EatIfPresent(lltok::rparen)) in parseOptionalStackAlignment()
2850 while (EatIfPresent(lltok::comma)) { in parseIndexList()
3068 if (!EatIfPresent(AttrToken)) in parseRequiredTypeAttr()
3070 if (!EatIfPresent(lltok::lparen)) in parseRequiredTypeAttr()
3074 if (!EatIfPresent(lltok::rparen)) in parseRequiredTypeAttr()
3156 } while (EatIfPresent(lltok::comma)); in parseInitializesAttr()
3180 if (!EatIfPresent(lltok::lsquare)) in parseOptionalOperandBundles()
3251 if (EatIfPresent(lltok::dotdotdot)) { in parseArgumentList()
3290 } while (EatIfPresent(lltok::comma)); in parseArgumentList()
3347 if (EatIfPresent(lltok::kw_opaque)) { in parseStructDefinition()
3359 bool isPacked = EatIfPresent(lltok::less); in parseStructDefinition()
3404 if (EatIfPresent(lltok::rbrace)) in parseStructBody()
3416 while (EatIfPresent(lltok::comma)) { in parseStructBody()
3856 bool isPackedStruct = EatIfPresent(lltok::lbrace); in parseValID()
4130 if (EatIfPresent(lltok::comma)) in parseValID()
4132 (EatIfPresent(lltok::comma) && parseGlobalTypeAndValue(AddrDisc))) in parseValID()
4262 if (EatIfPresent(lltok::kw_nuw)) in parseValID()
4264 if (EatIfPresent(lltok::kw_nsw)) { in parseValID()
4266 if (EatIfPresent(lltok::kw_nuw)) in parseValID()
4320 if (EatIfPresent(lltok::kw_inbounds)) in parseValID()
4322 else if (EatIfPresent(lltok::kw_nusw)) in parseValID()
4324 else if (EatIfPresent(lltok::kw_nuw)) in parseValID()
4330 if (EatIfPresent(lltok::kw_inrange)) { in parseValID()
4464 if (!EatIfPresent(lltok::kw_comdat)) in parseOptionalComdat()
4467 if (EatIfPresent(lltok::lparen)) { in parseOptionalComdat()
4503 } while (EatIfPresent(lltok::comma)); in parseGlobalValueVector()
4930 } while (EatIfPresent(lltok::bar)); in parseMDField()
4970 } while (EatIfPresent(lltok::bar)); in parseMDField()
5101 } while (EatIfPresent(lltok::comma)); in parseMDFieldsImplBody()
5877 } while (EatIfPresent(lltok::comma)); in parseDIExpressionBody()
5913 } while (EatIfPresent(lltok::comma)); in parseDIArgList()
6403 (EatIfPresent(lltok::kw_section) && parseStringConstant(Section)) || in parseFunctionHeader()
6404 (EatIfPresent(lltok::kw_partition) && parseStringConstant(Partition)) || in parseFunctionHeader()
6407 (EatIfPresent(lltok::kw_gc) && parseStringConstant(GC)) || in parseFunctionHeader()
6408 (EatIfPresent(lltok::kw_prefix) && parseGlobalTypeAndValue(Prefix)) || in parseFunctionHeader()
6409 (EatIfPresent(lltok::kw_prologue) && parseGlobalTypeAndValue(Prologue)) || in parseFunctionHeader()
6410 (EatIfPresent(lltok::kw_personality) && in parseFunctionHeader()
6705 if (EatIfPresent(lltok::comma)) in parseBasicBlock()
6896 bool NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
6897 bool NSW = EatIfPresent(lltok::kw_nsw); in parseInstruction()
6898 if (!NUW) NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
6925 bool Exact = EatIfPresent(lltok::kw_exact); in parseInstruction()
6938 bool Disjoint = EatIfPresent(lltok::kw_disjoint); in parseInstruction()
6963 bool NonNeg = EatIfPresent(lltok::kw_nneg); in parseInstruction()
6972 bool NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
6973 bool NSW = EatIfPresent(lltok::kw_nsw); in parseInstruction()
6975 NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
7243 while (EatIfPresent(lltok::comma)) { in parseIndirectBr()
7483 } while (EatIfPresent(lltok::comma)); in parseCatchSwitch()
7492 if (EatIfPresent(lltok::kw_to)) { in parseCatchSwitch()
7615 while (EatIfPresent(lltok::comma)) { in parseCallBr()
7892 } else if (!EatIfPresent(lltok::comma)) in parsePHI()
7930 LP->setCleanup(EatIfPresent(lltok::kw_cleanup)); in parseLandingPad()
7934 if (EatIfPresent(lltok::kw_catch)) in parseLandingPad()
7936 else if (EatIfPresent(lltok::kw_filter)) in parseLandingPad()
8108 bool IsInAlloca = EatIfPresent(lltok::kw_inalloca); in parseAlloc()
8109 bool IsSwiftError = EatIfPresent(lltok::kw_swifterror); in parseAlloc()
8118 if (EatIfPresent(lltok::comma)) { in parseAlloc()
8133 if (EatIfPresent(lltok::comma)) { in parseAlloc()
8278 if (EatIfPresent(lltok::kw_weak)) in parseCmpXchg()
8281 if (EatIfPresent(lltok::kw_volatile)) in parseCmpXchg()
8332 if (EatIfPresent(lltok::kw_volatile)) in parseAtomicRMW()
8454 if (EatIfPresent(lltok::kw_inbounds)) in parseGetElementPtr()
8456 else if (EatIfPresent(lltok::kw_nusw)) in parseGetElementPtr()
8458 else if (EatIfPresent(lltok::kw_nuw)) in parseGetElementPtr()
8483 while (EatIfPresent(lltok::comma)) { in parseGetElementPtr()
8579 if (EatIfPresent(lltok::rbrace)) in parseMDNodeVector()
8583 if (EatIfPresent(lltok::kw_null)) { in parseMDNodeVector()
8592 } while (EatIfPresent(lltok::comma)); in parseMDNodeVector()
8651 } while (EatIfPresent(lltok::comma)); in parseUseListOrderIndexes()
8811 if (EatIfPresent(lltok::comma)) { in parseTypeIdSummary()
8875 } while (EatIfPresent(lltok::comma)); in parseTypeIdCompatibleVtableEntry()
8952 while (EatIfPresent(lltok::comma)) { in parseTypeTestResolution()
9011 } while (EatIfPresent(lltok::comma)); in parseOptionalWpdResolutions()
9051 while (EatIfPresent(lltok::comma)) { in parseWpdRes()
9121 while (EatIfPresent(lltok::comma)) { in parseOptionalResByArg()
9151 } while (EatIfPresent(lltok::comma)); in parseOptionalResByArg()
9172 } while (EatIfPresent(lltok::comma)); in parseArgs()
9325 if (!EatIfPresent(lltok::comma)) { in parseGVEntry()
9361 } while (EatIfPresent(lltok::comma)); in parseGVEntry()
9406 while (EatIfPresent(lltok::comma)) { in parseFunctionSummary()
9490 while (EatIfPresent(lltok::comma)) { in parseVariableSummary()
9664 } while (EatIfPresent(lltok::comma)); in parseOptionalFFlags()
9704 while (EatIfPresent(lltok::comma)) { in parseOptionalCalls()
9737 } while (EatIfPresent(lltok::comma)); in parseOptionalCalls()
9822 } while (EatIfPresent(lltok::comma)); in parseOptionalVTableFuncs()
9919 if (EatIfPresent(lltok::comma)) { in parseParamAccess()
9929 } while (EatIfPresent(lltok::comma)); in parseParamAccess()
9962 } while (EatIfPresent(lltok::comma)); in parseOptionalParamAccesses()
10006 } while (EatIfPresent(lltok::comma)); in parseOptionalRefs()
10084 } while (EatIfPresent(lltok::comma)); in parseOptionalTypeIdInfo()
10117 } while (EatIfPresent(lltok::comma)); in parseTypeTests()
10153 } while (EatIfPresent(lltok::comma)); in parseVFuncIdList()
10190 } while (EatIfPresent(lltok::comma)); in parseConstVCallList()
10217 if (EatIfPresent(lltok::comma)) in parseConstVCall()
10332 } while (EatIfPresent(lltok::comma)); in parseGVFlags()
10385 } while (EatIfPresent(lltok::comma)); in parseGVarFlags()
10409 bool WriteOnly = false, ReadOnly = EatIfPresent(lltok::kw_readonly); in parseGVReference()
10411 WriteOnly = EatIfPresent(lltok::kw_writeonly); in parseGVReference()
10458 } while (EatIfPresent(lltok::comma)); in parseOptionalAllocs()
10472 } while (EatIfPresent(lltok::comma)); in parseOptionalAllocs()
10516 } while (EatIfPresent(lltok::comma)); in parseMemProfs()
10525 } while (EatIfPresent(lltok::comma)); in parseMemProfs()
10582 if (!EatIfPresent(lltok::kw_null)) { in parseOptionalCallsites()
10599 } while (EatIfPresent(lltok::comma)); in parseOptionalCallsites()
10614 } while (EatIfPresent(lltok::comma)); in parseOptionalCallsites()
10628 } while (EatIfPresent(lltok::comma)); in parseOptionalCallsites()