Home
last modified time | relevance | path

Searched full:initexpr (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
Dyaml2wasm.cpp89 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/
Dglobal_section.yaml11 InitExpr:
24 # CHECK: InitExpr:
Dexport_section.yaml18 InitExpr:
24 InitExpr:
Dweak_symbols.yaml18 InitExpr:
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-nm/wasm/
Dexports.yaml22 InitExpr:
Dweak-symbols.yaml28 InitExpr:
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Dwasm2yaml.cpp221 G.InitExpr = Global.InitExpr; in dump()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp595 Expr *InitExpr = *i; in VisitLambdaExpr() local
596 assert(InitExpr && "Capture missing initialization expression"); in VisitLambdaExpr()
597 InitVal = State->getSVal(InitExpr, LocCtxt); in VisitLambdaExpr()
DExprEngineC.cpp499 // Decls without InitExpr are not initialized explicitly. in VisitDeclStmt()
/external/clang/lib/Sema/
DSemaStmt.cpp2450 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 …]
DSemaInit.cpp358 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 …]
DSemaDeclCXX.cpp2001 /// 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 …]
DSemaTemplateInstantiateDecl.cpp3908 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()
DSemaOpenMP.cpp9658 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()
DSemaDecl.cpp14577 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/
DWasmYAML.cpp331 IO.mapRequired("InitExpr", Global.InitExpr); in mapping()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DWasm.h78 WasmInitExpr InitExpr; member
/external/clang/lib/Parse/
DParseExprCXX.cpp1013 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/
DLocalizationChecker.cpp1139 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/
DObjCMT.cpp806 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/
DWasmYAML.h74 wasm::WasmInitExpr InitExpr; member
/external/clang/lib/CodeGen/
DCGExprConstant.cpp62 llvm::Constant *InitExpr);
67 llvm::ConstantInt *InitExpr);
DCodeGenModule.cpp2395 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/
DWasmObjectFile.cpp808 if (Error Err = readInitExpr(Global.InitExpr, Ctx)) in parseGlobalSection()
/external/clang/lib/AST/
DExpr.cpp3215 const Expr *InitExpr = CLE->getInitializer(); in isNullPointerConstant() local
3216 if (const InitListExpr *ILE = dyn_cast<InitListExpr>(InitExpr)) in isNullPointerConstant()

12