@@ -14596,6 +14596,141 @@ ir.cpp:
1459614596# 1935| Type = [IntType] int
1459714597# 1935| ValueCategory = prvalue
1459814598# 1936| getStmt(2): [ReturnStmt] return ...
14599+ # 1938| [CopyAssignmentOperator] D& D::operator=(D const&)
14600+ # 1938| <params>:
14601+ #-----| getParameter(0): [Parameter] (unnamed parameter 0)
14602+ #-----| Type = [LValueReferenceType] const D &
14603+ # 1938| [MoveAssignmentOperator] D& D::operator=(D&&)
14604+ # 1938| <params>:
14605+ #-----| getParameter(0): [Parameter] (unnamed parameter 0)
14606+ #-----| Type = [RValueReferenceType] D &&
14607+ # 1942| [MemberFunction] D& D::ReferenceStaticMemberFunction()
14608+ # 1942| <params>:
14609+ # 1942| getEntryPoint(): [BlockStmt] { ... }
14610+ # 1943| getStmt(0): [ReturnStmt] return ...
14611+ # 1943| getExpr(): [VariableAccess] x
14612+ # 1943| Type = [Class] D
14613+ # 1943| ValueCategory = lvalue
14614+ # 1943| getExpr().getFullyConverted(): [ReferenceToExpr] (reference to)
14615+ # 1943| Type = [LValueReferenceType] D &
14616+ # 1943| ValueCategory = prvalue
14617+ # 1945| [MemberFunction] D D::ObjectStaticMemberFunction()
14618+ # 1945| <params>:
14619+ # 1945| getEntryPoint(): [BlockStmt] { ... }
14620+ # 1946| getStmt(0): [ReturnStmt] return ...
14621+ # 1946| getExpr(): [VariableAccess] x
14622+ # 1946| Type = [Class] D
14623+ # 1946| ValueCategory = prvalue(load)
14624+ # 1950| [TopLevelFunction] void test_static_member_functions_with_reference_return()
14625+ # 1950| <params>:
14626+ # 1950| getEntryPoint(): [BlockStmt] { ... }
14627+ # 1951| getStmt(0): [DeclStmt] declaration
14628+ # 1951| getDeclarationEntry(0): [VariableDeclarationEntry] definition of d
14629+ # 1951| Type = [Class] D
14630+ # 1953| getStmt(1): [ExprStmt] ExprStmt
14631+ # 1953| getExpr(): [FunctionCall] call to ReferenceStaticMemberFunction
14632+ # 1953| Type = [LValueReferenceType] D &
14633+ # 1953| ValueCategory = prvalue
14634+ # 1953| getQualifier(): [VariableAccess] d
14635+ # 1953| Type = [Class] D
14636+ # 1953| ValueCategory = lvalue
14637+ # 1953| getExpr().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference)
14638+ # 1953| Type = [Class] D
14639+ # 1953| ValueCategory = lvalue
14640+ # 1954| getStmt(2): [ExprStmt] ExprStmt
14641+ # 1954| getExpr(): [FunctionCall] call to ReferenceStaticMemberFunction
14642+ # 1954| Type = [LValueReferenceType] D &
14643+ # 1954| ValueCategory = prvalue
14644+ # 1954| getExpr().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference)
14645+ # 1954| Type = [Class] D
14646+ # 1954| ValueCategory = lvalue
14647+ # 1955| getStmt(3): [ExprStmt] ExprStmt
14648+ # 1955| getExpr(): [FunctionCall] call to ObjectStaticMemberFunction
14649+ # 1955| Type = [Class] D
14650+ # 1955| ValueCategory = prvalue
14651+ # 1955| getQualifier(): [VariableAccess] d
14652+ # 1955| Type = [Class] D
14653+ # 1955| ValueCategory = lvalue
14654+ # 1956| getStmt(4): [ExprStmt] ExprStmt
14655+ # 1956| getExpr(): [FunctionCall] call to ObjectStaticMemberFunction
14656+ # 1956| Type = [Class] D
14657+ # 1956| ValueCategory = prvalue
14658+ # 1958| getStmt(5): [DeclStmt] declaration
14659+ # 1958| getDeclarationEntry(0): [VariableDeclarationEntry] definition of x
14660+ # 1958| Type = [Class] D
14661+ # 1959| getStmt(6): [ExprStmt] ExprStmt
14662+ # 1959| getExpr(): [AssignExpr] ... = ...
14663+ # 1959| Type = [Class] D
14664+ # 1959| ValueCategory = lvalue
14665+ # 1959| getLValue(): [VariableAccess] x
14666+ # 1959| Type = [Class] D
14667+ # 1959| ValueCategory = lvalue
14668+ # 1959| getRValue(): [FunctionCall] call to ReferenceStaticMemberFunction
14669+ # 1959| Type = [LValueReferenceType] D &
14670+ # 1959| ValueCategory = prvalue
14671+ # 1959| getQualifier(): [VariableAccess] d
14672+ # 1959| Type = [Class] D
14673+ # 1959| ValueCategory = lvalue
14674+ # 1959| getRValue().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference)
14675+ # 1959| Type = [Class] D
14676+ # 1959| ValueCategory = prvalue(load)
14677+ # 1960| getStmt(7): [DeclStmt] declaration
14678+ # 1960| getDeclarationEntry(0): [VariableDeclarationEntry] definition of y
14679+ # 1960| Type = [Class] D
14680+ # 1961| getStmt(8): [ExprStmt] ExprStmt
14681+ # 1961| getExpr(): [AssignExpr] ... = ...
14682+ # 1961| Type = [Class] D
14683+ # 1961| ValueCategory = lvalue
14684+ # 1961| getLValue(): [VariableAccess] y
14685+ # 1961| Type = [Class] D
14686+ # 1961| ValueCategory = lvalue
14687+ # 1961| getRValue(): [FunctionCall] call to ReferenceStaticMemberFunction
14688+ # 1961| Type = [LValueReferenceType] D &
14689+ # 1961| ValueCategory = prvalue
14690+ # 1961| getRValue().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference)
14691+ # 1961| Type = [Class] D
14692+ # 1961| ValueCategory = prvalue(load)
14693+ # 1962| getStmt(9): [DeclStmt] declaration
14694+ # 1962| getDeclarationEntry(0): [VariableDeclarationEntry] definition of j
14695+ # 1962| Type = [Class] D
14696+ # 1963| getStmt(10): [ExprStmt] ExprStmt
14697+ # 1963| getExpr(): [AssignExpr] ... = ...
14698+ # 1963| Type = [Class] D
14699+ # 1963| ValueCategory = lvalue
14700+ # 1963| getLValue(): [VariableAccess] j
14701+ # 1963| Type = [Class] D
14702+ # 1963| ValueCategory = lvalue
14703+ # 1963| getRValue(): [FunctionCall] call to ObjectStaticMemberFunction
14704+ # 1963| Type = [Class] D
14705+ # 1963| ValueCategory = prvalue
14706+ # 1963| getQualifier(): [VariableAccess] d
14707+ # 1963| Type = [Class] D
14708+ # 1963| ValueCategory = lvalue
14709+ # 1964| getStmt(11): [DeclStmt] declaration
14710+ # 1964| getDeclarationEntry(0): [VariableDeclarationEntry] definition of k
14711+ # 1964| Type = [Class] D
14712+ # 1965| getStmt(12): [ExprStmt] ExprStmt
14713+ # 1965| getExpr(): [AssignExpr] ... = ...
14714+ # 1965| Type = [Class] D
14715+ # 1965| ValueCategory = lvalue
14716+ # 1965| getLValue(): [VariableAccess] k
14717+ # 1965| Type = [Class] D
14718+ # 1965| ValueCategory = lvalue
14719+ # 1965| getRValue(): [FunctionCall] call to ObjectStaticMemberFunction
14720+ # 1965| Type = [Class] D
14721+ # 1965| ValueCategory = prvalue
14722+ # 1966| getStmt(13): [ReturnStmt] return ...
14723+ # 1968| [TopLevelFunction] void test_volatile()
14724+ # 1968| <params>:
14725+ # 1968| getEntryPoint(): [BlockStmt] { ... }
14726+ # 1969| getStmt(0): [DeclStmt] declaration
14727+ # 1969| getDeclarationEntry(0): [VariableDeclarationEntry] definition of x
14728+ # 1969| Type = [SpecifiedType] volatile int
14729+ # 1970| getStmt(1): [ExprStmt] ExprStmt
14730+ # 1970| getExpr(): [VariableAccess] x
14731+ # 1970| Type = [IntType] int
14732+ # 1970| ValueCategory = prvalue(load)
14733+ # 1971| getStmt(2): [ReturnStmt] return ...
1459914734perf-regression.cpp:
1460014735# 4| [CopyAssignmentOperator] Big& Big::operator=(Big const&)
1460114736# 4| <params>:
0 commit comments