LLVM 20.0.0git
Public Member Functions | List of all members
llvm::DomConditionCache Class Reference

#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.
 

Detailed Description

Definition at line 31 of file DomConditionCache.h.

Member Function Documentation

◆ conditionsFor()

ArrayRef< BranchInst * > llvm::DomConditionCache::conditionsFor ( const Value V) const
inline

◆ registerBranch()

void DomConditionCache::registerBranch ( BranchInst BI)

◆ removeValue()

void llvm::DomConditionCache::removeValue ( Value V)
inline

Remove a value from the cache, e.g. because it will be erased.

Definition at line 42 of file DomConditionCache.h.

References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::erase().


The documentation for this class was generated from the following files: