#include <PTAType.h>
Definition at line 88 of file PTAType.h.
◆ const_iterator
◆ iterator
◆ TypeSetTy
◆ addType()
bool SVF::TypeSet::addType |
( |
const PTAType & |
type | ) |
|
|
inline |
Add a ptatype.
Definition at line 124 of file PTAType.h.
126 std::pair<iterator, bool> ret =
typeSet.insert(type);
◆ begin() [1/2]
◆ begin() [2/2]
◆ containType()
bool SVF::TypeSet::containType |
( |
const PTAType & |
type | ) |
const |
|
inline |
Contain a ptatype or not.
Definition at line 131 of file PTAType.h.
◆ dumpTypes()
void SVF::TypeSet::dumpTypes |
( |
| ) |
const |
|
inline |
Dump all types in the typeset.
Definition at line 176 of file PTAType.h.
180 const PTAType &type = *it;
TypeSetTy::const_iterator const_iterator
◆ end() [1/2]
◆ end() [2/2]
◆ intersect()
bool SVF::TypeSet::intersect |
( |
const TypeSet * |
typeset | ) |
const |
|
inline |
Intersect with another typeset or not.
Definition at line 140 of file PTAType.h.
145 return typeset->containType(*first);
147 else if (typeset->size() == 1)
155 last1 = typeset->end(), last2 =
end();
159 if (*largest1 < *first2 || *largest2 < *first1)
162 while (first1 != last1 && first2 != last2)
164 if (*first1 < *first2)
166 else if (*first2 < *first1)
bool containType(const PTAType &type) const
Contain a ptatype or not.
TypeSetTy::const_iterator const_iterator
u32_t size() const
Number of types contained.
◆ size()
u32_t SVF::TypeSet::size |
( |
| ) |
const |
|
inline |
Number of types contained.
Definition at line 118 of file PTAType.h.
◆ typeSet
The documentation for this class was generated from the following file:
- /home/runner/work/SVF-1/SVF-1/include/MemoryModel/PTAType.h