initial work on llvm intrinsics