@@ -15716,6 +15716,30 @@ ir.cpp:
1571615716# 2065| Type = [PointerType] Derived2 *
1571715717# 2065| ValueCategory = prvalue(load)
1571815718# 2066| getStmt(6): [ReturnStmt] return ...
15719+ # 2068| [TopLevelFunction] void test_constant_folding_use(int)
15720+ # 2068| <params>:
15721+ # 2068| getParameter(0): [Parameter] (unnamed parameter 0)
15722+ # 2068| Type = [IntType] int
15723+ # 2070| [TopLevelFunction] void test_constant_folding()
15724+ # 2070| <params>:
15725+ # 2070| getEntryPoint(): [BlockStmt] { ... }
15726+ # 2071| getStmt(0): [DeclStmt] declaration
15727+ # 2071| getDeclarationEntry(0): [VariableDeclarationEntry] definition of x
15728+ # 2071| Type = [SpecifiedType] const int
15729+ # 2071| getVariable().getInitializer(): [Initializer] initializer for x
15730+ # 2071| getExpr(): [Literal] 116
15731+ # 2071| Type = [IntType] int
15732+ # 2071| Value = [Literal] 116
15733+ # 2071| ValueCategory = prvalue
15734+ # 2072| getStmt(1): [ExprStmt] ExprStmt
15735+ # 2072| getExpr(): [FunctionCall] call to test_constant_folding_use
15736+ # 2072| Type = [VoidType] void
15737+ # 2072| ValueCategory = prvalue
15738+ # 2072| getArgument(0): [VariableAccess] x
15739+ # 2072| Type = [IntType] int
15740+ # 2072| Value = [VariableAccess] 116
15741+ # 2072| ValueCategory = prvalue(load)
15742+ # 2073| getStmt(2): [ReturnStmt] return ...
1571915743perf-regression.cpp:
1572015744# 4| [CopyAssignmentOperator] Big& Big::operator=(Big const&)
1572115745# 4| <params>:
0 commit comments