Displaying 4 results from an estimated 4 matches for "int_foo6".
Did you mean:
int_foo
2016 Mar 24
4
attribute of intrinsic function
...ory it can get access to and it may have other side effects)".
But when I define the intrinsic function with different attributes, there
is no difference when I dump the IR. For example, two intrinsic functions
are
def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>;
def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>;
Then I write a very simple module, in each module the intrinsic function is
called twice as shown below:
/******the intrinsic function foo5 is used******/
; Function Attrs: nounwind
define void @_Z3fooPi(i8* %a) #0 {
call void @llvm.foo5(i8* %a)
call...
2016 Mar 24
0
attribute of intrinsic function
...> other side effects)".
>
> But when I define the intrinsic function with different attributes,
> there is no difference when I dump the IR. For example, two intrinsic
> functions are
>
> def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>;
> def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>;
>
> Then I write a very simple module, in each module the intrinsic
> function is called twice as shown below:
>
> /******the intrinsic function foo5 is used******/
> ; Function Attrs: nounwind
> define void @_Z3fooPi(i8* %a) #0 {
>...
2016 Mar 24
0
attribute of intrinsic function
...d it may have other side effects)".
>
> But when I define the intrinsic function with different attributes, there is no difference when I dump the IR. For example, two intrinsic functions are
>
> def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>;
> def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>;
>
> Then I write a very simple module, in each module the intrinsic function is called twice as shown below:
>
> /******the intrinsic function foo5 is used******/
> ; Function Attrs: nounwind
> define void @_Z3fooPi(i8* %a) #0 {
> c...
2016 Mar 25
1
attribute of intrinsic function
...ay have other side effects)".
>
> But when I define the intrinsic function with different attributes, there
> is no difference when I dump the IR. For example, two intrinsic functions
> are
>
> def int_foo5 : Intrinsic<[], [llvm_ptr_ty], [IntrReadWriteArgMem]>;
> def int_foo6 : Intrinsic<[], [llvm_ptr_ty], []>;
>
> Then I write a very simple module, in each module the intrinsic function
> is called twice as shown below:
>
> /******the intrinsic function foo5 is used******/
> ; Function Attrs: nounwind
> define void @_Z3fooPi(i8* %a) #0 {
>...