17#ifndef LLVM_ANALYSIS_DOMCONDITIONCACHE_H
18#define LLVM_ANALYSIS_DOMCONDITIONCACHE_H
33 AffectedValuesMap AffectedValues;
44 auto AVI = AffectedValues.find_as(
const_cast<Value *
>(V));
45 if (AVI == AffectedValues.end())
This file defines the DenseMap class.
This file defines the SmallVector class.
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Conditional or Unconditional Branch instruction.
ArrayRef< BranchInst * > conditionsFor(const Value *V) const
Access the list of branches which affect this value.
void removeValue(Value *V)
Remove a value from the cache, e.g. because it will be erased.
void registerBranch(BranchInst *BI)
Add a branch condition to the cache.
LLVM Value Representation.
This is an optimization pass for GlobalISel generic memory operations.
ArrayRef(const T &OneElt) -> ArrayRef< T >