Lines Matching refs:IsHIP

266 GlobalVariable *createFatbinDesc(Module &M, ArrayRef<char> Image, bool IsHIP,  in createFatbinDesc()  argument
274 IsHIP ? ".hip_fatbin" in createFatbinDesc()
283 StringRef FatbinWrapperSection = IsHIP ? ".hipFatBinSegment" in createFatbinDesc()
287 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic), in createFatbinDesc()
328 Function *createRegisterGlobalsFunction(Module &M, bool IsHIP, in createRegisterGlobalsFunction() argument
345 IsHIP ? "__hipRegisterFunction" : "__cudaRegisterFunction", RegFuncTy); in createRegisterGlobalsFunction()
354 IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy); in createRegisterGlobalsFunction()
363 IsHIP ? "__hipRegisterSurface" : "__cudaRegisterSurface", RegSurfaceTy); in createRegisterGlobalsFunction()
372 IsHIP ? "__hipRegisterTexture" : "__cudaRegisterTexture", RegTextureTy); in createRegisterGlobalsFunction()
378 IsHIP ? ".hip.globals_reg" : ".cuda.globals_reg", &M); in createRegisterGlobalsFunction()
516 bool IsHIP, EntryArrayTy EntryArray, in createRegisterFatbinFunction() argument
523 (IsHIP ? ".hip.fatbin_reg" : ".cuda.fatbin_reg") + Suffix, &M); in createRegisterFatbinFunction()
529 (IsHIP ? ".hip.fatbin_unreg" : ".cuda.fatbin_unreg") + Suffix, &M); in createRegisterFatbinFunction()
537 IsHIP ? "__hipRegisterFatBinary" : "__cudaRegisterFatBinary", RegFatTy); in createRegisterFatbinFunction()
547 IsHIP ? "__hipUnregisterFatBinary" : "__cudaUnregisterFatBinary", in createRegisterFatbinFunction()
557 (IsHIP ? ".hip.binary_handle" : ".cuda.binary_handle") + Suffix); in createRegisterFatbinFunction()
567 CtorBuilder.CreateCall(createRegisterGlobalsFunction(M, IsHIP, EntryArray, in createRegisterFatbinFunction()
571 if (!IsHIP) in createRegisterFatbinFunction()