Lines Matching defs:Context
57 RSContext *Context, const clang::FunctionDecl *FD) {
58 slangAssert(Context && FD);
60 clang::ASTContext &C = Context->getASTContext();
61 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
65 if (Context->getTargetAPI() < SLANG_JB_TARGET_API) {
84 return validateAndConstructKernelParams(Context, FD);
207 if (Context->getTargetAPI() < SLANG_ICS_TARGET_API) {
231 bool RSExportForEach::validateAndConstructKernelParams(RSContext *Context,
233 slangAssert(Context && FD);
235 clang::ASTContext &C = Context->getASTContext();
236 clang::DiagnosticsEngine *DiagEngine = Context->getDiagnostics();
238 if (Context->getTargetAPI() < SLANG_JB_MR1_TARGET_API) {
390 RSExportForEach *RSExportForEach::Create(RSContext *Context,
392 slangAssert(Context && FD);
398 FE = new RSExportForEach(Context, Name);
400 if (!FE->validateAndConstructParams(Context, FD)) {
404 clang::ASTContext &Ctx = Context->getASTContext();
416 const clang::ASTContext &C = Context->getASTContext();
448 RSExportType *ET = RSExportType::Create(Context, T.getTypePtr());
466 FE->mInType = RSExportType::Create(Context, T);
474 FE->mOutType = RSExportType::Create(Context, T);
478 FE->mOutType = RSExportType::Create(Context, T);
484 RSExportForEach *RSExportForEach::CreateDummyRoot(RSContext *Context) {
485 slangAssert(Context);
487 RSExportForEach *FE = new RSExportForEach(Context, Name);