Home | History | Annotate | Download | only in Support

Lines Matching refs:BumpVectorContext

32 class BumpVectorContext {
35 /// Construct a new BumpVectorContext that creates a new BumpPtrAllocator
36 /// and destroys it when the BumpVectorContext object is destroyed.
37 BumpVectorContext() : Alloc(new llvm::BumpPtrAllocator(), 1) {}
39 BumpVectorContext(BumpVectorContext &&Other) : Alloc(Other.Alloc) {
44 /// Construct a new BumpVectorContext that reuses an existing
46 /// BumpVectorContext object is destroyed.
47 BumpVectorContext(llvm::BumpPtrAllocator &A) : Alloc(&A, 0) {}
49 ~BumpVectorContext() {
62 explicit BumpVector(BumpVectorContext &C, unsigned N)
154 void push_back(const_reference Elt, BumpVectorContext &C) {
168 BumpVectorContext &C) {
183 void reserve(BumpVectorContext &C, unsigned N) {
195 void grow(BumpVectorContext &C, size_type MinSize = 1);
220 void BumpVector<T>::grow(BumpVectorContext &C, size_t MinSize) {
243 // BumpVectorContext.