Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseExpr.cpp226 return Actions.ActOnCaseExpr(CaseLoc, Res); in ParseCaseExpression()
241 Actions.CorrectDelayedTyposInExpr(Res); in ParseConstraintExpression()
311 Actions.CorrectDelayedTyposInExpr(E); in ParseConstraintLogicalAndExpression()
323 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalAndExpression()
329 Actions.CorrectDelayedTyposInExpr(RHS); in ParseConstraintLogicalAndExpression()
330 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalAndExpression()
358 Actions.CorrectDelayedTyposInExpr(LHS); in ParseConstraintLogicalOrExpression()
1252 Res = Actions.ActOnIdExpression( in ParseCastExpression()
2849 Actions.CodeCompleteExpression( in ParseParenExpression()
2895 Actions.ActOnStartStmtExpr(); in ParseParenExpression()
[all …]
H A DParseObjc.cpp99 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()
172 Decl *Decl = Actions.getObjCDeclContext(); in CheckNestedObjCContexts()
176 Actions.ActOnAtEnd(getCurScope(), AtLoc); in CheckNestedObjCContexts()
1157 Actions.CodeCompleteObjCPassingType( in ParseObjCTypeQualifierList()
1987 Decl *Field = Actions.ActOnIvar( in ParseObjCClassInstanceVariables()
2355 Actions.ActOnPropertyImplDecl( in ParseObjCPropertySynthesize()
2417 Actions.ActOnPropertyImplDecl( in ParseObjCPropertyDynamic()
[all …]
H A DParseStmt.cpp517 return Actions.ActOnExprStmtError(); in ParseExprStatement()
645 Actions.ActOnStartSEHFinallyBlock(); in ParseSEHFinallyBlock()
649 Actions.ActOnAbortSEHFinallyBlock(); in ParseSEHFinallyBlock()
724 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
1081 E = Actions.ActOnStmtExprResult(E); in handleExprStmt()
1520 Actions, Context, nullptr, in ParseIfStatement()
1565 Actions, Context, nullptr, in ParseIfStatement()
1860 Cond = Actions.CreateRecoveryExpr( in ParseDoStatement()
1862 Actions.getASTContext().BoolTy); in ParseDoStatement()
1964 FullExprArg ThirdPart(Actions); in ParseForStatement()
[all …]
H A DParseExprCXX.cpp610 E = Actions.ActOnIdExpression( in tryParseCXXIdExpression()
1253 Actions.PushLambdaScope(); in ParseLambdaExpressionAfterIntroducer()
1835 return Actions.ActOnCXXThis(ThisLoc); in ParseCXXThis()
2198 DS.Finish(Actions, Policy); in ParseCXXSimpleTypeSpecifier()
2213 DS.Finish(Actions, Policy); in ParseCXXSimpleTypeSpecifier()
2297 return DS.Finish(Actions, Policy); in ParseCXXSimpleTypeSpecifier()
2302 DS.Finish(Actions, Policy); in ParseCXXSimpleTypeSpecifier()
2307 DS.Finish(Actions, Policy); in ParseCXXSimpleTypeSpecifier()
2323 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseCXXTypeSpecifierSeq()
2443 TNK = Actions.ActOnTemplateName( in ParseUnqualifiedIdTemplateId()
[all …]
H A DParser.cpp59 Actions.CurScope = nullptr; in Parser()
408 Actions.CurScope = N; in EnterScope()
423 Actions.CurScope = OldScope->getParent(); in ExitScope()
457 Actions.CurScope = nullptr; in ~Parser()
562 Actions.Initialize(); in Initialize()
586 Actions.ActOnStartOfTranslationUnit(); in ParseFirstTopLevelDecl()
711 Actions.ActOnEndOfTranslationUnit(); in ParseTopLevelDecl()
915 Actions.CodeCompleteOrdinaryName( in ParseExternalDeclaration()
1164 return Actions.ConvertDeclToDeclGroup( in ParseDeclOrFunctionDefInternal()
1269 Actions.canDelayFunctionBody(D)) { in ParseFunctionDefinition()
[all …]
H A DParseCXXInlineMethods.cpp71 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef()
81 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef()
103 Actions.ActOnSkippedFunctionBody(FnD); in ParseCXXInlineMethodDef()
115 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()
125 Actions.CheckForFunctionRedefinition(FD); in ParseCXXInlineMethodDef()
182 Actions.CheckForFunctionRedefinition(FD); in ParseCXXInlineMethodDef()
387 Actions, in ParseLexedMethodDeclaration()
587 Actions.ActOnDefaultCtorInitializers(LM.D); in ParseLexedMethodDef()
607 Actions.ActOnFinishInlineFunctionDef(FD); in ParseLexedMethodDef()
742 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
[all …]
H A DParseOpenMP.cpp225 Sema &Actions = P.getActions(); in parseOpenMPReductionId() local
608 Actions.StartOpenMPClause(CKind); in ParseOpenMPDeclareMapperDirective()
618 Actions.EndOpenMPClause(); in ParseOpenMPDeclareMapperDirective()
627 Actions.EndOpenMPDSABlock(nullptr); in ParseOpenMPDeclareMapperDirective()
680 Sema &Actions = P.getActions(); in FNContextRAII() local
695 Actions.ActOnReenterFunctionContext(Actions.getCurScope(), D); in FNContextRAII()
2123 Actions.EndOpenMPClause(); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2158 Actions.EndOpenMPClause(); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2164 Actions.EndOpenMPClause(); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
2855 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective()
[all …]
H A DParseInit.cpp187 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
291 switch (Actions.getObjCMessageKind( in ParseInitializerWithPotentialDesignator()
395 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, 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()
468 PreferredType = Actions.ProduceConstructorSignatureHelp( in ParseBraceInitializer()
500 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseBraceInitializer()
502 SubElt = Actions.CorrectDelayedTyposInExpr(SubElt.get()); in ParseBraceInitializer()
537 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
[all …]
H A DParseTemplate.cpp30 return Actions.ActOnReenterTemplateScope(D, [&] { in ReenterTemplateScopes()
32 return Actions.getCurScope(); in ReenterTemplateScopes()
233 Decl *Decl = Actions.ParsedFreeStandingDeclSpec( in ParseSingleDeclarationAfterTemplate()
1435 : Actions.ActOnTemplateIdType( in AnnotateTemplateIdTokenAsType()
1518 TemplateNameKind TNK = Actions.isTemplateName( in ParseTemplateTemplateArgument()
1688 Actions, Actions.Context.getTranslationUnitDecl()); in ParseLateTemplatedFuncDef()
1705 Actions.PushDeclContext(Actions.getCurScope(), DC); in ParseLateTemplatedFuncDef()
1736 Actions.ActOnDefaultCtorInitializers(LPT.D); in ParseLateTemplatedFuncDef()
1746 Actions.UnmarkAsLateParsedTemplate(FunD); in ParseLateTemplatedFuncDef()
1811 Actions.diagnoseExprIntendedAsTemplateName( in checkPotentialAngleBracket()
[all …]
H A DParseDeclCXX.cpp483 Actions.CodeCompleteUsing(getCurScope()); in ParseUsingDirectiveOrDeclaration()
719 return Actions.ConvertDeclToDeclGroup(UED); in ParseUsingDeclaration()
1292 ParsedType Type = Actions.getTypeName( in ParseBaseTypeSpecifier()
1672 Actions.ActOnUndeclaredTypeTemplateName( in ParseClassSpecifier()
1981 TagOrTempResult = Actions.ActOnTag( in ParseClassSpecifier()
3020 Actions.FinalizeDeclaration(ThisDecl); in ParseCXXClassMemberDeclaration()
3537 Actions.ActOnFinishCXXMemberDecls(); in ParseCXXMemberSpecification()
3545 Actions.ActOnFinishCXXNonNestedClass(); in ParseCXXMemberSpecification()
3752 return Actions.ActOnMemInitializer( in ParseMemInitializer()
4035 return Actions.PushParsingClass(); in PushParsingClass()
[all …]
H A DParseDecl.cpp429 Actions, in ParseAttributeArgsCommon()
448 Actions, Uneval in ParseAttributeArgsCommon()
2160 Actions.startOpenMPCXXRangeFor(); in ParseDeclGroup()
2556 Actions.FinalizeDeclaration(ThisDecl); in ParseDeclarationAfterDeclaratorAndAttributes()
3230 DS.Finish(Actions, Policy); in ParseDeclarationSpecifiers()
4872 Decl *TagDecl = Actions.ActOnTag( in ParseEnumSpecifier()
5800 DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy()); in ParseTypeQualifierListOpt()
5983 Actions.runWithSufficientStackSpace( in ParseDeclaratorInternal()
6029 Actions.runWithSufficientStackSpace( in ParseDeclaratorInternal()
6650 ThisScope.emplace(Actions, dyn_cast<CXXRecordDecl>(Actions.CurContext), Q, in InitCXXThisScopeForDeclaratorIfRelevant()
[all …]
H A DParsePragma.cpp60 Sema &Actions; member
182 : PragmaHandler("comment"), Actions(Actions) {} in PragmaCommentHandler()
187 Sema &Actions; member
192 : PragmaHandler("detect_mismatch"), Actions(Actions) {} in PragmaDetectMismatchHandler()
197 Sema &Actions; member
233 Sema &Actions; member
322 : PragmaHandler("force_cuda_host_device"), Actions(Actions) {} in PragmaForceCUDAHostDeviceHandler()
327 Sema &Actions; member
354 PragmaRISCVHandler(Sema &Actions) in PragmaRISCVHandler()
355 : PragmaHandler("riscv"), Actions(Actions) {} in PragmaRISCVHandler()
[all …]
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()
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()
865 return Actions.ActOnGCCAsmStmt(AsmLoc, false, GAQ.isVolatile(), NumOutputs, in ParseAsmStatement()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DDFAEmitter.cpp49 Actions.insert(A); in addTransition()
59 for (action_type A : Actions) { in visitDfaState()
202 ActionTuple Actions; member in __anon8900ab900211::Transition
208 const ActionTuple &getActions() { return Actions; } in getActions()
220 UniqueVector<ActionTuple> Actions; member in __anon8900ab900211::Automaton
244 const UniqueVector<ActionTuple> &Actions; member in __anon8900ab900211::CustomDfaEmitter
249 : Actions(Actions), TypeName(TypeName) {} in CustomDfaEmitter()
276 Actions.insert(Transitions.back().getActions()); in emit()
345 Actions.emplace_back(R->getValueAsDef(A), 0, ""); in Transition()
348 Actions.emplace_back(nullptr, R->getValueAsInt(A), ""); in Transition()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/GlobalISel/
H A DLegacyLegalizerInfo.h324 setActions(TypeIndex, Actions, SizeAndActions); in setScalarAction()
333 SmallVector<SizeAndActionsVec, 1> &Actions = in setPointerAction() local
335 setActions(TypeIndex, Actions, SizeAndActions); in setPointerAction()
346 SmallVector<SizeAndActionsVec, 1> &Actions = in setScalarInVectorAction() local
348 setActions(TypeIndex, Actions, SizeAndActions); in setScalarInVectorAction()
362 SmallVector<SizeAndActionsVec, 1> &Actions = in setVectorNumElementAction() local
364 setActions(TypeIndex, Actions, SizeAndActions); in setVectorNumElementAction()
429 SmallVector<SizeAndActionsVec, 1> &Actions, in setActions() argument
432 if (Actions.size() <= TypeIndex) in setActions()
433 Actions.resize(TypeIndex + 1); in setActions()
[all …]
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DMatchSwitch.h87 Actions.push_back( in CaseOf()
95 return [Matcher = BuildMatcher(), Actions = std::move(Actions)]( in Build()
106 Index < Actions.size()) { in Build()
107 return Actions[Index]( in Build()
147 Actions; variable
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DEHStreamer.cpp55 SmallVectorImpl<ActionEntry> &Actions, in computeActionsTable() argument
108 assert(Actions.size()); in computeActionsTable()
109 PrevAction = Actions.size() - 1; in computeActionsTable()
116 SizeActionEntry += -Actions[PrevAction].NextAction; in computeActionsTable()
117 PrevAction = Actions[PrevAction].Previous; in computeActionsTable()
134 Actions.push_back(Action); in computeActionsTable()
135 PrevAction = Actions.size() - 1; in computeActionsTable()
396 SmallVector<ActionEntry, 32> Actions; in emitExceptionTable() local
398 computeActionsTable(LandingPads, Actions, FirstActions); in emitExceptionTable()
533 for (const ActionEntry &Action : Actions) { in emitExceptionTable()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DTargetProcessControlTypes.h82 shared::AllocActions Actions; member
93 shared::AllocActions Actions; member
212 return FRAL::size(FR.Segments, FR.Actions); in size()
217 return FRAL::serialize(OB, FR.Segments, FR.Actions); in serialize()
221 return FRAL::deserialize(IB, FR.Segments, FR.Actions); in deserialize()
253 return FRAL::size(FR.Segments, FR.Actions); in size()
258 return FRAL::serialize(OB, FR.Segments, FR.Actions); in serialize()
263 return FRAL::deserialize(IB, FR.Segments, FR.Actions); in deserialize()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DDesignator.h175 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
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DLSPClient.cpp79 Actions.push(std::move(Action)); in enqueue()
123 CV.wait(Lock, [&] { return !Actions.empty(); }); in loop()
124 if (!Actions.front()) // Stop! in loop()
126 auto Action = std::move(Actions.front()); in loop()
127 Actions.pop(); in loop()
136 std::queue<std::function<void(Transport::MessageHandler &)>> Actions; member in clang::clangd::LSPClient::TransportImpl
/llvm-project-15.0.7/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()

123