Lines Matching refs:JA

299 void Clang::AddPreprocessingOptions(Compilation &C, const JobAction &JA,
321 C.addFailureResultFile(DepFile, &JA);
329 C.addFailureResultFile(DepFile, &JA);
361 if ((isa<PrecompileJobAction>(JA) &&
415 if (isa<PrecompileJobAction>(JA) && YcIndex != -1) {
444 if (isa<PrecompileJobAction>(JA)) {
3320 const JobAction &JA, const ArgList &Args,
3337 C.addCommand(llvm::make_unique<Command>(JA, T, Exec, ExtractArgs, II));
3340 C.addCommand(llvm::make_unique<Command>(JA, T, Exec, StripArgs, II));
3778 void Clang::ConstructJob(Compilation &C, const JobAction &JA,
3853 if (isa<AnalyzeJobAction>(JA)) {
3854 assert(JA.getType() == types::TY_Plist && "Invalid output type.");
3856 } else if (isa<MigrateJobAction>(JA)) {
3858 } else if (isa<PreprocessJobAction>(JA)) {
3867 } else if (isa<AssembleJobAction>(JA)) {
3874 } else if (isa<PrecompileJobAction>(JA)) {
3878 if (JA.getType() == types::TY_Nothing)
3884 } else if (isa<VerifyPCHJobAction>(JA)) {
3887 assert((isa<CompileJobAction>(JA) || isa<BackendJobAction>(JA)) &&
3889 if (JA.getType() == types::TY_Nothing) {
3891 } else if (JA.getType() == types::TY_LLVM_IR ||
3892 JA.getType() == types::TY_LTO_IR) {
3894 } else if (JA.getType() == types::TY_LLVM_BC ||
3895 JA.getType() == types::TY_LTO_BC) {
3897 } else if (JA.getType() == types::TY_PP_Asm) {
3899 } else if (JA.getType() == types::TY_AST) {
3901 } else if (JA.getType() == types::TY_ModuleFile) {
3903 } else if (JA.getType() == types::TY_RewrittenObjC) {
3906 } else if (JA.getType() == types::TY_RewrittenLegacyObjC) {
3910 assert(JA.getType() == types::TY_PP_Asm && "Unexpected output type!");
3917 if (JA.getType() == types::TY_LLVM_BC)
3933 (isa<BackendJobAction>(JA) || isa<AssembleJobAction>(JA))) {
3965 if (isa<AnalyzeJobAction>(JA)) {
4731 AddPreprocessingOptions(C, JA, D, Args, CmdArgs, Output, Inputs,
4979 if (!isa<PreprocessJobAction>(JA) || Output.getType() != types::TY_PP_Asm) {
5888 if (isa<PreprocessJobAction>(JA))
5941 !C.getDriver().embedBitcodeEnabled() && isa<CompileJobAction>(JA))
5986 (isa<AssembleJobAction>(JA) || isa<CompileJobAction>(JA) ||
5987 isa<BackendJobAction>(JA));
6019 getCLFallback()->GetCommand(C, JA, Output, Inputs, Args, LinkingOutput);
6021 JA, *this, Exec, CmdArgs, Inputs, std::move(CLCommand)));
6023 isa<PrecompileJobAction>(JA)) {
6026 C.addCommand(llvm::make_unique<ForceSuccessCommand>(JA, *this, Exec,
6029 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
6036 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output, SplitDwarfOut);
6426 void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
6482 const Action *SourceAction = &JA;
6595 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
6602 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output,
6608 void gcc::Common::ConstructJob(Compilation &C, const JobAction &JA,
6624 if (isa<AssembleJobAction>(JA) &&
6629 if ((isa<AssembleJobAction>(JA) || isa<LinkJobAction>(JA)) &&
6637 RenderExtraToolArgs(JA, CmdArgs);
6728 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
6731 void gcc::Preprocessor::RenderExtraToolArgs(const JobAction &JA,
6736 void gcc::Compiler::RenderExtraToolArgs(const JobAction &JA,
6740 switch (JA.getType()) {
6760 D.Diag(diag::err_drv_invalid_gcc_output_type) << getTypeName(JA.getType());
6764 void gcc::Linker::RenderExtraToolArgs(const JobAction &JA,
6770 void hexagon::Assembler::RenderExtraToolArgs(const JobAction &JA,
6774 void hexagon::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
6788 RenderExtraToolArgs(JA, CmdArgs);
6840 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
6843 void hexagon::Linker::RenderExtraToolArgs(const JobAction &JA,
6848 constructHexagonLinkArgs(Compilation &C, const JobAction &JA,
7017 void hexagon::Linker::ConstructJob(Compilation &C, const JobAction &JA,
7025 constructHexagonLinkArgs(C, JA, HTC, Output, Inputs, Args, CmdArgs,
7029 C.addCommand(llvm::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
7034 void amdgpu::Linker::ConstructJob(Compilation &C, const JobAction &JA,
7046 C.addCommand(llvm::make_unique<Command>(JA, *this, Args.MakeArgString(Linker),
7062 void wasm::Linker::ConstructJob(Compilation &C, const JobAction &JA,
7124 C.addCommand(llvm::make_unique<Command>(JA, *this, Linker, CmdArgs, Inputs));
7397 void cloudabi::Linker::ConstructJob(Compilation &C, const JobAction &JA,
7462 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
7465 void darwin::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
7476 const Action *SourceAction = &JA;
7530 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
7762 void darwin::Linker::ConstructJob(Compilation &C, const JobAction &JA,
7788 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, None));
7900 llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs);
7905 void darwin::Lipo::ConstructJob(Compilation &C, const JobAction &JA,
7924 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
7927 void darwin::Dsymutil::ConstructJob(Compilation &C, const JobAction &JA,
7944 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
7947 void darwin::VerifyDebug::ConstructJob(Compilation &C, const JobAction &JA,
7967 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
7970 void solaris::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
7987 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
7990 void solaris::Linker::ConstructJob(Compilation &C, const JobAction &JA,
8065 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8068 void openbsd::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
8136 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8139 void openbsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
8258 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8261 void bitrig::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
8278 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8281 void bitrig::Linker::ConstructJob(Compilation &C, const JobAction &JA,
8387 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8390 void freebsd::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
8480 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8483 void freebsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
8670 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8673 void netbsd::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
8753 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8756 void netbsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
8964 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
8967 void gnutools::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
9174 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
9181 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output,
9301 void gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
9544 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
9551 void nacltools::AssemblerARM::ConstructJob(Compilation &C, const JobAction &JA,
9563 gnutools::Assembler::ConstructJob(C, JA, Output, NewInputs, Args,
9571 void nacltools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
9716 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
9719 void minix::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
9736 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
9739 void minix::Linker::ConstructJob(Compilation &C, const JobAction &JA,
9787 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
9794 void dragonfly::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
9816 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
9819 void dragonfly::Linker::ConstructJob(Compilation &C, const JobAction &JA,
9939 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
9962 void visualstudio::Linker::ConstructJob(Compilation &C, const JobAction &JA,
10134 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10137 void visualstudio::Compiler::ConstructJob(Compilation &C, const JobAction &JA,
10142 C.addCommand(GetCommand(C, JA, Output, Inputs, Args, LinkingOutput));
10146 Compilation &C, const JobAction &JA, const InputInfo &Output,
10254 return llvm::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
10259 void MinGW::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
10282 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10285 SplitDebugInfo(getToolChain(), C, *this, JA, Args, Output,
10319 void MinGW::Linker::ConstructJob(Compilation &C, const JobAction &JA,
10476 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10482 void XCore::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
10512 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10515 void XCore::Linker::ConstructJob(Compilation &C, const JobAction &JA,
10540 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10543 void CrossWindows::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
10579 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10582 void CrossWindows::Linker::ConstructJob(Compilation &C, const JobAction &JA,
10730 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10733 void tools::SHAVE::Compiler::ConstructJob(Compilation &C, const JobAction &JA,
10744 if (JA.getKind() == Action::PreprocessJobClass) {
10785 C.addCommand(llvm::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
10789 void tools::SHAVE::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
10821 C.addCommand(llvm::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
10825 void tools::Myriad::Linker::ConstructJob(Compilation &C, const JobAction &JA,
10896 C.addCommand(llvm::make_unique<Command>(JA, *this, Args.MakeArgString(Exec),
10900 void PS4cpu::Assemble::ConstructJob(Compilation &C, const JobAction &JA,
10920 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
10934 const JobAction &JA, const InputInfo &Output,
10989 C.addCommand(llvm::make_unique<Command>(JA, T, Exec, CmdArgs, Inputs));
10993 const JobAction &JA, const InputInfo &Output,
11165 C.addCommand(llvm::make_unique<Command>(JA, T, Exec, CmdArgs, Inputs));
11168 void PS4cpu::Link::ConstructJob(Compilation &C, const JobAction &JA,
11192 ConstructPS4LinkJob(*this, C, JA, Output, Inputs, Args, LinkingOutput);
11194 ConstructGoldLinkJob(*this, C, JA, Output, Inputs, Args, LinkingOutput);
11197 void NVPTX::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
11268 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));
11274 void NVPTX::Linker::ConstructJob(Compilation &C, const JobAction &JA,
11305 C.addCommand(llvm::make_unique<Command>(JA, *this, Exec, CmdArgs, Inputs));