Lines Matching defs:Context

38     RSContext *Context, const clang::FunctionDecl *FD) {
39 slangAssert(Context && FD);
44 if (Context->getTargetAPI() < SLANG_JB_TARGET_API) {
47 Context->ReportError(FD->getLocation(),
60 valid |= validateAndConstructKernelParams(Context, FD);
62 valid |= validateAndConstructOldStyleParams(Context, FD);
65 valid |= setSignatureMetadata(Context, FD);
70 RSContext *Context, const clang::FunctionDecl *FD) {
71 slangAssert(Context && FD);
78 clang::ASTContext &C = Context->getASTContext();
80 Context->ReportError(FD->getLocation(),
91 valid |= validateIterationParameters(Context, FD, &IndexOfFirstIterator);
100 Context->ReportError(PVD->getLocation(),
114 Context->ReportError(PVD->getLocation(),
127 Context->ReportError(
137 Context->ReportError(FD->getLocation(),
148 RSContext *Context, const clang::FunctionDecl *FD) {
149 slangAssert(Context && FD);
151 clang::ASTContext &C = Context->getASTContext();
153 if (Context->getTargetAPI() < SLANG_JB_MR1_TARGET_API) {
154 Context->ReportError(FD->getLocation(),
168 Context->ReportError(
179 valid |= validateIterationParameters(Context, FD, &IndexOfFirstIterator);
190 if (Context->getTargetAPI() == SLANG_DEVELOPMENT_TARGET_API || i == 0) {
193 Context->ReportError(PVD->getLocation(),
203 Context->ReportError(PVD->getLocation(),
213 Context->ReportError(FD->getLocation(),
228 RSContext *Context, const clang::FunctionDecl *FD,
232 clang::ASTContext &C = Context->getASTContext();
245 Context->ReportError(PVD->getLocation(),
257 Context->ReportError(PVD->getLocation(),
269 Context->ReportError(PVD->getLocation(),
286 Context->ReportError(mY->getLocation(),
296 bool RSExportForEach::setSignatureMetadata(RSContext *Context,
318 if (Context->getTargetAPI() < SLANG_ICS_TARGET_API) {
326 Context->ReportError(FD->getLocation(),
337 RSExportForEach *RSExportForEach::Create(RSContext *Context,
339 slangAssert(Context && FD);
345 FE = new RSExportForEach(Context, Name);
347 if (!FE->validateAndConstructParams(Context, FD)) {
351 clang::ASTContext &Ctx = Context->getASTContext();
362 const clang::ASTContext &C = Context->getASTContext();
394 RSExportType *ET = RSExportType::Create(Context, T.getTypePtr());
414 RSExportType *InExportType = RSExportType::Create(Context, T);
426 FE->mOutType = RSExportType::Create(Context, T);
430 FE->mOutType = RSExportType::Create(Context, T);
436 RSExportForEach *RSExportForEach::CreateDummyRoot(RSContext *Context) {
437 slangAssert(Context);
439 RSExportForEach *FE = new RSExportForEach(Context, Name);
471 slang::RSContext* Context,
473 slangAssert(Context && FD);
478 Context->ReportError(FD->getLocation(),
521 slang::RSContext *Context,
523 slangAssert(Context && FD);
534 Context->ReportError(PVD->getLocation(),
544 Context->ReportError(FD->getLocation(),
551 Context->ReportError(FD->getLocation(),
559 Context->ReportError(FD->getLocation(),