Home | History | Annotate | Download | only in slang

Lines Matching refs:EF

381     const RSExportForEach *EF = *I;
383 const RSExportType *IET = EF->getInType();
387 const RSExportType *OET = EF->getOutType();
590 void RSReflection::genExportFunction(Context &C, const RSExportFunc *EF) {
592 << EF->getName() << " = " << C.getNextExportFuncSlot() << ";"
598 if (EF->hasParam()) {
599 for (RSExportFunc::const_param_iterator I = EF->params_begin(),
600 E = EF->params_end();
611 "invoke_" + EF->getName(/*Mangle=*/ false),
616 if (!EF->hasParam()) {
617 C.indent() << "invoke("RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName() << ");"
620 const RSExportRecordType *ERT = EF->getParamPacketType();
621 std::string FieldPackerName = EF->getName() + "_fp";
626 C.indent() << "invoke("RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName() << ", "
634 void RSReflection::genExportForEach(Context &C, const RSExportForEach *EF) {
635 if (EF->isDummyRoot()) {
639 << EF->getName() << " = " << C.getNextExportForEachSlot() << ";"
645 << EF->getName() << " = " << C.getNextExportForEachSlot() << ";"
651 slangAssert(EF->getNumParameters() > 0 || EF->hasReturn());
653 if (EF->hasIn())
655 if (EF->hasOut() || EF->hasReturn())
658 const RSExportRecordType *ERT = EF->getParamPacketType();
660 for (RSExportForEach::const_param_iterator I = EF->params_begin(),
661 E = EF->params_end();
669 const RSExportType *IET = EF->getInType();
670 const RSExportType *OET = EF->getOutType();
677 "getKernelID_" + EF->getName(),
687 << EF->getName() << ", " << signature << ", null, null);"
696 "forEach_" + EF->getName(),
706 if (EF->hasIn() && (EF->hasOut() || EF->hasReturn())) {
722 std::string FieldPackerName = EF->getName() + "_fp";
728 C.indent() << "forEach("RS_EXPORT_FOREACH_INDEX_PREFIX << EF->getName();
730 if (EF->hasIn())
735 if (EF->hasOut() || EF->hasReturn())
740 if (EF->hasUsrData())