Home
last modified time | relevance | path

Searched refs:InputFile (Results 1 – 25 of 66) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DInputFile.h34 class InputFile; variable
41 class InputFile {
42 InputFile();
59 ~InputFile();
60 InputFile(InputFile &&Other) = default;
62 static Expected<InputFile> open(StringRef Path,
93 explicit SymbolGroup(InputFile *File, uint32_t GroupIndex = 0);
110 const InputFile &getFile() const { return *File; } in getFile()
111 InputFile &getFile() { return *File; } in getFile()
119 InputFile *File = nullptr;
[all …]
DInputFile.cpp35 InputFile::InputFile() {} in InputFile() function in InputFile
36 InputFile::~InputFile() {} in ~InputFile()
127 SymbolGroup::SymbolGroup(InputFile *File, uint32_t GroupIndex) : File(File) { in SymbolGroup()
246 Expected<InputFile> InputFile::open(StringRef Path, bool AllowUnknownFile) { in open()
247 InputFile IF; in open()
293 PDBFile &InputFile::pdb() { in pdb()
298 const PDBFile &InputFile::pdb() const { in pdb()
303 object::COFFObjectFile &InputFile::obj() { in obj()
308 const object::COFFObjectFile &InputFile::obj() const { in obj()
313 MemoryBuffer &InputFile::unknown() { in unknown()
[all …]
DExplainOutputStyle.h24 class InputFile; variable
29 ExplainOutputStyle(InputFile &File, uint64_t FileOffset);
61 InputFile &File;
DDumpOutputStyle.h37 class InputFile; variable
65 DumpOutputStyle(InputFile &File);
101 InputFile &File;
/external/spirv-llvm/tools/llvm-spirv/
Dllvm-spirv.cpp82 InputFile(cl::Positional, cl::desc("<input file>"), cl::init("-")); variable
122 auto DS = getDataFileStreamer(InputFile, &Err); in convertLLVMToSPIRV()
129 getStreamedBitcodeModule(InputFile, std::move(DS), Context); in convertLLVMToSPIRV()
144 if (InputFile == "-") in convertLLVMToSPIRV()
147 OutputFile = removeExt(InputFile) + in convertLLVMToSPIRV()
164 std::ifstream IFS(InputFile, std::ios::binary); in convertSPIRVToLLVM()
183 if (InputFile == "-") in convertSPIRVToLLVM()
186 OutputFile = removeExt(InputFile) + kExt::LLVMBinary; in convertSPIRVToLLVM()
209 std::ifstream IFS(InputFile, std::ios::binary); in convertSPIRV()
212 if (InputFile == "-") in convertSPIRV()
[all …]
/external/llvm/tools/dsymutil/
Ddsymutil.cpp176 static std::string getOutputFileName(llvm::StringRef InputFile, in getOutputFileName() argument
182 OutputFileOpt.empty() ? InputFile : llvm::StringRef(OutputFileOpt); in getOutputFileName()
204 if (InputFile == "-") in getOutputFileName()
206 return (InputFile + ".dwarf").str(); in getOutputFileName()
221 InputFile == "-" ? llvm::StringRef("a.out") : InputFile; in getOutputFileName()
291 for (auto &InputFile : InputFiles) { in main() local
294 if (!dumpStab(InputFile, ArchFlags, OsoPrependPath)) in main()
299 auto DebugMapPtrsOrErr = parseDebugMap(InputFile, ArchFlags, OsoPrependPath, in main()
303 llvm::errs() << "error: cannot parse the debug map for \"" << InputFile in main()
329 std::string OutputFile = getOutputFileName(InputFile, NeedsTempFiles); in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/LTO/
DLTO.h83 class InputFile {
90 InputFile() = default;
103 ~InputFile();
106 static Expected<std::unique_ptr<InputFile>> create(MemoryBufferRef Object);
240 friend InputFile; variable
255 Error add(std::unique_ptr<InputFile> Obj, ArrayRef<SymbolResolution> Res);
366 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
374 Error addModule(InputFile &Input, unsigned ModI,
378 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
383 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
Ddsymutil.cpp279 static std::string getOutputFileName(llvm::StringRef InputFile) { in getOutputFileName() argument
282 return InputFile; in getOutputFileName()
287 if (InputFile == "-") in getOutputFileName()
289 return (InputFile + ".dwarf").str(); in getOutputFileName()
304 InputFile == "-" ? llvm::StringRef("a.out") : InputFile; in getOutputFileName()
462 for (auto &InputFile : *InputsOrErr) { in main()
465 if (!dumpStab(InputFile, ArchFlags, OsoPrependPath)) in main()
471 parseDebugMap(InputFile, ArchFlags, OsoPrependPath, PaperTrailWarnings, in main()
475 WithColor::error() << "cannot parse the debug map for '" << InputFile in main()
484 Map->addDebugMapObject(InputFile, in main()
[all …]
Ddsymutil.h39 parseDebugMap(StringRef InputFile, ArrayRef<std::string> Archs,
44 bool dumpStab(StringRef InputFile, ArrayRef<std::string> Archs,
/external/clang/include/clang/Serialization/
DModule.h57 class InputFile {
66 InputFile() {} in InputFile() function
67 InputFile(const FileEntry *File,
79 static InputFile getNotFound() { in getNotFound()
80 InputFile File; in getNotFound()
210 std::vector<InputFile> InputFilesLoaded;
/external/swiftshader/third_party/LLVM/tools/lli/
Dlli.cpp50 InputFile(cl::desc("<input bitcode>"), cl::Positional, cl::init("-")); variable
179 Module *Mod = ParseIRFile(InputFile, Err, Context); in main()
243 InputFile = FakeArgv0; in main()
247 if (StringRef(InputFile).endswith(".bc")) in main()
248 InputFile.erase(InputFile.length() - 3); in main()
252 InputArgv.insert(InputArgv.begin(), InputFile); in main()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DStatisticsTool.java53 private InputFile inputFile;
114 private int nextBuffer(InputFile inputFileArg) in nextBuffer()
270 public NGramList collectStatistics(InputFile file) in collectStatistics()
317 InputFile[] input_files = new InputFile[args.length]; in main()
348 input_files[file_count++] = new InputFile(arg, encoding, visual_order); in main()
361 InputFile file = input_files[i]; in main()
391 InputFile file = input_files[f]; in main()
DChecker.java41 public Checker(NGramList list, InputFile dataFile) in Checker()
93 private boolean nextBuffer(InputFile inputFile) in nextBuffer()
130 public void setMapper(InputFile file) in setMapper()
145 public void check(InputFile dataFile) in check()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/
DToolRunner.cpp159 const std::string &InputFile, const std::string &OutputFile,
168 const std::string &InputFile, in ExecuteProgram() argument
199 return RunProgramWithTimeout(LLIPath, LLIArgs, InputFile, OutputFile, in ExecuteProgram()
272 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument
321 const std::string &InputFile, const std::string &OutputFile,
330 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument
346 return RunProgramWithTimeout(ExecutionCommand, ProgramArgs, InputFile, in ExecuteProgram()
499 const std::string &InputFile, in ExecuteProgram() argument
516 return cc->ExecuteProgram(OutputAsmFile, Args, *FileKind, InputFile, in ExecuteProgram()
561 const std::string &InputFile, const std::string &OutputFile,
[all …]
DToolRunner.h64 FileType fileType, const std::string &InputFile,
72 Error MakeSharedObject(const std::string &InputFile, FileType fileType,
137 const std::string &InputFile, const std::string &OutputFile,
171 const std::string &InputFile, const std::string &OutputFile,
/external/llvm/tools/bugpoint/
DToolRunner.cpp166 const std::string &InputFile,
179 const std::string &InputFile, in ExecuteProgram() argument
213 InputFile, OutputFile, OutputFile, in ExecuteProgram()
287 const std::string &InputFile, in ExecuteProgram() argument
343 const std::string &InputFile,
356 const std::string &InputFile, in ExecuteProgram() argument
378 &ProgramArgs[0], InputFile, OutputFile, in ExecuteProgram()
511 const std::string &InputFile, in ExecuteProgram() argument
529 InputFile, OutputFile, Error, CCArgs, in ExecuteProgram()
573 const std::string &InputFile,
[all …]
DToolRunner.h64 const std::string &InputFile,
75 int MakeSharedObject(const std::string &InputFile, FileType fileType,
140 const std::string &InputFile,
178 const std::string &InputFile,
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DToolRunner.cpp186 const std::string &InputFile,
199 const std::string &InputFile, in ExecuteProgram() argument
233 sys::Path(InputFile), sys::Path(OutputFile), sys::Path(OutputFile), in ExecuteProgram()
274 const std::string &InputFile, in ExecuteProgram() argument
330 const std::string &InputFile,
343 const std::string &InputFile, in ExecuteProgram() argument
365 &ProgramArgs[0], sys::Path(InputFile), sys::Path(OutputFile), in ExecuteProgram()
495 const std::string &InputFile, in ExecuteProgram() argument
513 InputFile, OutputFile, Error, GCCArgs, in ExecuteProgram()
557 const std::string &InputFile,
[all …]
DToolRunner.h65 const std::string &InputFile,
76 int MakeSharedObject(const std::string &InputFile, FileType fileType,
142 const std::string &InputFile,
177 const std::string &InputFile,
225 const std::string &InputFile,
/external/llvm/lib/Support/
DSignals.cpp107 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local
108 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
110 FileRemover InputRemover(InputFile.c_str()); in printSymbolizedStackTrace()
121 StringRef InputFileStr(InputFile); in printSymbolizedStackTrace()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSignals.cpp107 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local
108 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
110 FileRemover InputRemover(InputFile.c_str()); in printSymbolizedStackTrace()
121 StringRef InputFileStr(InputFile); in printSymbolizedStackTrace()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSignals.cpp143 SmallString<32> InputFile, OutputFile; in printSymbolizedStackTrace() local
144 sys::fs::createTemporaryFile("symbolizer-input", "", InputFD, InputFile); in printSymbolizedStackTrace()
146 FileRemover InputRemover(InputFile.c_str()); in printSymbolizedStackTrace()
157 Optional<StringRef> Redirects[] = {StringRef(InputFile), in printSymbolizedStackTrace()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
Dllvm-rc.cpp136 SmallString<128> InputFile(InArgsInfo[0]); in main() local
137 llvm::sys::fs::make_absolute(InputFile); in main()
138 Params.InputFilePath = InputFile; in main()
164 SmallString<128> OutputFile = InputFile; in main()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-lto2/
Dllvm-lto2.cpp263 std::unique_ptr<InputFile> Input = in run()
264 check(InputFile::create(MB->getMemBufferRef()), F); in run()
267 for (const InputFile::Symbol &Sym : Input->symbols()) { in run()
334 std::unique_ptr<InputFile> Input = in dumpSymtab()
335 check(InputFile::create(MB->getMemBufferRef()), F); in dumpSymtab()
346 for (const InputFile::Symbol &Sym : Input->symbols()) { in dumpSymtab()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DLTO.cpp363 InputFile::~InputFile() = default;
365 Expected<std::unique_ptr<InputFile>> InputFile::create(MemoryBufferRef Object) { in create()
366 std::unique_ptr<InputFile> File(new InputFile); in create()
393 StringRef InputFile::getName() const { in getName()
421 void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, in addModuleToGlobalRes()
427 for (const InputFile::Symbol &Sym : Syms) { in addModuleToGlobalRes()
474 static void writeToResolutionFile(raw_ostream &OS, InputFile *Input, in writeToResolutionFile()
479 for (const InputFile::Symbol &Sym : Input->symbols()) { in writeToResolutionFile()
498 Error LTO::add(std::unique_ptr<InputFile> Input, in add()
517 Error LTO::addModule(InputFile &Input, unsigned ModI, in addModule()
[all …]

123