Home
last modified time | relevance | path

Searched refs:Actions (Results 1 – 25 of 93) 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() function
53 if (ShouldEnter && Actions.isUnevaluatedContext() && in Actions()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp52 Actions.CodeCompletion().CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives()
98 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtDirectives()
105 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
109 Sema &Actions; member in Parser::ObjCTypeParamListScope
114 ObjCTypeParamListScope(Sema &Actions, Scope *S) in ObjCTypeParamListScope() argument
115 : Actions(Actions), S(S), Params(nullptr) {} in ObjCTypeParamListScope()
128 Actions.ObjC().popObjCTypeParamList(S, Params); in leave()
144 Actions.CodeCompletion().CodeCompleteObjCClassForwardDecl(getCurScope()); in ParseObjCAtClassDeclaration()
145 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
149 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
[all …]
H A DParseStmt.cpp94 return Actions.ActOnAttributedStmt(CXX11Attrs, Res.get()); in ParseStatementOrDeclaration()
153 Actions.CodeCompletion().CodeCompleteOrdinaryName( in ParseStatementOrDeclarationAfterAttributes()
230 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes()
275 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
529 return Actions.ActOnExprStmtError(); in ParseExprStatement()
533 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement()
586 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlock()
636 return Actions.ActOnSEHExceptBlock(ExceptLoc, FilterExpr.get(), Block.get()); in ParseSEHExceptBlock()
648 Actions.ActOnStartSEHFinallyBlock(); in ParseSEHFinallyBlock()
652 Actions.ActOnAbortSEHFinallyBlock(); in ParseSEHFinallyBlock()
[all …]
H A DParseExpr.cpp69 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
79 Actions.CodeCompletion().CodeCompleteExpression( in ParseAssignmentExpression()
98 Actions.CodeCompletion().CodeCompleteExpression( in ParseConditionalExpression()
123 assert(Actions.ExprEvalContexts.back().Context == in ParseConstantExpressionInExprEvalContext()
130 return Actions.ActOnConstantExpression(Res); in ParseConstantExpressionInExprEvalContext()
139 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseConstantExpression()
146 Actions, Sema::ExpressionEvaluationContext::ConstantEvaluated); in ParseArrayBoundExpression()
149 Actions.ExprEvalContexts.back().InConditionallyConstantEvaluateContext = true; in ParseArrayBoundExpression()
163 for (auto Iter = Actions.ExprEvalContexts.rbegin() + 1; in ParseArrayBoundExpression()
164 Iter != Actions.ExprEvalContexts.rend(); ++Iter) { in ParseArrayBoundExpression()
[all …]
H A DParser.cpp59 Actions(actions), Diags(PP.getDiagnostics()), StackHandler(Diags), in Parser()
66 Actions.CurScope = nullptr; in Parser()
79 Actions.ParseTypeFromStringCallback = in Parser()
224 TST, Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
424 Actions.CurScope = N; in EnterScope()
426 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
435 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
438 Actions.CurScope = OldScope->getParent(); in ExitScope()
468 Actions.CurScope = nullptr; in ~Parser()
487 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
[all …]
H A DParseExprCXX.cpp98 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph()
118 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
149 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
163 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
181 if (Actions.ActOnCXXNestedNameSpecifierDecltype(SS, DS, CCLoc)) in ParseOptionalCXXScopeSpecifier()
198 QualType Type = Actions.ActOnPackIndexingType( in ParseOptionalCXXScopeSpecifier()
223 if (Actions.ActOnCXXNestedNameSpecifierIndexedPack(SS, DS, CCLoc, in ParseOptionalCXXScopeSpecifier()
237 Actions.CodeCompletion().CodeCompleteQualifiedId( in ParseOptionalCXXScopeSpecifier()
316 TemplateNameKind TNK = Actions.ActOnTemplateName( in ParseOptionalCXXScopeSpecifier()
355 Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier()
[all …]
H A DParseCXXInlineMethods.cpp78 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef()
81 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef()
85 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef()
87 Actions.ActOnPureSpecifier(FnD, PureSpecLoc); in ParseCXXInlineMethodDef()
111 Actions.SetDeclDeleted(FnD, KWLoc, Message); in ParseCXXInlineMethodDef()
121 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef()
141 if (SkipFunctionBodies && (!FnD || Actions.canSkipFunctionBody(FnD)) && in ParseCXXInlineMethodDef()
143 Actions.ActOnSkippedFunctionBody(FnD); in ParseCXXInlineMethodDef()
155 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()
158 !Actions.IsInsideALocalClassWithinATemplateFunction())) { in ParseCXXInlineMethodDef()
[all …]
H A DParseOpenMP.cpp109 Sema &Actions = P.getActions(); in parseOpenMPReductionId() local
154 auto &DeclNames = Actions.getASTContext().DeclarationNames; in parseOpenMPReductionId()
161 unsigned OMPVersion = Actions.getLangOpts().OpenMP; in ParseOpenMPDeclareReductionDirective()
198 QualType ReductionType = Actions.OpenMP().ActOnOpenMPDeclareReductionType( in ParseOpenMPDeclareReductionDirective()
240 Actions.OpenMP().ActOnOpenMPDeclareReductionDirectiveStart( in ParseOpenMPDeclareReductionDirective()
241 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, in ParseOpenMPDeclareReductionDirective()
253 Actions.OpenMP().ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective()
254 ExprResult CombinerResult = Actions.ActOnFinishFullExpr( in ParseOpenMPDeclareReductionDirective()
256 Actions.OpenMP().ActOnOpenMPDeclareReductionCombinerEnd( in ParseOpenMPDeclareReductionDirective()
290 Actions.OpenMP().ActOnOpenMPDeclareReductionInitializerStart( in ParseOpenMPDeclareReductionDirective()
[all …]
H A DParseTemplate.cpp26 return Actions.ActOnReenterTemplateScope(D, [&] { in ReenterTemplateScopes()
28 return Actions.getCurScope(); in ReenterTemplateScopes()
117 Actions.ActOnRequiresClause(ParseConstraintLogicalOrExpression( in ParseTemplateDeclarationOrSpecialization()
130 ParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseTemplateDeclarationOrSpecialization()
144 return Actions.ConvertDeclToDeclGroup(ConceptDecl); in ParseTemplateDeclarationOrSpecialization()
170 return Actions.ConvertDeclToDeclGroup( in ParseDeclarationAfterTemplate()
208 Decl *Decl = Actions.ParsedFreeStandingDeclSpec( in ParseDeclarationAfterTemplate()
214 Actions.ActOnDefinedDeclarationSpecifier(Decl); in ParseDeclarationAfterTemplate()
218 return Actions.ConvertDeclToDeclGroup(Decl); in ParseDeclarationAfterTemplate()
222 Actions.ActOnDefinedDeclarationSpecifier(DS.getRepAsDecl()); in ParseDeclarationAfterTemplate()
[all …]
H A DParseDeclCXX.cpp46 Actions.CodeCompletion().CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace()
123 return Actions.ConvertDeclToDeclGroup(NSAlias); in ParseNamespace()
205 Decl *NamespcDecl = Actions.ActOnStartNamespaceDef( in ParseNamespace()
209 PrettyDeclStackTraceEntry CrashInfo(Actions.Context, NamespcDecl, in ParseNamespace()
220 Actions.ActOnFinishNamespaceDef(NamespcDecl, DeclEnd); in ParseNamespace()
222 return Actions.ConvertDeclToDeclGroup(NamespcDecl, in ParseNamespace()
251 Decl *NamespcDecl = Actions.ActOnStartNamespaceDef( in ParseInnerNamespace()
261 Actions.ActOnFinishNamespaceDef(NamespcDecl, Tracker.getCloseLocation()); in ParseInnerNamespace()
274 Actions.CodeCompletion().CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias()
311 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, in ParseNamespaceAlias()
[all …]
H A DParseInit.cpp143 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
160 Actions.CodeCompletion().CodeCompleteDesignator( in ParseInitializerWithPotentialDesignator()
248 switch (Actions.ObjC().getObjCMessageKind( in ParseInitializerWithPotentialDesignator()
352 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator()
362 return Actions.ActOnDesignatedInitializer(Desig, SourceLocation(), false, in ParseInitializerWithPotentialDesignator()
375 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(), in ParseInitializerWithPotentialDesignator()
388 ASTContext &Context = Actions.getASTContext(); in createEmbedExpr()
406 Res = Actions.ActOnEmbedExpr(StartLoc, BinaryDataArg, Data->FileName); in createEmbedExpr()
430 return Actions.ActOnInitList(LBraceLoc, {}, ConsumeBrace()); in ParseBraceInitializer()
435 Actions, EnterExpressionEvaluationContext::InitList); in ParseBraceInitializer()
[all …]
H A DParseDecl.cpp80 return Actions.ActOnTypeName(DeclaratorInfo); in ParseTypeName()
241 Actions.CodeCompletion().CodeCompleteAttribute( in ParseGNUAttributes()
373 IdentifierLoc *IL = new (Actions.Context) in ParseIdentifierLoc()
441 Expr = Actions.ActOnPackExpansion(Expr.get(), ConsumeToken()); in ParseAttributeArgumentList()
458 if (Actions.DiagnoseUnexpandedParameterPack(Expr.get())) { in ParseAttributeArgumentList()
552 Actions, in ParseAttributeArgsCommon()
572 Actions, in ParseAttributeArgsCommon()
685 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs()
902 Actions.CodeCompletion().CodeCompleteAttribute( in ParseMicrosoftDeclSpecs()
1660 auto *SwiftType = new (Actions.Context) in ParseSwiftNewTypeAttribute()
[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()
78 Actions.ProcessDeclAttributeList(Actions.CurScope, D, Attrs); in ParseHLSLBuffer()
92 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
100 Actions.HLSL().ActOnFinishBuffer(D, DeclEnd); in ParseHLSLBuffer()
174 Actions.Context, PP); in ParseHLSLAnnotations()
190 Actions.Context, PP); in ParseHLSLAnnotations()
273 ASTContext &Ctx = Actions.getASTContext(); in ParseHLSLAnnotations()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/Passes/
H A DBottomUpVec.h67 SmallVector<std::unique_ptr<Action>, 16> Actions;
70 auto begin() const { return Actions.begin(); } in begin()
71 auto end() const { return Actions.end(); } in end()
73 ActPtr->Idx = Actions.size(); in push_back()
74 Actions.push_back(std::move(ActPtr)); in push_back()
76 void clear() { Actions.clear(); } in clear()
82 ActionsVector Actions; variable
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DDFAEmitter.cpp50 Actions.insert(A); in addTransition()
60 for (action_type A : Actions) { in visitDfaState()
176 ActionTuple Actions; member in __anon4fed36600211::Transition
182 const ActionTuple &getActions() { return Actions; } in getActions()
194 UniqueVector<ActionTuple> Actions; member in __anon4fed36600211::Automaton
218 const UniqueVector<ActionTuple> &Actions; member in __anon4fed36600211::CustomDfaEmitter
222 CustomDfaEmitter(const UniqueVector<ActionTuple> &Actions, StringRef TypeName) in CustomDfaEmitter() argument
223 : Actions(Actions), TypeName(TypeName) {} in CustomDfaEmitter()
250 Actions.insert(Transitions.back().getActions()); in emit()
253 LLVM_DEBUG(dbgs() << " Action alphabet cardinality: " << Actions.size() in emit()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.h315 SmallVector<SizeAndActionsVec, 1> &Actions = ScalarActions[OpcodeIdx]; in setScalarAction() local
316 setActions(TypeIndex, Actions, SizeAndActions); in setScalarAction()
322 SmallVector<SizeAndActionsVec, 1> &Actions = in setPointerAction() local
324 setActions(TypeIndex, Actions, SizeAndActions); in setPointerAction()
335 SmallVector<SizeAndActionsVec, 1> &Actions = in setScalarInVectorAction() local
337 setActions(TypeIndex, Actions, SizeAndActions); in setScalarInVectorAction()
348 SmallVector<SizeAndActionsVec, 1> &Actions = in setVectorNumElementAction() local
350 setActions(TypeIndex, Actions, SizeAndActions); in setVectorNumElementAction()
415 SmallVector<SizeAndActionsVec, 1> &Actions, in setActions() argument
418 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.cpp53 SmallVectorImpl<ActionEntry> &Actions, in computeActionsTable() argument
106 assert(Actions.size()); in computeActionsTable()
107 PrevAction = Actions.size() - 1; in computeActionsTable()
108 SizeActionEntry = getSLEB128Size(Actions[PrevAction].NextAction) + in computeActionsTable()
109 getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
113 SizeActionEntry -= getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
114 SizeActionEntry += -Actions[PrevAction].NextAction; in computeActionsTable()
115 PrevAction = Actions[PrevAction].Previous; in computeActionsTable()
132 Actions.push_back(Action); in computeActionsTable()
133 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); in size()
227 return FRAL::serialize(OB, FR.Segments, FR.Actions); in serialize()
231 return FRAL::deserialize(IB, FR.Segments, FR.Actions); in deserialize()
263 return FRAL::size(FR.Segments, FR.Actions); in size()
268 return FRAL::serialize(OB, FR.Segments, FR.Actions); in serialize()
273 return FRAL::deserialize(IB, FR.Segments, FR.Actions); in deserialize()
/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