Lines Matching defs:JA

238                                     const JobAction &JA,
259 C.addFailureResultFile(DepFile, &JA);
267 C.addFailureResultFile(DepFile, &JA);
300 if (isa<PrecompileJobAction>(JA))
2164 const Tool &T, const JobAction &JA,
2182 C.addCommand(new Command(JA, T, Exec, ExtractArgs));
2185 C.addCommand(new Command(JA, T, Exec, StripArgs));
2235 void Clang::ConstructJob(Compilation &C, const JobAction &JA,
2281 if (isa<AnalyzeJobAction>(JA)) {
2282 assert(JA.getType() == types::TY_Plist && "Invalid output type.");
2284 } else if (isa<MigrateJobAction>(JA)) {
2286 } else if (isa<PreprocessJobAction>(JA)) {
2295 } else if (isa<AssembleJobAction>(JA)) {
2302 } else if (isa<PrecompileJobAction>(JA)) {
2306 if (JA.getType() == types::TY_Nothing)
2312 } else if (isa<VerifyPCHJobAction>(JA)) {
2315 assert(isa<CompileJobAction>(JA) && "Invalid action for clang tool.");
2317 if (JA.getType() == types::TY_Nothing) {
2319 } else if (JA.getType() == types::TY_LLVM_IR ||
2320 JA.getType() == types::TY_LTO_IR) {
2322 } else if (JA.getType() == types::TY_LLVM_BC ||
2323 JA.getType() == types::TY_LTO_BC) {
2325 } else if (JA.getType() == types::TY_PP_Asm) {
2327 } else if (JA.getType() == types::TY_AST) {
2329 } else if (JA.getType() == types::TY_ModuleFile) {
2331 } else if (JA.getType() == types::TY_RewrittenObjC) {
2334 } else if (JA.getType() == types::TY_RewrittenLegacyObjC) {
2338 assert(JA.getType() == types::TY_PP_Asm &&
2364 if (isa<AnalyzeJobAction>(JA)) {
3122 AddPreprocessingOptions(C, JA, D, Args, CmdArgs, Output, Inputs);
3342 if (!isa<PreprocessJobAction>(JA) ||
4110 if (isa<PreprocessJobAction>(JA))
4191 (isa<AssembleJobAction>(JA) || isa<CompileJobAction>(JA));
4203 Command *CLCommand = getCLFallback()->GetCommand(C, JA, Output, Inputs,
4205 C.addCommand(new FallbackCommand(JA, *this, Exec, CmdArgs, CLCommand));
4207 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
4214 if (SplitDwarf && !isa<CompileJobAction>(JA))
4215 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output, SplitDwarfOut);
4513 void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
4565 const Action *SourceAction = &JA;
4639 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
4646 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output,
4650 void gcc::Common::ConstructJob(Compilation &C, const JobAction &JA,
4661 if (isa<AssembleJobAction>(JA) &&
4666 if ((isa<AssembleJobAction>(JA) || isa<LinkJobAction>(JA)) &&
4679 RenderExtraToolArgs(JA, CmdArgs);
4772 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
4775 void gcc::Preprocess::RenderExtraToolArgs(const JobAction &JA,
4780 void gcc::Compile::RenderExtraToolArgs(const JobAction &JA,
4785 if (JA.getType() == types::TY_LLVM_IR || JA.getType() == types::TY_LTO_IR ||
4786 JA.getType() == types::TY_LLVM_BC || JA.getType() == types::TY_LTO_BC)
4789 if (JA.getType() != types::TY_PP_Asm)
4791 << getTypeName(JA.getType());
4797 void gcc::Link::RenderExtraToolArgs(const JobAction &JA,
4803 void hexagon::Assemble::RenderExtraToolArgs(const JobAction &JA,
4807 void hexagon::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
4820 RenderExtraToolArgs(JA, CmdArgs);
4868 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
4871 void hexagon::Link::RenderExtraToolArgs(const JobAction &JA,
4876 void hexagon::Link::ConstructJob(Compilation &C, const JobAction &JA,
5034 C.addCommand(new Command(JA, *this, Args.MakeArgString(Linker), CmdArgs));
5288 void darwin::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
5299 const Action *SourceAction = &JA;
5355 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5564 void darwin::Link::ConstructJob(Compilation &C, const JobAction &JA,
5584 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5682 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5685 void darwin::Lipo::ConstructJob(Compilation &C, const JobAction &JA,
5704 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5707 void darwin::Dsymutil::ConstructJob(Compilation &C, const JobAction &JA,
5724 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5727 void darwin::VerifyDebug::ConstructJob(Compilation &C, const JobAction &JA,
5747 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5750 void solaris::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
5767 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5770 void solaris::Link::ConstructJob(Compilation &C, const JobAction &JA,
5872 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5875 void auroraux::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
5892 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5895 void auroraux::Link::ConstructJob(Compilation &C, const JobAction &JA,
5980 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
5983 void openbsd::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
6050 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6053 void openbsd::Link::ConstructJob(Compilation &C, const JobAction &JA,
6182 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6185 void bitrig::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
6202 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6205 void bitrig::Link::ConstructJob(Compilation &C, const JobAction &JA,
6318 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6321 void freebsd::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
6399 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6402 void freebsd::Link::ConstructJob(Compilation &C, const JobAction &JA,
6582 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6585 void netbsd::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
6656 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6659 void netbsd::Link::ConstructJob(Compilation &C, const JobAction &JA,
6835 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6838 void gnutools::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
6961 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
6968 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output,
7076 void gnutools::Link::ConstructJob(Compilation &C, const JobAction &JA,
7326 C.addCommand(new Command(JA, *this, ToolChain.Linker.c_str(), CmdArgs));
7329 void minix::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
7345 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
7348 void minix::Link::ConstructJob(Compilation &C, const JobAction &JA,
7399 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
7406 void dragonfly::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
7427 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
7430 void dragonfly::Link::ConstructJob(Compilation &C, const JobAction &JA,
7577 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
7589 void visualstudio::Link::ConstructJob(Compilation &C, const JobAction &JA,
7651 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
7654 void visualstudio::Compile::ConstructJob(Compilation &C, const JobAction &JA,
7659 C.addCommand(GetCommand(C, JA, Output, Inputs, Args, LinkingOutput));
7691 Command *visualstudio::Compile::GetCommand(Compilation &C, const JobAction &JA,
7774 return new Command(JA, *this, Args.MakeArgString(Exec), CmdArgs);
7781 void XCore::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
7811 C.addCommand(new Command(JA, *this, Exec, CmdArgs));
7814 void XCore::Link::ConstructJob(Compilation &C, const JobAction &JA,
7838 C.addCommand(new Command(JA, *this, Exec, CmdArgs));