LLVM 22.0.0git
|
#include "llvm/Support/Compiler.h"
#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 | |
LLVM_ABI Expected< CachePruningPolicy > | llvm::parseCachePruningPolicy (StringRef PolicyStr) |
Parse the given string as a cache pruning policy. | |
LLVM_ABI 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. |