draw llvm: hook up the generated function into the draw elts path