Lines Matching refs:EatIfPresent
706 if (EatIfPresent(lltok::kw_unnamed_addr)) in parseOptionalUnnamedAddr()
708 else if (EatIfPresent(lltok::kw_local_unnamed_addr)) in parseOptionalUnnamedAddr()
912 } while (EatIfPresent(lltok::comma)); in parseNamedMetadata()
932 bool IsDistinct = EatIfPresent(lltok::kw_distinct); in parseStandaloneMetadata()
1840 if (!EatIfPresent(lltok::kw_thread_local)) in parseOptionalThreadLocal()
1857 if (!EatIfPresent(lltok::kw_addrspace)) in parseOptionalAddrSpace()
1897 if (EatIfPresent(lltok::equal) && parseStringConstant(Val)) in parseStringAttribute()
2215 } while (EatIfPresent(lltok::comma)); in parseInstructionMetadata()
2245 if (!EatIfPresent(lltok::kw_align)) in parseOptionalAlignment()
2253 if (EatIfPresent(lltok::lparen)) in parseOptionalAlignment()
2260 if (HaveParens && !EatIfPresent(lltok::rparen)) in parseOptionalAlignment()
2307 if (!EatIfPresent(AttrKind)) in parseOptionalDerefAttrBytes()
2310 if (!EatIfPresent(lltok::lparen)) in parseOptionalDerefAttrBytes()
2316 if (!EatIfPresent(lltok::rparen)) in parseOptionalDerefAttrBytes()
2326 if (!EatIfPresent(lltok::lparen)) in parseOptionalUWTableKind()
2342 if (!EatIfPresent(lltok::lparen)) in parseAllocKind()
2366 if (!EatIfPresent(lltok::rparen)) in parseAllocKind()
2408 if (!EatIfPresent(lltok::lparen)) { in parseMemoryAttr()
2418 if (!EatIfPresent(lltok::colon)) { in parseMemoryAttr()
2446 if (EatIfPresent(lltok::rparen)) in parseMemoryAttr()
2448 } while (EatIfPresent(lltok::comma)); in parseMemoryAttr()
2497 if (!EatIfPresent(lltok::lparen)) { in parseNoFPClassAttr()
2515 if (!EatIfPresent(lltok::rparen)) { in parseNoFPClassAttr()
2527 if (EatIfPresent(lltok::rparen)) in parseNoFPClassAttr()
2543 while (EatIfPresent(lltok::comma)) { in parseOptionalCommaAlign()
2569 while (EatIfPresent(lltok::comma)) { in parseOptionalCommaAddrSpace()
2592 if (!EatIfPresent(lltok::lparen)) in parseAllocSizeArguments()
2598 if (EatIfPresent(lltok::comma)) { in parseAllocSizeArguments()
2611 if (!EatIfPresent(lltok::rparen)) in parseAllocSizeArguments()
2621 if (!EatIfPresent(lltok::lparen)) in parseVScaleRangeArguments()
2627 if (EatIfPresent(lltok::comma)) { in parseVScaleRangeArguments()
2634 if (!EatIfPresent(lltok::rparen)) in parseVScaleRangeArguments()
2658 if (EatIfPresent(lltok::kw_syncscope)) { in parseScope()
2660 if (!EatIfPresent(lltok::lparen)) in parseScope()
2669 if (!EatIfPresent(lltok::rparen)) in parseScope()
2706 if (!EatIfPresent(lltok::kw_alignstack)) in parseOptionalStackAlignment()
2709 if (!EatIfPresent(lltok::lparen)) in parseOptionalStackAlignment()
2715 if (!EatIfPresent(lltok::rparen)) in parseOptionalStackAlignment()
2738 while (EatIfPresent(lltok::comma)) { in parseIndexList()
2956 if (!EatIfPresent(AttrToken)) in parseRequiredTypeAttr()
2958 if (!EatIfPresent(lltok::lparen)) in parseRequiredTypeAttr()
2962 if (!EatIfPresent(lltok::rparen)) in parseRequiredTypeAttr()
2981 if (!EatIfPresent(lltok::lsquare)) in parseOptionalOperandBundles()
3052 if (EatIfPresent(lltok::dotdotdot)) { in parseArgumentList()
3091 } while (EatIfPresent(lltok::comma)); in parseArgumentList()
3149 if (EatIfPresent(lltok::kw_opaque)) { in parseStructDefinition()
3161 bool isPacked = EatIfPresent(lltok::less); in parseStructDefinition()
3206 if (EatIfPresent(lltok::rbrace)) in parseStructBody()
3218 while (EatIfPresent(lltok::comma)) { in parseStructBody()
3658 bool isPackedStruct = EatIfPresent(lltok::lbrace); in parseValID()
4039 if (EatIfPresent(lltok::kw_nuw)) in parseValID()
4041 if (EatIfPresent(lltok::kw_nsw)) { in parseValID()
4043 if (EatIfPresent(lltok::kw_nuw)) in parseValID()
4093 InBounds = EatIfPresent(lltok::kw_inbounds); in parseValID()
4208 if (!EatIfPresent(lltok::kw_comdat)) in parseOptionalComdat()
4211 if (EatIfPresent(lltok::lparen)) { in parseOptionalComdat()
4240 if (InRangeOp && !*InRangeOp && EatIfPresent(lltok::kw_inrange)) in parseGlobalValueVector()
4247 } while (EatIfPresent(lltok::comma)); in parseGlobalValueVector()
4674 } while (EatIfPresent(lltok::bar)); in parseMDField()
4714 } while (EatIfPresent(lltok::bar)); in parseMDField()
4845 } while (EatIfPresent(lltok::comma)); in parseMDFieldsImplBody()
5609 } while (EatIfPresent(lltok::comma)); in parseDIExpression()
5635 } while (EatIfPresent(lltok::comma)); in parseDIArgList()
6114 (EatIfPresent(lltok::kw_section) && parseStringConstant(Section)) || in parseFunctionHeader()
6115 (EatIfPresent(lltok::kw_partition) && parseStringConstant(Partition)) || in parseFunctionHeader()
6118 (EatIfPresent(lltok::kw_gc) && parseStringConstant(GC)) || in parseFunctionHeader()
6119 (EatIfPresent(lltok::kw_prefix) && parseGlobalTypeAndValue(Prefix)) || in parseFunctionHeader()
6120 (EatIfPresent(lltok::kw_prologue) && parseGlobalTypeAndValue(Prologue)) || in parseFunctionHeader()
6121 (EatIfPresent(lltok::kw_personality) && in parseFunctionHeader()
6392 if (EatIfPresent(lltok::comma)) in parseBasicBlock()
6473 bool NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
6474 bool NSW = EatIfPresent(lltok::kw_nsw); in parseInstruction()
6475 if (!NUW) NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
6502 bool Exact = EatIfPresent(lltok::kw_exact); in parseInstruction()
6515 bool Disjoint = EatIfPresent(lltok::kw_disjoint); in parseInstruction()
6539 bool NonNeg = EatIfPresent(lltok::kw_nneg); in parseInstruction()
6808 while (EatIfPresent(lltok::comma)) { in parseIndirectBr()
7048 } while (EatIfPresent(lltok::comma)); in parseCatchSwitch()
7057 if (EatIfPresent(lltok::kw_to)) { in parseCatchSwitch()
7180 while (EatIfPresent(lltok::comma)) { in parseCallBr()
7457 } else if (!EatIfPresent(lltok::comma)) in parsePHI()
7495 LP->setCleanup(EatIfPresent(lltok::kw_cleanup)); in parseLandingPad()
7499 if (EatIfPresent(lltok::kw_catch)) in parseLandingPad()
7501 else if (EatIfPresent(lltok::kw_filter)) in parseLandingPad()
7661 bool IsInAlloca = EatIfPresent(lltok::kw_inalloca); in parseAlloc()
7662 bool IsSwiftError = EatIfPresent(lltok::kw_swifterror); in parseAlloc()
7671 if (EatIfPresent(lltok::comma)) { in parseAlloc()
7686 if (EatIfPresent(lltok::comma)) { in parseAlloc()
7831 if (EatIfPresent(lltok::kw_weak)) in parseCmpXchg()
7834 if (EatIfPresent(lltok::kw_volatile)) in parseCmpXchg()
7885 if (EatIfPresent(lltok::kw_volatile)) in parseAtomicRMW()
8003 bool InBounds = EatIfPresent(lltok::kw_inbounds); in parseGetElementPtr()
8024 while (EatIfPresent(lltok::comma)) { in parseGetElementPtr()
8120 if (EatIfPresent(lltok::rbrace)) in parseMDNodeVector()
8125 if (EatIfPresent(lltok::kw_null)) { in parseMDNodeVector()
8134 } while (EatIfPresent(lltok::comma)); in parseMDNodeVector()
8193 } while (EatIfPresent(lltok::comma)); in parseUseListOrderIndexes()
8353 if (EatIfPresent(lltok::comma)) { in parseTypeIdSummary()
8417 } while (EatIfPresent(lltok::comma)); in parseTypeIdCompatibleVtableEntry()
8494 while (EatIfPresent(lltok::comma)) { in parseTypeTestResolution()
8553 } while (EatIfPresent(lltok::comma)); in parseOptionalWpdResolutions()
8593 while (EatIfPresent(lltok::comma)) { in parseWpdRes()
8663 while (EatIfPresent(lltok::comma)) { in parseOptionalResByArg()
8693 } while (EatIfPresent(lltok::comma)); in parseOptionalResByArg()
8714 } while (EatIfPresent(lltok::comma)); in parseArgs()
8867 if (!EatIfPresent(lltok::comma)) { in parseGVEntry()
8903 } while (EatIfPresent(lltok::comma)); in parseGVEntry()
8947 while (EatIfPresent(lltok::comma)) { in parseFunctionSummary()
9030 while (EatIfPresent(lltok::comma)) { in parseVariableSummary()
9203 } while (EatIfPresent(lltok::comma)); in parseOptionalFFlags()
9243 while (EatIfPresent(lltok::comma)) { in parseOptionalCalls()
9276 } while (EatIfPresent(lltok::comma)); in parseOptionalCalls()
9361 } while (EatIfPresent(lltok::comma)); in parseOptionalVTableFuncs()
9458 if (EatIfPresent(lltok::comma)) { in parseParamAccess()
9468 } while (EatIfPresent(lltok::comma)); in parseParamAccess()
9501 } while (EatIfPresent(lltok::comma)); in parseOptionalParamAccesses()
9545 } while (EatIfPresent(lltok::comma)); in parseOptionalRefs()
9623 } while (EatIfPresent(lltok::comma)); in parseOptionalTypeIdInfo()
9656 } while (EatIfPresent(lltok::comma)); in parseTypeTests()
9692 } while (EatIfPresent(lltok::comma)); in parseVFuncIdList()
9729 } while (EatIfPresent(lltok::comma)); in parseConstVCallList()
9756 if (EatIfPresent(lltok::comma)) in parseConstVCall()
9861 } while (EatIfPresent(lltok::comma)); in parseGVFlags()
9914 } while (EatIfPresent(lltok::comma)); in parseGVarFlags()
9938 bool WriteOnly = false, ReadOnly = EatIfPresent(lltok::kw_readonly); in parseGVReference()
9940 WriteOnly = EatIfPresent(lltok::kw_writeonly); in parseGVReference()
9987 } while (EatIfPresent(lltok::comma)); in parseOptionalAllocs()
10001 } while (EatIfPresent(lltok::comma)); in parseOptionalAllocs()
10045 } while (EatIfPresent(lltok::comma)); in parseMemProfs()
10054 } while (EatIfPresent(lltok::comma)); in parseMemProfs()
10111 if (!EatIfPresent(lltok::kw_null)) { in parseOptionalCallsites()
10128 } while (EatIfPresent(lltok::comma)); in parseOptionalCallsites()
10143 } while (EatIfPresent(lltok::comma)); in parseOptionalCallsites()
10157 } while (EatIfPresent(lltok::comma)); in parseOptionalCallsites()