LLVM 20.0.0git
Classes | Namespaces | Functions
CachePruning.h File Reference
#include "llvm/Support/MemoryBuffer.h"
#include <chrono>
#include <optional>

Go to the source code of this file.

Classes

struct  llvm::CachePruningPolicy
 Policy for the pruneCache() function. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

Expected< CachePruningPolicyllvm::parseCachePruningPolicy (StringRef PolicyStr)
 Parse the given string as a cache pruning policy.
 
bool llvm::pruneCache (StringRef Path, CachePruningPolicy Policy, const std::vector< std::unique_ptr< MemoryBuffer > > &Files={})
 Peform pruning using the supplied policy, returns true if pruning occurred, i.e.