Lines Matching refs:getASTContext
39 getASTContext(), LexicalParent, CBuffer, KwLoc, Ident, IdentLoc, LBrace); in ActOnStartBuffer()
106 ASTContext &Context = getASTContext(); in ActOnFinishBuffer()
143 return ::new (getASTContext()) in mergeNumThreadsAttr()
144 HLSLNumThreadsAttr(getASTContext(), AL, X, Y, Z); in mergeNumThreadsAttr()
157 return HLSLShaderAttr::Create(getASTContext(), ShaderType, AL); in mergeShaderAttr()
171 getASTContext(), /*MergedSpelling=*/true, AdjustedRange, in mergeParamModifierAttr()
178 return HLSLParamModifierAttr::Create(getASTContext(), AL); in mergeParamModifierAttr()
182 auto &TargetInfo = getASTContext().getTargetInfo(); in ActOnTopLevelFunction()
200 FD->addAttr(HLSLShaderAttr::CreateImplicit(getASTContext(), Env, in ActOnTopLevelFunction()
302 getASTContext().getTargetInfo().getTriple().getOSVersion(); in handleNumThreadsAttr()
367 D->addAttr(::new (getASTContext()) in handleSV_DispatchThreadIDAttr()
368 HLSLSV_DispatchThreadIDAttr(getASTContext(), AL)); in handleSV_DispatchThreadIDAttr()
392 unsigned Size = getASTContext().getTypeSize(T); in handlePackOffsetAttr()
405 unsigned Align = getASTContext().getTypeAlign(EltTy); in handlePackOffsetAttr()
416 D->addAttr(::new (getASTContext()) HLSLPackOffsetAttr( in handlePackOffsetAttr()
417 getASTContext(), AL, SubComponent, Component)); in handlePackOffsetAttr()
459 D->addAttr(HLSLResourceClassAttr::Create(getASTContext(), RC, ArgLoc)); in handleResourceClassAttr()
528 HLSLResourceBindingAttr::Create(getASTContext(), Slot, Space, AL); in handleResourceBindingAttr()
800 SemaRef.getASTContext().getTargetInfo().getPlatformName(); in FindAvailabilityAttr()
856 const TargetInfo &TI = SemaRef.getASTContext().getTargetInfo(); in CheckDeclAvailability()
889 const TargetInfo &TI = SemaRef.getASTContext().getTargetInfo(); in DiagnoseAvailabilityViolations()
1065 SetElementTypeAsReturnType(&SemaRef, TheCall, getASTContext().BoolTy); in CheckBuiltinFunctionCall()