Lines Matching refs:Actions
60 : 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()
284 Sema &Actions; member
372 PragmaForceCUDAHostDeviceHandler(Sema &Actions) in PragmaForceCUDAHostDeviceHandler()
373 : PragmaHandler("force_cuda_host_device"), Actions(Actions) {} in PragmaForceCUDAHostDeviceHandler()
378 Sema &Actions; member
405 PragmaRISCVHandler(Sema &Actions) in PragmaRISCVHandler()
406 : PragmaHandler("riscv"), Actions(Actions) {} in PragmaRISCVHandler()
411 Sema &Actions; member
460 PCSectionHandler = std::make_unique<PragmaClangSectionHandler>(Actions); in initializePragmaHandlers()
483 MSCommentHandler = std::make_unique<PragmaCommentHandler>(Actions); in initializePragmaHandlers()
487 FloatControlHandler = std::make_unique<PragmaFloatControlHandler>(Actions); in initializePragmaHandlers()
491 std::make_unique<PragmaDetectMismatchHandler>(Actions); in initializePragmaHandlers()
528 std::make_unique<PragmaForceCUDAHostDeviceHandler>(Actions); in initializePragmaHandlers()
532 OptimizeHandler = std::make_unique<PragmaOptimizeHandler>(Actions); in initializePragmaHandlers()
568 RISCVPragmaHandler = std::make_unique<PragmaRISCVHandler>(Actions); in initializePragmaHandlers()
715 Actions.ActOnPragmaUnused(Tok, getCurScope(), UnusedLoc); in HandlePragmaUnused()
724 Actions.ActOnPragmaVisibility(VisType, VisLoc); in HandlePragmaVisibility()
734 Alignment = Actions.ActOnNumericConstant(Info->Alignment); in HandlePragmaPack()
740 Actions.ActOnPragmaPack(PragmaLoc, Info->Action, Info->SlotLabel, in HandlePragmaPack()
751 Actions.ActOnPragmaMSStruct(Kind); in HandlePragmaMSStruct()
760 Actions.ActOnPragmaOptionsAlign(Kind, Tok.getLocation()); in HandlePragmaAlign()
779 Actions.ActOnPragmaDump(getCurScope(), Tok.getLocation(), II); in HandlePragmaDump()
784 Actions, Sema::ExpressionEvaluationContext::Unevaluated); in HandlePragmaDump()
793 Actions.ActOnPragmaDump(E.get()); in HandlePragmaDump()
803 Actions.ActOnPragmaWeakID(Tok.getIdentifierInfo(), PragmaLoc, in HandlePragmaWeak()
817 Actions.ActOnPragmaWeakAlias(WeakName, AliasName, PragmaLoc, in HandlePragmaWeakAlias()
831 Actions.ActOnPragmaRedefineExtname(RedefName, AliasName, RedefLoc, in HandlePragmaRedefineExtname()
860 Actions.ActOnPragmaFPContract(PragmaLoc, FPC); in HandlePragmaFPContract()
876 Actions.ActOnPragmaFloatControl(PragmaLoc, Action, Kind); in HandlePragmaFloatControl()
900 Actions.ActOnPragmaFEnvAccess(PragmaLoc, IsEnabled); in HandlePragmaFEnvAccess()
909 Actions.ActOnPragmaFEnvRound(PragmaLoc, RM); in HandlePragmaFEnvRound()
934 Actions.ActOnPragmaCXLimitedRange(PragmaLoc, Range); in HandlePragmaCXLimitedRange()
951 Actions.ActOnCapturedRegionStart(Loc, getCurScope(), CR_Default, in HandlePragmaCaptured()
958 Actions.ActOnCapturedRegionError(); in HandlePragmaCaptured()
962 return Actions.ActOnCapturedRegionEnd(R.get()); in HandlePragmaCaptured()
980 auto &Opt = Actions.getOpenCLOptions(); in HandlePragmaOpenCLExtension()
1016 Actions.ActOnPragmaMSPointersToMembers(RepresentationMethod, PragmaLoc); in HandlePragmaMSPointersToMembers()
1026 Actions.ActOnPragmaMSVtorDisp(Action, PragmaLoc, Mode); in HandlePragmaMSVtorDisp()
1143 Actions.ActOnPragmaMSSection(PragmaLocation, SectionFlags, SegmentName); in HandlePragmaMSSection()
1225 Actions.ActOnPragmaMSSeg(PragmaLocation, Action, SlotLabel, in HandlePragmaMSSegment()
1261 cast<StringLiteral>(Actions.ActOnStringLiteral(Toks, nullptr).get()); in HandlePragmaMSInitSeg()
1288 Actions.ActOnPragmaMSInitSeg(PragmaLocation, SegmentName); in HandlePragmaMSInitSeg()
1341 Actions.ActOnPragmaMSStrictGuardStackCheck(PragmaLocation, Action, Value); in HandlePragmaMSStrictGuardStackCheck()
1400 Actions.ActOnPragmaMSAllocText(FirstTok.getLocation(), Section, Functions); in HandlePragmaMSAllocText()
1423 Actions.Context, Info->PragmaName.getLocation(), PragmaNameInfo); in HandlePragmaLoopHint()
1431 Actions.Context, Info->Option.getLocation(), OptionInfo); in HandlePragmaLoopHint()
1511 Hint.StateLoc = IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1533 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1557 IdentifierLoc::create(Actions.Context, StateLoc, StateInfo); in HandlePragmaLoopHint()
1574 Actions.CheckLoopHintExpr(R.get(), Toks[0].getLocation(), in HandlePragmaLoopHint()
1600 Actions.CheckLoopHintExpr(R.get(), Toks[0].getLocation(), in HandlePragmaLoopHint()
1886 Actions.ActOnPragmaAttributePop(PragmaLoc, Info->Namespace); in HandlePragmaAttribute()
1896 Actions.ActOnPragmaAttributeEmptyPush(PragmaLoc, Info->Namespace); in HandlePragmaAttribute()
1929 Actions.CodeCompletion().CodeCompleteAttribute( in HandlePragmaAttribute()
2057 Actions.ActOnPragmaAttributeEmptyPush(PragmaLoc, Info->Namespace); in HandlePragmaAttribute()
2060 Actions.ActOnPragmaAttributeAttribute(Attribute, PragmaLoc, in HandlePragmaAttribute()
2328 Actions.ActOnPragmaClangSection( in HandlePragma()
3161 Actions.ActOnPragmaDetectMismatch(DetectMismatchLoc, NameString, ValueString); in HandlePragma()
3241 Actions.ActOnPragmaMSComment(CommentLoc, Kind, ArgumentString); in HandlePragma()
3279 Actions.ActOnPragmaOptimize(IsOn, FirstToken.getLocation()); in HandlePragma()
3490 Actions.ActOnPragmaFPValueChangingOption( in HandlePragmaFP()
3495 Actions.ActOnPragmaFPValueChangingOption( in HandlePragmaFP()
3500 Actions.ActOnPragmaFPContract(Tok.getLocation(), in HandlePragmaFP()
3503 Actions.ActOnPragmaFPExceptions(Tok.getLocation(), in HandlePragmaFP()
3506 Actions.ActOnPragmaFPEvalMethod(Tok.getLocation(), in HandlePragmaFP()
3831 Actions.ActOnPragmaMSFunction(FirstTok.getLocation(), NoBuiltins); in HandlePragmaMSFunction()
3892 Actions.ActOnPragmaMSOptimize(FirstTok.getLocation(), IsOn); in HandlePragmaMSOptimize()
3909 Actions.CUDA().PushForceHostDevice(); in HandlePragma()
3910 else if (!Actions.CUDA().PopForceHostDevice()) in HandlePragma()
4158 Actions.RISCV().DeclareRVVBuiltins = true; in HandlePragma()
4160 Actions.RISCV().DeclareSiFiveVectorBuiltins = true; in HandlePragma()