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

References

include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
  167       CacheOptions.Policy.MaxSizePercentageOfAvailableSpace = Percentage;
lib/Support/CachePruning.cpp
  108       Policy.MaxSizePercentageOfAvailableSpace = Size;
  157   Policy.MaxSizePercentageOfAvailableSpace =
  158       std::min(Policy.MaxSizePercentageOfAvailableSpace, 100u);
  161       Policy.MaxSizePercentageOfAvailableSpace == 0 &&
  266   if (Policy.MaxSizePercentageOfAvailableSpace > 0 || Policy.MaxSizeBytes > 0) {
  274     if (Policy.MaxSizePercentageOfAvailableSpace == 0)
  275       Policy.MaxSizePercentageOfAvailableSpace = 100;
  279         AvailableSpace * Policy.MaxSizePercentageOfAvailableSpace / 100ull,
  284                       << Policy.MaxSizePercentageOfAvailableSpace << "%, "
unittests/Support/CachePruningTest.cpp
   20   EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
   44   EXPECT_EQ(100u, P->MaxSizePercentageOfAvailableSpace);
   51   EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
   55   EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
   59   EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
   63   EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
   72   EXPECT_EQ(50u, P->MaxSizePercentageOfAvailableSpace);