reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Driver/ToolChains/Clang.cpp
 3390   bool IsCuda = JA.isOffloading(Action::OFK_Cuda);
 3391   bool IsHIP = JA.isOffloading(Action::OFK_HIP);
 3392   bool IsOpenMPDevice = JA.isDeviceOffloading(Action::OFK_OpenMP);
 3393   bool IsHeaderModulePrecompile = isa<HeaderModulePrecompileJobAction>(JA);
 3467     if (JA.isDeviceOffloading(Action::OFK_Cuda) ||
 3468         JA.isDeviceOffloading(Action::OFK_HIP))
 3530   if (!isa<AssembleJobAction>(JA)) {
 3553   if (isa<AnalyzeJobAction>(JA)) {
 3554     assert(JA.getType() == types::TY_Plist && "Invalid output type.");
 3556   } else if (isa<MigrateJobAction>(JA)) {
 3558   } else if (isa<PreprocessJobAction>(JA)) {
 3567   } else if (isa<AssembleJobAction>(JA)) {
 3574   } else if (isa<PrecompileJobAction>(JA)) {
 3575     if (JA.getType() == types::TY_Nothing)
 3577     else if (JA.getType() == types::TY_ModuleFile)
 3583   } else if (isa<VerifyPCHJobAction>(JA)) {
 3586     assert((isa<CompileJobAction>(JA) || isa<BackendJobAction>(JA)) &&
 3586     assert((isa<CompileJobAction>(JA) || isa<BackendJobAction>(JA)) &&
 3588     if (JA.getType() == types::TY_Nothing) {
 3590     } else if (JA.getType() == types::TY_LLVM_IR ||
 3591                JA.getType() == types::TY_LTO_IR) {
 3593     } else if (JA.getType() == types::TY_LLVM_BC ||
 3594                JA.getType() == types::TY_LTO_BC) {
 3596     } else if (JA.getType() == types::TY_IFS ||
 3597                JA.getType() == types::TY_IFS_CPP) {
 3605     } else if (JA.getType() == types::TY_PP_Asm) {
 3607     } else if (JA.getType() == types::TY_AST) {
 3609     } else if (JA.getType() == types::TY_ModuleFile) {
 3611     } else if (JA.getType() == types::TY_RewrittenObjC) {
 3614     } else if (JA.getType() == types::TY_RewrittenLegacyObjC) {
 3618       assert(JA.getType() == types::TY_PP_Asm && "Unexpected output type!");
 3625     if (JA.getType() == types::TY_LLVM_BC)
 3629     bool isDeviceOffloadAction = !(JA.isDeviceOffloading(Action::OFK_None) ||
 3630                                    JA.isDeviceOffloading(Action::OFK_Host));
 3653       (isa<BackendJobAction>(JA) || isa<AssembleJobAction>(JA))) {
 3653       (isa<BackendJobAction>(JA) || isa<AssembleJobAction>(JA))) {
 3660     TC.addClangTargetOptions(Args, CmdArgs, JA.getOffloadingDeviceKind());
 3757     C.addCommand(std::make_unique<Command>(JA, *this, D.getClangProgramPath(),
 3799   if (isa<AnalyzeJobAction>(JA))
 3802   if (isa<AnalyzeJobAction>(JA) ||
 3803       (isa<PreprocessJobAction>(JA) && Args.hasArg(options::OPT__analyze)))
 4093   TC.addClangTargetOptions(Args, CmdArgs, JA.getOffloadingDeviceKind());
 4129                     (isa<AssembleJobAction>(JA) || isa<CompileJobAction>(JA) ||
 4129                     (isa<AssembleJobAction>(JA) || isa<CompileJobAction>(JA) ||
 4130                      isa<BackendJobAction>(JA));
 4243     AddPreprocessingOptions(C, JA, D, Args, CmdArgs, Output, Inputs);
 4512   if (!isa<PreprocessJobAction>(JA) || Output.getType() != types::TY_PP_Asm)
 4522       (JA.isDeviceOffloading(Action::OFK_None) ||
 4523        JA.isDeviceOffloading(Action::OFK_OpenMP))) {
 5145         if (!JA.isDeviceOffloading(Action::OFK_None) &&
 5146             !JA.isDeviceOffloading(Action::OFK_Host)) {
 5148           F += Action::GetOffloadingFileNamePrefix(JA.getOffloadingDeviceKind(),
 5151           F += JA.getOffloadingArch();
 5196     if (isa<PreprocessJobAction>(JA))
 5243       !isa<PreprocessJobAction>(JA)) {
 5276       isa<CompileJobAction>(JA))
 5355   if (JA.isHostOffloading(Action::OFK_OpenMP)) {
 5540         getCLFallback()->GetCommand(C, JA, Output, Inputs, Args, LinkingOutput);
 5542         JA, *this, Exec, CmdArgs, Inputs, std::move(CLCommand)));
 5544              isa<PrecompileJobAction>(JA)) {
 5547     C.addCommand(std::make_unique<ForceSuccessCommand>(JA, *this, Exec,
 5550     C.addCommand(std::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));