Displaying 4 results from an estimated 4 matches for "int_foo5".
Did you mean:
int_foo
2016 Mar 24
4
attribute of intrinsic function
...property is set, the worst case is assumed (it may read and write
any memory 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...
2016 Mar 24
0
attribute of intrinsic function
...d
> (it may read and write any memory 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*****...
2016 Mar 24
0
attribute of intrinsic function
...worst case is assumed (it may read and write any memory 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******/
&...
2016 Mar 25
1
attribute of intrinsic function
...is assumed (it may read and write
> any memory 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******...