Home
last modified time | relevance | path

Searched refs:JA (Results 1 – 25 of 100) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DSPIRV.cpp21 const JobAction &JA, in constructTranslateCommand() argument
37 C.addCommand(std::make_unique<Command>(JA, T, ResponseFileSupport::None(), in constructTranslateCommand()
41 void SPIRV::Translator::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
49 constructTranslateCommand(C, *this, JA, Output, Inputs[0], {}); in ConstructJob()
58 clang::driver::Tool *SPIRVToolChain::SelectTool(const JobAction &JA) const { in SelectTool()
59 Action::ActionClass AC = JA.getKind(); in SelectTool()
77 void SPIRV::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
85 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); in ConstructJob()
90 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
H A DHIPAMD.cpp76 const JobAction &JA, in constructLlvmLinkCommand() argument
93 AddStaticDeviceLibsLinking(C, *this, JA, Inputs, Args, LlvmLinkArgs, "amdgcn", in constructLlvmLinkCommand()
103 void AMDGCN::Linker::constructLldCommand(Compilation &C, const JobAction &JA, in constructLldCommand() argument
181 AddStaticDeviceLibsLinking(C, *this, JA, Inputs, Args, LldArgs, "amdgcn", in constructLldCommand()
194 void AMDGCN::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
201 JA.getType() == types::TY_Object) in ConstructJob()
203 Args, JA, *this); in ConstructJob()
205 if (JA.getType() == types::TY_HIP_FATBIN) in ConstructJob()
209 if (JA.getType() == types::TY_LLVM_BC) in ConstructJob()
210 return constructLlvmLinkCommand(C, JA, Inputs, Output, Args); in ConstructJob()
[all …]
H A DHIPSPV.cpp64 Compilation &C, const JobAction &JA, const InputInfoList &Inputs, in constructLinkAndEmitSpirvCommand() argument
78 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in constructLinkAndEmitSpirvCommand()
94 JA, *this, ResponseFileSupport::None(), Opt, OptArgs, Inputs, Output)); in constructLinkAndEmitSpirvCommand()
103 SPIRV::constructTranslateCommand(C, *this, JA, Output, TrInput, TrArgs); in constructLinkAndEmitSpirvCommand()
106 void HIPSPV::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
112 JA.getType() == types::TY_Object) in ConstructJob()
114 Args, JA, *this); in ConstructJob()
116 if (JA.getType() == types::TY_HIP_FATBIN) in ConstructJob()
117 return HIP::constructHIPFatbinCommand(C, JA, Output.getFilename(), Inputs, in ConstructJob()
120 constructLinkAndEmitSpirvCommand(C, JA, Inputs, Output, Args); in ConstructJob()
H A DFlang.cpp676 if (isa<PreprocessJobAction>(JA)) { in ConstructJob()
678 } else if (isa<CompileJobAction>(JA) || isa<BackendJobAction>(JA)) { in ConstructJob()
679 if (JA.getType() == types::TY_Nothing) { in ConstructJob()
681 } else if (JA.getType() == types::TY_AST) { in ConstructJob()
683 } else if (JA.getType() == types::TY_LLVM_IR || in ConstructJob()
684 JA.getType() == types::TY_LTO_IR) { in ConstructJob()
686 } else if (JA.getType() == types::TY_LLVM_BC || in ConstructJob()
687 JA.getType() == types::TY_LTO_BC) { in ConstructJob()
689 } else if (JA.getType() == types::TY_PP_Asm) { in ConstructJob()
694 } else if (isa<AssembleJobAction>(JA)) { in ConstructJob()
[all …]
H A DHIPUtility.cpp41 void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA, in constructHIPFatbinCommand() argument
96 JA, T, ResponseFileSupport::None(), Bundler, BundlerArgs, Inputs, in constructHIPFatbinCommand()
97 InputInfo(&JA, Args.MakeArgString(Output)))); in constructHIPFatbinCommand()
106 const ArgList &Args, const JobAction &JA, const Tool &T) { in constructGenerateObjFileFromHIPFatBinary() argument
124 HIP::constructHIPFatbinCommand(C, JA, BundleFile, Inputs, Args, T); in constructGenerateObjFileFromHIPFatBinary()
177 C.addCommand(std::make_unique<Command>(JA, T, ResponseFileSupport::None(), Mc, in constructGenerateObjFileFromHIPFatBinary()
H A DSPIRV.h21 const JobAction &JA, const InputInfo &Output,
33 void ConstructJob(Compilation &C, const JobAction &JA,
44 void ConstructJob(Compilation &C, const JobAction &JA,
76 clang::driver::Tool *SelectTool(const JobAction &JA) const override;
H A DClang.h42 void AddPreprocessingOptions(Compilation &C, const JobAction &JA,
115 void ConstructJob(Compilation &C, const JobAction &JA,
138 void ConstructJob(Compilation &C, const JobAction &JA,
151 void ConstructJob(Compilation &C, const JobAction &JA,
155 void ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA,
169 void ConstructJob(Compilation &C, const JobAction &JA,
184 void ConstructJob(Compilation &C, const JobAction &JA,
H A DXCore.cpp25 void tools::XCore::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
55 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
59 void tools::XCore::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
80 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); in ConstructJob()
83 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
H A DGnu.h48 void ConstructJob(Compilation &C, const JobAction &JA,
61 void ConstructJob(Compilation &C, const JobAction &JA,
75 void ConstructJob(Compilation &C, const JobAction &JA,
93 void ConstructJob(Compilation &C, const JobAction &JA,
100 virtual void RenderExtraToolArgs(const JobAction &JA,
112 void RenderExtraToolArgs(const JobAction &JA,
123 void RenderExtraToolArgs(const JobAction &JA,
134 void RenderExtraToolArgs(const JobAction &JA,
H A DHexagon.h30 void RenderExtraToolArgs(const JobAction &JA,
32 void ConstructJob(Compilation &C, const JobAction &JA,
45 virtual void RenderExtraToolArgs(const JobAction &JA,
47 void ConstructJob(Compilation &C, const JobAction &JA,
H A DClang.cpp1098 if (JA.isOffloading(Action::OFK_HIP)) in AddPreprocessingOptions()
1292 C, JA, getToolChain(), in AddPreprocessingOptions()
1429 F += JA.getOffloadingArch(); in renderRemarksOptions()
4873 if (!isa<AssembleJobAction>(JA)) { in ConstructJob()
4897 if (isa<AnalyzeJobAction>(JA)) { in ConstructJob()
4941 assert((isa<CompileJobAction>(JA) || isa<BackendJobAction>(JA)) && in ConstructJob()
5059 (isa<BackendJobAction>(JA) || isa<AssembleJobAction>(JA))) { in ConstructJob()
5220 if (isa<AnalyzeJobAction>(JA)) in ConstructJob()
5223 if (isa<AnalyzeJobAction>(JA) || in ConstructJob()
5866 (isa<AssembleJobAction>(JA) || isa<CompileJobAction>(JA) || in ConstructJob()
[all …]
H A DHIPUtility.h20 void constructHIPFatbinCommand(Compilation &C, const JobAction &JA,
28 const llvm::opt::ArgList &Args, const JobAction &JA, const Tool &T);
H A DDragonFly.cpp23 void dragonfly::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
47 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
52 void dragonfly::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
128 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
198 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
H A DHIPAMD.h30 void ConstructJob(Compilation &C, const JobAction &JA,
36 void constructLldCommand(Compilation &C, const JobAction &JA,
39 void constructLlvmLinkCommand(Compilation &C, const JobAction &JA,
H A DCommonArgs.h32 llvm::opt::ArgStringList &CmdArgs, const JobAction &JA);
58 const JobAction &JA,
64 void AddStaticDeviceLibs(Compilation *C, const Tool *T, const JobAction *JA,
70 const char *SplitDebugName(const JobAction &JA, const llvm::opt::ArgList &Args,
74 const JobAction &JA, const llvm::opt::ArgList &Args,
H A DCrossWindows.cpp25 Compilation &C, const JobAction &JA, const InputInfo &Output, in ConstructJob() argument
60 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
65 Compilation &C, const JobAction &JA, const InputInfo &Output, in ConstructJob() argument
169 AddLinkerInputs(TC, Inputs, Args, CmdArgs, JA); in ConstructJob()
207 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
H A DHexagon.cpp194 void hexagon::Assembler::RenderExtraToolArgs(const JobAction &JA, in RenderExtraToolArgs() argument
198 void hexagon::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
211 RenderExtraToolArgs(JA, CmdArgs); in ConstructJob()
270 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
275 void hexagon::Linker::RenderExtraToolArgs(const JobAction &JA, in RenderExtraToolArgs() argument
280 constructHexagonLinkArgs(Compilation &C, const JobAction &JA, in constructHexagonLinkArgs() argument
368 AddLinkerInputs(HTC, Inputs, Args, CmdArgs, JA); in constructHexagonLinkArgs()
457 AddLinkerInputs(HTC, Inputs, Args, CmdArgs, JA); in constructHexagonLinkArgs()
493 void hexagon::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
501 constructHexagonLinkArgs(C, JA, HTC, Output, Inputs, Args, CmdArgs, in ConstructJob()
[all …]
H A DInterfaceStubs.cpp18 void Merger::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
58 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
H A DZOS.cpp41 void zos::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
68 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
102 void zos::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
165 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
207 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
H A DCuda.cpp388 if (JA.isDeviceOffloading(Action::OFK_Cuda)) { in ConstructJob()
389 GPUArchName = JA.getOffloadingArch(); in ConstructJob()
474 if (JA.isOffloading(Action::OFK_OpenMP)) in ConstructJob()
479 else if (JA.isOffloading(Action::OFK_Cuda)) in ConstructJob()
496 JA, *this, in ConstructJob()
566 JA, *this, in ConstructJob()
572 void NVPTX::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
651 JA, *this, in ConstructJob()
862 const llvm::opt::ArgList &DriverArgs, const JobAction &JA, in getDefaultDenormalModeForType() argument
864 if (JA.getOffloadingDeviceKind() == Action::OFK_Cuda) { in getDefaultDenormalModeForType()
[all …]
H A DCuda.h90 void ConstructJob(Compilation &C, const JobAction &JA,
104 void ConstructJob(Compilation &C, const JobAction &JA,
117 void ConstructJob(Compilation &C, const JobAction &JA,
201 const llvm::opt::ArgList &DriverArgs, const JobAction &JA,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Driver/
H A DCompilation.h263 const char *addResultFile(const char *Name, const JobAction *JA) { in addResultFile() argument
264 ResultFiles[JA] = Name; in addResultFile()
270 const char *addFailureResultFile(const char *Name, const JobAction *JA) { in addFailureResultFile() argument
271 FailureResultFiles[JA] = Name; in addFailureResultFile()
275 const char *getTimeTraceFile(const JobAction *JA) const { in getTimeTraceFile() argument
276 return TimeTraceFiles.lookup(JA); in getTimeTraceFile()
278 void addTimeTraceFile(const char *Name, const JobAction *JA) { in addTimeTraceFile() argument
279 assert(!TimeTraceFiles.contains(JA)); in addTimeTraceFile()
280 TimeTraceFiles[JA] = Name; in addTimeTraceFile()
303 const JobAction *JA,
H A DTool.h73 virtual void ConstructJob(Compilation &C, const JobAction &JA,
87 virtual void ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA,
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DDriver.cpp5296 AI.JA = in getTool()
5722 if (isa<OffloadAction>(JA) && isa<PreprocessJobAction>(JA.getInputs()[0])) in HasPreprocessOutput()
5816 if (AtTopLevel && !isa<DsymutilJobAction>(JA) && !isa<VerifyJobAction>(JA)) { in GetNamedOutputPath()
5830 &JA); in GetNamedOutputPath()
5868 &JA); in GetNamedOutputPath()
5922 } else if (isa<DsymutilJobAction>(JA) || isa<VerifyJobAction>(JA)) in GetNamedOutputPath()
6434 if (JA.size() != 1 || in ShouldUseClangCompiler()
6439 if (!isa<PreprocessJobAction>(JA) && !isa<PrecompileJobAction>(JA) && in ShouldUseClangCompiler()
6440 !isa<CompileJobAction>(JA) && !isa<BackendJobAction>(JA) && in ShouldUseClangCompiler()
6449 if (JA.size() != 1 || in ShouldUseFlangCompiler()
[all …]
H A DTool.cpp20 void Tool::ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA, in ConstructJobMultipleOutputs() argument
26 ConstructJob(C, JA, Outputs.front(), Inputs, TCArgs, LinkingOutput); in ConstructJobMultipleOutputs()

1234