Displaying 1 result from an estimated 1 matches for "main_execution_loop".
2015 Feb 19
3
[LLVMdev] Patchpoints used for inline caches and pointless reloads
...is occurs in
the context of an abstract machine which in some places uses inline
caches. The problematic code looks like this:
entry: ; Initialize the abstract machine
%db = call create_big_seldom_used_database()
; do a lot of things which increases register pressure and spills %db
br label %main_execution_loop;
main_execution_loop:
; We do instruction dispatch here
...
opcode_a:
%name0 = ...
; Use the database to look up %name0 and then overwrite the patchpoint
; with a direct call
tail call anyregcc void (i64, i32, i8*, i32, ...)*
@llvm.experimental.patchpoint.void(i64 4711, i32 16, @l...