@@ -22334,6 +22334,114 @@ ir.cpp:
2233422334# 2480| Type = [Struct] B
2233522335# 2480| ValueCategory = xvalue
2233622336# 2481| getStmt(1): [ReturnStmt] return ...
22337+ # 2484| [TopLevelFunction] void destructor_without_block(bool)
22338+ # 2484| <params>:
22339+ # 2484| getParameter(0): [Parameter] b
22340+ # 2484| Type = [BoolType] bool
22341+ # 2485| getEntryPoint(): [BlockStmt] { ... }
22342+ # 2486| getStmt(0): [IfStmt] if (...) ...
22343+ # 2486| getCondition(): [VariableAccess] b
22344+ # 2486| Type = [BoolType] bool
22345+ # 2486| ValueCategory = prvalue(load)
22346+ # 2487| getThen(): [DeclStmt] declaration
22347+ # 2487| getDeclarationEntry(0): [VariableDeclarationEntry] definition of c
22348+ # 2487| Type = [Class] ClassWithDestructor
22349+ # 2487| getVariable().getInitializer(): [Initializer] initializer for c
22350+ # 2487| getExpr(): [ConstructorCall] call to ClassWithDestructor
22351+ # 2487| Type = [VoidType] void
22352+ # 2487| ValueCategory = prvalue
22353+ #-----| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor
22354+ #-----| Type = [VoidType] void
22355+ #-----| ValueCategory = prvalue
22356+ #-----| getQualifier(): [VariableAccess] c
22357+ #-----| Type = [Class] ClassWithDestructor
22358+ #-----| ValueCategory = lvalue
22359+ # 2489| getStmt(1): [IfStmt] if (...) ...
22360+ # 2489| getCondition(): [VariableAccess] b
22361+ # 2489| Type = [BoolType] bool
22362+ # 2489| ValueCategory = prvalue(load)
22363+ # 2490| getThen(): [DeclStmt] declaration
22364+ # 2490| getDeclarationEntry(0): [VariableDeclarationEntry] definition of d
22365+ # 2490| Type = [Class] ClassWithDestructor
22366+ # 2490| getVariable().getInitializer(): [Initializer] initializer for d
22367+ # 2490| getExpr(): [ConstructorCall] call to ClassWithDestructor
22368+ # 2490| Type = [VoidType] void
22369+ # 2490| ValueCategory = prvalue
22370+ #-----| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor
22371+ #-----| Type = [VoidType] void
22372+ #-----| ValueCategory = prvalue
22373+ #-----| getQualifier(): [VariableAccess] d
22374+ #-----| Type = [Class] ClassWithDestructor
22375+ #-----| ValueCategory = lvalue
22376+ # 2492| getElse(): [DeclStmt] declaration
22377+ # 2492| getDeclarationEntry(0): [VariableDeclarationEntry] definition of e
22378+ # 2492| Type = [Class] ClassWithDestructor
22379+ # 2492| getVariable().getInitializer(): [Initializer] initializer for e
22380+ # 2492| getExpr(): [ConstructorCall] call to ClassWithDestructor
22381+ # 2492| Type = [VoidType] void
22382+ # 2492| ValueCategory = prvalue
22383+ #-----| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor
22384+ #-----| Type = [VoidType] void
22385+ #-----| ValueCategory = prvalue
22386+ #-----| getQualifier(): [VariableAccess] e
22387+ #-----| Type = [Class] ClassWithDestructor
22388+ #-----| ValueCategory = lvalue
22389+ # 2494| getStmt(2): [WhileStmt] while (...) ...
22390+ # 2494| getCondition(): [VariableAccess] b
22391+ # 2494| Type = [BoolType] bool
22392+ # 2494| ValueCategory = prvalue(load)
22393+ # 2495| getStmt(): [DeclStmt] declaration
22394+ # 2495| getDeclarationEntry(0): [VariableDeclarationEntry] definition of f
22395+ # 2495| Type = [Class] ClassWithDestructor
22396+ # 2495| getVariable().getInitializer(): [Initializer] initializer for f
22397+ # 2495| getExpr(): [ConstructorCall] call to ClassWithDestructor
22398+ # 2495| Type = [VoidType] void
22399+ # 2495| ValueCategory = prvalue
22400+ #-----| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor
22401+ #-----| Type = [VoidType] void
22402+ #-----| ValueCategory = prvalue
22403+ #-----| getQualifier(): [VariableAccess] f
22404+ #-----| Type = [Class] ClassWithDestructor
22405+ #-----| ValueCategory = lvalue
22406+ # 2497| getStmt(3): [ForStmt] for(...;...;...) ...
22407+ # 2497| getInitialization(): [DeclStmt] declaration
22408+ # 2497| getDeclarationEntry(0): [VariableDeclarationEntry] definition of i
22409+ # 2497| Type = [IntType] int
22410+ # 2497| getVariable().getInitializer(): [Initializer] initializer for i
22411+ # 2497| getExpr(): [Literal] 0
22412+ # 2497| Type = [IntType] int
22413+ # 2497| Value = [Literal] 0
22414+ # 2497| ValueCategory = prvalue
22415+ # 2497| getCondition(): [LTExpr] ... < ...
22416+ # 2497| Type = [BoolType] bool
22417+ # 2497| ValueCategory = prvalue
22418+ # 2497| getLesserOperand(): [VariableAccess] i
22419+ # 2497| Type = [IntType] int
22420+ # 2497| ValueCategory = prvalue(load)
22421+ # 2497| getGreaterOperand(): [Literal] 42
22422+ # 2497| Type = [IntType] int
22423+ # 2497| Value = [Literal] 42
22424+ # 2497| ValueCategory = prvalue
22425+ # 2497| getUpdate(): [PrefixIncrExpr] ++ ...
22426+ # 2497| Type = [IntType] int
22427+ # 2497| ValueCategory = lvalue
22428+ # 2497| getOperand(): [VariableAccess] i
22429+ # 2497| Type = [IntType] int
22430+ # 2497| ValueCategory = lvalue
22431+ # 2498| getStmt(): [DeclStmt] declaration
22432+ # 2498| getDeclarationEntry(0): [VariableDeclarationEntry] definition of g
22433+ # 2498| Type = [Class] ClassWithDestructor
22434+ # 2498| getVariable().getInitializer(): [Initializer] initializer for g
22435+ # 2498| getExpr(): [ConstructorCall] call to ClassWithDestructor
22436+ # 2498| Type = [VoidType] void
22437+ # 2498| ValueCategory = prvalue
22438+ #-----| getImplicitDestructorCall(0): [DestructorCall] call to ~ClassWithDestructor
22439+ #-----| Type = [VoidType] void
22440+ #-----| ValueCategory = prvalue
22441+ #-----| getQualifier(): [VariableAccess] g
22442+ #-----| Type = [Class] ClassWithDestructor
22443+ #-----| ValueCategory = lvalue
22444+ # 2499| getStmt(4): [ReturnStmt] return ...
2233722445perf-regression.cpp:
2233822446# 4| [CopyAssignmentOperator] Big& Big::operator=(Big const&)
2233922447# 4| <params>:
0 commit comments