Home
last modified time | relevance | path

Searched refs:InputFormat (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/llvm-ifs/
H A Dllvm-ifs.cpp92 std::optional<FileFormat> InputFormat; member
138 readInputFile(std::optional<FileFormat> &InputFormat, StringRef FilePath) { in readInputFile() argument
150 if (!InputFormat || *InputFormat == FileFormat::ELF) { in readInputFile()
154 InputFormat = FileFormat::ELF; in readInputFile()
162 if (!InputFormat || *InputFormat == FileFormat::IFS) { in readInputFile()
166 InputFormat = FileFormat::IFS; in readInputFile()
314 Config.InputFormat = StringSwitch<std::optional<FileFormat>>(A->getValue()) in parseArgs()
318 if (!Config.InputFormat) in parseArgs()
393 Config.InputFormat = FileFormat::IFS; in llvm_ifs_main()
401 readInputFile(Config.InputFormat, InputFilePath); in llvm_ifs_main()
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-remarkutil/
H A DRemarkUtil.cpp54 static constexpr Format InputFormat = Format::YAML; variable
62 static constexpr Format InputFormat = Format::Bitstream; variable
69 static cl::opt<Format> InputFormat( variable
130 auto MaybeParser = createRemarkParser(InputFormat, (*MaybeBuf)->getBuffer()); in tryParseRemarksFromYAMLFile()
197 auto MaybeParser = createRemarkParser(InputFormat, (*MaybeBuf)->getBuffer()); in tryBitstream2YAML()
228 auto MaybeParser = createRemarkParser(InputFormat, (*MaybeBuf)->getBuffer()); in tryInstructionCount()
/openbsd-src/gnu/llvm/llvm/tools/llvm-objcopy/
H A Dllvm-objcopy.cpp151 if (Config.InputFormat == FileFormat::Binary || in executeObjcopy()
152 Config.InputFormat == FileFormat::IHex) { in executeObjcopy()
159 if (Config.InputFormat == FileFormat::Binary) in executeObjcopy()
H A DObjcopyOptions.cpp645 StringRef InputFormat, OutputFormat; in parseObjcopyOptions() local
647 InputFormat = InputArgs.getLastArgValue(OBJCOPY_target); in parseObjcopyOptions()
650 InputFormat = InputArgs.getLastArgValue(OBJCOPY_input_target); in parseObjcopyOptions()
657 Config.InputFormat = StringSwitch<FileFormat>(InputFormat) in parseObjcopyOptions()
726 Config.OutputFormat = Config.InputFormat; in parseObjcopyOptions()
1343 Config.InputFormat = FileFormat::Unspecified; in parseStripOptions()
/openbsd-src/gnu/llvm/llvm/tools/llvm-rc/
H A Dllvm-rc.cpp217 Format InputFormat = Rc; member
411 Opts.InputFormat = in parseWindresOptions()
414 deduceFormat(Opts.InputFormat, Opts.InputFile); in parseWindresOptions()
416 if (Opts.InputFormat == Coff) in parseWindresOptions()
429 if (Opts.InputFormat == Opts.OutputFormat) { in parseWindresOptions()
760 if (Opts.InputFormat == Rc) { in llvm_rc_main()
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h204 FileFormat InputFormat = FileFormat::Unspecified; member