@@ -24262,6 +24262,180 @@ ir.cpp:
24262
24262
# 2725| getExpr().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference)
24263
24263
# 2725| Type = [PlainCharType] char
24264
24264
# 2725| ValueCategory = prvalue(load)
24265
+ # 2728| [TopLevelFunction] void test_postfix_crement(int*, int)
24266
+ # 2728| <params>:
24267
+ # 2728| getParameter(0): [Parameter] p
24268
+ # 2728| Type = [IntPointerType] int *
24269
+ # 2728| getParameter(1): [Parameter] q
24270
+ # 2728| Type = [IntType] int
24271
+ # 2728| getEntryPoint(): [BlockStmt] { ... }
24272
+ # 2729| getStmt(0): [ExprStmt] ExprStmt
24273
+ # 2729| getExpr(): [PostfixIncrExpr] ... ++
24274
+ # 2729| Type = [IntPointerType] int *
24275
+ # 2729| ValueCategory = prvalue
24276
+ # 2729| getOperand(): [VariableAccess] p
24277
+ # 2729| Type = [IntPointerType] int *
24278
+ # 2729| ValueCategory = lvalue
24279
+ # 2730| getStmt(1): [ExprStmt] ExprStmt
24280
+ # 2730| getExpr(): [PostfixIncrExpr] ... ++
24281
+ # 2730| Type = [IntType] int
24282
+ # 2730| ValueCategory = prvalue
24283
+ # 2730| getOperand(): [VariableAccess] q
24284
+ # 2730| Type = [IntType] int
24285
+ # 2730| ValueCategory = lvalue
24286
+ # 2731| getStmt(2): [ExprStmt] ExprStmt
24287
+ # 2731| getExpr(): [PostfixIncrExpr] ... ++
24288
+ # 2731| Type = [IntPointerType] int *
24289
+ # 2731| ValueCategory = prvalue
24290
+ # 2731| getOperand(): [VariableAccess] p
24291
+ # 2731| Type = [IntPointerType] int *
24292
+ # 2731| ValueCategory = lvalue
24293
+ # 2731| getExpr().getFullyConverted(): [ParenthesisExpr] (...)
24294
+ # 2731| Type = [IntPointerType] int *
24295
+ # 2731| ValueCategory = prvalue
24296
+ # 2732| getStmt(3): [ExprStmt] ExprStmt
24297
+ # 2732| getExpr(): [PostfixIncrExpr] ... ++
24298
+ # 2732| Type = [IntType] int
24299
+ # 2732| ValueCategory = prvalue
24300
+ # 2732| getOperand(): [VariableAccess] q
24301
+ # 2732| Type = [IntType] int
24302
+ # 2732| ValueCategory = lvalue
24303
+ # 2732| getExpr().getFullyConverted(): [ParenthesisExpr] (...)
24304
+ # 2732| Type = [IntType] int
24305
+ # 2732| ValueCategory = prvalue
24306
+ # 2733| getStmt(4): [ExprStmt] ExprStmt
24307
+ # 2733| getExpr(): [PostfixIncrExpr] ... ++
24308
+ # 2733| Type = [IntPointerType] int *
24309
+ # 2733| ValueCategory = prvalue
24310
+ # 2733| getOperand(): [VariableAccess] p
24311
+ # 2733| Type = [IntPointerType] int *
24312
+ # 2733| ValueCategory = lvalue
24313
+ # 2733| getExpr().getFullyConverted(): [CStyleCast] (void)...
24314
+ # 2733| Conversion = [VoidConversion] conversion to void
24315
+ # 2733| Type = [VoidType] void
24316
+ # 2733| ValueCategory = prvalue
24317
+ # 2733| getExpr(): [ParenthesisExpr] (...)
24318
+ # 2733| Type = [IntPointerType] int *
24319
+ # 2733| ValueCategory = prvalue
24320
+ # 2734| getStmt(5): [ExprStmt] ExprStmt
24321
+ # 2734| getExpr(): [PostfixIncrExpr] ... ++
24322
+ # 2734| Type = [IntType] int
24323
+ # 2734| ValueCategory = prvalue
24324
+ # 2734| getOperand(): [VariableAccess] q
24325
+ # 2734| Type = [IntType] int
24326
+ # 2734| ValueCategory = lvalue
24327
+ # 2734| getExpr().getFullyConverted(): [CStyleCast] (void)...
24328
+ # 2734| Conversion = [VoidConversion] conversion to void
24329
+ # 2734| Type = [VoidType] void
24330
+ # 2734| ValueCategory = prvalue
24331
+ # 2734| getExpr(): [ParenthesisExpr] (...)
24332
+ # 2734| Type = [IntType] int
24333
+ # 2734| ValueCategory = prvalue
24334
+ # 2735| getStmt(6): [ExprStmt] ExprStmt
24335
+ # 2735| getExpr(): [PostfixIncrExpr] ... ++
24336
+ # 2735| Type = [IntPointerType] int *
24337
+ # 2735| ValueCategory = prvalue
24338
+ # 2735| getOperand(): [VariableAccess] p
24339
+ # 2735| Type = [IntPointerType] int *
24340
+ # 2735| ValueCategory = lvalue
24341
+ # 2735| getExpr().getFullyConverted(): [CStyleCast] (void)...
24342
+ # 2735| Conversion = [VoidConversion] conversion to void
24343
+ # 2735| Type = [VoidType] void
24344
+ # 2735| ValueCategory = prvalue
24345
+ # 2736| getStmt(7): [ExprStmt] ExprStmt
24346
+ # 2736| getExpr(): [PostfixIncrExpr] ... ++
24347
+ # 2736| Type = [IntType] int
24348
+ # 2736| ValueCategory = prvalue
24349
+ # 2736| getOperand(): [VariableAccess] q
24350
+ # 2736| Type = [IntType] int
24351
+ # 2736| ValueCategory = lvalue
24352
+ # 2736| getExpr().getFullyConverted(): [CStyleCast] (void)...
24353
+ # 2736| Conversion = [VoidConversion] conversion to void
24354
+ # 2736| Type = [VoidType] void
24355
+ # 2736| ValueCategory = prvalue
24356
+ # 2737| getStmt(8): [DeclStmt] declaration
24357
+ # 2737| getDeclarationEntry(0): [VariableDeclarationEntry] definition of p1
24358
+ # 2737| Type = [IntPointerType] int *
24359
+ # 2737| getVariable().getInitializer(): [Initializer] initializer for p1
24360
+ # 2737| getExpr(): [PostfixIncrExpr] ... ++
24361
+ # 2737| Type = [IntPointerType] int *
24362
+ # 2737| ValueCategory = prvalue
24363
+ # 2737| getOperand(): [VariableAccess] p
24364
+ # 2737| Type = [IntPointerType] int *
24365
+ # 2737| ValueCategory = lvalue
24366
+ # 2738| getStmt(9): [DeclStmt] declaration
24367
+ # 2738| getDeclarationEntry(0): [VariableDeclarationEntry] definition of q1
24368
+ # 2738| Type = [IntType] int
24369
+ # 2738| getVariable().getInitializer(): [Initializer] initializer for q1
24370
+ # 2738| getExpr(): [PostfixIncrExpr] ... ++
24371
+ # 2738| Type = [IntType] int
24372
+ # 2738| ValueCategory = prvalue
24373
+ # 2738| getOperand(): [VariableAccess] q
24374
+ # 2738| Type = [IntType] int
24375
+ # 2738| ValueCategory = lvalue
24376
+ # 2739| getStmt(10): [ExprStmt] ExprStmt
24377
+ # 2739| getExpr(): [PostfixIncrExpr] ... ++
24378
+ # 2739| Type = [IntPointerType] int *
24379
+ # 2739| ValueCategory = prvalue
24380
+ # 2739| getOperand(): [VariableAccess] p
24381
+ # 2739| Type = [IntPointerType] int *
24382
+ # 2739| ValueCategory = lvalue
24383
+ # 2739| getExpr().getFullyConverted(): [CStyleCast] (int *)...
24384
+ # 2739| Conversion = [PointerConversion] pointer conversion
24385
+ # 2739| Type = [IntPointerType] int *
24386
+ # 2739| ValueCategory = prvalue
24387
+ # 2739| getExpr(): [ParenthesisExpr] (...)
24388
+ # 2739| Type = [IntPointerType] int *
24389
+ # 2739| ValueCategory = prvalue
24390
+ # 2740| getStmt(11): [ExprStmt] ExprStmt
24391
+ # 2740| getExpr(): [PostfixIncrExpr] ... ++
24392
+ # 2740| Type = [IntType] int
24393
+ # 2740| ValueCategory = prvalue
24394
+ # 2740| getOperand(): [VariableAccess] q
24395
+ # 2740| Type = [IntType] int
24396
+ # 2740| ValueCategory = lvalue
24397
+ # 2740| getExpr().getFullyConverted(): [CStyleCast] (int)...
24398
+ # 2740| Conversion = [IntegralConversion] integral conversion
24399
+ # 2740| Type = [IntType] int
24400
+ # 2740| ValueCategory = prvalue
24401
+ # 2740| getExpr(): [ParenthesisExpr] (...)
24402
+ # 2740| Type = [IntType] int
24403
+ # 2740| ValueCategory = prvalue
24404
+ # 2741| getStmt(12): [DeclStmt] declaration
24405
+ # 2741| getDeclarationEntry(0): [VariableDeclarationEntry] definition of p2
24406
+ # 2741| Type = [IntPointerType] int *
24407
+ # 2741| getVariable().getInitializer(): [Initializer] initializer for p2
24408
+ # 2741| getExpr(): [PostfixIncrExpr] ... ++
24409
+ # 2741| Type = [IntPointerType] int *
24410
+ # 2741| ValueCategory = prvalue
24411
+ # 2741| getOperand(): [VariableAccess] p
24412
+ # 2741| Type = [IntPointerType] int *
24413
+ # 2741| ValueCategory = lvalue
24414
+ # 2741| getExpr().getFullyConverted(): [CStyleCast] (int *)...
24415
+ # 2741| Conversion = [PointerConversion] pointer conversion
24416
+ # 2741| Type = [IntPointerType] int *
24417
+ # 2741| ValueCategory = prvalue
24418
+ # 2741| getExpr(): [ParenthesisExpr] (...)
24419
+ # 2741| Type = [IntPointerType] int *
24420
+ # 2741| ValueCategory = prvalue
24421
+ # 2742| getStmt(13): [DeclStmt] declaration
24422
+ # 2742| getDeclarationEntry(0): [VariableDeclarationEntry] definition of q2
24423
+ # 2742| Type = [IntType] int
24424
+ # 2742| getVariable().getInitializer(): [Initializer] initializer for q2
24425
+ # 2742| getExpr(): [PostfixIncrExpr] ... ++
24426
+ # 2742| Type = [IntType] int
24427
+ # 2742| ValueCategory = prvalue
24428
+ # 2742| getOperand(): [VariableAccess] q
24429
+ # 2742| Type = [IntType] int
24430
+ # 2742| ValueCategory = lvalue
24431
+ # 2742| getExpr().getFullyConverted(): [CStyleCast] (int)...
24432
+ # 2742| Conversion = [IntegralConversion] integral conversion
24433
+ # 2742| Type = [IntType] int
24434
+ # 2742| ValueCategory = prvalue
24435
+ # 2742| getExpr(): [ParenthesisExpr] (...)
24436
+ # 2742| Type = [IntType] int
24437
+ # 2742| ValueCategory = prvalue
24438
+ # 2743| getStmt(14): [ReturnStmt] return ...
24265
24439
ir23.cpp:
24266
24440
# 1| [TopLevelFunction] bool consteval_1()
24267
24441
# 1| <params>:
0 commit comments