2022-01-12 00:01:42 +08:00
|
|
|
#ifndef __NVVM2x86_MEMORY_HIERARCHY__
|
|
|
|
#define __NVVM2x86_MEMORY_HIERARCHY__
|
|
|
|
#include "llvm/IR/Module.h"
|
2022-05-04 20:59:38 +08:00
|
|
|
#include <fstream>
|
2022-01-12 00:01:42 +08:00
|
|
|
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);
|
2022-01-12 00:01:42 +08:00
|
|
|
|
|
|
|
#endif
|