Searched refs:ERT (Results 1 – 10 of 10) sorted by relevance
/frameworks/compile/slang/ |
D | slang_rs_reflection.h | 253 bool genTypeClass(const RSExportRecordType *ERT, std::string &ErrorMsg); 254 void genTypeItemClass(const RSExportRecordType *ERT); 255 void genTypeClassConstructor(const RSExportRecordType *ERT); 256 void genTypeClassCopyToArray(const RSExportRecordType *ERT); 257 void genTypeClassCopyToArrayLocal(const RSExportRecordType *ERT); 258 void genTypeClassItemSetter(const RSExportRecordType *ERT); 259 void genTypeClassItemGetter(const RSExportRecordType *ERT); 260 void genTypeClassComponentSetter(const RSExportRecordType *ERT); 261 void genTypeClassComponentGetter(const RSExportRecordType *ERT); 262 void genTypeClassCopyAll(const RSExportRecordType *ERT); [all …]
|
D | slang_rs_reflection.cpp | 85 const RSExportRecordType *ERT, 828 const RSExportRecordType *ERT = in genInitExportVariable() 835 << " = new " << ERT->getElementName() in genInitExportVariable() 838 for (RSExportRecordType::const_field_iterator I = ERT->fields_begin(), in genInitExportVariable() 839 E = ERT->fields_end(); in genInitExportVariable() 945 const RSExportRecordType *ERT = EF->getParamPacketType(); in genExportFunction() local 948 mState->declareRecord(ERT, false); in genExportFunction() 952 if (genCreateFieldPacker(ERT, FieldPackerName.c_str(), in genExportFunction() 953 mState->getRecord32(ERT).getRecordAllocSize())) in genExportFunction() 954 genPackVarOfType(ERT, nullptr, FieldPackerName.c_str()); in genExportFunction() [all …]
|
D | slang_rs_reflection_state.cpp | 704 void ReflectionState::declareRecord(const RSExportRecordType *ERT, bool Ordinary) { in declareRecord() argument 719 const size_t FieldCount = ERT->fields_size(); in declareRecord() 724 for (RSExportRecordType::const_field_iterator I = ERT->fields_begin(), E = ERT->fields_end(); in declareRecord() 746 slangAssert(ERT->getAllocSize() >= Pos); in declareRecord() 750 slangAssert(records.find(ERT->getName()) == records.end()); in declareRecord() 751 File::Record &record = records[ERT->getName()]; in declareRecord() 754 record.mPostPadding = ERT->getAllocSize() - Pos; in declareRecord() 755 record.mAllocSize = ERT->getAllocSize(); in declareRecord() 763 const auto RIT = records.find(ERT->getName()); in declareRecord() 770 mRSC->ReportError(ERT->getLocation(), "structure '%0' is exported only for 64-bit targets") in declareRecord() [all …]
|
D | slang_rs_export_func.cpp | 135 const RSExportRecordType *ERT = mParamPacketType; in checkParameterPacketType() local 137 if (ERT->getFields().size() != ParamTy->getNumElements()) in checkParameterPacketType() 144 for (RSExportRecordType::const_field_iterator FI = ERT->fields_begin(), in checkParameterPacketType() 145 FE = ERT->fields_end(); FI != FE; FI++, Index++) { in checkParameterPacketType()
|
D | slang_rs_reflection_cpp.cpp | 284 const RSExportRecordType *ERT = ForEach->getParamPacketType(); in genForEachDeclarations() local 285 if (ERT) { in genForEachDeclarations() 337 const RSExportRecordType *ERT = ef->getParamPacketType(); in genExportForEachBodies() local 338 if (ERT) { in genExportForEachBodies() 366 if (ERT) { in genExportForEachBodies() 367 if (genCreateFieldPacker(ERT, FieldPackerName.c_str())) { in genExportForEachBodies() 368 genPackVarOfType(ERT, nullptr, FieldPackerName.c_str()); in genExportForEachBodies() 699 void RSReflectionCpp::genGetterAndSetter(const RSExportRecordType *ERT, in genGetterAndSetter() argument 809 const RSExportRecordType *ERT = static_cast<const RSExportRecordType *>(ET); in genPackVarOfType() local 813 for (RSExportRecordType::const_field_iterator I = ERT->fields_begin(), in genPackVarOfType() [all …]
|
D | slang.cpp | 485 RSExportRecordType *ERT = static_cast<RSExportRecordType *>(ET); in checkODR() local 489 if (ERT->isArtificial()) in checkODR() 493 llvm::StringRef RDKey(ERT->getName()); in checkODR() 501 if (!Reflected->matchODR(ERT, true)) { in checkODR() 514 ME->setValue(std::make_pair(ERT, CurInputFile)); in checkODR() 521 ERT->keep(); in checkODR()
|
D | slang_rs_export_type.cpp | 1506 RSExportRecordType *ERT = in Create() local 1536 ERT->mFields.push_back( in Create() 1537 new Field(ET, FD->getName(), ERT, in Create() 1554 return ERT; in Create() 1618 const RSExportRecordType *ERT = static_cast<const RSExportRecordType*>(E); in matchODR() local 1620 if (getName() != ERT->getName()) in matchODR() 1626 if (ERT->getFields().size() != getFields().size()) in matchODR() 1630 BI = ERT->fields_begin(), AE = fields_end(); AI != AE; ++AI, ++BI) { in matchODR()
|
D | slang_rs_reflection_cpp.h | 136 void genGetterAndSetter(const RSExportRecordType *ERT, const RSExportVar *EV);
|
D | slang_rs_reflection_state.h | 316 void declareRecord(const RSExportRecordType *ERT, bool Ordinary = true); 326 Record32 getRecord32(const RSExportRecordType *ERT);
|
D | slang_backend.cpp | 1157 const RSExportRecordType *ERT = in dumpExportTypeInfo() local 1176 for (RSExportRecordType::const_field_iterator FI = ERT->fields_begin(), in dumpExportTypeInfo() 1177 FE = ERT->fields_end(); in dumpExportTypeInfo()
|