Get the current llvm::Value of grid ids and block ids