sparse matrix access in llvm generated code