/frameworks/compile/slang/ |
D | slang_rs_reflection_cpp.cpp | 61 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 …]
|
D | slang_rs_reflection.cpp | 88 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 …]
|
D | slang_rs_export_var.cpp | 31 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()
|
D | slang_rs_reflection_cpp.h | 118 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);
|
D | slang_rs_context.cpp | 82 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()
|
D | slang_rs_export_func.cpp | 107 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()
|
D | slang_rs_export_element.cpp | 77 RSExportType *ET = nullptr; in Create() local 100 ET = EPT; in Create() 117 ET = EVT; in Create() 128 return ET; in Create()
|
D | slang_rs_reflection.h | 184 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);
|
D | slang_backend.cpp | 526 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()
|
D | slang_rs_export_type.cpp | 839 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 …]
|
D | slang_rs_export_foreach.cpp | 366 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()
|
D | slang_rs_export_var.h | 50 const RSExportType *ET);
|
D | slang.cpp | 486 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/ |
D | public_attr_map.py | 4 import xml.etree.ElementTree as ET namespace 28 tree = ET.parse(f)
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSKernelExpand.cpp | 219 llvm::Type *ET = PT->getElementType(); in getStepValue() local 220 uint64_t ETSize = DL->getTypeAllocSize(ET); in getStepValue()
|