Displaying 1 result from an estimated 1 matches for "useclosur".
Did you mean:
useclosure
2017 Nov 17
2
Ensuring that dead allocations from a custom allocator are killed by LLVM
...n C++.
Consider this example:
; ModuleID = '<stdin>'
source_filename = "Module"
; Function Attrs: inaccessiblememonly noinline norecurse nounwind
declare i8* @alloc(i64) local_unnamed_addr #0
; Function Attrs: inaccessiblememonly noinline norecurse nounwind
declare void @useClosure(i8*) local_unnamed_addr #1
; Function Attrs: alwaysinline norecurse nounwind
define void @main() #1 {
entry:
%closure.raw = tail call noalias i8* @alloc(i64 8)
%fn_slot = bitcast i8* %closure.raw to void ()**
store void ()* @"case_ackerman(atom-3 atom-10)_alts", void ()** %fn_slot...