Skip to content
Snippets Groups Projects
Commit 0696e087 authored by Prakalp Srivastava's avatar Prakalp Srivastava
Browse files

Changes to intrinsics to allow optimizations for merge

parent 2dee642f
No related branches found
No related tags found
No related merge requests found
......@@ -110,17 +110,17 @@ let TargetPrefix = "visc" in {
/* Find associated dataflow node intrinsic -
* i8* llvm.visc.getNode();
*/
def int_visc_getNode : Intrinsic<[llvm_ptr_ty], [], []>;
def int_visc_getNode : Intrinsic<[llvm_ptr_ty], [], [IntrNoMem]>;
/* Find parent dataflow node intrinsic -
* i8* llvm.visc.getParentNode(i8*);
*/
def int_visc_getParentNode : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty], []>;
def int_visc_getParentNode : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty], [IntrNoMem]>;
/* Find the number of dimensions of a dataflow node intrinsic -
* i32 llvm.visc.getNumDims(i8*);
*/
def int_visc_getNumDims : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty], []>;
def int_visc_getNumDims : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty], [IntrNoMem]>;
/* Find the unique indentifier of a dataflow node (with respect to his parent
* node) in the specified dimension intrinsic -
......@@ -132,13 +132,13 @@ let TargetPrefix = "visc" in {
/* i32 llvm.visc.getNodeInstanceID.[xyz](i8*);
*/
def int_visc_getNodeInstanceID_x : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty],
[]>;
[IntrNoMem]>;
def int_visc_getNodeInstanceID_y : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty],
[]>;
[IntrNoMem]>;
def int_visc_getNodeInstanceID_z : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty],
[]>;
[IntrNoMem]>;
/* Find the number of instances of a dataflow node in the specified dimension
* intrinsic -
......@@ -150,13 +150,13 @@ let TargetPrefix = "visc" in {
/* i32 llvm.visc.getNumNodeInstances.[xyz](i8*);
*/
def int_visc_getNumNodeInstances_x : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty],
[]>;
[IntrNoMem]>;
def int_visc_getNumNodeInstances_y : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty],
[]>;
[IntrNoMem]>;
def int_visc_getNumNodeInstances_z : Intrinsic<[llvm_i32_ty], [llvm_ptr_ty],
[]>;
[IntrNoMem]>;
/* Local Barrier
* void llvm.visc.barrier();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment