LLVM: llvm::CodeExtractorAnalysisCache Class Reference (original) (raw)
A cache for the CodeExtractor analysis. More...
#include "[llvm/Transforms/Utils/CodeExtractor.h](CodeExtractor%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| LLVM_ABI | CodeExtractorAnalysisCache (Function &F) |
| ArrayRef< AllocaInst * > | getAllocas () const |
| Get the allocas in the function at the time the analysis was created. | |
| LLVM_ABI bool | doesBlockContainClobberOfAddr (BasicBlock &BB, AllocaInst *Addr) const |
| Check whether BB contains an instruction thought to load from, store to, or otherwise clobber the alloca Addr. |
A cache for the CodeExtractor analysis.
The operation CodeExtractor::extractCodeRegion is guaranteed not to invalidate this object. This object should conservatively be considered invalid if any other mutating operations on the IR occur.
Constructing this object is O(n) in the size of the function.
Definition at line 47 of file CodeExtractor.h.
| CodeExtractorAnalysisCache::CodeExtractorAnalysisCache | ( | Function & | F | ) |
|---|
◆ doesBlockContainClobberOfAddr()
◆ getAllocas()
The documentation for this class was generated from the following files:
- include/llvm/Transforms/Utils/CodeExtractor.h
- lib/Transforms/Utils/CodeExtractor.cpp