Searched defs:SmallVector (Results 1 - 13 of 13) sorted by relevance

/external/clang/test/SemaCXX/
H A Dinvalid-instantiated-field-decl.cpp14 class SmallVector : public SmallVectorImpl<T> { class in inherits:SmallVectorImpl
25 SmallVector() : SmallVectorImpl<T>(NumInlineEltsElts) { function in class:SmallVector
34 SmallVector<CallSite, 2> DevirtualizedCalls; // expected-note {{in instantiation of template class 'SmallVector<CallSite, 2>' requested}}
/external/llvm/include/llvm/ADT/
H A DArrayRef.h13 #include "llvm/ADT/SmallVector.h"
64 /// Construct an ArrayRef from a SmallVector. This is templated in order to
190 /// Construct an MutableArrayRef from a SmallVector.
263 /// Construct an ArrayRef from a SmallVector.
269 /// Construct an ArrayRef from a SmallVector.
271 ArrayRef<T> makeArrayRef(const SmallVector<T, N> &Vec) { argument
H A DSmallVector.h1 //===- llvm/ADT/SmallVector.h - 'Normally small' vectors --------*- C++ -*-===//
10 // This file defines the SmallVector class.
336 // Use memcpy for PODs iterated by pointers (which includes SmallVector
366 /// SmallVector class to reduce code duplication based on the SmallVector 'N'
440 /// append - Add the specified range to the end of the SmallVector.
456 /// append - Add the specified range to the end of the SmallVector.
858 /// Storage for the SmallVector elements which aren't contained in
869 /// SmallVector - This is a 'vector' (really, a variable-sized array), optimized
878 class SmallVector class in namespace:llvm
882 SmallVector() : SmallVectorImpl<T>(N) { function in class:llvm::SmallVector
885 explicit SmallVector(unsigned Size, const T &Value = T()) function in class:llvm::SmallVector
891 SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) { function in class:llvm::SmallVector
895 SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) { function in class:llvm::SmallVector
906 SmallVector(SmallVector &&RHS) : SmallVectorImpl<T>(N) { function in class:llvm::SmallVector
920 capacity_in_bytes(const SmallVector<T, N> &X) argument
[all...]
/external/llvm/lib/CodeGen/
H A DLocalStackSlotAllocation.cpp59 SmallVector<int64_t,16> LocalOffsets;
197 lookupCandidateBaseReg(const SmallVector<std::pair<unsigned, int64_t>, 8> &Regs, argument
234 SmallVector<FrameRef, 64> FrameReferenceInsns;
237 SmallVector<std::pair<unsigned, int64_t>, 8> BaseRegisters;
/external/clang/lib/Lex/
H A DLiteralSupport.cpp919 SmallVector<uint32_t,4> codepoint_buffer;
807 assert(C < radix && Ó); CharVal = C; OldVal = Val; Val *= RadixVal; OverflowOccurred |= Val.udiv(RadixVal) != OldVal; Val += CharVal; OverflowOccurred |= Val.ult(CharVal); } return OverflowOccurred; } llvm::APFloat::opStatus NumericLiteralParser::GetFloatValue(llvm::APFloat &Result) { using llvm::APFloat; unsigned n = std::min(SuffixBegin - ThisTokBegin, ThisTokEnd - ThisTokBegin); return Result.convertFromString(StringRef(ThisTokBegin, n), APFloat::rmNearestTiesToEven); } CharLiteralParser::CharLiteralParser(const char *begin, const char *end, SourceLocation Loc, Preprocessor &PP, tok::TokenKind kind) { HadError = false; Kind = kind; const char *TokBegin = begin; if (Kind != tok::char_constant) { ++begin; } assert(begin[0] == Ã && Ó); ++begin; if (end[-1] != Ã) { const char *UDSuffixEnd = end; do { --end; } while (end[-1] != Ã); UDSuffixBuf.assign(end, UDSuffixEnd); UDSuffixOffset = end - TokBegin; } assert(end != begin && Ó); --end; assert(PP.getTargetInfo().getCharWidth() == 8 && Ó); assert(PP.getTargetInfo().getIntWidth() <= 64 && (PP.getTargetInfo().getIntWidth() & 7) == 0 && Ó); assert(PP.getTargetInfo().getWCharWidth() <= 64 && Ó); SmallVector<uint32_t,4> codepoint_buffer; codepoint_buffer.resize(end-begin); uint32_t *buffer_begin = &codepoint_buffer.front(); uint32_t *buffer_end = buffer_begin + codepoint_buffer.size(); uint32_t largest_character_for_kind; if (tok::wide_char_constant == Kind) { largest_character_for_kind = 0xFFFFFFFFu >> (32-PP.getTargetInfo().getWCharWidth()); } else if (tok::utf16_char_constant == Kind) { largest_character_for_kind = 0xFFFF; } else if (tok::utf32_char_constant == Kind) { largest_character_for_kind = 0x10FFFF; } else { largest_character_for_kind = 0x7Fu; } while (begin!=end) { if (begin[0] != Ã) { char const *start = begin; do { ++begin; } while (begin != end && *begin != Ã); char const *tmp_in_start = start; uint32_t *tmp_out_start = buffer_begin; ConversionResult res = ConvertUTF8toUTF32(reinterpret_cast<UTF8 const **>(&start), reinterpret_cast<UTF8 const *>(begin), &buffer_begin,buffer_end,strictConversion); if (res!=conversionOK) { bool NoErrorOnBadEncoding = isAscii(); unsigned Msg = diag::err_bad_character_encoding; if (NoErrorOnBadEncoding) Msg = diag::warn_bad_character_encoding; PP.Diag(Loc, Msg); if (NoErrorOnBadEncoding) { start = tmp_in_start; buffer_begin = tmp_out_start; for ( ; start != begin; ++start, ++buffer_begin) *buffer_begin = static_cast<uint8_t>(*start); } else { HadError = true; } } else { for (; tmp_out_start <buffer_begin; ++tmp_out_start) { if (*tmp_out_start > largest_character_for_kind) { HadError = true; PP.Diag(Loc, diag::err_character_too_large); } } } continue; } if (begin[1] == Ã || begin[1] == Ã) { unsigned short UcnLen = 0; if (!ProcessUCNEscape(TokBegin, begin, end, *buffer_begin, UcnLen, FullSourceLoc(Loc, PP.getSourceManager()), &PP.getDiagnostics(), PP.getLangOpts(), true)) { HadError = true; } else if (*buffer_begin > largest_character_for_kind) argument
/external/llvm/lib/IR/
H A DConstantsContext.h170 const SmallVector<unsigned, 4> &IdxList,
178 const SmallVector<unsigned, 4> Indices;
196 const SmallVector<unsigned, 4> &IdxList,
205 const SmallVector<unsigned, 4> Indices;
328 SmallVector<unsigned, 4> indices;
667 SmallVector<Constant*, 8> CPOperands;
169 ExtractValueConstantExpr(Constant *Agg, const SmallVector<unsigned, 4> &IdxList, Type *DestTy) argument
195 InsertValueConstantExpr(Constant *Agg, Constant *Val, const SmallVector<unsigned, 4> &IdxList, Type *DestTy) argument
/external/llvm/utils/TableGen/
H A DCodeGenRegisters.h167 typedef SmallVector<unsigned, 16> RegUnitList;
213 SmallVector<CodeGenSubRegIndex*, 8> ExplicitSubRegIndices;
214 SmallVector<CodeGenRegister*, 8> ExplicitSubRegs;
217 SmallVector<CodeGenRegister*, 8> ExplicitAliases;
232 std::vector<SmallVector<Record*, 16> > Orders;
237 SmallVector<CodeGenRegisterClass*, 4> SuperClasses;
264 SmallVector<MVT::SimpleValueType, 4> VTs;
428 typedef SmallVector<unsigned, 16> TopoSigId;
441 typedef std::map<SmallVector<CodeGenSubRegIndex*, 8>,
454 SmallVector<RegUni
528 addConcatSubRegIndex(const SmallVector<CodeGenSubRegIndex*, 8> &Parts, CodeGenSubRegIndex *Idx) argument
[all...]
H A DCodeGenRegisters.cpp19 #include "llvm/ADT/SmallVector.h"
72 SmallVector<CodeGenSubRegIndex*, 8> IdxParts;
255 SmallVector<CodeGenSubRegIndex*, 8> Indices = ExplicitSubRegIndices;
339 SmallVector<CodeGenSubRegIndex*, 8> Parts;
412 SmallVector<SubRegMap::value_type, 8> NewSubRegs;
428 SmallVector<CodeGenSubRegIndex*, 8> Parts(1, I->first);
603 SmallVector<SetTheory::RecSet, 4> Lists(Dim);
1126 getConcatSubRegIndex(const SmallVector<CodeGenSubRegIndex*, 8> &Parts) { argument
1735 SmallVector<std::pair<const CodeGenRegister*,
/external/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp587 SmallVector<DeducedTemplateArgument, 4> > &NewlyDeducedPacks) {
625 SmallVector<DeducedTemplateArgument, 4> > &NewlyDeducedPacks,
772 SmallVector<unsigned, 2> PackIndices;
776 SmallVector<UnexpandedParameterPack, 2> Unexpanded;
792 SmallVector<SmallVector<DeducedTemplateArgument, 4>, 2>
794 SmallVector<DeducedTemplateArgument, 2>
1383 SmallVector<const RecordType *, 8> ToVisit;
1386 SmallVector<DeducedTemplateArgument, 8> DeducedOrig(Deduced.begin(),
1807 SmallVector<unsigne
582 PrepareArgumentPackDeduction(Sema &S, SmallVectorImpl<DeducedTemplateArgument> &Deduced, ArrayRef<unsigned> PackIndices, SmallVectorImpl<DeducedTemplateArgument> &SavedPacks, SmallVectorImpl< SmallVector<DeducedTemplateArgument, 4> > &NewlyDeducedPacks) argument
618 FinishArgumentPackDeduction(Sema &S, TemplateParameterList *TemplateParams, bool HasAnyArguments, SmallVectorImpl<DeducedTemplateArgument> &Deduced, ArrayRef<unsigned> PackIndices, SmallVectorImpl<DeducedTemplateArgument> &SavedPacks, SmallVectorImpl< SmallVector<DeducedTemplateArgument, 4> > &NewlyDeducedPacks, TemplateDeductionInfo &Info) argument
[all...]
/external/llvm/lib/Target/R600/
H A DAMDILCFGStructurizer.cpp17 #include "llvm/ADT/SmallVector.h"
92 void ReverseVector(SmallVector<NodeT *, DEFAULT_VEC_SLOTS> &Src) {
119 //SmallVector<InstrT*, DEFAULT_VEC_SLOTS> succInstr;
191 typedef SmallVector<BlockT *, 32> BlockTSmallerVector;
258 void addDummyExitBlock(SmallVector<BlockT *, DEFAULT_VEC_SLOTS> &RetBlocks);
291 typename SmallVector<BlockT *, DEFAULT_VEC_SLOTS>::const_iterator IterStart,
292 typename SmallVector<BlockT *, DEFAULT_VEC_SLOTS>::const_iterator IterEnd);
305 SmallVector<BlockT *, DEFAULT_VEC_SLOTS> orderedBlks;
348 SmallVector<BlockT *, DEFAULT_VEC_SLOTS> retBlks;
367 for (typename SmallVector<Block
2369 countActiveBlock(typename SmallVector<BlockT*, DEFAULT_VEC_SLOTS>::const_iterator iterStart, typename SmallVector<BlockT*, DEFAULT_VEC_SLOTS>::const_iterator iterEnd) argument
[all...]
/external/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp20 #include "llvm/ADT/SmallVector.h"
678 SmallVector<uint32_t, 8> Weights;
833 SmallVector<BasicBlock*, 16> Preds(pred_begin(BB), pred_end(BB));
852 SmallVector<BasicBlock*, 8> NewSuccessors;
855 SmallVector<uint64_t, 8> Weights;
870 SmallVector<uint64_t, 8> SuccWeights;
1002 SmallVector<uint32_t, 8> MDWeights(Weights.begin(), Weights.end());
1997 SmallVector<PHINode*, 4> PHIs;
2039 SmallVector<std::pair<Value*, unsigned>, 4> Worklist;
2110 SmallVector<uint64_
3425 SwitchLookupTable(Module &M, uint64_t TableSize, ConstantInt *Offset, const SmallVector<std::pair<ConstantInt*, Constant*>, 4>& Values, Constant *DefaultValue, const DataLayout *TD) argument
[all...]
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp243 SmallVector<SDValue, 8> Ops(NumIntermediates);
489 SmallVector<SDValue, 16> Ops;
543 SmallVector<SDValue, 8> Ops(NumIntermediates);
585 SmallVector<EVT, 4> ValueVTs;
596 SmallVector<MVT, 4> RegVTs;
602 SmallVector<unsigned, 4> Regs;
606 RegsForValue(const SmallVector<unsigned, 4> &regs, argument
684 SmallVector<SDValue, 4> Values(ValueVTs.size());
685 SmallVector<SDValue, 8> Parts;
771 SmallVector<SDValu
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp1915 SmallVector<CCValAssign, 16> ArgLocs;
1976 SmallVector<CCValAssign, 16> ByValArgLocs;
2005 SmallVector<SDValue, 8> MemOps;
2172 SmallVector<SDValue, 8> MemOps;
2517 SmallVector<SDValue, 8> MemOps;
2921 const SmallVector<TailCallArgumentInfo, 8> &TailCallArgs,
2922 SmallVector<SDValue, 8> &MemOpChains,
2980 SmallVector<TailCallArgumentInfo, 8>& TailCallArguments) {
3045 bool isVector, SmallVector<SDValue, 8> &MemOpChains,
3046 SmallVector<TailCallArgumentInf
2919 StoreTailCallArgumentsToStackSlot(SelectionDAG &DAG, SDValue Chain, const SmallVector<TailCallArgumentInfo, 8> &TailCallArgs, SmallVector<SDValue, 8> &MemOpChains, DebugLoc dl) argument
[all...]

Completed in 466 milliseconds