"Fossies" - the Fresh Open Source Software Archive

Member "pocl-1.8/lib/kernel/addrspace_operators.ll" (12 Oct 2021, 1298 Bytes) of package /linux/misc/pocl-1.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 ; ModuleID = 'test.bc'
    2 source_filename = "test.c"
    3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
    4 target triple = "x86_64-pc-linux-gnu"
    5 
    6 define dso_local i8 addrspace(3)* @__to_local(i8 addrspace(4)* %address) local_unnamed_addr #0 {
    7   %1 = addrspacecast i8 addrspace(4)* %address to i8 addrspace(3)*
    8   ret i8 addrspace(3)* %1
    9 }
   10 
   11 define dso_local i8 addrspace(1)* @__to_global(i8 addrspace(4)* %address) local_unnamed_addr #0 {
   12   %1 = addrspacecast i8 addrspace(4)* %address to i8 addrspace(1)*
   13   ret i8 addrspace(1)* %1
   14 }
   15 
   16 define dso_local i8* @__to_private(i8 addrspace(4)* %address) local_unnamed_addr #0 {
   17   %1 = addrspacecast i8 addrspace(4)* %address to i8*
   18   ret i8* %1
   19 }
   20 
   21 attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
   22 
   23 !0 = !{i32 1, !"wchar_size", i32 4}
   24 !1 = !{!"clang version 8.0.1- (branches/release_80)"}