/external/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/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 235 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in SplitStaticCtorDtor() local 236 if (!InitList) return; in SplitStaticCtorDtor() 238 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in SplitStaticCtorDtor() 239 if (ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i))){ in SplitStaticCtorDtor()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GlobalMerge.cpp | 202 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in collectUsedGlobalVariables() local 204 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) in collectUsedGlobalVariables() 206 dyn_cast<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts())) in collectUsedGlobalVariables()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 2951 InitListExpr *InitList, 3211 InitListExpr *InitList = 0); 3217 InitListExpr *InitList, in TryReferenceListInitialization() argument 3236 if (InitList->getNumInits() == 1) { in TryReferenceListInitialization() 3237 Expr *Initializer = InitList->getInit(0); in TryReferenceListInitialization() 3257 Sequence.RewrapReferenceInitList(cv1T1, InitList); in TryReferenceListInitialization() 3263 Sequence.RewrapReferenceInitList(cv1T1, InitList); in TryReferenceListInitialization() 3269 TryListInitialization(S, TempEntity, Kind, InitList, Sequence); in TryReferenceListInitialization() 3284 InitListExpr *InitList, in TryListInitialization() argument 3291 !DestType->isAnyComplexType() && InitList->getNumInits() > 1) { in TryListInitialization() [all …]
|
D | SemaTemplateDeduction.cpp | 3862 InitListExpr *InitList = dyn_cast<InitListExpr>(Init); in DeduceAutoType() local 3863 if (InitList) { in DeduceAutoType() 3864 for (unsigned i = 0, e = InitList->getNumInits(); i < e; ++i) { in DeduceAutoType() 3867 InitList->getInit(i), in DeduceAutoType() 3887 if (InitList) { in DeduceAutoType() 3899 if (!InitList && !Result.isNull() && in DeduceAutoType()
|
D | SemaDeclCXX.cpp | 2265 Expr *InitList, in ActOnMemInitializer() argument 2268 DS, IdLoc, InitList, in ActOnMemInitializer() 2546 } else if (InitListExpr *InitList = dyn_cast<InitListExpr>(Init)) { in BuildMemberInitializer() local 2547 Args = MultiExprArg(InitList->getInits(), InitList->getNumInits()); in BuildMemberInitializer() 2573 bool InitList = false; in BuildMemberInitializer() local 2575 InitList = true; in BuildMemberInitializer() 2584 InitList ? InitializationKind::CreateDirectList(IdLoc) in BuildMemberInitializer() 2625 bool InitList = true; in BuildDelegatingInitializer() local 2628 InitList = false; in BuildDelegatingInitializer() 2637 InitList ? InitializationKind::CreateDirectList(NameLoc) in BuildDelegatingInitializer() [all …]
|
D | SemaChecking.cpp | 2012 if (const InitListExpr *InitList = dyn_cast<InitListExpr>(Init)) { in checkFormatStringExpr() local 2013 if (InitList->isStringLiteralInit()) in checkFormatStringExpr() 2014 Init = InitList->getInit(0)->IgnoreParenImpCasts(); in checkFormatStringExpr()
|
D | SemaOverload.cpp | 3016 if (InitListExpr *InitList = dyn_cast<InitListExpr>(From)) { in IsUserDefinedConversion() local 3027 Args = InitList->getInits(); in IsUserDefinedConversion() 3028 NumArgs = InitList->getNumInits(); in IsUserDefinedConversion()
|
/external/clang/include/clang/Sema/ |
D | Initialization.h | 494 bool InitList) { in CreateCStyleCast() argument 497 return InitializationKind(InitList ? IK_DirectList : IK_Direct, in CreateCStyleCast() 504 bool InitList) { in CreateFunctionalCast() argument 505 return InitializationKind(InitList ? IK_DirectList : IK_Direct, in CreateFunctionalCast()
|
D | Sema.h | 4578 Expr *InitList,
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 949 SmallVector<Init*, 2> InitList; in ParseOperation() local 951 InitList.push_back(ParseValue(CurRec)); in ParseOperation() 952 if (InitList.back() == 0) return 0; in ParseOperation() 957 InitList.push_back(ParseValue(CurRec)); in ParseOperation() 958 if (InitList.back() == 0) return 0; in ParseOperation() 970 while (InitList.size() > 2) { in ParseOperation() 971 Init *RHS = InitList.pop_back_val(); in ParseOperation() 972 RHS = (BinOpInit::get(Code, InitList.back(), RHS, Type)) in ParseOperation() 974 InitList.back() = RHS; in ParseOperation() 978 if (InitList.size() == 2) in ParseOperation() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_ann.cc | 144 static void InitList(ExpectRace *list) { in InitList() function 151 InitList(&dyn_ann_ctx->expect); in InitializeDynamicAnnotations() 152 InitList(&dyn_ann_ctx->benign); in InitializeDynamicAnnotations()
|
/external/llvm/lib/CodeGen/ |
D | MachineModuleInfo.cpp | 328 const ConstantArray *InitList = cast<ConstantArray>(GV->getInitializer()); in AnalyzeModule() local 330 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) in AnalyzeModule() 332 dyn_cast<Function>(InitList->getOperand(i)->stripPointerCasts())) in AnalyzeModule()
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
D | p5.cpp | 67 constexpr S InitList(int a) { return { a, ng }; }; // expected-error {{never produces}} expected-no… in InitList() function
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | AsmPrinter.cpp | 1280 void AsmPrinter::EmitLLVMUsedList(const ConstantArray *InitList) { in EmitLLVMUsedList() argument 1282 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in EmitLLVMUsedList() 1284 dyn_cast<GlobalValue>(InitList->getOperand(i)->stripPointerCasts()); in EmitLLVMUsedList() 1304 const ConstantArray *InitList = dyn_cast<ConstantArray>(List); in EmitXXStructorList() local 1305 if (!InitList) return; // Not an array! in EmitXXStructorList() 1306 StructType *ETy = dyn_cast<StructType>(InitList->getType()->getElementType()); in EmitXXStructorList() 1313 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in EmitXXStructorList() 1314 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i)); in EmitXXStructorList()
|
/external/llvm/include/llvm/CodeGen/ |
D | AsmPrinter.h | 485 void EmitLLVMUsedList(const ConstantArray *InitList);
|
/external/clang/test/SemaCXX/ |
D | cxx98-compat.cpp | 63 int InitList(int i = {}) { // expected-warning {{generalized initializer lists are incompatible wit… in InitList() function
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 311 ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer()); in runStaticConstructorsDestructors() local 312 if (InitList == 0) in runStaticConstructorsDestructors() 314 for (unsigned i = 0, e = InitList->getNumOperands(); i != e; ++i) { in runStaticConstructorsDestructors() 315 ConstantStruct *CS = dyn_cast<ConstantStruct>(InitList->getOperand(i)); in runStaticConstructorsDestructors()
|
/external/clang/lib/AST/ |
D | ItaniumMangle.cpp | 2629 const InitListExpr *InitList = cast<InitListExpr>(E); in mangleExpression() local 2630 for (unsigned i = 0, e = InitList->getNumInits(); i != e; ++i) in mangleExpression() 2631 mangleExpression(InitList->getInit(i)); in mangleExpression() 2710 const InitListExpr *InitList = cast<InitListExpr>(Init); in mangleExpression() local 2711 for (unsigned i = 0, e = InitList->getNumInits(); i != e; ++i) in mangleExpression() 2712 mangleExpression(InitList->getInit(i)); in mangleExpression()
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2809 ExprResult InitList = ParseBraceInitializer(); in ParseMemInitializer() local 2810 if (InitList.isInvalid()) in ParseMemInitializer() 2819 InitList.take(), EllipsisLoc); in ParseMemInitializer()
|
D | ParseExprCXX.cpp | 1420 Expr *InitList = Init.take(); in ParseCXXTypeConstructExpression() local 1422 MultiExprArg(&InitList, 1), in ParseCXXTypeConstructExpression()
|