Home
last modified time | relevance | path

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

123

/external/clang/lib/Parse/
DParseStmt.cpp122 return Actions.ProcessStmtAttributes(Res.get(), Attrs.getList(), Attrs.Range); in ParseStatementOrDeclaration()
176 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Statement); in ParseStatementOrDeclarationAfterAttributes()
217 return Actions.ActOnDeclStmt(Decl, DeclStart, DeclEnd); in ParseStatementOrDeclarationAfterAttributes()
237 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
279 Res = Actions.ActOnFinishFullStmt(Res.get()); in ParseStatementOrDeclarationAfterAttributes()
410 return Actions.ActOnExprStmtError(); in ParseExprStatement()
414 Actions.CheckCaseExpression(Expr.get())) { in ParseExprStatement()
426 return Actions.ActOnExprStmt(Expr); in ParseExprStatement()
465 return Actions.ActOnSEHTryBlock(false /* IsCXXTry */, in ParseSEHTryBlock()
497 FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseSEHExceptBlock()
[all …]
DParseObjc.cpp52 Actions.CodeCompleteObjCAtDirective(getCurScope()); in ParseObjCAtDirectives()
88 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtDirectives()
95 return Actions.ConvertDeclToDeclGroup(SingleDecl); in ParseObjCAtDirectives()
100 Sema &Actions; member in Parser::ObjCTypeParamListScope
105 ObjCTypeParamListScope(Sema &Actions, Scope *S) in ObjCTypeParamListScope() argument
106 : Actions(Actions), S(S), Params(nullptr) {} in ObjCTypeParamListScope()
119 Actions.popObjCTypeParamList(S, Params); in leave()
143 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
160 return Actions.ConvertDeclToDeclGroup(nullptr); in ParseObjCAtClassDeclaration()
162 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration()
[all …]
DParseExpr.cpp150 LHS = Actions.ActOnUnaryOp(getCurScope(), ExtLoc, tok::kw___extension__, in ParseExpressionWithLeadingExtension()
159 Actions.CodeCompleteOrdinaryName(getCurScope(), Sema::PCC_Expression); in ParseAssignmentExpression()
202 EnterExpressionEvaluationContext Unevaluated(Actions, in ParseConstantExpression()
207 return Actions.ActOnConstantExpression(Res); in ParseConstantExpression()
303 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
347 Actions.CodeCompleteAssignmentRHS(getCurScope(), LHS.get()); in ParseRHSOfBinaryExpression()
375 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
377 TernaryMiddle = Actions.CorrectDelayedTyposInExpr(TernaryMiddle); in ParseRHSOfBinaryExpression()
397 << /*LHS*/0 << PP.getSpelling(Tok) << Actions.getExprRange(RHS.get()); in ParseRHSOfBinaryExpression()
412 Actions.CorrectDelayedTyposInExpr(LHS); in ParseRHSOfBinaryExpression()
[all …]
DParser.cpp72 : PP(pp), Actions(actions), Diags(PP.getDiagnostics()), in Parser()
79 Actions.CurScope = nullptr; in Parser()
228 Actions.getASTContext().getPrintingPolicy()) in ConsumeExtraSemi()
377 Actions.CurScope = N; in EnterScope()
379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
389 Actions.ActOnPopScope(Tok.getLocation(), getCurScope()); in ExitScope()
392 Actions.CurScope = OldScope->getParent(); in ExitScope()
426 Actions.CurScope = nullptr; in ~Parser()
456 Actions.ActOnTranslationUnitScope(getCurScope()); in Initialize()
527 Actions.Initialize(); in Initialize()
[all …]
DParseCXXInlineMethods.cpp42 FnD = Actions.ActOnFriendFunctionDecl(getCurScope(), D, in ParseCXXInlineMethodDef()
45 FnD = Actions.ActOnCXXMemberDeclarator(getCurScope(), AS, D, in ParseCXXInlineMethodDef()
49 Actions.ProcessDeclAttributeList(getCurScope(), FnD, AccessAttrs); in ParseCXXInlineMethodDef()
51 Actions.ActOnPureSpecifier(FnD, PureSpecLoc); in ParseCXXInlineMethodDef()
74 Actions.SetDeclDeleted(FnD, KWLoc); in ParseCXXInlineMethodDef()
84 Actions.SetDeclDefaulted(FnD, KWLoc); in ParseCXXInlineMethodDef()
104 if (SkipFunctionBodies && (!FnD || Actions.canSkipFunctionBody(FnD)) && in ParseCXXInlineMethodDef()
106 Actions.ActOnSkippedFunctionBody(FnD); in ParseCXXInlineMethodDef()
118 ((Actions.CurContext->isDependentContext() || in ParseCXXInlineMethodDef()
121 !Actions.IsInsideALocalClassWithinATemplateFunction())) { in ParseCXXInlineMethodDef()
[all …]
DParseExprCXX.cpp94 if (!Actions.isTemplateName(getCurScope(), SS, /*hasTemplateKeyword=*/false, in CheckForTemplateAndDigraph()
199 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier()
237 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
253 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
268 if (Actions.ActOnCXXNestedNameSpecifierDecltype(SS, DS, CCLoc)) in ParseOptionalCXXScopeSpecifier()
291 Actions.CodeCompleteQualifiedId(getCurScope(), SS, EnteringContext); in ParseOptionalCXXScopeSpecifier()
358 = Actions.ActOnDependentTemplateName(getCurScope(), in ParseOptionalCXXScopeSpecifier()
399 if (Actions.ActOnCXXNestedNameSpecifier(getCurScope(), in ParseOptionalCXXScopeSpecifier()
434 if (Actions.IsInvalidUnlessNestedName(getCurScope(), SS, II, in ParseOptionalCXXScopeSpecifier()
462 !Actions.isNonTypeNestedNameSpecifier( in ParseOptionalCXXScopeSpecifier()
[all …]
DParseOpenMP.cpp145 Sema &Actions = P.getActions(); in parseOpenMPReductionId() local
189 auto &DeclNames = Actions.getASTContext().DeclarationNames; in parseOpenMPReductionId()
242 Actions.ActOnOpenMPDeclareReductionType(Range.getBegin(), TR); in ParseOpenMPDeclareReductionDirective()
282 DeclGroupPtrTy DRD = Actions.ActOnOpenMPDeclareReductionDirectiveStart( in ParseOpenMPDeclareReductionDirective()
283 getCurScope(), Actions.getCurLexicalContext(), Name, ReductionTypes, AS); in ParseOpenMPDeclareReductionDirective()
293 Actions.ActOnOpenMPDeclareReductionCombinerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective()
295 Actions.ActOnFinishFullExpr(ParseAssignmentExpression().get(), in ParseOpenMPDeclareReductionDirective()
297 Actions.ActOnOpenMPDeclareReductionCombinerEnd(D, CombinerResult.get()); in ParseOpenMPDeclareReductionDirective()
328 Actions.ActOnOpenMPDeclareReductionInitializerStart(getCurScope(), D); in ParseOpenMPDeclareReductionDirective()
329 InitializerResult = Actions.ActOnFinishFullExpr( in ParseOpenMPDeclareReductionDirective()
[all …]
DParseDecl.cpp70 return Actions.ActOnTypeName(getCurScope(), DeclaratorInfo); in ParseTypeName()
235 IdentifierLoc *IL = IdentifierLoc::create(Actions.Context, in ParseIdentifierLoc()
307 new EnterExpressionEvaluationContext(Actions, Sema::Unevaluated)); in ParseAttributeArgsCommon()
310 Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression())); in ParseAttributeArgsCommon()
378 Actions.ActOnReenterCXXMethodParameter(getCurScope(), Param); in ParseGNUAttributeArgs()
1165 Actions.ActOnReenterTemplateScope(getCurScope(), Class.TagOrTemplate); in ParseLexedAttributes()
1175 Actions.ActOnStartDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes()
1184 Actions.ActOnFinishDelayedMemberDeclarations(getCurScope(), in ParseLexedAttributes()
1234 Sema::CXXThisScopeRAII ThisScope(Actions, RD, /*TypeQuals=*/0, in ParseLexedAttribute()
1242 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute()
[all …]
DParseTemplate.cpp132 Actions.CorrectDelayedTyposInExpr(ParseConstraintExpression()); in ParseTemplateDeclarationOrSpecialization()
144 ParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseTemplateDeclarationOrSpecialization()
215 Decl *Decl = Actions.ParsedFreeStandingDeclSpec( in ParseSingleDeclarationAfterTemplate()
287 FakedParamLists.push_back(Actions.ActOnTemplateParameterList( in ParseSingleDeclarationAfterTemplate()
548 return Actions.ActOnTypeParameter(getCurScope(), TypenameKeyword, EllipsisLoc, in ParseTypeParameter()
637 Actions.ActOnTemplateParameterList(Depth, SourceLocation(), in ParseTemplateTemplateParameter()
657 return Actions.ActOnTemplateTemplateParameter(getCurScope(), TemplateLoc, in ParseTemplateTemplateParameter()
702 EnterExpressionEvaluationContext ConstantEvaluated(Actions, in ParseNonTypeTemplateParameter()
705 DefaultArg = Actions.CorrectDelayedTyposInExpr(ParseAssignmentExpression()); in ParseNonTypeTemplateParameter()
711 return Actions.ActOnNonTypeTemplateParameter(getCurScope(), ParamDecl, in ParseNonTypeTemplateParameter()
[all …]
DParseDeclCXX.cpp66 Actions.CodeCompleteNamespaceDecl(getCurScope()); in ParseNamespace()
120 return Actions.ConvertDeclToDeclGroup(NSAlias); in ParseNamespace()
186 Actions.ActOnStartNamespaceDef(getCurScope(), InlineLoc, NamespaceLoc, in ParseNamespace()
190 PrettyDeclStackTraceEntry CrashInfo(Actions, NamespcDecl, NamespaceLoc, in ParseNamespace()
202 Actions.ActOnFinishNamespaceDef(NamespcDecl, DeclEnd); in ParseNamespace()
204 return Actions.ConvertDeclToDeclGroup(NamespcDecl, in ParseNamespace()
237 Actions.ActOnStartNamespaceDef(getCurScope(), SourceLocation(), in ParseInnerNamespace()
248 Actions.ActOnFinishNamespaceDef(NamespcDecl, Tracker.getCloseLocation()); in ParseInnerNamespace()
263 Actions.CodeCompleteNamespaceAliasDecl(getCurScope()); in ParseNamespaceAlias()
288 return Actions.ActOnNamespaceAliasDef(getCurScope(), NamespaceLoc, AliasLoc, in ParseNamespaceAlias()
[all …]
DParseInit.cpp155 return Actions.ActOnDesignatedInitializer(D, ColonLoc, true, in ParseInitializerWithPotentialDesignator()
253 switch (Actions.getObjCMessageKind( in ParseInitializerWithPotentialDesignator()
355 return Actions.ActOnDesignatedInitializer(Desig, EqualLoc, false, in ParseInitializerWithPotentialDesignator()
368 return Actions.ActOnDesignatedInitializer(Desig, Tok.getLocation(), in ParseInitializerWithPotentialDesignator()
405 return Actions.ActOnInitList(LBraceLoc, None, ConsumeBrace()); in ParseBraceInitializer()
433 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseBraceInitializer()
435 SubElt = Actions.CorrectDelayedTyposInExpr(SubElt.get()); in ParseBraceInitializer()
470 return Actions.ActOnInitList(LBraceLoc, InitExprs, in ParseBraceInitializer()
518 SubElt = Actions.ActOnPackExpansion(SubElt.get(), ConsumeToken()); in ParseMicrosoftIfExistsBraceInitializer()
DParsePragma.cpp103 PragmaCommentHandler(Sema &Actions) in PragmaCommentHandler()
104 : PragmaHandler("comment"), Actions(Actions) {} in PragmaCommentHandler()
108 Sema &Actions; member
112 PragmaDetectMismatchHandler(Sema &Actions) in PragmaDetectMismatchHandler()
113 : PragmaHandler("detect_mismatch"), Actions(Actions) {} in PragmaDetectMismatchHandler()
117 Sema &Actions; member
141 : PragmaHandler("optimize"), Actions(S) {} in PragmaOptimizeHandler()
145 Sema &Actions; member
207 MSCommentHandler.reset(new PragmaCommentHandler(Actions)); in initializePragmaHandlers()
212 MSDetectMismatchHandler.reset(new PragmaDetectMismatchHandler(Actions)); in initializePragmaHandlers()
[all …]
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()
DParseStmtAsm.cpp229 Result = Actions.LookupInlineAsmIdentifier(SS, TemplateKWLoc, Id, Info, in ParseMSAsmIdentifier()
242 Result = Actions.LookupInlineAsmVarDeclField(Result.get(), Id->getName(), in ParseMSAsmIdentifier()
530 const llvm::Triple &TheTriple = Actions.Context.getTargetInfo().getTriple(); in ParseMicrosoftAsmStatement()
550 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLocs[0], AsmToks, StringRef(), in ParseMicrosoftAsmStatement()
561 TargetOptions TO = Actions.Context.getTargetInfo().getTargetOpts(); in ParseMicrosoftAsmStatement()
638 Actions.BuildUnaryOp(getCurScope(), AsmLoc, UO_AddrOf, OpExpr).get(); in ParseMicrosoftAsmStatement()
645 return Actions.ActOnMSAsmStmt(AsmLoc, LBraceLocs[0], AsmToks, AsmStringIR, in ParseMicrosoftAsmStatement()
733 return Actions.ActOnGCCAsmStmt(AsmLoc, /*isSimple*/ true, isVolatile, in ParseAsmStatement()
793 return Actions.ActOnGCCAsmStmt( in ParseAsmStatement()
854 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression()); in ParseAsmOperandsOpt()
/external/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp51 SmallVectorImpl<ActionEntry> &Actions, in computeActionsTable() argument
107 assert(Actions.size()); in computeActionsTable()
108 PrevAction = Actions.size() - 1; in computeActionsTable()
109 SizeAction = getSLEB128Size(Actions[PrevAction].NextAction) + in computeActionsTable()
110 getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
114 SizeAction -= getSLEB128Size(Actions[PrevAction].ValueForTypeID); in computeActionsTable()
115 SizeAction += -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 …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfException.cpp77 SmallVectorImpl<ActionEntry> &Actions, in ComputeActionsTable() argument
133 assert(Actions.size()); in ComputeActionsTable()
134 PrevAction = Actions.size() - 1; in ComputeActionsTable()
136 MCAsmInfo::getSLEB128Size(Actions[PrevAction].NextAction) + in ComputeActionsTable()
137 MCAsmInfo::getSLEB128Size(Actions[PrevAction].ValueForTypeID); in ComputeActionsTable()
142 MCAsmInfo::getSLEB128Size(Actions[PrevAction].ValueForTypeID); in ComputeActionsTable()
143 SizeAction += -Actions[PrevAction].NextAction; in ComputeActionsTable()
144 PrevAction = Actions[PrevAction].Previous; in ComputeActionsTable()
160 Actions.push_back(Action); in ComputeActionsTable()
161 PrevAction = Actions.size() - 1; in ComputeActionsTable()
[all …]
/external/clang/include/clang/Sema/
DDesignator.h171 void ClearExprs(Sema &Actions) {} in ClearExprs() argument
175 void FreeExprs(Sema &Actions) {} in FreeExprs() argument
201 void ClearExprs(Sema &Actions) {} in ClearExprs() argument
205 void FreeExprs(Sema &Actions) {} in FreeExprs() argument
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dfold-call-3.ll10 …RawPointerPerformanceTestPvRN5clang6ActionE(i8* %Val, %"struct.clang::Action"* %Actions) nounwind {
18 …%3 = getelementptr %"struct.clang::Action"* %Actions, i64 0, i32 0, i32 0 ; <i32 (...)***> [#uses…
32 …%10 = call { i64, i64 } %9(%"struct.clang::Action"* %Actions, i8* %Val_addr.02) nounwind ; <{ i64…
/external/llvm/test/CodeGen/X86/
Dfold-call-3.ll10 …RawPointerPerformanceTestPvRN5clang6ActionE(i8* %Val, %"struct.clang::Action"* %Actions) nounwind {
18 …%3 = getelementptr %"struct.clang::Action", %"struct.clang::Action"* %Actions, i64 0, i32 0, i32 0…
32 …%10 = call { i64, i64 } %9(%"struct.clang::Action"* %Actions, i8* %Val_addr.02) nounwind ; <{ i64…
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITDwarfEmitter.cpp239 SmallVector<ActionEntry, 32> Actions; in EmitExceptionTable() local
257 assert(Actions.size()); in EmitExceptionTable()
258 PrevAction = &Actions.back(); in EmitExceptionTable()
280 Actions.push_back(Action); in EmitExceptionTable()
282 PrevAction = &Actions.back(); in EmitExceptionTable()
443 for (unsigned I = 0, N = Actions.size(); I != N; ++I) { in EmitExceptionTable()
444 ActionEntry &Action = Actions[I]; in EmitExceptionTable()
/external/clang/include/clang/Driver/
DCompilation.h66 ActionList Actions; variable
154 ActionList &getActions() { return Actions; } in getActions()
155 const ActionList &getActions() const { return Actions; } in getActions()
/external/autotest/server/cros/cfm/configurable_test/
DREADME.md33 ## Actions section in Configurable CfM Tests
40 Besides Actions, a test can be configured with configuration params that affect
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp1018 SmallVectorImpl<UDivFoldAction> &Actions, in visitUDivOperand() argument
1023 Actions.push_back(UDivFoldAction(foldUDivPow2Cst, Op1)); in visitUDivOperand()
1024 return Actions.size(); in visitUDivOperand()
1030 Actions.push_back(UDivFoldAction(foldUDivNegCst, C)); in visitUDivOperand()
1031 return Actions.size(); in visitUDivOperand()
1037 Actions.push_back(UDivFoldAction(foldUDivShl, Op1)); in visitUDivOperand()
1038 return Actions.size(); in visitUDivOperand()
1047 visitUDivOperand(Op0, SI->getOperand(1), I, Actions, Depth)) in visitUDivOperand()
1048 if (visitUDivOperand(Op0, SI->getOperand(2), I, Actions, Depth)) { in visitUDivOperand()
1049 Actions.push_back(UDivFoldAction(nullptr, Op1, LHSIdx - 1)); in visitUDivOperand()
[all …]
/external/clang/lib/Driver/
DDriver.cpp1083 ActionList &Actions = C.getActions(); in BuildUniversalActions() local
1134 Actions.append(Inputs.begin(), Inputs.end()); in BuildUniversalActions()
1136 Actions.push_back(C.MakeAction<LipoJobAction>(Inputs, Act->getType())); in BuildUniversalActions()
1142 ContainsCompileOrAssembleAction(Actions.back())) { in BuildUniversalActions()
1150 Inputs.push_back(Actions.back()); in BuildUniversalActions()
1151 Actions.pop_back(); in BuildUniversalActions()
1152 Actions.push_back( in BuildUniversalActions()
1158 Action* LastAction = Actions.back(); in BuildUniversalActions()
1159 Actions.pop_back(); in BuildUniversalActions()
1160 Actions.push_back(C.MakeAction<VerifyDebugInfoJobAction>( in BuildUniversalActions()
[all …]
/external/clang/include/clang/Parse/
DParser.h80 Sema &Actions; variable
247 Parser(Preprocessor &PP, Sema &Actions, bool SkipFunctionBodies);
253 Sema &getActions() const { return Actions; } in getActions()
257 Scope *getCurScope() const { return Actions.getCurScope(); } in getCurScope()
259 return Actions.incrementMSManglingNumber(); in incrementMSManglingNumber()
262 Decl *getObjCDeclContext() const { return Actions.getObjCDeclContext(); } in getObjCDeclContext()
319 return Actions.getNullabilityKeyword(nullability); in getNullabilityKeyword()
742 P.Actions.ActOnObjCTemporaryExitContainerContext(cast<DeclContext>(DC)); in ObjCDeclContextSwitch()
746 P.Actions.ActOnObjCReenterContainerContext(cast<DeclContext>(DC)); in ~ObjCDeclContextSwitch()
2312 if (!P.Actions.ActOnCXXEnterDeclaratorScope(P.getCurScope(), SS)) in EnterDeclaratorScope()
[all …]

123