Lines Matching refs:EatIfPresent
589 if (EatIfPresent(lltok::kw_unnamed_addr)) in parseOptionalUnnamedAddr()
591 else if (EatIfPresent(lltok::kw_local_unnamed_addr)) in parseOptionalUnnamedAddr()
795 } while (EatIfPresent(lltok::comma)); in parseNamedMetadata()
815 bool IsDistinct = EatIfPresent(lltok::kw_distinct); in parseStandaloneMetadata()
1675 if (!EatIfPresent(lltok::kw_thread_local)) in parseOptionalThreadLocal()
1692 if (!EatIfPresent(lltok::kw_addrspace)) in parseOptionalAddrSpace()
1706 if (EatIfPresent(lltok::equal) && parseStringConstant(Val)) in parseStringAttribute()
1998 } while (EatIfPresent(lltok::comma)); in parseInstructionMetadata()
2028 if (!EatIfPresent(lltok::kw_align)) in parseOptionalAlignment()
2036 if (EatIfPresent(lltok::lparen)) in parseOptionalAlignment()
2043 if (HaveParens && !EatIfPresent(lltok::rparen)) in parseOptionalAlignment()
2066 if (!EatIfPresent(AttrKind)) in parseOptionalDerefAttrBytes()
2069 if (!EatIfPresent(lltok::lparen)) in parseOptionalDerefAttrBytes()
2075 if (!EatIfPresent(lltok::rparen)) in parseOptionalDerefAttrBytes()
2085 if (!EatIfPresent(lltok::lparen)) in parseOptionalUWTableKind()
2101 if (!EatIfPresent(lltok::lparen)) in parseAllocKind()
2125 if (!EatIfPresent(lltok::rparen)) in parseAllocKind()
2141 while (EatIfPresent(lltok::comma)) { in parseOptionalCommaAlign()
2167 while (EatIfPresent(lltok::comma)) { in parseOptionalCommaAddrSpace()
2190 if (!EatIfPresent(lltok::lparen)) in parseAllocSizeArguments()
2196 if (EatIfPresent(lltok::comma)) { in parseAllocSizeArguments()
2209 if (!EatIfPresent(lltok::rparen)) in parseAllocSizeArguments()
2219 if (!EatIfPresent(lltok::lparen)) in parseVScaleRangeArguments()
2225 if (EatIfPresent(lltok::comma)) { in parseVScaleRangeArguments()
2232 if (!EatIfPresent(lltok::rparen)) in parseVScaleRangeArguments()
2256 if (EatIfPresent(lltok::kw_syncscope)) { in parseScope()
2258 if (!EatIfPresent(lltok::lparen)) in parseScope()
2267 if (!EatIfPresent(lltok::rparen)) in parseScope()
2304 if (!EatIfPresent(lltok::kw_alignstack)) in parseOptionalStackAlignment()
2307 if (!EatIfPresent(lltok::lparen)) in parseOptionalStackAlignment()
2313 if (!EatIfPresent(lltok::rparen)) in parseOptionalStackAlignment()
2336 while (EatIfPresent(lltok::comma)) { in parseIndexList()
2548 if (!EatIfPresent(AttrToken)) in parseRequiredTypeAttr()
2550 if (!EatIfPresent(lltok::lparen)) in parseRequiredTypeAttr()
2554 if (!EatIfPresent(lltok::rparen)) in parseRequiredTypeAttr()
2573 if (!EatIfPresent(lltok::lsquare)) in parseOptionalOperandBundles()
2666 while (EatIfPresent(lltok::comma)) { in parseArgumentList()
2668 if (EatIfPresent(lltok::dotdotdot)) { in parseArgumentList()
2758 if (EatIfPresent(lltok::kw_opaque)) { in parseStructDefinition()
2770 bool isPacked = EatIfPresent(lltok::less); in parseStructDefinition()
2815 if (EatIfPresent(lltok::rbrace)) in parseStructBody()
2827 while (EatIfPresent(lltok::comma)) { in parseStructBody()
3202 bool isPackedStruct = EatIfPresent(lltok::lbrace); in parseValID()
3574 if (EatIfPresent(lltok::kw_nuw)) in parseValID()
3576 if (EatIfPresent(lltok::kw_nsw)) { in parseValID()
3578 if (EatIfPresent(lltok::kw_nuw)) in parseValID()
3583 if (EatIfPresent(lltok::kw_exact)) in parseValID()
3664 InBounds = EatIfPresent(lltok::kw_inbounds); in parseValID()
3796 if (!EatIfPresent(lltok::kw_comdat)) in parseOptionalComdat()
3799 if (EatIfPresent(lltok::lparen)) { in parseOptionalComdat()
3828 if (InRangeOp && !*InRangeOp && EatIfPresent(lltok::kw_inrange)) in parseGlobalValueVector()
3835 } while (EatIfPresent(lltok::comma)); in parseGlobalValueVector()
4262 } while (EatIfPresent(lltok::bar)); in parseMDField()
4302 } while (EatIfPresent(lltok::bar)); in parseMDField()
4433 } while (EatIfPresent(lltok::comma)); in parseMDFieldsImplBody()
5179 } while (EatIfPresent(lltok::comma)); in parseDIExpression()
5209 } while (EatIfPresent(lltok::comma)); in parseDIArgList()
5664 (EatIfPresent(lltok::kw_section) && parseStringConstant(Section)) || in parseFunctionHeader()
5665 (EatIfPresent(lltok::kw_partition) && parseStringConstant(Partition)) || in parseFunctionHeader()
5668 (EatIfPresent(lltok::kw_gc) && parseStringConstant(GC)) || in parseFunctionHeader()
5669 (EatIfPresent(lltok::kw_prefix) && parseGlobalTypeAndValue(Prefix)) || in parseFunctionHeader()
5670 (EatIfPresent(lltok::kw_prologue) && parseGlobalTypeAndValue(Prologue)) || in parseFunctionHeader()
5671 (EatIfPresent(lltok::kw_personality) && in parseFunctionHeader()
5944 if (EatIfPresent(lltok::comma)) in parseBasicBlock()
6025 bool NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
6026 bool NSW = EatIfPresent(lltok::kw_nsw); in parseInstruction()
6027 if (!NUW) NUW = EatIfPresent(lltok::kw_nuw); in parseInstruction()
6054 bool Exact = EatIfPresent(lltok::kw_exact); in parseInstruction()
6345 while (EatIfPresent(lltok::comma)) { in parseIndirectBr()
6576 } while (EatIfPresent(lltok::comma)); in parseCatchSwitch()
6585 if (EatIfPresent(lltok::kw_to)) { in parseCatchSwitch()
6708 while (EatIfPresent(lltok::comma)) { in parseCallBr()
6996 if (!EatIfPresent(lltok::comma)) in parsePHI()
7035 LP->setCleanup(EatIfPresent(lltok::kw_cleanup)); in parseLandingPad()
7039 if (EatIfPresent(lltok::kw_catch)) in parseLandingPad()
7041 else if (EatIfPresent(lltok::kw_filter)) in parseLandingPad()
7213 bool IsInAlloca = EatIfPresent(lltok::kw_inalloca); in parseAlloc()
7214 bool IsSwiftError = EatIfPresent(lltok::kw_swifterror); in parseAlloc()
7223 if (EatIfPresent(lltok::comma)) { in parseAlloc()
7238 if (EatIfPresent(lltok::comma)) { in parseAlloc()
7393 if (EatIfPresent(lltok::kw_weak)) in parseCmpXchg()
7396 if (EatIfPresent(lltok::kw_volatile)) in parseCmpXchg()
7453 if (EatIfPresent(lltok::kw_volatile)) in parseAtomicRMW()
7568 bool InBounds = EatIfPresent(lltok::kw_inbounds); in parseGetElementPtr()
7598 while (EatIfPresent(lltok::comma)) { in parseGetElementPtr()
7689 if (EatIfPresent(lltok::rbrace)) in parseMDNodeVector()
7694 if (EatIfPresent(lltok::kw_null)) { in parseMDNodeVector()
7703 } while (EatIfPresent(lltok::comma)); in parseMDNodeVector()
7762 } while (EatIfPresent(lltok::comma)); in parseUseListOrderIndexes()
7922 if (EatIfPresent(lltok::comma)) { in parseTypeIdSummary()
7986 } while (EatIfPresent(lltok::comma)); in parseTypeIdCompatibleVtableEntry()
8063 while (EatIfPresent(lltok::comma)) { in parseTypeTestResolution()
8122 } while (EatIfPresent(lltok::comma)); in parseOptionalWpdResolutions()
8162 while (EatIfPresent(lltok::comma)) { in parseWpdRes()
8232 while (EatIfPresent(lltok::comma)) { in parseOptionalResByArg()
8262 } while (EatIfPresent(lltok::comma)); in parseOptionalResByArg()
8283 } while (EatIfPresent(lltok::comma)); in parseArgs()
8431 if (!EatIfPresent(lltok::comma)) { in parseGVEntry()
8468 } while (EatIfPresent(lltok::comma)); in parseGVEntry()
8509 while (EatIfPresent(lltok::comma)) { in parseFunctionSummary()
8584 while (EatIfPresent(lltok::comma)) { in parseVariableSummary()
8759 } while (EatIfPresent(lltok::comma)); in parseOptionalFFlags()
8795 if (EatIfPresent(lltok::comma)) { in parseOptionalCalls()
8797 if (EatIfPresent(lltok::kw_hotness)) { in parseOptionalCalls()
8815 } while (EatIfPresent(lltok::comma)); in parseOptionalCalls()
8900 } while (EatIfPresent(lltok::comma)); in parseOptionalVTableFuncs()
8997 if (EatIfPresent(lltok::comma)) { in parseParamAccess()
9007 } while (EatIfPresent(lltok::comma)); in parseParamAccess()
9040 } while (EatIfPresent(lltok::comma)); in parseOptionalParamAccesses()
9084 } while (EatIfPresent(lltok::comma)); in parseOptionalRefs()
9162 } while (EatIfPresent(lltok::comma)); in parseOptionalTypeIdInfo()
9195 } while (EatIfPresent(lltok::comma)); in parseTypeTests()
9231 } while (EatIfPresent(lltok::comma)); in parseVFuncIdList()
9268 } while (EatIfPresent(lltok::comma)); in parseConstVCallList()
9295 if (EatIfPresent(lltok::comma)) in parseConstVCall()
9400 } while (EatIfPresent(lltok::comma)); in parseGVFlags()
9453 } while (EatIfPresent(lltok::comma)); in parseGVarFlags()
9477 bool WriteOnly = false, ReadOnly = EatIfPresent(lltok::kw_readonly); in parseGVReference()
9479 WriteOnly = EatIfPresent(lltok::kw_writeonly); in parseGVReference()