/frameworks/native/libs/ftl/ |
D | small_vector_test.cpp | 29 using ftl::SmallVector; 32 TEST(SmallVector, Example) { in TEST() argument 33 ftl::SmallVector<char, 3> vector; in TEST() 45 EXPECT_EQ(vector, (ftl::SmallVector{'d', 'b', 'c'})); in TEST() 52 vector = ftl::SmallVector(array); in TEST() 53 EXPECT_EQ(vector, (ftl::SmallVector{'h', 'i', '\0'})); in TEST() 56 ftl::SmallVector strings = ftl::init::list<std::string>("abc")("123456", 3u)(3u, '?'); in TEST() 65 TEST(SmallVector, Construct) { in TEST() argument 68 SmallVector<std::string, 2> vector; in TEST() 76 SmallVector vector(floats); in TEST() [all …]
|
/frameworks/native/include/ftl/ |
D | small_vector.h | 76 class SmallVector final : ArrayTraits<T>, ArrayComparators<SmallVector> { 78 using Dynamic = SmallVector<T, 0>; 100 SmallVector() = default; 105 SmallVector(Arg&& arg, Args&&... args) in SmallVector() function 110 SmallVector(const SmallVector<U, M>& other) in SmallVector() function 111 : SmallVector(kIteratorRange, other.begin(), other.end()) {} in SmallVector() 113 void swap(SmallVector& other) { vector_.swap(other.vector_); } in swap() 160 const_reference operator[](size_type i) const { return const_cast<SmallVector&>(*this)[i]; } 269 class SmallVector<T, 0> final : ArrayTraits<T>, 270 ArrayIterators<SmallVector<T, 0>, T>, [all …]
|
D | small_map.h | 59 using Map = SmallVector<std::pair<const K, V>, N>;
|
/frameworks/compile/libbcc/lib/ |
D | RSKernelExpand.cpp | 149 llvm::SmallVector<llvm::Type*, 8> RootArgTys; in getRootSignature() 274 llvm::SmallVector<llvm::Type*, RsLaunchDimensionsFieldCount> RsLaunchDimensionsTypes; in buildTypes() 311 …llvm::SmallVector<llvm::Type*, RsExpandKernelDriverInfoPfxFieldCount> RsExpandKernelDriverInfoPfxT… in buildTypes() 488 void finishArgList( llvm::SmallVector<llvm::Value *, ArgVectorLen> &ArgVector, in finishArgList() 489 const llvm::SmallVector<llvm::Value *, SpecialArgVectorLen> &SpecialArgVector, in finishArgList() 520 typedef llvm::SmallVector<llvm::Value *, 3> SmallGEPIndices; 571 llvm::SmallVector<llvm::Value*, 8> &CalleeArgs, in ExpandSpecialArguments() 862 llvm::SmallVector<llvm::Value*, 8> CalleeArgs; in ExpandOldStyleForEach() 870 llvm::SmallVector<llvm::Value*, 8> RootArgs; in ExpandOldStyleForEach() 1021 llvm::SmallVector<llvm::Type*, 8> InTypes; in ExpandForEach() [all …]
|
D | RSInvokeHelperPass.cpp | 74 llvm::SmallVector<llvm::Type*, 4> rsBaseObj; in doInitialization() 83 llvm::SmallVector<llvm::Value*, 1> SetObjParams; in doInitialization() 84 llvm::SmallVector<llvm::Type*, 2> SetObjTypeParams; in doInitialization() 152 llvm::SmallVector<llvm::Value*, 2> SetObjParams; in insertSetObjectHelper()
|
D | Source.cpp | 75 llvm::SmallVector<llvm::Metadata *, 2> wrapperInfo = { in helper_set_module_metadata_from_bitcode_wrapper()
|
D | RSAddDebugInfoPass.cpp | 264 llvm::SmallVector<llvm::MDNode*, 4> unitsTmp; in cleanupDebugInfo()
|
/frameworks/compile/slang/ |
D | slang_rs_export_foreach.h | 55 llvm::SmallVector<const RSExportType*, 16> mInTypes; 61 llvm::SmallVector<const clang::ParmVarDecl*, 16> mIns;
|
D | slang_rs_export_reduce.h | 74 llvm::SmallVector<const clang::ParmVarDecl*, kAccumulatorInsSmallSize> mAccumulatorIns; 75 llvm::SmallVector<const RSExportType*, kAccumulatorInsSmallSize> mAccumulatorInTypes;
|
D | slang_backend.cpp | 311 llvm::SmallVector<llvm::Metadata*, 2> Pragma; in HandleTranslationUnit() 755 llvm::SmallVector<llvm::Metadata *, 2> ExportVarInfo; in dumpExportVarInfo() 895 llvm::SmallVector<llvm::Metadata *, 1> ExportFuncInfo; in dumpExportFunctionInfo() 999 llvm::SmallVector<llvm::Value*, 6> Params; in dumpExportFunctionInfo() 1060 llvm::SmallVector<llvm::Metadata *, 1> ExportForEachName; in dumpExportForEachInfo() 1061 llvm::SmallVector<llvm::Metadata *, 1> ExportForEachInfo; in dumpExportForEachInfo() 1093 llvm::SmallVector<llvm::Metadata *, 6> ExportReduceInfo; in dumpExportReduceInfo() 1122 llvm::SmallVector<llvm::Metadata *, 2> Accumulator; in dumpExportReduceInfo() 1141 llvm::SmallVector<llvm::Metadata *, 1> ExportTypeInfo; in dumpExportTypeInfo() 1172 llvm::SmallVector<llvm::Metadata *, 3> FieldInfo; in dumpExportTypeInfo()
|
D | slang_rs_export_var.h | 46 llvm::SmallVector<clang::Expr::EvalResult, 0> mInitArray;
|
D | llvm-rs-cc.cpp | 150 const llvm::SmallVector<const char*, 16> &Inputs, slang::RSCCOptions &Opts, in makeFileList() 245 llvm::SmallVector<const char *, 16> Inputs; in main()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 122 SmallVector<unsigned, 64> Vals; in WriteStringRecord() 143 SmallVector<uint64_t, 64> Record; in WriteAttributeTable() 173 SmallVector<unsigned, 64> NameVals; in WriteTypeSymbolTable() 217 SmallVector<uint64_t, 64> TypeVals; in WriteTypeTable() 466 SmallVector<unsigned, 64> Vals; in WriteModuleInfo() 647 SmallVector<uint64_t, 64> Record; in WriteModuleMetadata() 696 SmallVector<uint64_t, 64> Record; in WriteFunctionLocalMetadata() 717 SmallVector<uint64_t, 64> Record; in WriteMetadataAttachment() 721 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() 746 SmallVector<uint64_t, 64> Record; in WriteModuleMetadataStore() [all …]
|
D | ValueEnumerator.h | 60 llvm::SmallVector<const llvm::LocalAsMetadata *, 8> FunctionLocalMDs;
|
D | ValueEnumerator.cpp | 78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() 490 SmallVector<llvm::LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 199 SmallVector<Instruction *, 64> InstructionList; 329 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, in getValue() 652 SmallVector<Constant*, 64> NewOps; in ResolveConstantForwardRefs() 844 SmallVector<uint64_t, 64> Record; in ParseAttributeBlock() 846 SmallVector<AttributeSet, 8> Attrs; in ParseAttributeBlock() 906 SmallVector<uint64_t, 64> Record; in ParseTypeTableBody() 995 SmallVector<Type*, 8> ArgTys; in ParseTypeTableBody() 1013 SmallVector<Type*, 8> EltTys; in ParseTypeTableBody() 1046 SmallVector<Type*, 8> EltTys; in ParseTypeTableBody() 1119 SmallVector<uint64_t, 64> Record; in ParseOldTypeTable() [all …]
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | BitcodeWriter.cpp | 145 SmallVector<unsigned, 64> Vals; in WriteStringRecord() 166 SmallVector<uint64_t, 64> Record; in WriteAttributeTable() 188 SmallVector<uint64_t, 64> TypeVals; in WriteTypeTable() 477 SmallVector<unsigned, 64> Vals; in WriteModuleInfo() 675 SmallVector<uint64_t, 64> Record; in WriteModuleMetadata() 724 SmallVector<uint64_t, 64> Record; in WriteFunctionLocalMetadata() 745 SmallVector<uint64_t, 64> Record; in WriteMetadataAttachment() 749 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() 774 SmallVector<uint64_t, 64> Record; in WriteModuleMetadataStore() 778 SmallVector<StringRef, 4> Names; in WriteModuleMetadataStore() [all …]
|
D | ValueEnumerator.h | 63 llvm::SmallVector<const llvm::LocalAsMetadata *, 8> FunctionLocalMDs;
|
D | ValueEnumerator.cpp | 78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() 490 SmallVector<llvm::LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 145 SmallVector<unsigned, 64> Vals; in WriteStringRecord() 166 SmallVector<uint64_t, 64> Record; in WriteAttributeTable() 188 SmallVector<uint64_t, 64> TypeVals; in WriteTypeTable() 464 SmallVector<unsigned, 64> Vals; in WriteModuleInfo() 645 SmallVector<uint64_t, 64> Record; in WriteModuleMetadata() 694 SmallVector<uint64_t, 64> Record; in WriteFunctionLocalMetadata() 715 SmallVector<uint64_t, 64> Record; in WriteMetadataAttachment() 719 SmallVector<std::pair<unsigned, MDNode *>, 4> MDs; in WriteMetadataAttachment() 744 SmallVector<uint64_t, 64> Record; in WriteModuleMetadataStore() 748 SmallVector<StringRef, 4> Names; in WriteModuleMetadataStore() [all …]
|
D | ValueEnumerator.h | 60 llvm::SmallVector<const llvm::LocalAsMetadata *, 8> FunctionLocalMDs;
|
D | ValueEnumerator.cpp | 78 SmallVector<std::pair<unsigned, MDNode *>, 8> MDs; in ValueEnumerator() 490 SmallVector<llvm::LocalAsMetadata *, 8> FnLocalMDVector; in incorporateFunction()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 112 SmallVector<Constant *, 4> TyInfo; in TransferClausesToLandingPadInst() 441 SmallVector<Instruction *, 64> InstructionList; 566 bool getValue(SmallVector<uint64_t, 64> &Record, unsigned &Slot, in getValue() 927 SmallVector<Constant*, 64> NewOps; in ResolveConstantForwardRefs() 1119 SmallVector<uint64_t, 64> Record; in ParseAttributeBlock() 1121 SmallVector<AttributeSet, 8> Attrs; in ParseAttributeBlock() 1182 SmallVector<uint64_t, 64> Record; in ParseTypeTableBody() 1271 SmallVector<Type*, 8> ArgTys; in ParseTypeTableBody() 1290 SmallVector<Type*, 8> ArgTys; in ParseTypeTableBody() 1308 SmallVector<Type*, 8> EltTys; in ParseTypeTableBody() [all …]
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFAttribute.h | 115 llvm::SmallVector<Subsection*, 2> m_Subsections;
|
/frameworks/compile/mclinker/include/mcld/ |
D | LinkerScript.h | 47 typedef llvm::SmallVector<std::string, 8> DefSyms;
|