Home | History | Annotate | Download | only in slang

Lines Matching defs:EF

392     const RSExportForEach *EF = *I;
394 const RSExportType *IET = EF->getInType();
398 const RSExportType *OET = EF->getOutType();
601 void RSReflection::genExportFunction(Context &C, const RSExportFunc *EF) {
603 << EF->getName() << " = " << C.getNextExportFuncSlot() << ";"
609 if (EF->hasParam()) {
610 for (RSExportFunc::const_param_iterator I = EF->params_begin(),
611 E = EF->params_end();
622 "invoke_" + EF->getName(/*Mangle=*/ false),
627 if (!EF->hasParam()) {
628 C.indent() << "invoke("RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName() << ");"
631 const RSExportRecordType *ERT = EF->getParamPacketType();
632 std::string FieldPackerName = EF->getName() + "_fp";
637 C.indent() << "invoke("RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName() << ", "
645 void RSReflection::genExportForEach(Context &C, const RSExportForEach *EF) {
646 if (EF->isDummyRoot()) {
650 << EF->getName() << " = " << C.getNextExportForEachSlot() << ";"
656 << EF->getName() << " = " << C.getNextExportForEachSlot() << ";"
662 slangAssert(EF->getNumParameters() > 0 || EF->hasReturn());
664 if (EF->hasIn())
666 if (EF->hasOut() || EF->hasReturn())
669 const RSExportRecordType *ERT = EF->getParamPacketType();
671 for (RSExportForEach::const_param_iterator I = EF->params_begin(),
672 E = EF->params_end();
680 const RSExportType *IET = EF->getInType();
681 const RSExportType *OET = EF->getOutType();
688 "getKernelID_" + EF->getName(),
698 << EF->getName() << ", " << signature << ", null, null);"
708 "forEach_" + EF->getName(),
711 C.indent() << "forEach_" << EF->getName();
714 if (EF->hasIn()) {
718 if (EF->hasOut() || EF->hasReturn()) {
722 if (EF->hasUsrData()) {
738 "forEach_" + EF->getName(),
748 if (EF->hasIn() && (EF->hasOut() || EF->hasReturn())) {
764 std::string FieldPackerName = EF->getName() + "_fp";
770 C.indent() << "forEach("RS_EXPORT_FOREACH_INDEX_PREFIX << EF->getName();
772 if (EF->hasIn())
777 if (EF->hasOut() || EF->hasReturn())
782 if (EF->hasUsrData())