Lines Matching defs:JA

1492       const JobAction *JA = cast<JobAction>(&FailingCommand->getSource());
1493 C.CleanupFileMap(C.getResultFiles(), JA, true);
1497 C.CleanupFileMap(C.getFailureResultFiles(), JA, true);
3896 const JobAction *JA = nullptr;
3928 auto *AJ = dyn_cast<AssembleJobAction>(ActionInfo[0].JA);
3929 auto *BJ = dyn_cast<BackendJobAction>(ActionInfo[1].JA);
3930 auto *CJ = dyn_cast<CompileJobAction>(ActionInfo[2].JA);
3960 auto *AJ = dyn_cast<AssembleJobAction>(ActionInfo[0].JA);
3961 auto *BJ = dyn_cast<BackendJobAction>(ActionInfo[1].JA);
3983 auto *BJ = dyn_cast<BackendJobAction>(ActionInfo[0].JA);
3984 auto *CJ = dyn_cast<CompileJobAction>(ActionInfo[1].JA);
3995 if (ActionInfo[i].JA->getType() != types::TY_LLVM_BC &&
3996 ActionInfo[i].JA->getType() != types::TY_LTO_BC) {
4067 ActionChain.back().JA = BaseAction;
4068 while (ActionChain.back().JA) {
4069 const Action *CurAction = ActionChain.back().JA;
4076 AI.JA =
4243 const JobAction *JA = cast<JobAction>(A);
4246 ToolSelector TS(JA, *TC, C, isSaveTempsEnabled(),
4283 if (JA->getType() == types::TY_dSYM)
4287 if (auto *ModuleJA = dyn_cast<HeaderModulePrecompileJobAction>(JA))
4312 if (auto *UA = dyn_cast<OffloadUnbundlingJobAction>(JA)) {
4362 } else if (JA->getType() == types::TY_Nothing)
4371 if (isa<OffloadWrapperJobAction>(JA)) {
4378 Result = InputInfo(A, GetNamedOutputPath(C, *JA, BaseInput, BoundArch,
4406 C, *JA, Result, InputInfos,
4407 C.getArgsForToolChain(TC, BoundArch, JA->getOffloadingDeviceKind()),
4411 C, *JA, UnbundlingResults, InputInfos,
4412 C.getArgsForToolChain(TC, BoundArch, JA->getOffloadingDeviceKind()),
4456 const char *Driver::GetNamedOutputPath(Compilation &C, const JobAction &JA,
4463 if (AtTopLevel && !isa<DsymutilJobAction>(JA) && !isa<VerifyJobAction>(JA)) {
4465 return C.addResultFile(FinalOutput->getValue(), &JA);
4470 assert(AtTopLevel && isa<PreprocessJobAction>(JA));
4477 &JA);
4481 if (AtTopLevel && !CCGenDiagnostics && isa<PreprocessJobAction>(JA))
4485 if (JA.getType() == types::TY_PP_Asm &&
4492 MakeCLOutputFilename(C.getArgs(), FaValue, BaseName, JA.getType()),
4493 &JA);
4503 const char *Suffix = types::getTypeTempSuffix(JA.getType(), IsCLMode());
4527 if (isa<DsymutilJobAction>(JA) || isa<VerifyJobAction>(JA))
4535 if ((JA.getType() == types::TY_Object || JA.getType() == types::TY_LTO_BC) &&
4544 } else if (JA.getType() == types::TY_Image &&
4554 } else if (JA.getType() == types::TY_Image) {
4563 bool IsHIPNoRDC = JA.getOffloadingDeviceKind() == Action::OFK_HIP &&
4579 } else if (JA.getType() == types::TY_PCH && IsCLMode()) {
4582 const char *Suffix = types::getTypeTempSuffix(JA.getType(), IsCLMode());
4586 if (!types::appendSuffixForType(JA.getType()))
4598 JA.getType() == types::TY_LLVM_BC)
4607 JA.getType() != types::TY_PCH) {
4629 Split.first, types::getTypeTempSuffix(JA.getType(), IsCLMode()));
4635 if (JA.getType() == types::TY_PCH && !IsCLMode()) {
4641 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA);
4643 return C.addResultFile(NamedOutput, &JA);
4961 bool Driver::ShouldUseClangCompiler(const JobAction &JA) const {
4963 if (JA.size() != 1 ||
4964 !types::isAcceptedByClang((*JA.input_begin())->getType()))
4968 if (!isa<PreprocessJobAction>(JA) && !isa<PrecompileJobAction>(JA) &&
4969 !isa<CompileJobAction>(JA) && !isa<BackendJobAction>(JA))
4975 bool Driver::ShouldUseFlangCompiler(const JobAction &JA) const {
4977 if (JA.size() != 1 ||
4978 !types::isFortran((*JA.input_begin())->getType()))
4982 if (!isa<PreprocessJobAction>(JA) && !isa<CompileJobAction>(JA) && !isa<BackendJobAction>(JA))