Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DASTVector.h237 iterator insert(const ASTContext &C, iterator I, size_type NumToInsert, in insert() argument
243 append(C, NumToInsert, Elt); in insert()
248 reserve(C, static_cast<unsigned>(this->size() + NumToInsert)); in insert()
257 if (size_t(this->end()-I) >= NumToInsert) { in insert()
259 append(C, this->end()-NumToInsert, this->end()); in insert()
262 std::copy_backward(I, OldEnd-NumToInsert, OldEnd); in insert()
264 std::fill_n(I, NumToInsert, Elt); in insert()
273 this->setEnd(this->end() + NumToInsert); in insert()
281 std::uninitialized_fill_n(OldEnd, NumToInsert-NumOverwritten, Elt); in insert()
295 size_t NumToInsert = std::distance(From, To); in insert() local
[all …]
/external/llvm/include/llvm/ADT/
DSmallVector.h547 iterator insert(iterator I, size_type NumToInsert, const T &Elt) { in insert() argument
552 append(NumToInsert, Elt); in insert()
560 reserve(this->size() + NumToInsert); in insert()
569 if (size_t(this->end()-I) >= NumToInsert) { in insert()
571 append(std::move_iterator<iterator>(this->end() - NumToInsert), in insert()
575 this->move_backward(I, OldEnd-NumToInsert, OldEnd); in insert()
577 std::fill_n(I, NumToInsert, Elt); in insert()
586 this->setEnd(this->end() + NumToInsert); in insert()
594 std::uninitialized_fill_n(OldEnd, NumToInsert-NumOverwritten, Elt); in insert()
611 size_t NumToInsert = std::distance(From, To); in insert() local
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeVectorTypes.cpp2236 unsigned NumToInsert = ConcatEnd - Idx - 1; in WidenVecRes_BinaryCanTrap() local
2237 for (unsigned i = 0, OpIdx = Idx+1; i < NumToInsert; i++, OpIdx++) { in WidenVecRes_BinaryCanTrap()