reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ExecutionEngine/Orc/IndirectionUtils.h
  149             sys::Process::getPageSizeEstimate(), nullptr,
  155         (sys::Process::getPageSizeEstimate() - ORCABI::PointerSize) /
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
  302             sys::Process::getPageSizeEstimate(), nullptr,
  308         (sys::Process::getPageSizeEstimate() - TargetT::PointerSize) /
  338     uint32_t PageSize = sys::Process::getPageSizeEstimate();
lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp
   76   if (!isPowerOf2_64((uint64_t)sys::Process::getPageSizeEstimate()))
   90     if (Seg.getAlignment() > sys::Process::getPageSizeEstimate())
   95     TotalSize = alignTo(TotalSize, sys::Process::getPageSizeEstimate());
  114                                    sys::Process::getPageSizeEstimate());
lib/ExecutionEngine/Orc/OrcABISupport.cpp
  150   static const unsigned PageSize = sys::Process::getPageSizeEstimate();
  232   static const unsigned PageSize = sys::Process::getPageSizeEstimate();
  500   static const unsigned PageSize = sys::Process::getPageSizeEstimate();
  686   static const unsigned PageSize = sys::Process::getPageSizeEstimate();
  932   static const unsigned PageSize = sys::Process::getPageSizeEstimate();
lib/ExecutionEngine/SectionMemoryManager.cpp
  175   static const size_t PageSize = sys::Process::getPageSizeEstimate();
lib/Support/CommandLine.cpp
 1202   llvm::Optional<std::string> envValue = sys::Process::GetEnv(StringRef(envVar));
 1232             sys::Process::GetEnv(StringRef(EnvVar)))
lib/Support/FileCollector.cpp
  119   if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
lib/Support/MemoryBuffer.cpp
  421   static int PageSize = sys::Process::getPageSizeEstimate();
lib/Support/Path.cpp
  763       ResultPath[i] = "0123456789abcdef"[sys::Process::GetRandomNumber() & 15];
lib/Support/Process.cpp
   40   Optional<std::string> OptPath = Process::GetEnv(EnvName);
lib/Support/Timer.cpp
  114   return sys::Process::GetMallocUsage();
  125     sys::Process::GetTimeUsage(now, user, sys);
  127     sys::Process::GetTimeUsage(now, user, sys);
lib/Support/Unix/Memory.inc
  120   static const size_t PageSize = Process::getPageSizeEstimate();
  179   static const Align PageSize = Align(Process::getPageSizeEstimate());
lib/Support/Unix/Path.inc
  807   return Process::getPageSizeEstimate();
 1029   return Process::SafelyCloseFileDescriptor(TmpF);
lib/Support/raw_ostream.cpp
  615       if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
  747   if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
  809   if (sys::Process::ColorNeedsFlush())
  813           ? sys::Process::OutputBold(bg)
  814           : sys::Process::OutputColor(static_cast<char>(colors), bold, bg);
  828   if (sys::Process::ColorNeedsFlush())
  830   const char *colorcode = sys::Process::ResetColor();
  844   if (sys::Process::ColorNeedsFlush())
  846   const char *colorcode = sys::Process::OutputReverse();
  857   return sys::Process::FileDescriptorIsDisplayed(FD);
  861   return sys::Process::FileDescriptorHasColors(FD);
lib/ToolDrivers/llvm-lib/LibDriver.cpp
   82   Optional<std::string> EnvOpt = sys::Process::GetEnv("LIB");
tools/bugpoint/bugpoint.cpp
  233   sys::Process::PreventCoreFiles();
tools/clang/lib/Driver/Driver.cpp
  942           llvm::sys::Process::GetEnv("COMPILER_PATH")) {
 2026         llvm::sys::Process::FindInEnvPath("LIB", Value))
tools/clang/lib/Driver/ToolChains/Clang.cpp
 4478     unsigned N = llvm::sys::Process::StandardErrColumns();
tools/clang/lib/Driver/ToolChains/Cuda.cpp
  686         llvm::sys::Process::GetEnv("LIBRARY_PATH");
tools/clang/lib/Driver/ToolChains/MSVC.cpp
   75           llvm::sys::Process::GetEnv("VCToolsInstallDir")) {
   83           llvm::sys::Process::GetEnv("VCINSTALLDIR")) {
   97           llvm::sys::Process::GetEnv("PATH")) {
  324   if (!llvm::sys::Process::GetEnv("LIB")) {
 1247           llvm::sys::Process::GetEnv("INCLUDE")) {
tools/clang/lib/Frontend/CompilerInvocation.cpp
 1484           llvm::sys::Process::StandardErrHasColors());
 1532   llvm::sys::Process::UseANSIEscapeCodes(Args.hasArg(OPT_fansi_escape_codes));
tools/clang/lib/Frontend/PrecompiledPreamble.cpp
  556   llvm::sys::Process::SafelyCloseFileDescriptor(FD);
tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp
  192                 llvm::sys::Process::StandardErrHasColors());
tools/clang/tools/driver/driver.cpp
  326   if (llvm::sys::Process::FixupStandardFileDescriptors())
  400     llvm::Optional<std::string> OptCL = llvm::sys::Process::GetEnv("CL");
  409     llvm::Optional<std::string> Opt_CL_ = llvm::sys::Process::GetEnv("_CL_");
tools/clang/tools/extra/clang-move/tool/ClangMove.cpp
   36   return llvm::sys::Process::SafelyCloseFileDescriptor(fd);
tools/clang/tools/extra/clang-tidy/ClangTidy.cpp
  109     DiagOpts->ShowColors = llvm::sys::Process::StandardOutHasColors();
tools/clang/tools/extra/clang-tidy/tool/ClangTidyMain.cpp
  273   DefaultOptions.User = llvm::sys::Process::GetEnv("USER");
  276     DefaultOptions.User = llvm::sys::Process::GetEnv("USERNAME");
tools/clang/tools/extra/clangd/tool/ClangdMain.cpp
  543   if (auto EnvFlags = llvm::sys::Process::GetEnv(FlagsEnvVar))
tools/lld/COFF/Driver.cpp
  495   Optional<std::string> envOpt = Process::GetEnv("LIB");
tools/lld/COFF/DriverUtils.cpp
  893   if (Optional<std::string> s = Process::GetEnv("LINK")) {
  897   if (Optional<std::string> s = Process::GetEnv("_LINK_")) {
tools/lldb/source/Host/common/File.cpp
  179         if (llvm::sys::Process::FileDescriptorHasColors(fd))
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  672       llvm::sys::Process::getPageSizeEstimate();
tools/lldb/tools/driver/Driver.cpp
  434     llvm::sys::Process::SafelyCloseFileDescriptor(fds[READ]);
  435     llvm::sys::Process::SafelyCloseFileDescriptor(fds[WRITE]);
  441   llvm::sys::Process::SafelyCloseFileDescriptor(fds[WRITE]);
  451     llvm::sys::Process::SafelyCloseFileDescriptor(fds[READ]);
tools/lldb/unittests/Host/NativeProcessProtocolTest.cpp
  137   unsigned string_start = llvm::sys::Process::getPageSizeEstimate() - 3;
tools/lli/lli.cpp
  376     sys::Process::PreventCoreFiles();
tools/llvm-cov/CodeCoverage.cpp
  671                             ? sys::Process::StandardOutHasColors()
tools/llvm-cov/llvm-cov.cpp
   87     if (sys::Process::StandardErrHasColors())
   90     if (sys::Process::StandardErrHasColors())
tools/llvm-jitlink/llvm-jitlink.cpp
  335     PageSize = sys::Process::getPageSizeEstimate();
tools/llvm-objcopy/llvm-objcopy.cpp
  247   if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD))
tools/llvm-rc/ResourceFileWriter.cpp
 1539           llvm::sys::Process::FindInEnvPath("INCLUDE", File, Params.NoInclude))
tools/llvm-undname/llvm-undname.cpp
  110       if (!sys::Process::StandardInIsUserInput()) {
unittests/Support/MemoryTest.cpp
   53     PageSize = sys::Process::getPageSizeEstimate();
unittests/Support/ProcessTest.cpp
   22   const unsigned r1 = Process::GetRandomNumber();
   23   const unsigned r2 = Process::GetRandomNumber();
unittests/Support/ReplaceFileTest.cpp
   51   ~ScopedFD() { Process::SafelyCloseFileDescriptor(FD); }
utils/FileCheck/FileCheck.cpp
  514   llvm::sys::Process::UseANSIEscapeCodes(true);
utils/yaml-bench/YAMLBench.cpp
  199                         ? sys::Process::StandardOutHasColors()