Home | History | Annotate | Download | only in Driver

Lines Matching defs:JA

604       const JobAction *JA = cast<JobAction>(&FailingCommand->getSource());
605 C.CleanupFileMap(C.getResultFiles(), JA, true);
609 C.CleanupFileMap(C.getFailureResultFiles(), JA, true);
1451 const JobAction *JA,
1464 isa<AssembleJobAction>(JA) &&
1478 ToolForJob = TC->SelectTool(*JA);
1533 const JobAction *JA = cast<JobAction>(A);
1534 const Tool *T = SelectToolForJob(C, TC, JA, Inputs);
1560 if (JA->getType() == types::TY_dSYM)
1564 if (JA->getType() == types::TY_Nothing)
1567 Result = InputInfo(GetNamedOutputPath(C, *JA, BaseInput, BoundArch,
1581 T->ConstructJob(C, *JA, Result, InputInfos,
1619 const JobAction &JA,
1626 if (AtTopLevel && !isa<DsymutilJobAction>(JA) &&
1627 !isa<VerifyJobAction>(JA)) {
1629 return C.addResultFile(FinalOutput->getValue(), &JA);
1634 assert(AtTopLevel && isa<PreprocessJobAction>(JA));
1640 types::TY_PP_C), &JA);
1645 (isa<PreprocessJobAction>(JA) || JA.getType() == types::TY_ModuleFile))
1649 if (JA.getType() == types::TY_PP_Asm &&
1656 JA.getType()), &JA);
1667 types::getTypeTempSuffix(JA.getType(), IsCLMode()));
1675 if (isa<DsymutilJobAction>(JA) || isa<VerifyJobAction>(JA))
1683 if (JA.getType() == types::TY_Object &&
1689 } else if (JA.getType() == types::TY_Image &&
1695 } else if (JA.getType() == types::TY_Image) {
1708 const char *Suffix = types::getTypeTempSuffix(JA.getType(), IsCLMode());
1712 if (!types::appendSuffixForType(JA.getType()))
1740 types::getTypeTempSuffix(JA.getType(), IsCLMode()));
1746 if (JA.getType() == types::TY_PCH) {
1752 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA);
1754 return C.addResultFile(NamedOutput, &JA);
2035 bool Driver::ShouldUseClangCompiler(const JobAction &JA) const {
2038 if (JA.size() != 1 ||
2039 !types::isAcceptedByClang((*JA.begin())->getType()))
2043 if (!isa<PreprocessJobAction>(JA) && !isa<PrecompileJobAction>(JA) &&
2044 !isa<CompileJobAction>(JA))