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

Added Setup and Cleanup intrinsics

parent 667170fb
No related branches found
No related tags found
No related merge requests found
......@@ -17,12 +17,22 @@ let TargetPrefix = "visc" in {
* worst memory behavior for all these intrinsics.
*/
/* Initialization intrinsic -
* i8* llvm.visc.setup(function*);
*/
def int_visc_init : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty], []>;
/* Launch intrinsic -
* i8* llvm.visc.launch(function* , ArgList*);
* i8* llvm.visc.launch(i8* , ArgList*);
*/
def int_visc_launch : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty,
llvm_ptr_ty], []>;
/* Cleanup intrinsic -
* i8* llvm.visc.cleanup(i8*);
*/
def int_visc_cleanup : Intrinsic<[llvm_ptr_ty], [llvm_ptr_ty], []>;
/* Wait intrinsic -
* void llvm.visc.wait(graphID*);
*/
......
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