| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 153 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension() 163 Actions.CodeCompleteExpression(getCurScope(), in ParseAssignmentExpression() 202 assert(Actions.ExprEvalContexts.back().Context == in ParseConstantExpressionInExprEvalContext() 208 return Actions.ActOnConstantExpression(Res); in ParseConstantExpressionInExprEvalContext() 217 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseConstantExpression() 223 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseCaseExpression() 226 return Actions.ActOnCaseExpr(CaseLoc, Res); in ParseCaseExpression() 237 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in ParseConstraintExpression() 240 if (Res.isUsable() && !Actions.CheckConstraintExpression(Res.get())) { in ParseConstraintExpression() 241 Actions.CorrectDelayedTyposInExpr(Res); in ParseConstraintExpression() [all …]
|
| H A D | ParseObjc.cpp | 54 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives() 87 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtDirectives() 94 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives() 99 Sema &Actions; member in Parser::ObjCTypeParamListScope 104 ObjCTypeParamListScope(Sema &Actions, Scope *S) in ObjCTypeParamListScope() argument 105 : Actions(Actions), S(S), Params(nullptr) {} in ObjCTypeParamListScope() 118 Actions.popObjCTypeParamList(S, Params); in leave() 141 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration() 158 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration() 160 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration() [all …]
|
| H A D | ParseStmt.cpp | 123 return Actions.ActOnAttributedStmt(Attrs, Res.get()); in ParseStatementOrDeclaration() 181 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes() 235 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes() 261 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes() 303 Res = Actions.ActOnFinishFullStmt(Res.get()); in ParseStatementOrDeclarationAfterAttributes() 464 return Actions.ActOnExprStmtError(); in ParseExprStatement() 468 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement() 520 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlock() 552 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseSEHExceptBlock() 575 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get()); in ParseSEHExceptBlock() [all …]
|
| H A D | ParseExprCXX.cpp | 96 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph() 164 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier() 195 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier() 209 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier() 227 if (Actions.ActOnCXXNestedNameSpecifierDecltype(SS, DS, CCLoc)) in ParseOptionalCXXScopeSpecifier() 241 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext, in ParseOptionalCXXScopeSpecifier() 320 TemplateNameKind TNK = Actions.ActOnTemplateName( in ParseOptionalCXXScopeSpecifier() 359 Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier() 396 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, IdInfo, in ParseOptionalCXXScopeSpecifier() 455 if (Actions.ActOnCXXNestedNameSpecifier( in ParseOptionalCXXScopeSpecifier() [all …]
|
| H A D | Parser.cpp | 52 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser() 59 Actions.CurScope = nullptr; in Parser() 207 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi() 407 Actions.CurScope = N; in EnterScope() 409 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 419 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope() 422 Actions.CurScope = OldScope->getParent(); in ExitScope() 456 Actions.CurScope = nullptr; in ~Parser() 477 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize() 560 Actions.Initialize(); in Initialize() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 39 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef() 42 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef() 46 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef() 48 Actions.ActOnPureSpecifier(FnD, PureSpecLoc); in ParseCXXInlineMethodDef() 71 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef() 81 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef() 101 if (SkipFunctionBodies && (!FnD || Actions.canSkipFunctionBody(FnD)) && in ParseCXXInlineMethodDef() 103 Actions.ActOnSkippedFunctionBody(FnD); in ParseCXXInlineMethodDef() 115 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef() 118 !Actions.IsInsideALocalClassWithinATemplateFunction())) { in ParseCXXInlineMethodDef() [all …]
|
| H A D | ParseOpenMP.cpp | 214 Sema &Actions = P.getActions(); in parseOpenMPReductionId() local 259 auto &DeclNames = Actions.getASTContext().DeclarationNames; in parseOpenMPReductionId() 313 Actions.ActOnOpenMPDeclareReductionType(Range.getBegin(), TR); in ParseOpenMPDeclareReductionDirective() 353 DeclGroupPtrTy DRD = Actions.ActOnOpenMPDeclareReductionDirectiveStart( in ParseOpenMPDeclareReductionDirective() 354 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective() 365 Actions.ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective() 366 ExprResult CombinerResult = Actions.ActOnFinishFullExpr( in ParseOpenMPDeclareReductionDirective() 368 Actions.ActOnOpenMPDeclareReductionCombinerEnd(D, CombinerResult.get()); in ParseOpenMPDeclareReductionDirective() 401 Actions.ActOnOpenMPDeclareReductionInitializerStart(getCurScope(), in ParseOpenMPDeclareReductionDirective() 409 InitializerResult = Actions.ActOnFinishFullExpr( in ParseOpenMPDeclareReductionDirective() [all …]
|
| H A D | ParseTemplate.cpp | 29 return Actions.ActOnReenterTemplateScope(D, [&] { in ReenterTemplateScopes() 31 return Actions.getCurScope(); in ReenterTemplateScopes() 144 Actions.ActOnRequiresClause(ParseConstraintLogicalOrExpression( in ParseTemplateDeclarationOrSpecialization() 157 ParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseTemplateDeclarationOrSpecialization() 229 Decl *Decl = Actions.ParsedFreeStandingDeclSpec( in ParseSingleDeclarationAfterTemplate() 314 FakedParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseSingleDeclarationAfterTemplate() 415 Actions.CorrectDelayedTyposInExpr(ParseConstraintExpression()); in ParseConceptDefinition() 424 return Actions.ActOnConceptDefinition(getCurScope(), in ParseConceptDefinition() 651 NamedDecl *ErrorParam = Actions.ActOnNonTypeTemplateParameter( in ParseTemplateParameter() 719 auto TNK = Actions.isTemplateName(getCurScope(), SS, in TryAnnotateTypeConstraint() [all …]
|
| H A D | ParseDeclCXX.cpp | 67 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace() 134 return Actions.ConvertDeclToDeclGroup(NSAlias); in ParseNamespace() 215 Decl *NamespcDecl = Actions.ActOnStartNamespaceDef( in ParseNamespace() 219 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, NamespcDecl, in ParseNamespace() 230 Actions.ActOnFinishNamespaceDef(NamespcDecl, DeclEnd); in ParseNamespace() 232 return Actions.ConvertDeclToDeclGroup(NamespcDecl, in ParseNamespace() 261 Decl *NamespcDecl = Actions.ActOnStartNamespaceDef( in ParseInnerNamespace() 271 Actions.ActOnFinishNamespaceDef(NamespcDecl, Tracker.getCloseLocation()); in ParseInnerNamespace() 287 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias() 324 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, in ParseNamespaceAlias() [all …]
|
| H A D | ParseInit.cpp | 187 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator() 204 Actions.CodeCompleteDesignator(DesignatorCompletion.PreferredBaseType, in ParseInitializerWithPotentialDesignator() 291 switch (Actions.getObjCMessageKind( in ParseInitializerWithPotentialDesignator() 395 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator() 405 return Actions.ActOnDesignatedInitializer(Desig, SourceLocation(), false, in ParseInitializerWithPotentialDesignator() 418 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(), in ParseInitializerWithPotentialDesignator() 454 return Actions.ActOnInitList(LBraceLoc, None, ConsumeBrace()); in ParseBraceInitializer() 459 Actions, EnterExpressionEvaluationContext::InitList); in ParseBraceInitializer() 490 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseBraceInitializer() 492 SubElt = Actions.CorrectDelayedTyposInExpr(SubElt.get()); in ParseBraceInitializer() [all …]
|
| H A D | ParseDecl.cpp | 69 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName() 319 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc() 417 Actions, in ParseAttributeArgsCommon() 422 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseAttributeArgsCommon() 505 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs() 1473 auto *SwiftType = IdentifierLoc::create(Actions.Context, Tok.getLocation(), in ParseSwiftNewTypeAttribute() 1740 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseDeclaration() 1787 Decl *TheDecl = Actions.ParsedFreeStandingDeclSpec(getCurScope(), AS_none, in ParseSimpleDeclaration() 1792 return Actions.BuildDeclaratorGroup(decls); in ParseSimpleDeclaration() 1794 return Actions.ConvertDeclToDeclGroup(TheDecl); in ParseSimpleDeclaration() [all …]
|
| H A D | ParsePragma.cpp | 55 : PragmaHandler("section"), Actions(S) {} in PragmaClangSectionHandler() 60 Sema &Actions; member 181 PragmaCommentHandler(Sema &Actions) in PragmaCommentHandler() 182 : PragmaHandler("comment"), Actions(Actions) {} in PragmaCommentHandler() 187 Sema &Actions; member 191 PragmaDetectMismatchHandler(Sema &Actions) in PragmaDetectMismatchHandler() 192 : PragmaHandler("detect_mismatch"), Actions(Actions) {} in PragmaDetectMismatchHandler() 197 Sema &Actions; member 201 PragmaFloatControlHandler(Sema &Actions) in PragmaFloatControlHandler() 228 : PragmaHandler("optimize"), Actions(S) {} in PragmaOptimizeHandler() [all …]
|
| H A D | ParseStmtAsm.cpp | 245 Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, in ParseMSAsmIdentifier() 258 Result = Actions.LookupInlineAsmVarDeclField(Result.get(), Id->getName(), in ParseMSAsmIdentifier() 533 const llvm::Triple &TheTriple = Actions.Context.getTargetInfo().getTriple(); in ParseMicrosoftAsmStatement() 549 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLocs[0], AsmToks, AsmString, in ParseMicrosoftAsmStatement() 564 const TargetOptions &TO = Actions.Context.getTargetInfo().getTargetOpts(); in ParseMicrosoftAsmStatement() 662 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement() 669 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLocs[0], AsmToks, AsmStringIR, in ParseMicrosoftAsmStatement() 765 return Actions.ActOnGCCAsmStmt( in ParseAsmStatement() 844 LabelDecl *LD = Actions.LookupOrCreateLabel(Tok.getIdentifierInfo(), in ParseAsmStatement() 852 Actions.ActOnAddrLabel(Tok.getLocation(), Tok.getLocation(), LD); in ParseAsmStatement() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| H A D | DFAEmitter.cpp | 49 Actions.insert(A); in addTransition() 59 for (action_type A : Actions) { in visitDfaState() 202 ActionTuple Actions; member in __anon14d6558b0211::Transition 208 const ActionTuple &getActions() { return Actions; } in getActions() 220 UniqueVector<ActionTuple> Actions; member in __anon14d6558b0211::Automaton 244 const UniqueVector<ActionTuple> &Actions; member in __anon14d6558b0211::CustomDfaEmitter 248 CustomDfaEmitter(const UniqueVector<ActionTuple> &Actions, StringRef TypeName) in CustomDfaEmitter() argument 249 : Actions(Actions), TypeName(TypeName) {} in CustomDfaEmitter() 276 Actions.insert(Transitions.back().getActions()); in emit() 279 LLVM_DEBUG(dbgs() << " Action alphabet cardinality: " << Actions.size() in emit() [all …]
|
| H A D | DFAEmitter.h | 79 std::set<action_type> Actions; variable
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | EHStreamer.cpp | 56 SmallVectorImpl<ActionEntry> &Actions, in computeActionsTable() argument 109 assert(Actions.size()); in computeActionsTable() 110 PrevAction = Actions.size() - 1; in computeActionsTable() 111 SizeActionEntry = getSLEB128Size(Actions[PrevAction].NextAction) + in computeActionsTable() 112 getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable() 116 SizeActionEntry -= getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable() 117 SizeActionEntry += -Actions[PrevAction].NextAction; in computeActionsTable() 118 PrevAction = Actions[PrevAction].Previous; in computeActionsTable() 135 Actions.push_back(Action); in computeActionsTable() 136 PrevAction = Actions.size() - 1; in computeActionsTable() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/ |
| H A D | RefactoringActions.cpp | 99 std::vector<std::unique_ptr<RefactoringAction>> Actions; in createRefactoringActions() local 101 Actions.push_back(std::make_unique<LocalRename>()); in createRefactoringActions() 102 Actions.push_back(std::make_unique<ExtractRefactoring>()); in createRefactoringActions() 104 return Actions; in createRefactoringActions()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/ |
| H A D | StandaloneExecution.cpp | 55 Actions) { in execute() 56 if (Actions.empty()) in execute() 59 if (Actions.size() != 1) in execute() 63 auto &Action = Actions.front(); in execute()
|
| H A D | AllTUsExecution.cpp | 81 Actions) { in execute() 82 if (Actions.empty()) in execute() 85 if (Actions.size() != 1) in execute() 115 auto &Action = Actions.front(); in execute()
|
| H A D | Execution.cpp | 51 Actions; in execute() local 52 Actions.emplace_back(std::move(Action), std::move(Adjuster)); in execute() 53 return execute(Actions); in execute()
|
| H A D | Tooling.cpp | 94 const driver::ActionList &Actions = Compilation->getActions(); in getCC1Arguments() local 97 for (auto A : Actions){ in getCC1Arguments() 108 assert(Actions.size() > 1); in getCC1Arguments() 110 isa<driver::CompileJobAction>(Actions.front()) || in getCC1Arguments() 113 (isa<driver::BindArchAction>(Actions.front()) && in getCC1Arguments() 114 isa<driver::CompileJobAction>(*Actions.front()->input_begin()))); in getCC1Arguments()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Designator.h | 175 void ClearExprs(Sema &Actions) {} in ClearExprs() argument 179 void FreeExprs(Sema &Actions) {} in FreeExprs() argument 205 void ClearExprs(Sema &Actions) {} in ClearExprs() argument 209 void FreeExprs(Sema &Actions) {} in FreeExprs() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/ |
| H A D | RAIIObjectsForParser.h | 91 Sema &Actions; variable 102 : Actions(P.getActions()), DiagnosticPool(nullptr) { in ParsingDeclRAIIObject() 109 : Actions(P.getActions()), DiagnosticPool(parentPool) { in ParsingDeclRAIIObject() 117 : Actions(P.getActions()), in ParsingDeclRAIIObject() 162 State = Actions.PushParsingDeclaration(DiagnosticPool); in push() 168 Actions.PopParsingDeclaration(State, D); in pop()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerInfo.h | 1338 SmallVector<SizeAndActionsVec, 1> &Actions = ScalarActions[OpcodeIdx]; in setScalarAction() local 1339 setActions(TypeIndex, Actions, SizeAndActions); in setScalarAction() 1348 SmallVector<SizeAndActionsVec, 1> &Actions = in setPointerAction() local 1350 setActions(TypeIndex, Actions, SizeAndActions); in setPointerAction() 1361 SmallVector<SizeAndActionsVec, 1> &Actions = in setScalarInVectorAction() local 1363 setActions(TypeIndex, Actions, SizeAndActions); in setScalarInVectorAction() 1377 SmallVector<SizeAndActionsVec, 1> &Actions = in setVectorNumElementAction() local 1379 setActions(TypeIndex, Actions, SizeAndActions); in setVectorNumElementAction() 1444 SmallVector<SizeAndActionsVec, 1> &Actions, in setActions() argument 1447 if (Actions.size() <= TypeIndex) in setActions() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/ |
| H A D | Compilation.h | 76 ActionList Actions; variable 195 ActionList &getActions() { return Actions; } in getActions() 196 const ActionList &getActions() const { return Actions; } in getActions()
|