/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/swiftshader/third_party/llvm-7.0/llvm/test/ObjectYAML/wasm/ |
D | global_section.yaml | 11 InitExpr: 24 # CHECK: InitExpr:
|
D | export_section.yaml | 18 InitExpr: 24 InitExpr:
|
D | weak_symbols.yaml | 18 InitExpr:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-nm/wasm/ |
D | exports.yaml | 22 InitExpr:
|
D | weak-symbols.yaml | 28 InitExpr:
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | wasm2yaml.cpp | 221 G.InitExpr = Global.InitExpr; in dump()
|
/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()
|
D | ExprEngineC.cpp | 499 // Decls without InitExpr are not initialized explicitly. in VisitDeclStmt()
|
/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 | 2001 /// bitfield width if there is one, 'InitExpr' specifies the initializer if 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() [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 9788 // Build update: Var = InitExpr + IV * Step in FinishOpenMPLinearClause() 9793 InitExpr, IV, Step, /* Subtract */ false); in FinishOpenMPLinearClause() 9799 // Build final: Var = InitExpr + NumIterations * Step 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/ |
D | WasmYAML.cpp | 331 IO.mapRequired("InitExpr", Global.InitExpr); in mapping()
|
/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/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()
|
/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()
|