/external/libcxx/test/std/utilities/variant/variant.variant/variant.mod/ |
D | emplace_type_init_list_args.pass.cpp | 37 struct InitList { struct 39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() function 66 std::variant<int, TestTypes::NoCtors, InitList, InitListArg, long, long>; in test_emplace_sfinae() 68 static_assert(emplace_exists<V, InitList, IL>(), ""); in test_emplace_sfinae() 69 static_assert(!emplace_exists<V, InitList, int>(), "args don't match"); in test_emplace_sfinae() 70 static_assert(!emplace_exists<V, InitList, IL, int>(), "too many args"); in test_emplace_sfinae() 79 using V = std::variant<int, InitList, InitListArg, TestTypes::NoCtors>; in test_basic() 81 auto& ref1 = v.emplace<InitList>({1, 2, 3}); in test_basic() 82 static_assert(std::is_same_v<InitList&,decltype(ref1)>, ""); in test_basic() 83 assert(std::get<InitList>(v).size == 3); in test_basic() [all …]
|
D | emplace_index_init_list_args.pass.cpp | 37 struct InitList { struct 39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument 66 std::variant<int, TestTypes::NoCtors, InitList, InitListArg, long, long>; in test_emplace_sfinae() 79 using V = std::variant<int, InitList, InitListArg, TestTypes::NoCtors>; in test_basic() 82 static_assert(std::is_same_v<InitList&, decltype(ref1)>, ""); in test_basic() 91 static_assert(std::is_same_v<InitList&, decltype(ref3)>, ""); in test_basic()
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
D | in_place_type_init_list_args.pass.cpp | 37 struct InitList { struct 39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument 52 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 54 std::is_constructible<V, std::in_place_type_t<InitList>, IL>::value, in test_ctor_sfinae() 56 static_assert(!test_convertible<V, std::in_place_type_t<InitList>, IL>(), in test_ctor_sfinae() 60 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 61 static_assert(!std::is_constructible<V, std::in_place_type_t<InitList>, IL, in test_ctor_sfinae() 65 !test_convertible<V, std::in_place_type_t<InitList>, IL, int>(), ""); in test_ctor_sfinae() 68 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 76 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() [all …]
|
D | in_place_index_init_list_args.pass.cpp | 37 struct InitList { struct 39 constexpr InitList(std::initializer_list<int> il) : size(il.size()) {} in InitList() argument 52 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 58 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 66 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 72 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 79 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 85 using V = std::variant<InitList, InitListArg, int>; in test_ctor_sfinae() 94 constexpr std::variant<InitList, InitListArg, InitList> v( in test_ctor_basic() 100 constexpr std::variant<InitList, InitListArg, InitList> v( in test_ctor_basic() [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorInitializer.h | 29 typename Initializer<Derived, N - 1>::InitList> InitList; typedef 33 const InitList& vals) { in run() 44 typedef std::initializer_list<typename traits<Derived>::Scalar> InitList; 48 const InitList& vals) { 60 typedef typename traits<Derived>::Scalar InitList; 64 const InitList& v) { 72 … const typename Initializer<Derived, traits<Derived>::NumDimensions>::InitList& vals) {
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 21 : InitList( in CtorDtorIterator() 23 I((InitList && End) ? InitList->getNumOperands() : 0) { in CtorDtorIterator() 27 assert(InitList == Other.InitList && "Incomparable iterators."); in operator ==() 47 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *()
|
/external/clang/test/SemaCXX/ |
D | delete.cpp | 91 struct InitList { struct 93 …InitList(unsigned c) : p(new derived[c]), p4(nullptr) {} // expected-note {{allocated with 'new[]… in InitList() function 94 …InitList(unsigned c, unsigned) : p{new derived[c]}, p4{nullptr} {} // expected-note {{allocated wi… in InitList() argument 95 ~InitList() { in ~InitList() argument
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | InlineSimple.cpp | 98 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in doInitialization() local 100 if (InitList == 0) in doInitialization() 104 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in doInitialization() 107 const Constant *Elt = InitList->getOperand(i); in doInitialization()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | ExecutionUtils.cpp | 62 : InitList( in CtorDtorIterator() 64 I((InitList && End) ? InitList->getNumOperands() : 0) { in CtorDtorIterator() 68 assert(InitList == Other.InitList && "Incomparable iterators."); in operator ==() 88 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(I)); in operator *()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyLowerGlobalDtors.cpp | 66 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in runOnModule() local 67 if (!InitList) in runOnModule() 71 StructType *ETy = dyn_cast<StructType>(InitList->getType()->getElementType()); in runOnModule() 81 for (Value *O : InitList->operands()) { in runOnModule()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 3398 InitListExpr *InitList, 3673 InitListExpr *InitList = nullptr); 3679 InitListExpr *InitList, in TryReferenceListInitialization() argument 3704 if (InitList->getNumInits() == 1) { in TryReferenceListInitialization() 3705 Expr *Initializer = InitList->getInit(0); in TryReferenceListInitialization() 3725 Sequence.RewrapReferenceInitList(cv1T1, InitList); in TryReferenceListInitialization() 3731 Sequence.RewrapReferenceInitList(cv1T1, InitList); in TryReferenceListInitialization() 3737 TryListInitialization(S, TempEntity, Kind, InitList, Sequence, in TryReferenceListInitialization() 3753 InitListExpr *InitList, in TryListInitialization() argument 3761 !DestType->isAnyComplexType() && InitList->getNumInits() > 1) { in TryListInitialization() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/ |
D | ProfilingUtils.cpp | 152 if (ConstantArray *InitList = in InsertProfilingShutdownCall() local 154 for (unsigned i = 0, e = InitList->getType()->getNumElements(); in InsertProfilingShutdownCall() 156 dtors.push_back(cast<Constant>(InitList->getOperand(i))); in InsertProfilingShutdownCall()
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | ExtractFunction.cpp | 203 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor() local 204 if (!InitList) return; in SplitStaticCtorDtor() 206 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in SplitStaticCtorDtor() 207 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){ in SplitStaticCtorDtor()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 255 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor() local 256 if (!InitList) in SplitStaticCtorDtor() 259 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in SplitStaticCtorDtor() 261 dyn_cast<ConstantStruct>(InitList->getOperand(i))) { in SplitStaticCtorDtor()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 258 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor() local 259 if (!InitList) return; in SplitStaticCtorDtor() 261 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in SplitStaticCtorDtor() 262 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){ in SplitStaticCtorDtor()
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 912 SmallVector<Init*, 2> InitList; in ParseOperation() local 914 InitList.push_back(ParseValue(CurRec)); in ParseOperation() 915 if (!InitList.back()) return nullptr; in ParseOperation() 920 InitList.push_back(ParseValue(CurRec)); in ParseOperation() 921 if (!InitList.back()) return nullptr; in ParseOperation() 932 if (VarInit *Arg0 = dyn_cast<VarInit>(InitList[0])) in ParseOperation() 934 else if (ListInit *Arg0 = dyn_cast<ListInit>(InitList[0])) in ParseOperation() 937 InitList[0]->dump(); in ParseOperation() 946 while (InitList.size() > 2) { in ParseOperation() 947 Init *RHS = InitList.pop_back_val(); in ParseOperation() [all …]
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | MachineModuleInfo.cpp | 327 const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in AnalyzeModule() local 328 if (InitList == 0) return; in AnalyzeModule() 330 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) in AnalyzeModule() 332 dyn_cast<Function>(InitList->getOperand(i)->stripPointerCasts())) in AnalyzeModule()
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | TGParser.cpp | 831 SmallVector<Init*, 2> InitList; in ParseOperation() local 833 InitList.push_back(ParseValue(CurRec)); in ParseOperation() 834 if (InitList.back() == 0) return 0; in ParseOperation() 839 InitList.push_back(ParseValue(CurRec)); in ParseOperation() 840 if (InitList.back() == 0) return 0; in ParseOperation() 852 while (InitList.size() > 2) { in ParseOperation() 853 Init *RHS = InitList.pop_back_val(); in ParseOperation() 854 RHS = (BinOpInit::get(Code, InitList.back(), RHS, Type)) in ParseOperation() 856 InitList.back() = RHS; in ParseOperation() 860 if (InitList.size() == 2) in ParseOperation() [all …]
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 512 bool InitList) { in CreateCStyleCast() argument 515 return InitializationKind(InitList ? IK_DirectList : IK_Direct, in CreateCStyleCast() 522 bool InitList) { in CreateFunctionalCast() argument 523 return InitializationKind(InitList ? IK_DirectList : IK_Direct, in CreateFunctionalCast()
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 490 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables() local 492 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) in collectUsedGlobalVariables() 494 dyn_cast<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts())) in collectUsedGlobalVariables()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 567 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables() local 569 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) in collectUsedGlobalVariables() 571 dyn_cast<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts())) in collectUsedGlobalVariables()
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_ann.cc | 138 static void InitList(ExpectRace *list) { in InitList() function 145 InitList(&dyn_ann_ctx->expect); in InitializeDynamicAnnotations() 146 InitList(&dyn_ann_ctx->benign); in InitializeDynamicAnnotations()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1232 const ConstantArray *InitList = dyn_cast<ConstantArray>(List); in EmitLLVMUsedList() local 1233 if (InitList == 0) return; in EmitLLVMUsedList() 1235 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in EmitLLVMUsedList() 1237 dyn_cast<GlobalValue>(InitList->getOperand(i)->stripPointerCasts()); in EmitLLVMUsedList() 1257 const ConstantArray *InitList = dyn_cast<ConstantArray>(List); in EmitXXStructorList() local 1258 if (!InitList) return; // Not an array! in EmitXXStructorList() 1259 StructType *ETy = dyn_cast<StructType>(InitList->getType()->getElementType()); in EmitXXStructorList() 1266 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in EmitXXStructorList() 1267 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i)); in EmitXXStructorList()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TGParser.cpp | 1117 SmallVector<Init*, 2> InitList; in ParseOperation() local 1121 InitList.push_back(ParseValue(CurRec, ArgType)); in ParseOperation() 1122 if (!InitList.back()) return nullptr; in ParseOperation() 1125 TypedInit *TI = dyn_cast<TypedInit>(InitList.back()); in ParseOperation() 1181 while (InitList.size() > 2) { in ParseOperation() 1182 Init *RHS = InitList.pop_back_val(); in ParseOperation() 1183 RHS = (BinOpInit::get(Code, InitList.back(), RHS, Type))->Fold(CurRec); in ParseOperation() 1184 InitList.back() = RHS; in ParseOperation() 1188 if (InitList.size() == 2) in ParseOperation() 1189 return (BinOpInit::get(Code, InitList[0], InitList[1], Type)) in ParseOperation()
|
/external/llvm/include/llvm/ExecutionEngine/Orc/ |
D | ExecutionUtils.h | 75 const ConstantArray *InitList;
|