reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
86 auto ConstStr = CGM.GetAddrOfConstantCString(Str, Name.c_str()); 111 CGBuilderTy FuncBuilder(CGM, Context); 142 if (CGM.getLangOpts().HIP) 148 if (CGM.getLangOpts().HIP) 174 return CGM.CreateRuntimeFunction( 180 if (CGM.getLangOpts().HIP) { 182 return CGM.CreateRuntimeFunction( 186 return CGM.CreateRuntimeFunction( 238 if (CudaFeatureEnabled(CGM.getTarget().getSDKVersion(), 275 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl(); 279 CGM.getContext().Idents.get(LaunchKernelName); 287 CGM.Error(CGF.CurFuncDecl->getLocation(), 299 CGF.CreateTempAlloca(SizeTy, CGM.getSizeAlign(), "shmem_size"); 301 CGF.CreateTempAlloca(VoidPtrTy, CGM.getPointerAlign(), "stream"); 302 llvm::FunctionCallee cudaPopConfigFn = CGM.CreateRuntimeFunction( 331 llvm::Type *Ty = CGM.getTypes().ConvertType(CQT); 335 CGM.getTypes().arrangeFunctionDeclaration(cudaLaunchKernelFD); 337 CGM.CreateRuntimeFunction(FTy, LaunchKernelName); 354 CGM.getContext().getTypeInfoInChars(A->getType()); 404 CGBuilderTy Builder(CGM, Context); 412 llvm::FunctionCallee RegisterFunc = CGM.CreateRuntimeFunction( 442 llvm::FunctionCallee RegisterVar = CGM.CreateRuntimeFunction( 450 CGM.getDataLayout().getTypeAllocSize(Var->getValueType()); 487 bool IsHIP = CGM.getLangOpts().HIP; 488 bool IsCUDA = CGM.getLangOpts().CUDA; 490 StringRef CudaGpuBinaryFileName = CGM.getCodeGenOpts().CudaGpuBinaryFileName; 505 llvm::FunctionCallee RegisterFatbinFunc = CGM.CreateRuntimeFunction( 521 CGM.getDiags().Report(diag::err_cannot_open_file) 534 CGBuilderTy CtorBuilder(CGM, Context); 562 CGM.getModule(), CGM.Int8Ty, 562 CGM.getModule(), CGM.Int8Ty, 572 FatbinConstantName = CGM.getTriple().isMacOSX() 577 CGM.getTriple().isMacOSX() ? "__NV_CUDA,__nv_fatbin" : ".nv_fatbin"; 580 CGM.getTriple().isMacOSX() ? "__NV_CUDA,__fatbin" : ".nvFatBinSegment"; 582 ModuleIDSectionName = CGM.getTriple().isMacOSX() 595 ConstantInitBuilder Builder(CGM); 606 addUnderscoredPrefixToName("_fatbin_wrapper"), CGM.getPointerAlign(), 631 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); 672 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); 674 CGM.getPointerAlign()); 681 if (CudaFeatureEnabled(CGM.getTarget().getSDKVersion(), 684 llvm::FunctionCallee RegisterFatbinEndFunc = CGM.CreateRuntimeFunction( 705 llvm::FunctionCallee RegisterLinkedBinaryFunc = CGM.CreateRuntimeFunction( 724 CGM.CreateRuntimeFunction(AtExitTy, "atexit", llvm::AttributeList(), 758 llvm::FunctionCallee UnregisterFatbinFunc = CGM.CreateRuntimeFunction( 769 CGBuilderTy DtorBuilder(CGM, Context); 778 if (CGM.getLangOpts().HIP) { 801 if (!CGM.getLangOpts().HIP)