Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DFlang.cpp78 if (isa<PreprocessJobAction>(JA)) { in ConstructJob()
80 } else if (isa<CompileJobAction>(JA) || isa<BackendJobAction>(JA)) { in ConstructJob()
81 if (JA.getType() == types::TY_Nothing) { in ConstructJob()
83 } else if (JA.getType() == types::TY_AST) { in ConstructJob()
85 } else if (JA.getType() == types::TY_LLVM_IR || in ConstructJob()
86 JA.getType() == types::TY_LTO_IR) { in ConstructJob()
88 } else if (JA.getType() == types::TY_LLVM_BC || in ConstructJob()
89 JA.getType() == types::TY_LTO_BC) { in ConstructJob()
91 } else if (JA.getType() == types::TY_PP_Asm) { in ConstructJob()
96 } else if (isa<AssembleJobAction>(JA)) { in ConstructJob()
[all …]
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 DAMDGPUOpenMP.cpp91 const JobAction &JA, const InputInfoList &Inputs, const ArgList &Args, in constructLLVMLinkCommand() argument
145 InputInfo(&JA, Args.MakeArgString(OutputFileName)))); in constructLLVMLinkCommand()
161 InputInfo(&JA, Args.MakeArgString(OutputFileName)), in constructLLVMLinkCommand()
162 InputInfo(&JA, Args.MakeArgString(OptOutputFileName)))); in constructLLVMLinkCommand()
170 Compilation &C, const JobAction &JA, const InputInfoList &Inputs, in constructLlcCommand() argument
196 JA, *this, ResponseFileSupport::AtFileCurCP(), Llc, LlcArgs, Inputs, in constructLlcCommand()
197 InputInfo(&JA, Args.MakeArgString(LlcOutputFile)))); in constructLlcCommand()
202 Compilation &C, const JobAction &JA, const InputInfoList &Inputs, in constructLldCommand() argument
214 InputInfo(&JA, Args.MakeArgString(Output.getFilename())))); in constructLldCommand()
245 AMDGPUOpenMPTC, C, JA, Inputs, Args, GPUArch, Prefix); in ConstructJob()
[all …]
H A DMyriad.cpp24 void tools::SHAVE::Compiler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
35 if (JA.getKind() == Action::PreprocessJobClass) { in ConstructJob()
80 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
85 void tools::SHAVE::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
121 void tools::Myriad::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
171 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); in ConstructJob()
204 JA, *this, ResponseFileSupport::AtFileCurCP(), Args.MakeArgString(Exec), in ConstructJob()
268 Tool *MyriadToolChain::SelectTool(const JobAction &JA) const { in SelectTool()
271 return ToolChain::SelectTool(JA); in SelectTool()
272 switch (JA.getKind()) { in SelectTool()
[all …]
H A DHIPAMD.cpp76 const JobAction &JA, in constructLlvmLinkCommand() argument
93 AddStaticDeviceLibsLinking(C, *this, JA, Inputs, Args, LlvmLinkArgs, "amdgcn", in constructLlvmLinkCommand()
105 void AMDGCN::Linker::constructLldCommand(Compilation &C, const JobAction &JA, in constructLldCommand() argument
160 AddStaticDeviceLibsLinking(C, *this, JA, Inputs, Args, LldArgs, "amdgcn", in constructLldCommand()
173 void AMDGCN::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
180 JA.getType() == types::TY_Object) in ConstructJob()
182 Args, JA, *this); in ConstructJob()
184 if (JA.getType() == types::TY_HIP_FATBIN) in ConstructJob()
188 if (JA.getType() == types::TY_LLVM_BC) in ConstructJob()
189 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 DHIPUtility.cpp41 void HIP::constructHIPFatbinCommand(Compilation &C, const JobAction &JA, in constructHIPFatbinCommand() argument
90 JA, T, ResponseFileSupport::None(), Bundler, BundlerArgs, Inputs, in constructHIPFatbinCommand()
91 InputInfo(&JA, Args.MakeArgString(Output)))); in constructHIPFatbinCommand()
100 const ArgList &Args, const JobAction &JA, const Tool &T) { in constructGenerateObjFileFromHIPFatBinary() argument
118 HIP::constructHIPFatbinCommand(C, JA, BundleFile, Inputs, Args, T); in constructGenerateObjFileFromHIPFatBinary()
169 C.addCommand(std::make_unique<Command>(JA, T, ResponseFileSupport::None(), Mc, in constructGenerateObjFileFromHIPFatBinary()
H A DClang.h42 void AddPreprocessingOptions(Compilation &C, const JobAction &JA,
115 void ConstructJob(Compilation &C, const JobAction &JA,
136 void ConstructJob(Compilation &C, const JobAction &JA,
149 void ConstructJob(Compilation &C, const JobAction &JA,
153 void ConstructJobMultipleOutputs(Compilation &C, const JobAction &JA,
167 void ConstructJob(Compilation &C, const JobAction &JA,
180 void ConstructJob(Compilation &C, const JobAction &JA,
195 void ConstructJob(Compilation &C, const JobAction &JA,
H A DMinix.cpp22 void tools::minix::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
39 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
44 void tools::minix::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
71 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); in ConstructJob()
96 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
H A DSPIRV.h24 const JobAction &JA, const InputInfo &Output,
36 void ConstructJob(Compilation &C, const JobAction &JA,
47 void ConstructJob(Compilation &C, const JobAction &JA,
79 clang::driver::Tool *SelectTool(const JobAction &JA) const override;
H A DMyriad.h28 void ConstructJob(Compilation &C, const JobAction &JA,
40 void ConstructJob(Compilation &C, const JobAction &JA,
57 void ConstructJob(Compilation &C, const JobAction &JA,
84 Tool *SelectTool(const JobAction &JA) const override;
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
81 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); in ConstructJob()
84 C.addCommand(std::make_unique<Command>(JA, *this, ResponseFileSupport::None(), in ConstructJob()
H A DAMDGPUOpenMP.h35 void ConstructJob(Compilation &C, const JobAction &JA,
44 const JobAction &JA, const InputInfoList &Inputs,
49 const char *constructLlcCommand(Compilation &C, const JobAction &JA,
57 void constructLldCommand(Compilation &C, const JobAction &JA,
H A DAnanas.cpp25 void ananas::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
42 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
47 void ananas::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
113 AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA); in ConstructJob()
132 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
H A DGnu.h47 void ConstructJob(Compilation &C, const JobAction &JA,
60 void ConstructJob(Compilation &C, const JobAction &JA,
74 void ConstructJob(Compilation &C, const JobAction &JA,
92 void ConstructJob(Compilation &C, const JobAction &JA,
99 virtual void RenderExtraToolArgs(const JobAction &JA,
111 void RenderExtraToolArgs(const JobAction &JA,
122 void RenderExtraToolArgs(const JobAction &JA,
133 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 DDragonFly.cpp26 void dragonfly::Assembler::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
48 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
53 void dragonfly::Linker::ConstructJob(Compilation &C, const JobAction &JA, in ConstructJob() argument
121 AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA); in ConstructJob()
177 C.addCommand(std::make_unique<Command>(JA, *this, in ConstructJob()
H A DCuda.cpp385 if (JA.isDeviceOffloading(Action::OFK_OpenMP)) { in ConstructJob()
389 GPUArchName = JA.getOffloadingArch(); in ConstructJob()
461 if (JA.isOffloading(Action::OFK_OpenMP)) in ConstructJob()
466 else if (JA.isOffloading(Action::OFK_Cuda)) in ConstructJob()
479 JA, *this, in ConstructJob()
549 JA, *this, in ConstructJob()
568 assert(!JA.isHostOffloading(Action::OFK_OpenMP) && in ConstructJob()
631 JA, *this, in ConstructJob()
776 const llvm::opt::ArgList &DriverArgs, const JobAction &JA, in getDefaultDenormalModeForType() argument
778 if (JA.getOffloadingDeviceKind() == Action::OFK_Cuda) { in getDefaultDenormalModeForType()
[all …]
H A DClang.cpp1465 C, JA, getToolChain(), in AddPreprocessingOptions()
1594 F += JA.getOffloadingArch(); in renderRemarksOptions()
4667 if (isa<AnalyzeJobAction>(JA)) { in ConstructJob()
4710 assert((isa<CompileJobAction>(JA) || isa<BackendJobAction>(JA)) && in ConstructJob()
4802 (isa<BackendJobAction>(JA) || isa<AssembleJobAction>(JA))) { in ConstructJob()
4961 if (isa<AnalyzeJobAction>(JA)) in ConstructJob()
4964 if (isa<AnalyzeJobAction>(JA) || in ConstructJob()
5463 if (isa<AssembleJobAction>(JA) || isa<CompileJobAction>(JA) || in ConstructJob()
5464 isa<BackendJobAction>(JA)) { in ConstructJob()
5501 (isa<AssembleJobAction>(JA) || isa<CompileJobAction>(JA) || in ConstructJob()
[all …]
H A DCommonArgs.h28 llvm::opt::ArgStringList &CmdArgs, const JobAction &JA);
53 const JobAction &JA,
64 void AddStaticDeviceLibs(Compilation *C, const Tool *T, const JobAction *JA,
78 const JobAction &JA, const InputInfoList &Inputs,
85 const char *SplitDebugName(const JobAction &JA, const llvm::opt::ArgList &Args,
89 const JobAction &JA, const llvm::opt::ArgList &Args,
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 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,
/llvm-project-15.0.7/clang/include/clang/Driver/
H A DCompilation.h259 const char *addResultFile(const char *Name, const JobAction *JA) { in addResultFile() argument
260 ResultFiles[JA] = Name; in addResultFile()
266 const char *addFailureResultFile(const char *Name, const JobAction *JA) { in addFailureResultFile() argument
267 FailureResultFiles[JA] = Name; in addFailureResultFile()
291 const JobAction *JA,
/llvm-project-15.0.7/clang/lib/Driver/
H A DDriver.cpp5126 AI.JA = in getTool()
5549 if (isa<OffloadAction>(JA) && isa<PreprocessJobAction>(JA.getInputs()[0])) in HasPreprocessOutput()
5571 if (AtTopLevel && !isa<DsymutilJobAction>(JA) && !isa<VerifyJobAction>(JA)) { in GetNamedOutputPath()
5585 &JA); in GetNamedOutputPath()
5607 &JA); in GetNamedOutputPath()
5657 } else if (isa<DsymutilJobAction>(JA) || isa<VerifyJobAction>(JA)) in GetNamedOutputPath()
6176 if (JA.size() != 1 || in ShouldUseClangCompiler()
6181 if (!isa<PreprocessJobAction>(JA) && !isa<PrecompileJobAction>(JA) && in ShouldUseClangCompiler()
6182 !isa<CompileJobAction>(JA) && !isa<BackendJobAction>(JA) && in ShouldUseClangCompiler()
6191 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