reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | ; RUN: opt -S -argpromotion < %s | FileCheck %s ; RUN: opt -S -passes=argpromotion < %s | FileCheck %s ; RUN: opt -S -debugify -o /dev/null < %s target triple = "x86_64-pc-windows-msvc" define internal void @callee(i8*) { entry: call void @thunk() ret void } define void @test1() personality i32 (...)* @__CxxFrameHandler3 { entry: invoke void @thunk() to label %out unwind label %cpad out: ret void cpad: %pad = cleanuppad within none [] call void @callee(i8* null) [ "funclet"(token %pad) ] cleanupret from %pad unwind to caller } ; CHECK-LABEL: define void @test1( ; CHECK: %[[pad:.*]] = cleanuppad within none [] ; CHECK-NEXT: call void @callee() [ "funclet"(token %[[pad]]) ] ; CHECK-NEXT: cleanupret from %[[pad]] unwind to caller declare void @thunk() declare i32 @__CxxFrameHandler3(...) |