Lines Matching defs:Input
213 // Add extra linker input arguments which are not treated as inputs
228 // Otherwise, this is a linker input argument.
317 // Otherwise derive from the base input.
1819 /// of the refinement step in the input string.
1880 // Check each input value for validity, concatenate them all back together,
1911 // The input name did not match any known option string.
2469 /// \brief Check whether the given input tree contains any compilation actions.
2518 // on mismatch. The StringRef input (rather than an Arg) allows
2957 static const char *SplitDebugName(const ArgList &Args, const InputInfo &Input) {
2967 SmallString<128> F(llvm::sys::path::stem(Input.getBaseInput()));
3030 /// Add -x lang to \p CmdArgs for \p Input.
3031 static void addDashXForInput(const ArgList &Args, const InputInfo &Input,
3035 if (Args.hasArg(options::OPT_verify_pch) && Input.getType() == types::TY_PCH)
3042 CmdArgs.push_back(types::getTypeName(Input.getType()));
3441 // Check number of inputs for sanity. We need at least one input.
3442 assert(Inputs.size() >= 1 && "Must have at least one input.");
3443 const InputInfo &Input = Inputs[0];
3446 // input.
3447 bool IsCuda = types::isCuda(Input.getType());
3568 if (!types::isLLVMIR(Input.getType()))
3588 CmdArgs.push_back(getBaseInputName(Args, Input));
3616 if (types::isCXX(Input.getType()))
4060 types::ID InputType = Input.getType();
4364 // FIXME: Clang doesn't correctly handle -std= when the input language
5461 addDashXForInput(Args, Input, CmdArgs);
5463 if (Input.isFilename())
5464 CmdArgs.push_back(Input.getFilename());
5466 Input.getInputArg().renderAsInput(Args, CmdArgs);
5499 SplitDwarfOut = SplitDebugName(Args, Input);
5889 const InputInfo &Input = Inputs[0];
5892 getToolChain().ComputeEffectiveClangTriple(Args, Input.getType());
5919 CmdArgs.push_back(Clang::getBaseInputName(Args, Input));
5937 // Determine the original source input.
6042 assert(Input.isFilename() && "Invalid input.");
6043 CmdArgs.push_back(Input.getFilename());
6054 SplitDebugName(Args, Input));
6132 // like '-x foobar a.c' which will treat a.c like a linker input.
6163 // Don't render as input, we need gcc to do the translations.
6260 // like '-x foobar a.c' which will treat a.c like a linker input.
6279 // Don't render as input, we need gcc to do the translations.
6748 const InputInfo &Input) {
6749 return Args.MakeArgString(llvm::sys::path::filename(Input.getBaseInput()));
6846 const InputInfo &Input = Inputs[0];
6848 // Determine the original source input.
6897 assert(Input.isFilename() && "Invalid input.");
6898 CmdArgs.push_back(Input.getFilename());
6925 for (const auto &Input : Inputs)
6926 if (Input.getType() != types::TY_Object)
7137 // input files in a separate file, shortening the command line. To this end,
7138 // build a list of input file names that can be passed via a file with the
7193 // Build the input file for -filelist (list of linker input files) in case we
7197 // This is a linker input argument.
7198 // We cannot mix input arguments and file names in a -filelist input, thus
7286 assert(II.isFilename() && "Unexpected lipo input.");
7305 const InputInfo &Input = Inputs[0];
7306 assert(Input.isFilename() && "Unexpected dsymutil input.");
7307 CmdArgs.push_back(Input.getFilename());
7326 const InputInfo &Input = Inputs[0];
7327 assert(Input.isFilename() && "Unexpected verify input");
7330 CmdArgs.push_back(Input.getFilename());
8924 // inserts the file containing the macros as an input into all the assembly
9468 for (const auto &Input : Inputs) {
9469 if (Input.isFilename()) {
9470 CmdArgs.push_back(Input.getFilename());
9474 const Arg &A = Input.getInputArg();
9488 // Otherwise, this is some other kind of linker input option like -Wl, -z,
9604 // Input filename.
9942 for (const auto &Input : Inputs)
9943 CmdArgs.push_back(Input.getFilename());
10167 assert(II.getType() == types::TY_PP_Asm); // Require preprocessed asm input.
10280 const InputInfo &Input = Inputs[0];
10281 assert(Input.isFilename() && "Invalid input.");
10282 CmdArgs.push_back(Input.getFilename());