CuPBoP/compilation/KernelTranslation/include/x86/memory_hierarchy.h

11 lines
258 B
C
Raw Normal View History

#ifndef __NVVM2x86_MEMORY_HIERARCHY__
#define __NVVM2x86_MEMORY_HIERARCHY__
#include "llvm/IR/Module.h"
2022-05-04 20:59:38 +08:00
#include <fstream>
using namespace llvm;
void mem_share2global(llvm::Module *M);
2022-05-04 20:59:38 +08:00
void mem_constant2global(llvm::Module *M, std::ofstream &fout);
#endif