Home
last modified time | relevance | path

Searched refs:OFK_Cuda (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang/lib/Driver/
DAction.cpp100 case OFK_Cuda: in getOffloadingKindPrefix()
114 assert(!((ActiveOffloadKindMask & OFK_Cuda) && in getOffloadingKindPrefix()
117 if (ActiveOffloadKindMask & OFK_Cuda) in getOffloadingKindPrefix()
153 case OFK_Cuda: in GetOffloadKindName()
DCompilation.cpp219 if (A->isOffloading(Action::OFK_Cuda) || A->isOffloading(Action::OFK_HIP)) in ActionFailed()
DDriver.cpp672 auto OFK = Action::OFK_Cuda; in CreateOffloadingDeviceToolChains()
2562 assert(AssociatedOffloadKind == Action::OFK_Cuda || in initialize()
2566 if (AssociatedOffloadKind == Action::OFK_Cuda && in initialize()
2567 !C.hasOffloadToolChain<Action::OFK_Cuda>()) in initialize()
2591 AssociatedOffloadKind == Action::OFK_Cuda in initialize()
2592 ? C.getSingleOffloadToolChain<Action::OFK_Cuda>() in initialize()
2662 : CudaActionBuilderBase(C, Args, Inputs, Action::OFK_Cuda) { in CudaActionBuilder()
2718 C, Args, Ph, CudaDeviceActions[I], Action::OFK_Cuda); in getDeviceDependences()
2740 DDep.add(*A, *ToolChains.front(), GpuArchList[I], Action::OFK_Cuda); in getDeviceDependences()
2753 Action::OFK_Cuda); in getDeviceDependences()
DToolChain.cpp1273 bool IsGPU = OFK == Action::OFK_Cuda || OFK == Action::OFK_HIP; in TranslateXarchArgs()
/external/llvm-project/clang/lib/Driver/ToolChains/
DCuda.cpp481 else if (JA.isOffloading(Action::OFK_Cuda)) in ConstructJob()
691 DeviceOffloadingKind == Action::OFK_Cuda) && in addClangTargetOptions()
694 if (DeviceOffloadingKind == Action::OFK_Cuda) { in addClangTargetOptions()
806 if (JA.getOffloadingDeviceKind() == Action::OFK_Cuda) { in getDefaultDenormalModeForType()
DAMDGPU.cpp479 JA.getOffloadingDeviceKind() == Action::OFK_Cuda) { in getDefaultDenormalModeForType()
DClang.cpp135 if (JA.isHostOffloading(Action::OFK_Cuda)) in forAllAssociatedToolChains()
136 Work(*C.getSingleOffloadToolChain<Action::OFK_Cuda>()); in forAllAssociatedToolChains()
137 else if (JA.isDeviceOffloading(Action::OFK_Cuda)) in forAllAssociatedToolChains()
474 if (JA.isDeviceOffloading(Action::OFK_Cuda) || in ShouldEnableAutolink()
1181 if (JA.isOffloading(Action::OFK_Cuda)) in AddPreprocessingOptions()
4026 bool IsCuda = JA.isOffloading(Action::OFK_Cuda); in ConstructJob()
4104 if (JA.isDeviceOffloading(Action::OFK_Cuda) || in ConstructJob()
4112 (IsCuda ? C.getSingleOffloadToolChain<Action::OFK_Cuda>() in ConstructJob()
4120 C.getSingleOffloadToolChain<Action::OFK_Cuda>()); in ConstructJob()
4834 ((IsCuda && JA.isDeviceOffloading(Action::OFK_Cuda)) || in ConstructJob()
/external/clang/include/clang/Driver/
DAction.h84 OFK_Cuda = 0x02, enumerator
/external/llvm-project/clang/include/clang/Driver/
DAction.h92 OFK_Cuda = 0x02, enumerator
/external/clang/lib/Driver/
DDriver.cpp441 C.addOffloadDeviceToolChain(&TC, Action::OFK_Cuda); in CreateOffloadingDeviceToolChains()
1411 assert(C.getSingleOffloadToolChain<Action::OFK_Cuda>() && in buildCudaActions()
2052 C, *CDA->input_begin(), C.getSingleOffloadToolChain<Action::OFK_Cuda>(), in BuildJobsForActionNoCache()
DTools.cpp3824 if (&getToolChain() == C.getSingleOffloadToolChain<Action::OFK_Cuda>()) in ConstructJob()
3827 AuxToolChain = C.getSingleOffloadToolChain<Action::OFK_Cuda>(); in ConstructJob()