@@ -14462,6 +14462,106 @@ ir.cpp:
1446214462# 1911| getExpr(): [VariableAccess] x
1446314463# 1911| Type = [IntType] int
1446414464# 1911| ValueCategory = prvalue(load)
14465+ # 1914| [TopLevelFunction] int static_function(int)
14466+ # 1914| <params>:
14467+ # 1914| getParameter(0): [Parameter] x
14468+ # 1914| Type = [IntType] int
14469+ # 1914| getEntryPoint(): [BlockStmt] { ... }
14470+ # 1915| getStmt(0): [ReturnStmt] return ...
14471+ # 1915| getExpr(): [VariableAccess] x
14472+ # 1915| Type = [IntType] int
14473+ # 1915| ValueCategory = prvalue(load)
14474+ # 1918| [TopLevelFunction] void test_static_functions_with_assignments()
14475+ # 1918| <params>:
14476+ # 1918| getEntryPoint(): [BlockStmt] { ... }
14477+ # 1919| getStmt(0): [DeclStmt] declaration
14478+ # 1919| getDeclarationEntry(0): [VariableDeclarationEntry] definition of c
14479+ # 1919| Type = [Class] C
14480+ # 1919| getVariable().getInitializer(): [Initializer] initializer for c
14481+ # 1919| getExpr(): [ConstructorCall] call to C
14482+ # 1919| Type = [VoidType] void
14483+ # 1919| ValueCategory = prvalue
14484+ # 1920| getStmt(1): [DeclStmt] declaration
14485+ # 1920| getDeclarationEntry(0): [VariableDeclarationEntry] definition of x
14486+ # 1920| Type = [IntType] int
14487+ # 1921| getStmt(2): [ExprStmt] ExprStmt
14488+ # 1921| getExpr(): [AssignExpr] ... = ...
14489+ # 1921| Type = [IntType] int
14490+ # 1921| ValueCategory = lvalue
14491+ # 1921| getLValue(): [VariableAccess] x
14492+ # 1921| Type = [IntType] int
14493+ # 1921| ValueCategory = lvalue
14494+ # 1921| getRValue(): [FunctionCall] call to StaticMemberFunction
14495+ # 1921| Type = [IntType] int
14496+ # 1921| ValueCategory = prvalue
14497+ # 1921| getQualifier(): [VariableAccess] c
14498+ # 1921| Type = [Class] C
14499+ # 1921| ValueCategory = lvalue
14500+ # 1921| getArgument(0): [Literal] 10
14501+ # 1921| Type = [IntType] int
14502+ # 1921| Value = [Literal] 10
14503+ # 1921| ValueCategory = prvalue
14504+ # 1922| getStmt(3): [DeclStmt] declaration
14505+ # 1922| getDeclarationEntry(0): [VariableDeclarationEntry] definition of y
14506+ # 1922| Type = [IntType] int
14507+ # 1923| getStmt(4): [ExprStmt] ExprStmt
14508+ # 1923| getExpr(): [AssignExpr] ... = ...
14509+ # 1923| Type = [IntType] int
14510+ # 1923| ValueCategory = lvalue
14511+ # 1923| getLValue(): [VariableAccess] y
14512+ # 1923| Type = [IntType] int
14513+ # 1923| ValueCategory = lvalue
14514+ # 1923| getRValue(): [FunctionCall] call to StaticMemberFunction
14515+ # 1923| Type = [IntType] int
14516+ # 1923| ValueCategory = prvalue
14517+ # 1923| getArgument(0): [Literal] 10
14518+ # 1923| Type = [IntType] int
14519+ # 1923| Value = [Literal] 10
14520+ # 1923| ValueCategory = prvalue
14521+ # 1924| getStmt(5): [DeclStmt] declaration
14522+ # 1924| getDeclarationEntry(0): [VariableDeclarationEntry] definition of z
14523+ # 1924| Type = [IntType] int
14524+ # 1925| getStmt(6): [ExprStmt] ExprStmt
14525+ # 1925| getExpr(): [AssignExpr] ... = ...
14526+ # 1925| Type = [IntType] int
14527+ # 1925| ValueCategory = lvalue
14528+ # 1925| getLValue(): [VariableAccess] z
14529+ # 1925| Type = [IntType] int
14530+ # 1925| ValueCategory = lvalue
14531+ # 1925| getRValue(): [FunctionCall] call to static_function
14532+ # 1925| Type = [IntType] int
14533+ # 1925| ValueCategory = prvalue
14534+ # 1925| getArgument(0): [Literal] 10
14535+ # 1925| Type = [IntType] int
14536+ # 1925| Value = [Literal] 10
14537+ # 1925| ValueCategory = prvalue
14538+ # 1926| getStmt(7): [ReturnStmt] return ...
14539+ # 1928| [TopLevelFunction] void test_double_assign()
14540+ # 1928| <params>:
14541+ # 1928| getEntryPoint(): [BlockStmt] { ... }
14542+ # 1929| getStmt(0): [DeclStmt] declaration
14543+ # 1929| getDeclarationEntry(0): [VariableDeclarationEntry] definition of i
14544+ # 1929| Type = [IntType] int
14545+ # 1929| getDeclarationEntry(1): [VariableDeclarationEntry] definition of j
14546+ # 1929| Type = [IntType] int
14547+ # 1930| getStmt(1): [ExprStmt] ExprStmt
14548+ # 1930| getExpr(): [AssignExpr] ... = ...
14549+ # 1930| Type = [IntType] int
14550+ # 1930| ValueCategory = lvalue
14551+ # 1930| getLValue(): [VariableAccess] i
14552+ # 1930| Type = [IntType] int
14553+ # 1930| ValueCategory = lvalue
14554+ # 1930| getRValue(): [AssignExpr] ... = ...
14555+ # 1930| Type = [IntType] int
14556+ # 1930| ValueCategory = prvalue
14557+ # 1930| getLValue(): [VariableAccess] j
14558+ # 1930| Type = [IntType] int
14559+ # 1930| ValueCategory = lvalue
14560+ # 1930| getRValue(): [Literal] 40
14561+ # 1930| Type = [IntType] int
14562+ # 1930| Value = [Literal] 40
14563+ # 1930| ValueCategory = prvalue
14564+ # 1931| getStmt(2): [ReturnStmt] return ...
1446514565perf-regression.cpp:
1446614566# 4| [CopyAssignmentOperator] Big& Big::operator=(Big const&)
1446714567# 4| <params>:
0 commit comments