Home
last modified time | relevance | path

Searched refs:OpenFlags (Results 1 – 16 of 16) sorted by relevance

/external/llvm/include/llvm/Support/
DFileSystem.h613 enum OpenFlags : unsigned { enum
633 inline OpenFlags operator|(OpenFlags A, OpenFlags B) {
634 return OpenFlags(unsigned(A) | unsigned(B));
637 inline OpenFlags &operator|=(OpenFlags &A, OpenFlags B) {
643 OpenFlags Flags, unsigned Mode = 0666);
DToolOutputFile.h49 sys::fs::OpenFlags Flags);
Draw_ostream.h30 enum OpenFlags : unsigned;
383 sys::fs::OpenFlags Flags);
/external/swiftshader/third_party/LLVM/lib/Support/
Draw_ostream.cpp444 int OpenFlags = O_WRONLY|O_CREAT; in raw_fd_ostream() local
447 OpenFlags |= O_BINARY; in raw_fd_ostream()
451 OpenFlags |= O_APPEND; in raw_fd_ostream()
453 OpenFlags |= O_TRUNC; in raw_fd_ostream()
455 OpenFlags |= O_EXCL; in raw_fd_ostream()
457 while ((FD = open(Filename, OpenFlags, 0664)) < 0) { in raw_fd_ostream()
DMemoryBuffer.cpp219 int OpenFlags = O_RDONLY; in getFile() local
221 OpenFlags |= O_BINARY; // Open input file in binary mode on win32. in getFile()
223 int FD = ::open(Filename, OpenFlags); in getFile()
/external/llvm/tools/llc/
Dllc.cpp200 sys::fs::OpenFlags OpenFlags = sys::fs::F_None; in GetOutputStream() local
202 OpenFlags |= sys::fs::F_Text; in GetOutputStream()
204 OpenFlags); in GetOutputStream()
/external/swiftshader/third_party/LLVM/tools/llc/
Dllc.cpp208 unsigned OpenFlags = 0; in GetOutputStream() local
209 if (Binary) OpenFlags |= raw_fd_ostream::F_Binary; in GetOutputStream()
211 OpenFlags); in GetOutputStream()
/external/llvm/tools/llvm-lto/
Dllvm-lto.cpp303 sys::fs::OpenFlags::F_None); in createCombinedModuleSummaryIndex()
386 raw_fd_ostream OS(Filename, EC, sys::fs::OpenFlags::F_None); in writeModuleToFile()
450 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::F_None); in thinLink()
484 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in distributedIndexes()
648 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in codegen()
685 raw_fd_ostream OS(OutputName, EC, sys::fs::OpenFlags::F_None); in runAll()
/external/llvm/lib/Support/
DToolOutputFile.cpp38 sys::fs::OpenFlags Flags) in tool_output_file()
Draw_ostream.cpp492 sys::fs::OpenFlags Flags) { in getFD()
514 sys::fs::OpenFlags Flags) in raw_fd_ostream()
/external/llvm/lib/Support/Unix/
DPath.inc596 sys::fs::OpenFlags Flags, unsigned Mode) {
601 int OpenFlags = O_CREAT;
604 OpenFlags |= O_RDWR;
606 OpenFlags |= O_WRONLY;
609 OpenFlags |= O_APPEND;
611 OpenFlags |= O_TRUNC;
614 OpenFlags |= O_EXCL;
618 while ((ResultFD = open(P.begin(), OpenFlags, Mode)) < 0) {
DProgram.inc436 llvm::raw_fd_ostream OS(FileName, EC, llvm::sys::fs::OpenFlags::F_Text);
/external/llvm/lib/Support/Windows/
DPath.inc761 sys::fs::OpenFlags Flags, unsigned Mode) {
800 int OpenFlags = 0;
802 OpenFlags |= _O_APPEND;
805 OpenFlags |= _O_TEXT;
807 int FD = ::_open_osfhandle(intptr_t(H), OpenFlags);
DProgram.inc498 llvm::raw_fd_ostream OS(FileName, EC, llvm::sys::fs::OpenFlags::F_Text);
/external/llvm/tools/gold/
Dgold-plugin.cpp832 raw_fd_ostream OS(Path, EC, sys::fs::OpenFlags::F_None); in saveBCFile()
1421 sys::fs::OpenFlags::F_None); in thinLTOLink()
1449 sys::fs::OpenFlags::F_None); in thinLTOLink()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp467 raw_fd_ostream ImportsOS(OutputFilename, EC, sys::fs::OpenFlags::F_None); in EmitImportsFiles()