Home
last modified time | relevance | path

Searched refs:RSExportForEach (Results 1 – 12 of 12) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_export_foreach.cpp54 bool RSExportForEach::validateAndConstructParams( in validateAndConstructParams()
86 bool RSExportForEach::validateAndConstructOldStyleParams( in validateAndConstructOldStyleParams()
164 bool RSExportForEach::validateAndConstructKernelParams( in validateAndConstructKernelParams()
253 bool RSExportForEach::processSpecialParameters( in processSpecialParameters()
268 bool RSExportForEach::setSignatureMetadata(RSContext *Context, in setSignatureMetadata()
309 RSExportForEach *RSExportForEach::Create(RSContext *Context, in Create()
313 RSExportForEach *FE; in Create()
317 FE = new RSExportForEach(Context, Name, FD->getLocation()); in Create()
426 RSExportForEach *RSExportForEach::CreateDummyRoot(RSContext *Context) { in CreateDummyRoot()
429 RSExportForEach *FE = new RSExportForEach(Context, Name, clang::SourceLocation()); in CreateDummyRoot()
[all …]
Dslang_rs_export_foreach.h38 class RSExportForEach : public RSExportable {
75 RSExportForEach(RSContext *Context, const llvm::StringRef &Name, clang::SourceLocation Loc) in RSExportForEach() function
101 static RSExportForEach *Create(RSContext *Context,
104 static RSExportForEach *CreateDummyRoot(RSContext *Context);
Dslang_rs_reflection_state.h33 class RSExportForEach; variable
248 void declareForEachDummyRoot(const RSExportForEach *) { /* we don't care */ }; in declareForEachDummyRoot() argument
250 void beginForEach(const RSExportForEach *EF);
252 void addForEachIn(const RSExportForEach *EF, const RSExportType *Type);
254 void addForEachParam(const RSExportForEach *EF, const RSExportType *Type);
256 void addForEachSignatureMetadata(const RSExportForEach *EF, unsigned Metadata);
394 llvm::SmallVector<const RSExportForEach *, 0> mForEachesBad;
Dslang_rs_reflection_cpp.cpp190 const RSExportForEach *EF = *I; in genTypeInstancesUsedInForEach()
197 const RSExportForEach::InTypeVec &InTypes = EF->getInTypes(); in genTypeInstancesUsedInForEach()
199 for (RSExportForEach::InTypeIter BI = InTypes.begin(), in genTypeInstancesUsedInForEach()
253 const RSExportForEach *ForEach = *I; in genForEachDeclarations()
273 const RSExportForEach::InVec &Ins = ForEach->getIns(); in genForEachDeclarations()
274 for (RSExportForEach::InIter BI = Ins.begin(), EI = Ins.end(); in genForEachDeclarations()
286 for (RSExportForEach::const_param_iterator i = ForEach->params_begin(), in genForEachDeclarations()
316 const RSExportForEach *ef = *I; in genExportForEachBodies()
339 for (RSExportForEach::const_param_iterator i = ef->params_begin(), in genExportForEachBodies()
352 const RSExportForEach::InTypeVec &InTypes = ef->getInTypes(); in genExportForEachBodies()
Dslang_rs_context.cpp125 if (RSExportForEach::isRSForEachFunc(mTargetAPI, FD)) { in processExportFunc()
126 RSExportForEach *EFE = RSExportForEach::Create(this, FD); in processExportFunc()
284 mExportForEach[0] = RSExportForEach::CreateDummyRoot(this); in processExports()
Dslang_rs_reflection_state.cpp254 void ReflectionState::beginForEach(const RSExportForEach *EF) { in beginForEach()
383 void ReflectionState::addForEachIn(const RSExportForEach *EF, const RSExportType *Type) { in addForEachIn()
430 void ReflectionState::addForEachParam(const RSExportForEach *EF, const RSExportType *Type) { in addForEachParam()
460 void ReflectionState::addForEachSignatureMetadata(const RSExportForEach *EF, unsigned Metadata) { in addForEachSignatureMetadata()
520 …[](const RSExportForEach *a, const RSExportForEach *b) { return a->getOrdinal() < b->getOrdinal();… in endForEaches()
534 for (const RSExportForEach *EF : mForEachesBad) { in endForEaches()
Dslang_rs_reflection.h39 class RSExportForEach; variable
238 void genExportForEach(const RSExportForEach *EF);
Dslang_rs_context.h57 class RSExportForEach; variable
70 typedef std::vector<RSExportForEach*> ExportForEachVector;
Dslang_rs_reflection.cpp679 const RSExportForEach *EF = *I; in genScriptClassConstructor()
681 const RSExportForEach::InTypeVec &InTypes = EF->getInTypes(); in genScriptClassConstructor()
682 for (RSExportForEach::InTypeIter BI = InTypes.begin(), EI = InTypes.end(); in genScriptClassConstructor()
1003 void RSReflectionJava::genExportForEach(const RSExportForEach *EF) { in genExportForEach()
1028 const RSExportForEach::InVec &Ins = EF->getIns(); in genExportForEach()
1029 const RSExportForEach::InTypeVec &InTypes = EF->getInTypes(); in genExportForEach()
1035 for (RSExportForEach::InTypeIter BI = InTypes.begin(), EI = InTypes.end(); in genExportForEach()
1047 for (RSExportForEach::InIter BI = Ins.begin(), EI = Ins.end(); BI != EI; in genExportForEach()
1062 for (RSExportForEach::const_param_iterator I = EF->params_begin(), in genExportForEach()
1100 for (RSExportForEach::InIter BI = Ins.begin(), EI = Ins.end(); BI != EI; in genExportForEach()
[all …]
Dslang_rs_check_ast.cpp185 mInKernel = RSExportForEach::isRSForEachFunc(mTargetAPI, FD); in ValidateFunctionDecl()
Dslang_rs_foreach_lowering.cpp236 const unsigned numInputsExpected = RSExportForEach::getNumInputs(mCtxt->getTargetAPI(), kernel); in VisitCallExpr()
Dslang_backend.cpp1068 const RSExportForEach *EFE = *I; in dumpExportForEachInfo()