Lines Matching refs:ET
320 static std::string GetTypeName(const RSExportType *ET) { in GetTypeName() argument
321 switch (ET->getClass()) { in GetTypeName()
324 static_cast<const RSExportPrimitiveType*>(ET)); in GetTypeName()
328 static_cast<const RSExportPointerType*>(ET)->getPointeeType(); in GetTypeName()
336 return GetVectorTypeName(static_cast<const RSExportVectorType*>(ET)); in GetTypeName()
339 return GetMatrixTypeName(static_cast<const RSExportMatrixType*>(ET)); in GetTypeName()
343 static_cast<const RSExportConstantArrayType*>(ET); in GetTypeName()
349 return RS_TYPE_CLASS_NAME_PREFIX + ET->getName() + in GetTypeName()
360 static const char *GetTypeNullValue(const RSExportType *ET) { in GetTypeNullValue() argument
361 switch (ET->getClass()) { in GetTypeNullValue()
364 static_cast<const RSExportPrimitiveType*>(ET); in GetTypeNullValue()
388 static const char *GetBuiltinElementConstruct(const RSExportType *ET) { in GetBuiltinElementConstruct() argument
389 if (ET->getClass() == RSExportType::ExportClassPrimitive) { in GetBuiltinElementConstruct()
391 static_cast<const RSExportPrimitiveType*>(ET); in GetBuiltinElementConstruct()
453 } else if (ET->getClass() == RSExportType::ExportClassVector) { in GetBuiltinElementConstruct()
454 const RSExportVectorType *EVT = static_cast<const RSExportVectorType*>(ET); in GetBuiltinElementConstruct()
468 } else if (ET->getClass() == RSExportType::ExportClassMatrix) { in GetBuiltinElementConstruct()
469 const RSExportMatrixType *EMT = static_cast<const RSExportMatrixType *>(ET); in GetBuiltinElementConstruct()
476 } else if (ET->getClass() == RSExportType::ExportClassPointer) { in GetBuiltinElementConstruct()
760 const RSExportType *ET, in genInitExportVariable() argument
765 switch (ET->getClass()) { in genInitExportVariable()
768 static_cast<const RSExportPrimitiveType*>(ET); in genInitExportVariable()
784 static_cast<const RSExportVectorType*>(ET); in genInitExportVariable()
826 static_cast<const RSExportRecordType*>(ET); in genInitExportVariable()
862 const RSExportType *ET = EV->getType(); in genExportVariable() local
868 switch (ET->getClass()) { in genExportVariable()
1033 const RSExportType *ET) { in genTypeInstance() argument
1034 if (ET->getClass() == RSExportType::ExportClassPointer) { in genTypeInstance()
1036 static_cast<const RSExportPointerType*>(ET); in genTypeInstance()
1037 ET = EPT->getPointeeType(); in genTypeInstance()
1038 switch (ET->getClass()) { in genTypeInstance()
1041 static_cast<const RSExportPrimitiveType*>(ET); in genTypeInstance()
1069 static_cast<const RSExportVectorType*>(ET); in genTypeInstance()
1083 static_cast<const RSExportRecordType*>(ET); in genTypeInstance()
1102 const RSExportType *ET, in genTypeCheck() argument
1106 if (ET->getClass() == RSExportType::ExportClassPointer) { in genTypeCheck()
1108 static_cast<const RSExportPointerType*>(ET); in genTypeCheck()
1109 ET = EPT->getPointeeType(); in genTypeCheck()
1114 switch (ET->getClass()) { in genTypeCheck()
1117 static_cast<const RSExportPrimitiveType*>(ET); in genTypeCheck()
1128 static_cast<const RSExportVectorType*>(ET); in genTypeCheck()
1136 static_cast<const RSExportRecordType*>(ET); in genTypeCheck()
1195 const RSExportType *ET = EV->getType(); in genPointerTypeExportVariable() local
1199 slangAssert((ET->getClass() == RSExportType::ExportClassPointer) && in genPointerTypeExportVariable()
1202 PointeeType = static_cast<const RSExportPointerType*>(ET)->getPointeeType(); in genPointerTypeExportVariable()
1203 TypeName = GetTypeName(ET); in genPointerTypeExportVariable()
1396 const RSExportType *ET, in genCreateFieldPacker() argument
1398 size_t AllocSize = RSExportType::GetTypeAllocSize(ET); in genCreateFieldPacker()
1408 const RSExportType *ET, in genPackVarOfType() argument
1411 switch (ET->getClass()) { in genPackVarOfType()
1416 static_cast<const RSExportPrimitiveType*>(ET)) in genPackVarOfType()
1423 static_cast<const RSExportPointerType*>(ET)->getPointeeType(); in genPackVarOfType()
1440 static_cast<const RSExportConstantArrayType *>(ET); in genPackVarOfType()
1472 static_cast<const RSExportRecordType*>(ET); in genPackVarOfType()
1961 const RSExportType *ET, in genAddElementToElementBuilder() argument
1966 const char *ElementConstruct = GetBuiltinElementConstruct(ET); in genAddElementToElementBuilder()
1971 if ((ET->getClass() == RSExportType::ExportClassPrimitive) || in genAddElementToElementBuilder()
1972 (ET->getClass() == RSExportType::ExportClassVector)) { in genAddElementToElementBuilder()
1974 static_cast<const RSExportPrimitiveType*>(ET); in genAddElementToElementBuilder()
1977 int Size = (ET->getClass() == RSExportType::ExportClassVector) ? in genAddElementToElementBuilder()
1978 static_cast<const RSExportVectorType*>(ET)->getNumElement() : in genAddElementToElementBuilder()
2000 slangAssert((ET->getClass() == RSExportType::ExportClassVector) && in genAddElementToElementBuilder()
2010 } else if (ET->getClass() == RSExportType::ExportClassPointer) { in genAddElementToElementBuilder()
2014 } else if (ET->getClass() == RSExportType::ExportClassMatrix) { in genAddElementToElementBuilder()
2019 } else if (ET->getClass() == RSExportType::ExportClassConstantArray) { in genAddElementToElementBuilder()
2021 static_cast<const RSExportConstantArrayType *>(ET); in genAddElementToElementBuilder()
2043 } else if (ET->getClass() == RSExportType::ExportClassRecord) { in genAddElementToElementBuilder()
2049 static_cast<const RSExportRecordType*>(ET); in genAddElementToElementBuilder()
2191 const RSExportType *ET = TI->getValue(); in reflect() local
2193 if (ET->getClass() == RSExportType::ExportClassRecord) { in reflect()
2195 static_cast<const RSExportRecordType*>(ET); in reflect()