Home
last modified time | relevance | path

Searched refs:Actions (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DEnterExpressionEvaluationContext.h20 Sema &Actions; variable
25 Sema &Actions, Sema::ExpressionEvaluationContext NewContext,
30 : Actions(Actions), Entered(ShouldEnter) { in Actions() argument
32 Actions.PushExpressionEvaluationContext(NewContext, LambdaContextDecl, in Actions()
36 Sema &Actions, Sema::ExpressionEvaluationContext NewContext,
40 : Actions(Actions) { in Actions() function
41 Actions.PushExpressionEvaluationContext( in Actions()
46 EnterExpressionEvaluationContext(Sema &Actions, InitListTag,
48 : Actions(Actions), Entered(false) { in Actions() argument
53 if (ShouldEnter && Actions.isUnevaluatedContext() && in Actions()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp162 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
172 Actions.CodeCompletion().CodeCompleteExpression( in ParseAssignmentExpression()
191 Actions.CodeCompletion().CodeCompleteExpression( in ParseConditionalExpression()
224 assert(Actions.ExprEvalContexts.back().Context == in ParseConstantExpressionInExprEvalContext()
230 return Actions.ActOnConstantExpression(Res); in ParseConstantExpressionInExprEvalContext()
239 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseConstantExpression()
245 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseArrayBoundExpression()
248 Actions.ExprEvalContexts.back().InConditionallyConstantEvaluateContext = true; in ParseArrayBoundExpression()
254 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseCaseExpression()
257 return Actions.ActOnCaseExpr(CaseLoc, Res); in ParseCaseExpression()
[all …]
H A DParseObjc.cpp60 Actions.CodeCompletion().CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives()
106 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtDirectives()
113 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
118 Sema &Actions; member in Parser::ObjCTypeParamListScope
123 ObjCTypeParamListScope(Sema &Actions, Scope *S) in ObjCTypeParamListScope() argument
124 : Actions(Actions), S(S), Params(nullptr) {} in ObjCTypeParamListScope()
137 Actions.ObjC().popObjCTypeParamList(S, Params); in leave()
160 Actions.CodeCompletion().CodeCompleteObjCClassForwardDecl(getCurScope()); in ParseObjCAtClassDeclaration()
161 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
165 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
[all …]
H A DParseStmt.cpp139 return Actions.ActOnAttributedStmt(Attrs, Res.get()); in ParseStatementOrDeclaration()
198 Actions.CodeCompletion().CodeCompleteOrdinaryName( in ParseStatementOrDeclarationAfterAttributes()
273 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes()
311 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
562 return Actions.ActOnExprStmtError(); in ParseExprStatement()
566 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement()
628 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlock()
660 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseSEHExceptBlock()
683 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get()); in ParseSEHExceptBlock()
700 Actions.ActOnStartSEHFinallyBlock(); in ParseSEHFinallyBlock()
[all …]
H A DParseExprCXX.cpp101 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph()
170 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
201 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
215 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
233 if (Actions.ActOnCXXNestedNameSpecifierDecltype(SS, DS, CCLoc)) in ParseOptionalCXXScopeSpecifier()
249 QualType Type = Actions.ActOnPackIndexingType( in ParseOptionalCXXScopeSpecifier()
261 if (Actions.ActOnCXXNestedNameSpecifierIndexedPack(SS, DS, CCLoc, in ParseOptionalCXXScopeSpecifier()
275 Actions.CodeCompletion().CodeCompleteQualifiedId( in ParseOptionalCXXScopeSpecifier()
354 TemplateNameKind TNK = Actions.ActOnTemplateName( in ParseOptionalCXXScopeSpecifier()
393 Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier()
[all …]
H A DParser.cpp55 : PP(pp), PreferredType(pp.isCodeCompletionEnabled()), Actions(actions), in Parser()
62 Actions.CurScope = nullptr; in Parser()
75 Actions.ParseTypeFromStringCallback = in Parser()
215 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
424 Actions.CurScope = N; in EnterScope()
426 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
436 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
439 Actions.CurScope = OldScope->getParent(); in ExitScope()
473 Actions.CurScope = nullptr; in ~Parser()
494 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
[all …]
H A DParseCXXInlineMethods.cpp84 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef()
87 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef()
91 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef()
93 Actions.ActOnPureSpecifier(FnD, PureSpecLoc); in ParseCXXInlineMethodDef()
117 Actions.SetDeclDeleted(FnD, KWLoc, Message); in ParseCXXInlineMethodDef()
127 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef()
147 if (SkipFunctionBodies && (!FnD || Actions.canSkipFunctionBody(FnD)) && in ParseCXXInlineMethodDef()
149 Actions.ActOnSkippedFunctionBody(FnD); in ParseCXXInlineMethodDef()
161 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()
164 !Actions.IsInsideALocalClassWithinATemplateFunction())) { in ParseCXXInlineMethodDef()
[all …]
H A DParseOpenMP.cpp229 Sema &Actions = P.getActions(); in parseOpenMPReductionId() local
274 auto &DeclNames = Actions.getASTContext().DeclarationNames; in parseOpenMPReductionId()
327 QualType ReductionType = Actions.OpenMP().ActOnOpenMPDeclareReductionType( in ParseOpenMPDeclareReductionDirective()
369 Actions.OpenMP().ActOnOpenMPDeclareReductionDirectiveStart( in ParseOpenMPDeclareReductionDirective()
370 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, in ParseOpenMPDeclareReductionDirective()
382 Actions.OpenMP().ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective()
383 ExprResult CombinerResult = Actions.ActOnFinishFullExpr( in ParseOpenMPDeclareReductionDirective()
385 Actions.OpenMP().ActOnOpenMPDeclareReductionCombinerEnd( in ParseOpenMPDeclareReductionDirective()
419 Actions.OpenMP().ActOnOpenMPDeclareReductionInitializerStart( in ParseOpenMPDeclareReductionDirective()
427 InitializerResult = Actions.ActOnFinishFullExpr( in ParseOpenMPDeclareReductionDirective()
[all …]
H A DParseTemplate.cpp31 return Actions.ActOnReenterTemplateScope(D, [&] { in ReenterTemplateScopes()
33 return Actions.getCurScope(); in ReenterTemplateScopes()
148 Actions.ActOnRequiresClause(ParseConstraintLogicalOrExpression( in ParseTemplateDeclarationOrSpecialization()
161 ParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseTemplateDeclarationOrSpecialization()
175 return Actions.ConvertDeclToDeclGroup(ConceptDecl); in ParseTemplateDeclarationOrSpecialization()
204 return Actions.ConvertDeclToDeclGroup( in ParseDeclarationAfterTemplate()
242 Decl *Decl = Actions.ParsedFreeStandingDeclSpec( in ParseDeclarationAfterTemplate()
248 Actions.ActOnDefinedDeclarationSpecifier(Decl); in ParseDeclarationAfterTemplate()
252 return Actions.ConvertDeclToDeclGroup(Decl); in ParseDeclarationAfterTemplate()
256 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclarationAfterTemplate()
[all …]
H A DParseInit.cpp191 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
208 Actions.CodeCompletion().CodeCompleteDesignator( in ParseInitializerWithPotentialDesignator()
296 switch (Actions.ObjC().getObjCMessageKind( in ParseInitializerWithPotentialDesignator()
400 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator()
410 return Actions.ActOnDesignatedInitializer(Desig, SourceLocation(), false, in ParseInitializerWithPotentialDesignator()
423 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(), in ParseInitializerWithPotentialDesignator()
436 ASTContext &Context = Actions.getASTContext(); in createEmbedExpr()
454 Res = Actions.ActOnEmbedExpr(StartLoc, BinaryDataArg); in createEmbedExpr()
490 return Actions.ActOnInitList(LBraceLoc, std::nullopt, ConsumeBrace()); in ParseBraceInitializer()
495 Actions, EnterExpressionEvaluationContext::InitList); in ParseBraceInitializer()
[all …]
H A DParseDeclCXX.cpp73 Actions.CodeCompletion().CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace()
158 return Actions.ConvertDeclToDeclGroup(NSAlias); in ParseNamespace()
240 Decl *NamespcDecl = Actions.ActOnStartNamespaceDef( in ParseNamespace()
244 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, NamespcDecl, in ParseNamespace()
255 Actions.ActOnFinishNamespaceDef(NamespcDecl, DeclEnd); in ParseNamespace()
257 return Actions.ConvertDeclToDeclGroup(NamespcDecl, in ParseNamespace()
287 Decl *NamespcDecl = Actions.ActOnStartNamespaceDef( in ParseInnerNamespace()
297 Actions.ActOnFinishNamespaceDef(NamespcDecl, Tracker.getCloseLocation()); in ParseInnerNamespace()
313 Actions.CodeCompletion().CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias()
350 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, in ParseNamespaceAlias()
[all …]
H A DParseDecl.cpp86 return Actions.ActOnTypeName(DeclaratorInfo); in ParseTypeName()
222 Actions.CodeCompletion().CodeCompleteAttribute( in ParseGNUAttributes()
404 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
471 Expr = Actions.CorrectDelayedTyposInExpr(Expr); in ParseAttributeArgumentList()
474 Expr = Actions.ActOnPackExpansion(Expr.get(), ConsumeToken()); in ParseAttributeArgumentList()
491 if (Actions.DiagnoseUnexpandedParameterPack(Expr.get())) { in ParseAttributeArgumentList()
511 ExprResult Expr = Actions.CorrectDelayedTyposInExpr(E); in ParseAttributeArgumentList()
594 Actions, in ParseAttributeArgsCommon()
601 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseAttributeArgsCommon()
615 Actions, in ParseAttributeArgsCommon()
[all …]
H A DParsePragma.cpp60 : PragmaHandler("section"), Actions(S) {} in PragmaClangSectionHandler()
65 Sema &Actions; member
232 PragmaCommentHandler(Sema &Actions) in PragmaCommentHandler()
233 : PragmaHandler("comment"), Actions(Actions) {} in PragmaCommentHandler()
238 Sema &Actions; member
242 PragmaDetectMismatchHandler(Sema &Actions) in PragmaDetectMismatchHandler()
243 : PragmaHandler("detect_mismatch"), Actions(Actions) {} in PragmaDetectMismatchHandler()
248 Sema &Actions; member
252 PragmaFloatControlHandler(Sema &Actions) in PragmaFloatControlHandler()
279 : PragmaHandler("optimize"), Actions(S) {} in PragmaOptimizeHandler()
[all …]
H A DParseHLSL.cpp75 Decl *D = Actions.HLSL().ActOnStartBuffer(getCurScope(), IsCBuffer, BufferLoc, in ParseHLSLBuffer()
91 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
99 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
101 Actions.ProcessDeclAttributeList(Actions.CurScope, D, Attrs); in ParseHLSLBuffer()
169 Actions.Context, PP); in ParseHLSLAnnotations()
185 Actions.Context, PP); in ParseHLSLAnnotations()
268 ASTContext &Ctx = Actions.getASTContext(); in ParseHLSLAnnotations()
H A DParseStmtAsm.cpp245 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 …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAEmitter.cpp50 Actions.insert(A); in addTransition()
60 for (action_type A : Actions) { in visitDfaState()
180 ActionTuple Actions; member in __anon4fed36600211::Transition
186 const ActionTuple &getActions() { return Actions; } in getActions()
198 UniqueVector<ActionTuple> Actions; member in __anon4fed36600211::Automaton
222 const UniqueVector<ActionTuple> &Actions; member in __anon4fed36600211::CustomDfaEmitter
226 CustomDfaEmitter(const UniqueVector<ActionTuple> &Actions, StringRef TypeName) in CustomDfaEmitter() argument
227 : Actions(Actions), TypeName(TypeName) {} in CustomDfaEmitter()
254 Actions.insert(Transitions.back().getActions()); in emit()
257 LLVM_DEBUG(dbgs() << " Action alphabet cardinality: " << Actions.size() in emit()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.h314 SmallVector<SizeAndActionsVec, 1> &Actions = ScalarActions[OpcodeIdx]; in setScalarAction() local
315 setActions(TypeIndex, Actions, SizeAndActions); in setScalarAction()
324 SmallVector<SizeAndActionsVec, 1> &Actions = in setPointerAction() local
326 setActions(TypeIndex, Actions, SizeAndActions); in setPointerAction()
337 SmallVector<SizeAndActionsVec, 1> &Actions = in setScalarInVectorAction() local
339 setActions(TypeIndex, Actions, SizeAndActions); in setScalarInVectorAction()
353 SmallVector<SizeAndActionsVec, 1> &Actions = in setVectorNumElementAction() local
355 setActions(TypeIndex, Actions, SizeAndActions); in setVectorNumElementAction()
420 SmallVector<SizeAndActionsVec, 1> &Actions, in setActions() argument
423 if (Actions.size() <= TypeIndex) in setActions()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DRefactoringActions.cpp99 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()
/freebsd/contrib/llvm-project/clang/lib/Tooling/
H A DStandaloneExecution.cpp55 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 DAllTUsExecution.cpp81 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 DExecution.cpp51 Actions; in execute() local
52 Actions.emplace_back(std::move(Action), std::move(Adjuster)); in execute()
53 return execute(Actions); in execute()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp54 SmallVectorImpl<ActionEntry> &Actions, in computeActionsTable() argument
107 assert(Actions.size()); in computeActionsTable()
108 PrevAction = Actions.size() - 1; in computeActionsTable()
109 SizeActionEntry = getSLEB128Size(Actions[PrevAction].NextAction) + in computeActionsTable()
110 getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
114 SizeActionEntry -= getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
115 SizeActionEntry += -Actions[PrevAction].NextAction; in computeActionsTable()
116 PrevAction = Actions[PrevAction].Previous; in computeActionsTable()
133 Actions.push_back(Action); in computeActionsTable()
134 PrevAction = Actions.size() - 1; in computeActionsTable()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DTargetProcessControlTypes.h58 shared::AllocActions Actions; member
69 shared::AllocActions Actions; member
222 return FRAL::size(FR.Segments, FR.Actions);
227 return FRAL::serialize(OB, FR.Segments, FR.Actions);
231 return FRAL::deserialize(IB, FR.Segments, FR.Actions); in size()
263 return FRAL::size(FR.Segments, FR.Actions);
268 return FRAL::serialize(OB, FR.Segments, FR.Actions);
273 return FRAL::deserialize(IB, FR.Segments, FR.Actions); in serialize()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DRAIIObjectsForParser.h91 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()
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dactions,owl-cmu.txt1 * Actions Semi Owl Clock Management Unit (CMU)
3 The Actions Semi Owl Clock Management Unit generates and supplies clock
31 Actions Semi S900 CMU also requires one more clock:

1234