LLVM 22.0.0git
|
#include "llvm/Analysis/DomConditionCache.h"
Public Member Functions | |
void | registerBranch (BranchInst *BI) |
Add a branch condition to the cache. | |
void | removeValue (Value *V) |
Remove a value from the cache, e.g. because it will be erased. | |
ArrayRef< BranchInst * > | conditionsFor (const Value *V) const |
Access the list of branches which affect this value. |
Definition at line 29 of file DomConditionCache.h.
|
inline |
Access the list of branches which affect this value.
Definition at line 43 of file DomConditionCache.h.
References llvm::ArrayRef().
Referenced by llvm::computeKnownBitsFromContext(), computeKnownFPClassFromContext(), isKnownNonEqualFromContext(), and llvm::isKnownToBeAPowerOfTwo().
void DomConditionCache::registerBranch | ( | BranchInst * | BI | ) |
Add a branch condition to the cache.
Definition at line 19 of file DomConditionCache.cpp.
References assert(), findAffectedValues(), llvm::BranchInst::getCondition(), llvm::is_contained(), and llvm::BranchInst::isConditional().
|
inline |
Remove a value from the cache, e.g. because it will be erased.
Definition at line 40 of file DomConditionCache.h.