search for: localescape

Displaying 5 results from an estimated 5 matches for "localescape".

2018 Apr 03
2
llvm.localsescape/recover
I 'm using locals recover to have a seh finally in a separate function: %1 = alloca i8*, align 4 store i8* %0, i8** %1 %2 = alloca i32 store i32 0, i32* %2 call void (...) @llvm.localescape(i8** %1, i32* %2) call my finaly like: %loctmp = call i8* @llvm.localaddress() call void @"TEST$Fin0"(i8 0, i8* %loctmp) and recover it with: %2 = call i8* @llvm.localrecover(i8* bitcast (void (i8*)* @TEST to i8*), i8* %1, i32 0) %3 = bitcast i8* %2 to i8** %4 = load i8*, i8** %3...
2018 Apr 03
0
llvm.localsescape/recover
...4:53 AM Carlo Kok via llvm-dev < llvm-dev at lists.llvm.org> wrote: > I 'm using locals recover to have a seh finally in a separate function: > > %1 = alloca i8*, align 4 > store i8* %0, i8** %1 > %2 = alloca i32 > store i32 0, i32* %2 > call void (...) @llvm.localescape(i8** %1, i32* %2) > > call my finaly like: > > %loctmp = call i8* @llvm.localaddress() > call void @"TEST$Fin0"(i8 0, i8* %loctmp) > > and recover it with: > > %2 = call i8* @llvm.localrecover(i8* bitcast (void (i8*)* @TEST to i8*), > i8* %1, i32 0) >...
2018 Apr 04
2
llvm.localsescape/recover
...t;llvm-dev at lists.llvm.org> wrote: >> I 'm using locals recover to have a seh finally in a separate function: >> >>   %1 = alloca i8*, align 4 >>   store i8* %0, i8** %1 >>   %2 = alloca i32 >>   store i32 0, i32* %2 >> call void (...) @llvm.localescape(i8** %1, i32* %2) >> >> call my finaly like: >> >>   %loctmp = call i8* @llvm.localaddress() >> call void @"TEST$Fin0"(i8 0, i8* %loctmp) >> >> and recover it with: >> >>  %2 = call i8* @llvm.localrecover(i8* bitcast (void...
2015 Dec 01
10
[RFC] Intrinsic naming convention (words with dots)
...xcluding here externally-defined terms (e.g. llvm.va_start): No separators (except for the initial namespace prefix): @llvm.gcroot @llvm.gcread @llvm.gcwrite @llvm.experimental.stackmap @llvm.experimental.patchpoint @llvm.experimental.gc.statepoint @llvm.returnaddress @llvm.frameaddress @llvm.localescape @llvm.localrecover @llvm.stacksave @llvm.stackrestore @llvm.pcmarker @llvm.readcyclecounter @llvm.bitreverse @llvm.eh.begincatch @llvm.eh.endcatch @llvm.eh.padparam @llvm.stackprotector @llvm.stackprotectorcheck @llvm.objectsize @llvm.donothing Words with dots: @llvm.sadd.with.overflow @ll...
2015 Sep 21
5
extending liveness of 'this' pointer via FAKE_USE opcode
Hello! At Sony we've seen some serious customer interest in having the 'this' pointer visible throughout an entire function during debugging. However, optimizations may eliminate it after its last use, so we've been looking for a way to artificially extend its liverange to the end of the function. So far, the most compelling way we can think of, and one we have used successfully