Home
last modified time | relevance | path

Searched refs:ResultElem (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/include/llvm/Analysis/
DAssumptionCache.h47 struct ResultElem { struct
64 SmallVector<ResultElem, 4> AssumeHandles; argument
84 DenseMap<AffectedValueCallbackVH, SmallVector<ResultElem, 1>,
89 SmallVector<ResultElem, 1> &getOrInsertAffectedValues(Value *V);
146 MutableArrayRef<ResultElem> assumptions() { in assumptions()
153 MutableArrayRef<ResultElem> assumptionsFor(const Value *V) { in assumptionsFor()
159 return MutableArrayRef<ResultElem>(); in assumptionsFor()
252 template<> struct simplify_type<AssumptionCache::ResultElem> {
255 static SimpleType getSimplifiedValue(AssumptionCache::ResultElem &Val) {
259 template<> struct simplify_type<const AssumptionCache::ResultElem> {
[all …]
/external/llvm-project/llvm/lib/Analysis/
DAssumptionCache.cpp45 SmallVector<AssumptionCache::ResultElem, 1> &
54 {AffectedValueCallbackVH(V, this), SmallVector<ResultElem, 1>()}); in getOrInsertAffectedValues()
60 SmallVectorImpl<AssumptionCache::ResultElem> &Affected) { in findAffectedValues()
122 SmallVector<AssumptionCache::ResultElem, 16> Affected; in updateAffectedValues()
127 if (std::find_if(AVV.begin(), AVV.end(), [&](ResultElem &Elem) { in updateAffectedValues()
135 SmallVector<AssumptionCache::ResultElem, 16> Affected; in unregisterAssumption()
144 for (ResultElem &Elem : AVI->second) { in unregisterAssumption()
159 remove_if(AssumeHandles, [CI](ResultElem &RE) { return CI == RE; }), in unregisterAssumption()
DAssumeBundleQueries.cpp177 for (AssumptionCache::ResultElem &Elem : AC->assumptionsFor(V)) { in getKnowledgeForValue()