Home | History | Annotate | Download | only in Driver

Lines Matching defs:JA

822       const JobAction *JA = cast<JobAction>(&FailingCommand->getSource());
823 C.CleanupFileMap(C.getResultFiles(), JA, true);
827 C.CleanupFileMap(C.getFailureResultFiles(), JA, true);
1889 const JobAction *JA,
1903 isa<AssembleJobAction>(JA) && Inputs->size() == 1 &&
1939 if (isa<BackendJobAction>(JA)) {
1961 ToolForJob = TC->SelectTool(*JA);
2063 const JobAction *JA = cast<JobAction>(A);
2066 selectToolForJob(C, isSaveTempsEnabled(), embedBitcodeEnabled(), TC, JA,
2099 if (JA->getType() == types::TY_dSYM)
2108 if (JA->getType() == types::TY_Nothing)
2111 Result = InputInfo(A, GetNamedOutputPath(C, *JA, BaseInput, BoundArch,
2125 T->ConstructJob(C, *JA, Result, InputInfos,
2169 const char *Driver::GetNamedOutputPath(Compilation &C, const JobAction &JA,
2175 if (AtTopLevel && !isa<DsymutilJobAction>(JA) && !isa<VerifyJobAction>(JA)) {
2177 return C.addResultFile(FinalOutput->getValue(), &JA);
2182 assert(AtTopLevel && isa<PreprocessJobAction>(JA));
2189 &JA);
2194 (isa<PreprocessJobAction>(JA) || JA.getType() == types::TY_ModuleFile))
2198 if (JA.getType() == types::TY_PP_Asm &&
2205 MakeCLOutputFilename(C.getArgs(), FaValue, BaseName, JA.getType()),
2206 &JA);
2216 Split.first, types::getTypeTempSuffix(JA.getType(), IsCLMode()));
2224 if (isa<DsymutilJobAction>(JA) || isa<VerifyJobAction>(JA))
2232 if (JA.getType() == types::TY_Object &&
2241 } else if (JA.getType() == types::TY_Image &&
2251 } else if (JA.getType() == types::TY_Image) {
2264 } else if (JA.getType() == types::TY_PCH && IsCLMode()) {
2267 const char *Suffix = types::getTypeTempSuffix(JA.getType(), IsCLMode());
2271 if (!types::appendSuffixForType(JA.getType()))
2282 JA.getType() == types::TY_LLVM_BC)
2291 JA.getType() != types::TY_PCH) {
2313 Split.first, types::getTypeTempSuffix(JA.getType(), IsCLMode()));
2319 if (JA.getType() == types::TY_PCH && !IsCLMode()) {
2325 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA);
2327 return C.addResultFile(NamedOutput, &JA);
2569 bool Driver::ShouldUseClangCompiler(const JobAction &JA) const {
2571 if (JA.size() != 1 ||
2572 !types::isAcceptedByClang((*JA.input_begin())->getType()))
2576 if (!isa<PreprocessJobAction>(JA) && !isa<PrecompileJobAction>(JA) &&
2577 !isa<CompileJobAction>(JA) && !isa<BackendJobAction>(JA))