Displaying 5 results from an estimated 5 matches for "basicblock1".
Did you mean:
basicblock
2018 Aug 20
2
Windows "0xC00001A5: An invalid exception handler routine has been detected" with LLVM win32 (i386) SEH code
...ay_t_1s* %0, %._gt2a_RemObjects_d_Elements_d_System_d_Array_t_1s** %1
call void @llvm.dbg.declare(metadata %._gt2a_RemObjects_d_Elements_d_System_d_Array_t_1s** %1, metadata !86, metadata !DIExpression()), !dbg !88
%csLoc0 = alloca i32, !dbg !88
store i32 0, i32* %csLoc0, !dbg !88
br label %BasicBlock1, !dbg !88
BasicBlock1: ; preds = %BasicBlock0
call void @llvm.dbg.declare(metadata i32* %csLoc0, metadata !89, metadata !DIExpression()), !dbg !91
store i32 0, i32* %csLoc0, !dbg !91
invoke void @ms_t1d_ConsoleApplication4_d_Program2_m1()
to lab...
2018 Aug 20
2
Windows "0xC00001A5: An invalid exception handler routine has been detected" with LLVM win32 (i386) SEH code
...1s** %1>> call void @llvm.dbg.declare(metadata
>> %._gt2a_RemObjects_d_Elements_d_System_d_Array_t_1s** %1, metadata
>> !86, metadata !DIExpression()), !dbg !88>> %csLoc0 = alloca i32, !dbg !88
>> store i32 0, i32* %csLoc0, !dbg !88
>> br label %BasicBlock1, !dbg !88
>>
>> BasicBlock1: ; preds =
>> %BasicBlock0>> call void @llvm.dbg.declare(metadata i32* %csLoc0, metadata !89,
>> metadata !DIExpression()), !dbg !91>> store i32 0, i32* %csLoc0, !dbg !91
>> inv...
2017 Oct 29
2
A query language for LLVM IR (XPath)
...ts is provided.
Attached you can find the class to query a LLVM module and example LLVM
module (using LLVM 3.8, but newer versions should do to).
The current implementation pretends that a module looks like the
following XML tree (more or less):
<main.ll>
<main>
<basicblock1>
<alloca />
<alloca />
...
</basicblock1>
...
</main>
</main.ll>
Additional information could be encoded in attributes.
Please note that the queries are done on the LLVM IR directly, no XML
tree is materialize...
2017 Oct 31
2
A query language for LLVM IR (XPath)
...he class to query a LLVM module and example LLVM
> module (using LLVM 3.8, but newer versions should do to).
>
> The current implementation pretends that a module looks like the
> following XML tree (more or less):
>
> <main.ll>
> <main>
> <basicblock1>
> <alloca />
> <alloca />
> ...
> </basicblock1>
> ...
> </main>
> </main.ll>
>
> Additional information could be encoded in attributes.
> Please note that the queries are done o...
2012 Nov 10
2
[LLVMdev] Saving a reference to a Basic Block?
...the details).
But to explain it in psudeo code:
The BASIC code is:
gosub sub1
gosub sub2
sub1:
sub2:
return
(Note the "subroutine" has multiple entry points, or put another way, the
subroutines can share common code or return statements)
Which translates to this llvm psuedo code:
basicblock1: ext_runtime_function_push(101): br sub1 <-- 101 could be
anything, the compiler stores a map of 101-to-basicblock1_ret
basicblock1_ret:
basicblock2: ext_runtime_function_push(102): br sub2 <-- 102 could be
anything, the compiler stores a map of 102-to-basicblock2_ret
basicblock2_ret:...