Home
last modified time | relevance | path

Searched refs:ET (Results 1 – 15 of 15) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection_cpp.cpp61 static std::string GetTypeName(const RSExportType *ET, bool PreIdentifier = true) { in GetTypeName() argument
62 if((!PreIdentifier) && (ET->getClass() != RSExportType::ExportClassConstantArray)) { in GetTypeName()
66 switch (ET->getClass()) { in GetTypeName()
69 static_cast<const RSExportPrimitiveType *>(ET); in GetTypeName()
79 static_cast<const RSExportPointerType *>(ET)->getPointeeType(); in GetTypeName()
87 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName()
94 return GetMatrixTypeName(static_cast<const RSExportMatrixType *>(ET)); in GetTypeName()
98 static_cast<const RSExportConstantArrayType *>(ET); in GetTypeName()
111 return ET->getElementName() + "." + kRsTypeItemClassName; in GetTypeName()
515 const RSExportType *ET = EV->getType(); in genExportVariablesGetterAndSetter() local
[all …]
Dslang_rs_reflection.cpp88 void genAddElement(const RSExportType *ET, const std::string &VarName,
187 std::string GetTypeName(const RSExportType *ET, unsigned Style = TypeNameDefault) { in GetTypeName() argument
188 switch (ET->getClass()) { in GetTypeName()
191 RSExportPrimitiveType::getRSReflectionType(static_cast<const RSExportPrimitiveType *>(ET)); in GetTypeName()
198 static_cast<const RSExportPointerType *>(ET)->getPointeeType(); in GetTypeName()
206 const RSExportVectorType *EVT = static_cast<const RSExportVectorType *>(ET); in GetTypeName()
216 return GetMatrixTypeName(static_cast<const RSExportMatrixType *>(ET)); in GetTypeName()
220 static_cast<const RSExportConstantArrayType *>(ET); in GetTypeName()
233 return ET->getElementName() + "." RS_TYPE_ITEM_CLASS_NAME; in GetTypeName()
235 return ET->getName(); in GetTypeName()
[all …]
Dslang_rs_export_var.cpp31 const RSExportType *ET) in RSExportVar() argument
34 mET(ET), in RSExportVar()
42 switch (ET->getClass()) { in RSExportVar()
69 static_cast<const RSExportConstantArrayType*>(ET); in RSExportVar()
89 << mName << ET->getName(); in RSExportVar()
Dslang_rs_reflection_cpp.h118 void genInitExportVariable(const RSExportType *ET, const std::string &VarName,
142 void genPackVarOfType(const RSExportType *ET, const char *VarName,
146 void genTypeCheck(const RSExportType *ET, const char *VarName);
149 void genTypeInstanceFromPointer(const RSExportType *ET);
150 void genTypeInstance(const RSExportType *ET);
Dslang_rs_context.cpp82 RSExportType *ET = RSExportType::CreateFromDecl(this, VD); in processExportVar() local
83 if (!ET) in processExportVar()
86 RSExportVar *EV = new RSExportVar(this, VD, ET); in processExportVar()
186 RSExportType *ET = nullptr; in processExportType() local
211 ET = RSExportType::Create(this, T, NotLegacyKernelArgument); in processExportType()
214 return (ET != nullptr); in processExportType()
388 RSExportType *ET) { in insertExportType() argument
392 ET); in insertExportType()
Dslang_rs_export_func.cpp107 RSExportType *ET = in Create() local
110 if (ET == nullptr) { in Create()
117 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) && in Create()
120 F->mParamPacketType = static_cast<RSExportRecordType *>(ET); in Create()
Dslang_rs_export_element.cpp77 RSExportType *ET = nullptr; in Create() local
100 ET = EPT; in Create()
117 ET = EVT; in Create()
128 return ET; in Create()
Dslang_rs_reflection.h184 void genInitExportVariable(const RSExportType *ET, const std::string &VarName,
210 void genTypeCheck(const RSExportType *ET, const char *VarName);
212 void genTypeInstanceFromPointer(const RSExportType *ET);
214 void genTypeInstance(const RSExportType *ET);
216 void genFieldPackerInstance(const RSExportType *ET);
Dslang_backend.cpp526 const RSExportType *ET = EV->getType(); in dumpExportVarInfo() local
534 switch (ET->getClass()) { in dumpExportVarInfo()
537 static_cast<const RSExportPrimitiveType*>(ET); in dumpExportVarInfo()
549 mLLVMContext, ("*" + static_cast<const RSExportPointerType*>(ET) in dumpExportVarInfo()
565 static_cast<const RSExportMatrixType*>(ET)->getDim() - 2))); in dumpExportVarInfo()
836 const RSExportType *ET = I->getValue(); in dumpExportTypeInfo() local
841 llvm::MDString::get(mLLVMContext, ET->getName().c_str())); in dumpExportTypeInfo()
843 if (ET->getClass() == RSExportType::ExportClassRecord) { in dumpExportTypeInfo()
845 static_cast<const RSExportRecordType*>(ET); in dumpExportTypeInfo()
856 StructInfoMetadataName.append(ET->getName()); in dumpExportTypeInfo()
Dslang_rs_export_type.cpp839 RSExportType *ET = nullptr; in Create() local
846 ET = RSExportRecordType::Create(Context, in Create()
853 ET = RSExportMatrixType::Create(Context, in Create()
861 ET = RSExportMatrixType::Create(Context, in Create()
869 ET = RSExportMatrixType::Create(Context, in Create()
877 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
884 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
888 ET = RSExportPointerType::Create(Context, in Create()
896 ET = RSExportVectorType::Create(Context, in Create()
902 ET = RSExportConstantArrayType::Create( in Create()
[all …]
Dslang_rs_export_foreach.cpp366 RSExportType *ET = in Create() local
369 slangAssert(ET && "Failed to export a kernel"); in Create()
371 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) && in Create()
374 FE->mParamPacketType = static_cast<RSExportRecordType *>(ET); in Create()
Dslang_rs_export_var.h50 const RSExportType *ET);
Dslang.cpp486 RSExportType *ET = static_cast<RSExportType *>(RSE); in checkODR() local
487 if (ET->getClass() != RSExportType::ExportClassRecord) in checkODR()
490 RSExportRecordType *ERT = static_cast<RSExportRecordType *>(ET); in checkODR()
/frameworks/base/tools/aapt2/
Dpublic_attr_map.py4 import xml.etree.ElementTree as ET namespace
28 tree = ET.parse(f)
/frameworks/compile/libbcc/lib/Renderscript/
DRSKernelExpand.cpp219 llvm::Type *ET = PT->getElementType(); in getStepValue() local
220 uint64_t ETSize = DL->getTypeAllocSize(ET); in getStepValue()