clang API Documentation
#include <ThreadSafetyUtil.h>
Classes | |
class | ReverseAdaptor |
Public Types | |
typedef T * | iterator |
typedef const T * | const_iterator |
Public Member Functions | |
SimpleArray () | |
SimpleArray (T *Dat, size_t Cp, size_t Sz=0) | |
SimpleArray (MemRegionRef A, size_t Cp) | |
SimpleArray (SimpleArray< T > &&A) | |
SimpleArray & | operator= (SimpleArray &&RHS) |
void | reserve (size_t Ncp, MemRegionRef A) |
void | reserveCheck (size_t N, MemRegionRef A) |
size_t | size () const |
size_t | capacity () const |
T & | operator[] (unsigned i) |
const T & | operator[] (unsigned i) const |
T & | back () |
const T & | back () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
void | push_back (const T &Elem) |
void | drop (unsigned n=0) |
void | setValues (unsigned Sz, const T &C) |
template<class Iter > | |
unsigned | append (Iter I, Iter E) |
const ReverseAdaptor | reverse () const |
ReverseAdaptor | reverse () |
Definition at line 87 of file ThreadSafetyUtil.h.
typedef const T* clang::threadSafety::til::SimpleArray< T >::const_iterator |
Definition at line 133 of file ThreadSafetyUtil.h.
typedef T* clang::threadSafety::til::SimpleArray< T >::iterator |
Definition at line 132 of file ThreadSafetyUtil.h.
clang::threadSafety::til::SimpleArray< T >::SimpleArray | ( | ) | [inline] |
Definition at line 89 of file ThreadSafetyUtil.h.
clang::threadSafety::til::SimpleArray< T >::SimpleArray | ( | T * | Dat, |
size_t | Cp, | ||
size_t | Sz = 0 |
||
) | [inline] |
Definition at line 90 of file ThreadSafetyUtil.h.
clang::threadSafety::til::SimpleArray< T >::SimpleArray | ( | MemRegionRef | A, |
size_t | Cp | ||
) | [inline] |
Definition at line 92 of file ThreadSafetyUtil.h.
clang::threadSafety::til::SimpleArray< T >::SimpleArray | ( | SimpleArray< T > && | A | ) | [inline] |
Definition at line 94 of file ThreadSafetyUtil.h.
unsigned clang::threadSafety::til::SimpleArray< T >::append | ( | Iter | I, |
Iter | E | ||
) | [inline] |
Definition at line 183 of file ThreadSafetyUtil.h.
T& clang::threadSafety::til::SimpleArray< T >::back | ( | ) | [inline] |
Definition at line 146 of file ThreadSafetyUtil.h.
const T& clang::threadSafety::til::SimpleArray< T >::back | ( | ) | const [inline] |
Definition at line 150 of file ThreadSafetyUtil.h.
iterator clang::threadSafety::til::SimpleArray< T >::begin | ( | ) | [inline] |
Definition at line 155 of file ThreadSafetyUtil.h.
Referenced by clang::threadSafety::til::SimpleArray< T >::ReverseAdaptor::end().
const_iterator clang::threadSafety::til::SimpleArray< T >::begin | ( | ) | const [inline] |
Definition at line 158 of file ThreadSafetyUtil.h.
size_t clang::threadSafety::til::SimpleArray< T >::capacity | ( | ) | const [inline] |
Definition at line 136 of file ThreadSafetyUtil.h.
const_iterator clang::threadSafety::til::SimpleArray< T >::cbegin | ( | ) | const [inline] |
Definition at line 161 of file ThreadSafetyUtil.h.
const_iterator clang::threadSafety::til::SimpleArray< T >::cend | ( | ) | const [inline] |
Definition at line 162 of file ThreadSafetyUtil.h.
void clang::threadSafety::til::SimpleArray< T >::drop | ( | unsigned | n = 0 | ) | [inline] |
Definition at line 170 of file ThreadSafetyUtil.h.
iterator clang::threadSafety::til::SimpleArray< T >::end | ( | ) | [inline] |
Definition at line 156 of file ThreadSafetyUtil.h.
Referenced by clang::threadSafety::til::SimpleArray< T >::ReverseAdaptor::begin().
const_iterator clang::threadSafety::til::SimpleArray< T >::end | ( | ) | const [inline] |
Definition at line 159 of file ThreadSafetyUtil.h.
SimpleArray& clang::threadSafety::til::SimpleArray< T >::operator= | ( | SimpleArray< T > && | RHS | ) | [inline] |
Definition at line 101 of file ThreadSafetyUtil.h.
T& clang::threadSafety::til::SimpleArray< T >::operator[] | ( | unsigned | i | ) | [inline] |
Definition at line 138 of file ThreadSafetyUtil.h.
const T& clang::threadSafety::til::SimpleArray< T >::operator[] | ( | unsigned | i | ) | const [inline] |
Definition at line 142 of file ThreadSafetyUtil.h.
void clang::threadSafety::til::SimpleArray< T >::push_back | ( | const T & | Elem | ) | [inline] |
Definition at line 164 of file ThreadSafetyUtil.h.
Referenced by clang::threadSafety::til::BasicBlock::addPredecessor().
void clang::threadSafety::til::SimpleArray< T >::reserve | ( | size_t | Ncp, |
MemRegionRef | A | ||
) | [inline] |
Definition at line 114 of file ThreadSafetyUtil.h.
Referenced by clang::threadSafety::til::SimpleArray< BasicBlock * >::reserveCheck(), and clang::threadSafety::til::BasicBlock::reservePredecessors().
void clang::threadSafety::til::SimpleArray< T >::reserveCheck | ( | size_t | N, |
MemRegionRef | A | ||
) | [inline] |
Definition at line 125 of file ThreadSafetyUtil.h.
Referenced by clang::threadSafety::til::BasicBlock::addPredecessor().
const ReverseAdaptor clang::threadSafety::til::SimpleArray< T >::reverse | ( | ) | const [inline] |
Definition at line 220 of file ThreadSafetyUtil.h.
ReverseAdaptor clang::threadSafety::til::SimpleArray< T >::reverse | ( | ) | [inline] |
Definition at line 221 of file ThreadSafetyUtil.h.
void clang::threadSafety::til::SimpleArray< T >::setValues | ( | unsigned | Sz, |
const T & | C | ||
) | [inline] |
Definition at line 175 of file ThreadSafetyUtil.h.
size_t clang::threadSafety::til::SimpleArray< T >::size | ( | ) | const [inline] |
Definition at line 135 of file ThreadSafetyUtil.h.
Referenced by clang::threadSafety::til::BasicBlock::addPredecessor(), and clang::threadSafety::til::simplifyIncompleteArg().