CuPBoP/compilation/HostTranslation/include/RemoveCudaBuiltin.h

12 lines
316 B
C
Raw Normal View History

2022-05-04 20:59:38 +08:00
#ifndef __NVVM2x86_REMOVE_CUDABUILTIN__
#define __NVVM2x86_REMOVE_CUDABUILTIN__
#include "llvm/IR/Module.h"
/*
* Change to i8* bitcast (i8* (i8*)* @_Z9vecPKiS0_Pii_wrapper to i8*)
* Original: i8* bitcast (void (i32*, i32*, i32*, i32)* @_Z9vecPKiS0_Pii to i8*)
*/
2022-05-04 20:59:38 +08:00
void RemoveCudaBuiltin(llvm::Module *M);
#endif