/frameworks/compile/slang/ |
H A D | slang_rs_export_var.cpp | 43 const RSExportType *ET) 46 mET(ET), 53 switch (ET->getClass()) { 80 static_cast<const RSExportConstantArrayType*>(ET); 100 << ET->getName(); 41 RSExportVar(RSContext *Context, const clang::VarDecl *VD, const RSExportType *ET) argument
|
H A D | slang_rs_reflection.cpp | 158 static std::string GetTypeName(const RSExportType *ET, bool Brackets = true) { argument 159 switch (ET->getClass()) { 162 static_cast<const RSExportPrimitiveType*>(ET))->java_name; 166 static_cast<const RSExportPointerType*>(ET)->getPointeeType(); 175 static_cast<const RSExportVectorType*>(ET); 182 return GetMatrixTypeName(static_cast<const RSExportMatrixType*>(ET)); 186 static_cast<const RSExportConstantArrayType*>(ET); 194 return ET->getElementName() + "."RS_TYPE_ITEM_CLASS_NAME; 204 static const char *GetTypeNullValue(const RSExportType *ET) { argument 205 switch (ET 232 GetBuiltinElementConstruct(const RSExportType *ET) argument 334 const RSExportType *ET = ECAT->getElementType(); local 403 genInitExportVariable(Context &C, const RSExportType *ET, const std::string &VarName, const clang::APValue &Val) argument 514 const RSExportType *ET = EV->getType(); local 693 genTypeInstanceFromPointer(Context &C, const RSExportType *ET) argument 702 genTypeInstance(Context &C, const RSExportType *ET) argument 732 genTypeCheck(Context &C, const RSExportType *ET, const char *VarName) argument 811 const RSExportType *ET = EV->getType(); local 868 const RSExportType *ET = EV->getType(); local 941 const RSExportType *ET = EV->getType(); local 989 genCreateFieldPacker(Context &C, const RSExportType *ET, const char *FieldPackerName) argument 1001 genPackVarOfType(Context &C, const RSExportType *ET, const char *VarName, const char *FieldPackerName) argument 1684 genAddElementToElementBuilder(Context &C, const RSExportType *ET, const std::string &VarName, const char *ElementBuilderName, const char *RenderScriptVar, unsigned ArraySize) argument 1910 const RSExportType *ET = TI->getValue(); local [all...] |
H A D | slang_rs_context.cpp | 90 RSExportType *ET = RSExportType::CreateFromDecl(this, VD); local 91 if (!ET) 94 RSExportVar *EV = new RSExportVar(this, VD, ET); 152 RSExportType *ET = NULL; local 177 ET = RSExportType::Create(this, T); 180 return (ET != NULL); 268 RSExportType *ET) { 273 ET); 267 insertExportType(const llvm::StringRef &TypeName, RSExportType *ET) argument
|
H A D | slang_rs_export_element.cpp | 65 RSExportType *ET = NULL; local 88 ET = EPT; 105 ET = EVT; 116 return ET;
|
H A D | slang_rs_export_func.cpp | 110 RSExportType *ET = local 113 if (ET == NULL) { 120 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) && 123 F->mParamPacketType = static_cast<RSExportRecordType *>(ET);
|
H A D | slang_rs_export_var.h | 53 const RSExportType *ET);
|
H A D | slang_rs_export_type.cpp | 637 RSExportType *ET = NULL; 645 ET = RSExportRecordType::Create(Context, 652 ET = RSExportMatrixType::Create(Context, 660 ET = RSExportMatrixType::Create(Context, 668 ET = RSExportMatrixType::Create(Context, 676 ET = RSExportPrimitiveType::Create(Context, T, TypeName); 683 ET = RSExportPrimitiveType::Create(Context, T, TypeName); 687 ET = RSExportPointerType::Create(Context, 694 ET = RSExportVectorType::Create(Context, 699 ET 731 GetTypeStoreSize(const RSExportType *ET) argument 736 GetTypeAllocSize(const RSExportType *ET) argument 1392 RSExportType *ET = RSExportElement::CreateFromDecl(Context, FD); local [all...] |
H A D | slang_rs_backend.cpp | 221 const RSExportType *ET = EV->getType(); local 229 switch (ET->getClass()) { 232 static_cast<const RSExportPrimitiveType*>(ET); 244 mLLVMContext, ("*" + static_cast<const RSExportPointerType*>(ET) 253 static_cast<const RSExportMatrixType*>(ET)->getDim() - 2))); 461 const RSExportType *ET = I->getValue(); local 466 llvm::MDString::get(mLLVMContext, ET->getName().c_str())); 468 if (ET->getClass() == RSExportType::ExportClassRecord) { 470 static_cast<const RSExportRecordType*>(ET); 481 StructInfoMetadataName.append(ET [all...] |
H A D | slang_rs_reflection.h | 231 const RSExportType *ET, 259 const RSExportType *ET, 263 const RSExportType *ET); 266 const RSExportType *ET);
|
H A D | slang_rs.cpp | 97 RSExportType *ET = static_cast<RSExportType *>(RSE); local 98 if (ET->getClass() != RSExportType::ExportClassRecord) 101 RSExportRecordType *ERT = static_cast<RSExportRecordType *>(ET);
|
H A D | slang_rs_export_foreach.cpp | 277 RSExportType *ET = RSExportType::Create(Context, T.getTypePtr()); local 279 if (ET == NULL) { 286 slangAssert((ET->getClass() == RSExportType::ExportClassRecord) && 289 FE->mParamPacketType = static_cast<RSExportRecordType *>(ET);
|
H A D | slang_rs_export_type.h | 188 static size_t GetTypeStoreSize(const RSExportType *ET); 191 static size_t GetTypeAllocSize(const RSExportType *ET);
|