Displaying 1 result from an estimated 1 matches for "lookup_and_patch".
2015 Feb 19
3
[LLVMdev] Patchpoints used for inline caches and pointless reloads
...p;
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, @lookup_and_patch, i32 0,
some_type %name0, some_type %db)
...
%name1 = ...
; Use the database to look up %name1 and then overwrite the patchpoint
; with a direct call
tail call anyregcc void (i64, i32, i8*, i32, ...)*
@llvm.experimental.patchpoint.void(i64 4711,...