Home
last modified time | relevance | path

Searched refs:RSExportReduce (Results 1 – 8 of 8) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_pragma_handler.cpp148 KeywordValueMapType KeywordValueMap({std::make_pair(RSExportReduce::KeyReduce, ""), in HandlePragma()
149 std::make_pair(RSExportReduce::KeyInitializer, ""), in HandlePragma()
150 std::make_pair(RSExportReduce::KeyAccumulator, ""), in HandlePragma()
151 std::make_pair(RSExportReduce::KeyCombiner, ""), in HandlePragma()
152 std::make_pair(RSExportReduce::KeyOutConverter, "")}); in HandlePragma()
158 KeywordValueMap.insert(std::make_pair(RSExportReduce::KeyHalter, "")); in HandlePragma()
176 if (KeywordValueMap[RSExportReduce::KeyAccumulator].empty()) { in HandlePragma()
180 << RSExportReduce::KeyAccumulator << getName(); in HandlePragma()
191 if ((*I)->getNameReduce() == KeywordValueMap[RSExportReduce::KeyReduce]) { in HandlePragma()
196 << KeywordValueMap[RSExportReduce::KeyReduce] in HandlePragma()
[all …]
Dslang_rs_export_reduce.cpp36 const char RSExportReduce::KeyReduce[] = "reduce";
37 const char RSExportReduce::KeyInitializer[] = "initializer";
38 const char RSExportReduce::KeyAccumulator[] = "accumulator";
39 const char RSExportReduce::KeyCombiner[] = "combiner";
40 const char RSExportReduce::KeyOutConverter[] = "outconverter";
41 const char RSExportReduce::KeyHalter[] = "halter";
43 bool RSExportReduce::matchName(const llvm::StringRef &Candidate) const { in matchName()
52 RSExportReduce *RSExportReduce::Create(RSContext *Context, in Create()
61 RSExportReduce *RNE = new RSExportReduce(Context, in Create()
73 const char *RSExportReduce::getKey(FnIdent Kind) { in getKey()
[all …]
Dslang_rs_export_reduce.h34 class RSExportReduce : public RSExportable {
80 RSExportReduce(RSContext *Context, in RSExportReduce() function
101 RSExportReduce(const RSExportReduce &) = delete;
102 void operator=(const RSExportReduce &) = delete;
133 static RSExportReduce *Create(RSContext *Context,
Dslang_rs_reflection.h240 void genExportReduce(const RSExportReduce *ER);
241 void genExportReduceAllocationVariant(const RSExportReduce *ER);
242 void genExportReduceArrayVariant(const RSExportReduce *ER);
Dslang_rs_context.h58 class RSExportReduce; variable
71 typedef std::list<RSExportReduce*> ExportReduceList;
271 void addExportReduce(RSExportReduce *Reduce) { in addExportReduce()
Dslang_rs_reflection_state.h36 class RSExportReduce; variable
294 void declareReduce(const RSExportReduce *ER, bool IsExportable);
Dslang_rs_reflection.cpp215 std::string GetReduceResultTypeName(const RSExportReduce *ER) { in GetReduceResultTypeName()
698 const RSExportReduce *ER = *I; in genScriptClassConstructor()
707 const RSExportReduce::InTypeVec &InTypes = ER->getAccumulatorInTypes(); in genScriptClassConstructor()
708 for (RSExportReduce::InTypeIter BI = InTypes.begin(), EI = InTypes.end(); in genScriptClassConstructor()
1250 const RSExportReduce *ER, size_t InIdx) { in getReduceInputStrings()
1275 void RSReflectionJava::genExportReduce(const RSExportReduce *ER) { in genExportReduce()
1305 void RSReflectionJava::genExportReduceArrayVariant(const RSExportReduce *ER) { in genExportReduceArrayVariant()
1458 void RSReflectionJava::genExportReduceAllocationVariant(const RSExportReduce *ER) { in genExportReduceAllocationVariant()
Dslang_rs_reflection_state.cpp830 void ReflectionState::declareReduce(const RSExportReduce *ER, bool IsExportable) { in declareReduce()