LLVM: llvm::PhiValues Class Reference (original) (raw)
Class for calculating and caching the underlying values of phis in a function. More...
#include "[llvm/Analysis/PhiValues.h](PhiValues%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| PhiValues (const Function &F) | |
| Construct an empty PhiValues. | |
| LLVM_ABI const ValueSet & | getValuesForPhi (const PHINode *PN) |
| Get the underlying values of a phi. | |
| LLVM_ABI void | invalidateValue (const Value *V) |
| Notify PhiValues that the cached information using V is no longer valid. | |
| LLVM_ABI void | releaseMemory () |
| Free the memory used by this class. | |
| LLVM_ABI void | print (raw_ostream &OS) const |
| Print out the values currently in the cache. | |
| LLVM_ABI bool | invalidate (Function &, const PreservedAnalyses &, FunctionAnalysisManager::Invalidator &) |
| Handle invalidation events in the new pass manager. |
Class for calculating and caching the underlying values of phis in a function.
Initially the PhiValues is empty, and gets incrementally populated whenever it is queried.
Definition at line 41 of file PhiValues.h.
◆ ValueSet
◆ getValuesForPhi()
◆ invalidate()
◆ invalidateValue()
| void PhiValues::invalidateValue | ( | const Value * | V | ) |
|---|
◆ print()
◆ releaseMemory()
| void PhiValues::releaseMemory | ( | ) |
|---|
Free the memory used by this class.
Definition at line 159 of file PhiValues.cpp.
The documentation for this class was generated from the following files:
- include/llvm/Analysis/PhiValues.h
- lib/Analysis/PhiValues.cpp