Lines Matching refs:IsHIP

258 GlobalVariable *createFatbinDesc(Module &M, ArrayRef<char> Image, bool IsHIP,  in createFatbinDesc()  argument
266 IsHIP ? ".hip_fatbin" in createFatbinDesc()
275 StringRef FatbinWrapperSection = IsHIP ? ".hipFatBinSegment" in createFatbinDesc()
279 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic), in createFatbinDesc()
320 Function *createRegisterGlobalsFunction(Module &M, bool IsHIP, in createRegisterGlobalsFunction() argument
337 IsHIP ? "__hipRegisterFunction" : "__cudaRegisterFunction", RegFuncTy); in createRegisterGlobalsFunction()
346 IsHIP ? "__hipRegisterVar" : "__cudaRegisterVar", RegVarTy); in createRegisterGlobalsFunction()
355 IsHIP ? "__hipRegisterSurface" : "__cudaRegisterSurface", RegSurfaceTy); in createRegisterGlobalsFunction()
364 IsHIP ? "__hipRegisterTexture" : "__cudaRegisterTexture", RegTextureTy); in createRegisterGlobalsFunction()
370 IsHIP ? ".hip.globals_reg" : ".cuda.globals_reg", &M); in createRegisterGlobalsFunction()
508 bool IsHIP, EntryArrayTy EntryArray, in createRegisterFatbinFunction() argument
515 (IsHIP ? ".hip.fatbin_reg" : ".cuda.fatbin_reg") + Suffix, &M); in createRegisterFatbinFunction()
521 (IsHIP ? ".hip.fatbin_unreg" : ".cuda.fatbin_unreg") + Suffix, &M); in createRegisterFatbinFunction()
529 IsHIP ? "__hipRegisterFatBinary" : "__cudaRegisterFatBinary", RegFatTy); in createRegisterFatbinFunction()
539 IsHIP ? "__hipUnregisterFatBinary" : "__cudaUnregisterFatBinary", in createRegisterFatbinFunction()
549 (IsHIP ? ".hip.binary_handle" : ".cuda.binary_handle") + Suffix); in createRegisterFatbinFunction()
559 CtorBuilder.CreateCall(createRegisterGlobalsFunction(M, IsHIP, EntryArray, in createRegisterFatbinFunction()
563 if (!IsHIP) in createRegisterFatbinFunction()