/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/ |
D | yaml2wasm.cpp | 89 static int writeInitExpr(const wasm::WasmInitExpr &InitExpr, raw_ostream &OS) { in writeInitExpr() argument 90 writeUint8(OS, InitExpr.Opcode); in writeInitExpr() 91 switch (InitExpr.Opcode) { in writeInitExpr() 93 encodeSLEB128(InitExpr.Value.Int32, OS); in writeInitExpr() 96 encodeSLEB128(InitExpr.Value.Int64, OS); in writeInitExpr() 99 writeUint32(OS, InitExpr.Value.Float32); in writeInitExpr() 102 writeUint64(OS, InitExpr.Value.Float64); in writeInitExpr() 105 encodeULEB128(InitExpr.Value.Global, OS); in writeInitExpr() 108 errs() << "Unknown opcode in init_expr: " << InitExpr.Opcode << "\n"; in writeInitExpr() 367 writeInitExpr(Global.InitExpr, OS); in writeSectionContent()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 595 Expr *InitExpr = *i; in VisitLambdaExpr() local 596 assert(InitExpr && "Capture missing initialization expression"); in VisitLambdaExpr() 597 InitVal = State->getSVal(InitExpr, LocCtxt); in VisitLambdaExpr()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 2450 const Expr *InitExpr = VD->getInit(); in DiagnoseForRangeReferenceVariableCopies() local 2451 if (!InitExpr) in DiagnoseForRangeReferenceVariableCopies() 2456 if (auto Cleanups = dyn_cast<ExprWithCleanups>(InitExpr)) in DiagnoseForRangeReferenceVariableCopies() 2458 InitExpr = Cleanups->getSubExpr(); in DiagnoseForRangeReferenceVariableCopies() 2461 dyn_cast<MaterializeTemporaryExpr>(InitExpr); in DiagnoseForRangeReferenceVariableCopies() 2523 const Expr *InitExpr = VD->getInit(); in DiagnoseForRangeConstVariableCopies() local 2524 if (!InitExpr) in DiagnoseForRangeConstVariableCopies() 2529 if (const CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(InitExpr)) { in DiagnoseForRangeConstVariableCopies() 2532 } else if (const CastExpr *CE = dyn_cast<CastExpr>(InitExpr)) { in DiagnoseForRangeConstVariableCopies() 2548 << VD << VariableType << InitExpr->getType(); in DiagnoseForRangeConstVariableCopies() [all …]
|
D | SemaInit.cpp | 358 Expr *InitExpr, FieldDecl *Field, 384 Expr *InitExpr; in PerformEmptyInit() local 404 InitExpr = VerifyOnly ? &DummyInitList : new (SemaRef.Context) in PerformEmptyInit() 406 InitExpr->setType(SemaRef.Context.VoidTy); in PerformEmptyInit() 407 SubInit = InitExpr; in PerformEmptyInit() 709 Expr *InitExpr = (Init < NumInits ? ILE->getInit(Init) : nullptr); in FillInEmptyInitializations() local 710 if (!InitExpr && Init < NumInits && ILE->hasArrayFiller()) in FillInEmptyInitializations() 712 else if (!InitExpr && !ILE->hasArrayFiller()) { in FillInEmptyInitializations() 757 = dyn_cast_or_null<InitListExpr>(InitExpr)) in FillInEmptyInitializations() 761 = dyn_cast_or_null<DesignatedInitUpdateExpr>(InitExpr)) in FillInEmptyInitializations() [all …]
|
D | SemaDeclCXX.cpp | 2658 Expr *InitExpr = FieldInit->getInit(); in DiagnoseUninitializedFields() local 2659 if (!InitExpr) in DiagnoseUninitializedFields() 2663 dyn_cast<CXXDefaultInitExpr>(InitExpr)) { in DiagnoseUninitializedFields() 2664 InitExpr = Default->getExpr(); in DiagnoseUninitializedFields() 2665 if (!InitExpr) in DiagnoseUninitializedFields() 2668 UninitializedChecker.CheckInitializer(InitExpr, Constructor, in DiagnoseUninitializedFields() 2672 UninitializedChecker.CheckInitializer(InitExpr, nullptr, in DiagnoseUninitializedFields() 2694 Expr *InitExpr) { in ActOnFinishCXXInClassMemberInitializer() argument 2702 if (!InitExpr) { in ActOnFinishCXXInClassMemberInitializer() 2709 if (DiagnoseUnexpandedParameterPack(InitExpr, UPPC_Initializer)) { in ActOnFinishCXXInClassMemberInitializer() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 3908 Expr *InitExpr = Init.get(); in InstantiateVariableInitializer() local 3911 (!InitExpr || in InstantiateVariableInitializer() 3912 !InitExpr->isConstantInitializer(getASTContext(), false))) { in InstantiateVariableInitializer() 3914 } else if (InitExpr) { in InstantiateVariableInitializer() 3916 AddInitializerToDecl(Var, InitExpr, DirectInit, TypeMayContainAuto); in InstantiateVariableInitializer()
|
D | SemaOpenMP.cpp | 9658 Expr *InitExpr; in ActOnOpenMPLinearClause() local 9679 InitExpr = VD ? VD->getInit() : SimpleRefExpr; in ActOnOpenMPLinearClause() 9681 InitExpr = VD ? SimpleRefExpr : Ref; in ActOnOpenMPLinearClause() 9682 AddInitializerToDecl(Init, DefaultLvalueConversion(InitExpr).get(), in ActOnOpenMPLinearClause() 9775 Expr *InitExpr = *CurInit; in FinishOpenMPLinearClause() local 9793 InitExpr, IV, Step, /* Subtract */ false); in FinishOpenMPLinearClause() 9803 InitExpr, NumIterations, Step, in FinishOpenMPLinearClause()
|
D | SemaDecl.cpp | 14577 Expr *InitExpr = ECD->getInitExpr(); in ValidDuplicateEnum() local 14578 if (!InitExpr) in ValidDuplicateEnum() 14580 InitExpr = InitExpr->IgnoreImpCasts(); in ValidDuplicateEnum() 14582 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(InitExpr)) { in ValidDuplicateEnum() 14591 InitExpr = BO->getLHS(); in ValidDuplicateEnum() 14595 DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(InitExpr); in ValidDuplicateEnum()
|
D | SemaExprCXX.cpp | 2728 const Expr *InitExpr = Field->getInClassInitializer(); in analyzeInClassInitializer() local 2729 if (!InitExpr) in analyzeInClassInitializer() 2731 if (const CXXNewExpr *NE = getNewExprFromInitListOrExpr(InitExpr)) { in analyzeInClassInitializer()
|
D | SemaExpr.cpp | 5502 SourceLocation RParenLoc, Expr *InitExpr) { in ActOnCompoundLiteral() argument 5504 assert(InitExpr && "ActOnCompoundLiteral(): missing expression"); in ActOnCompoundLiteral() 5511 return BuildCompoundLiteralExpr(LParenLoc, TInfo, RParenLoc, InitExpr); in ActOnCompoundLiteral()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | wasm2yaml.cpp | 221 G.InitExpr = Global.InitExpr; in dump()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/ |
D | Wasm.h | 78 WasmInitExpr InitExpr; member
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 1013 Expr *InitExpr = Init.get(); in ParseLambdaIntroducer() local 1017 Loc, Kind == LCK_ByRef, Id, InitKind, InitExpr); in ParseLambdaIntroducer() 1018 Init = InitExpr; in ParseLambdaIntroducer() 1820 ExprResult InitExpr = ExprError(); in ParseCXXCondition() local 1824 InitExpr = ParseBraceInitializer(); in ParseCXXCondition() 1826 InitExpr = ParseAssignmentExpression(); in ParseCXXCondition() 1839 if (!InitExpr.isInvalid()) in ParseCXXCondition() 1840 Actions.AddInitializerToDecl(DeclOut, InitExpr.get(), !CopyInitialization, in ParseCXXCondition()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LocalizationChecker.cpp | 1139 const Expr *InitExpr = VD->getInit(); in isCheckingPlurality() local 1140 if (InitExpr) { in isCheckingPlurality() 1142 dyn_cast<BinaryOperator>(InitExpr->IgnoreParenImpCasts())) { in isCheckingPlurality()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 806 const Expr *InitExpr = Enumerator->getInitExpr(); in UseNSOptionsMacro() local 807 if (!InitExpr) { in UseNSOptionsMacro() 812 InitExpr = InitExpr->IgnoreParenCasts(); in UseNSOptionsMacro() 813 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(InitExpr)) in UseNSOptionsMacro()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/ |
D | WasmYAML.h | 74 wasm::WasmInitExpr InitExpr; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
D | WasmYAML.cpp | 331 IO.mapRequired("InitExpr", Global.InitExpr); in mapping()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 62 llvm::Constant *InitExpr); 67 llvm::ConstantInt *InitExpr);
|
D | CodeGenModule.cpp | 2395 const Expr *InitExpr = D->getAnyInitializer(InitDecl); in EmitGlobalVarDefinition() local 2403 else if (!InitExpr) { in EmitGlobalVarDefinition() 2420 QualType T = InitExpr->getType(); in EmitGlobalVarDefinition()
|
D | CGExpr.cpp | 3450 const Expr *InitExpr = E->getInitializer(); in EmitCompoundLiteralLValue() local 3453 EmitAnyExprToMem(InitExpr, DeclPtr, E->getType().getQualifiers(), in EmitCompoundLiteralLValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | WasmObjectFile.cpp | 808 if (Error Err = readInitExpr(Global.InitExpr, Ctx)) in parseGlobalSection()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 3215 const Expr *InitExpr = CLE->getInitializer(); in isNullPointerConstant() local 3216 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(InitExpr)) in isNullPointerConstant()
|
D | ExprConstant.cpp | 5570 const Expr *InitExpr = E->getNumInits() ? E->getInit(0) : &VIE; in VisitInitListExpr() local 5573 if (!HandleLValueMember(Info, InitExpr, Subobject, Field, &Layout)) in VisitInitListExpr() 5578 isa<CXXDefaultInitExpr>(InitExpr)); in VisitInitListExpr() 5580 return EvaluateInPlace(Result.getUnionValue(), Info, Subobject, InitExpr); in VisitInitListExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4034 Expr *InitExpr);
|