OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RSExportType
(Results
1 - 19
of
19
) sorted by null
/frameworks/compile/slang/
slang_rs_export_element.h
37
class
RSExportType
;
57
static
RSExportType
*Create(RSContext *Context,
66
static
RSExportType
*CreateFromDecl(RSContext *Context,
slang_rs_export_var.h
32
class
RSExportType
;
38
const
RSExportType
*mET;
50
const
RSExportType
*ET);
54
inline const
RSExportType
*getType() const { return mET; }
slang_rs_export_var.cpp
31
const
RSExportType
*ET)
43
case
RSExportType
::ExportClassPrimitive:
44
case
RSExportType
::ExportClassVector: {
48
case
RSExportType
::ExportClassPointer: {
60
case
RSExportType
::ExportClassConstantArray: {
83
case
RSExportType
::ExportClassMatrix:
84
case
RSExportType
::ExportClassRecord: {
slang_rs_export_type.h
170
class
RSExportType
: public RSExportable {
192
RSExportType
(RSContext *Context,
199
// @T was normalized by calling
RSExportType
::NormalizeType().
200
// @TypeName was retrieve from
RSExportType
::GetTypeName() before calling
203
static
RSExportType
*Create(RSContext *Context,
209
// This function convert the
RSExportType
to LLVM type. Actually, it should be
224
virtual ~
RSExportType
();
249
static
RSExportType
*Create(RSContext *Context, const clang::Type *T);
250
static
RSExportType
*CreateFromDecl(RSContext *Context,
280
}; //
RSExportType
[
all
...]
slang_rs_reflection.cpp
86
void genAddElement(const
RSExportType
*ET, const std::string &VarName,
176
static std::string GetTypeName(const
RSExportType
*ET, bool Brackets = true) {
178
case
RSExportType
::ExportClassPrimitive: {
182
case
RSExportType
::ExportClassPointer: {
183
const
RSExportType
*PointeeType =
186
if (PointeeType->getClass() !=
RSExportType
::ExportClassRecord)
191
case
RSExportType
::ExportClassVector: {
198
case
RSExportType
::ExportClassMatrix: {
201
case
RSExportType
::ExportClassConstantArray: {
210
case
RSExportType
::ExportClassRecord:
[
all
...]
slang_rs_reflection_cpp.h
101
void genInitExportVariable(const
RSExportType
*ET, const std::string &VarName,
122
bool genCreateFieldPacker(const
RSExportType
*T, const char *FieldPackerName);
125
void genPackVarOfType(const
RSExportType
*ET, const char *VarName,
129
void genTypeCheck(const
RSExportType
*ET, const char *VarName);
132
void genTypeInstanceFromPointer(const
RSExportType
*ET);
133
void genTypeInstance(const
RSExportType
*ET);
slang_rs_reflection_cpp.cpp
62
static std::string GetTypeName(const
RSExportType
*ET, bool Brackets = true) {
64
case
RSExportType
::ExportClassPrimitive: {
74
case
RSExportType
::ExportClassPointer: {
75
const
RSExportType
*PointeeType =
78
if (PointeeType->getClass() !=
RSExportType
::ExportClassRecord)
83
case
RSExportType
::ExportClassVector: {
90
case
RSExportType
::ExportClassMatrix: {
93
case
RSExportType
::ExportClassConstantArray: {
103
case
RSExportType
::ExportClassRecord: {
184
const
RSExportType
*OET = EF->getOutType()
[
all
...]
slang_rs_export_element.cpp
71
RSExportType
*RSExportElement::Create(RSContext *Context,
74
// Create
RSExportType
corresponded to the @T first and then verify
77
RSExportType
*ET = NULL;
84
if (!
RSExportType
::NormalizeType(T, TypeName, Context, NULL))
130
RSExportType
*RSExportElement::CreateFromDecl(RSContext *Context,
132
const clang::Type* T =
RSExportType
::GetTypeOfDecl(DD);
140
return
RSExportType
::Create(Context, T);
160
return
RSExportType
::Create(Context, T);
slang_rs_export_type.cpp
308
const clang::Type *FT =
RSExportType
::GetTypeOfDecl(FD);
389
// Return the type that can be used to create
RSExportType
, will always return
517
const clang::Type *FT =
RSExportType
::GetTypeOfDecl(FD);
622
/******************************
RSExportType
******************************/
623
bool
RSExportType
::NormalizeType(const clang::Type *&T,
631
TypeName =
RSExportType
::GetTypeName(T);
645
bool
RSExportType
::ValidateType(slang::RSContext *Context, clang::ASTContext &C,
658
bool
RSExportType
::ValidateVarDecl(slang::RSContext *Context,
666
*
RSExportType
::GetTypeOfDecl(const clang::DeclaratorDecl *DD) {
678
llvm::StringRef
RSExportType
::GetTypeName(const clang::Type* T)
[
all
...]
slang_rs_reflection.h
179
void genInitExportVariable(const
RSExportType
*ET, const std::string &VarName,
200
void genTypeCheck(const
RSExportType
*ET, const char *VarName);
202
void genTypeInstanceFromPointer(const
RSExportType
*ET);
204
void genTypeInstance(const
RSExportType
*ET);
206
void genFieldPackerInstance(const
RSExportType
*ET);
223
void genAddElementToElementBuilder(const
RSExportType
*ERT,
229
bool genCreateFieldPacker(const
RSExportType
*T, const char *FieldPackerName);
230
void genPackVarOfType(const
RSExportType
*T, const char *VarName,
232
void genAllocateVarOfType(const
RSExportType
*T, const std::string &VarName);
slang_rs_export_foreach.h
43
typedef llvm::SmallVectorImpl<const
RSExportType
*> InTypeVec;
51
llvm::SmallVector<const
RSExportType
*, 16> mInTypes;
52
RSExportType
*mOutType;
132
inline const
RSExportType
*getOutType() const {
slang_rs_check_ast.cpp
158
if (!
RSExportType
::ValidateType(Context, C, resultType, FD,
167
if (!
RSExportType
::ValidateType(Context, C, QT, PVD, PVD->getLocStart(),
195
if (!
RSExportType
::NormalizeType(T, TypeName, Context, VD)) {
211
if (!
RSExportType
::ValidateVarDecl(Context, VD, mTargetAPI, mIsFilterscript)) {
263
!
RSExportType
::ValidateType(Context, C, E->getType(), NULL, E->getExprLoc(),
slang_rs_context.cpp
75
RSExportType
*ET =
RSExportType
::CreateFromDecl(this, VD);
136
RSExportType
*ET = NULL;
161
ET =
RSExportType
::Create(this, T);
252
RSExportType
*ET) {
slang_rs_export_func.cpp
107
RSExportType
*ET =
108
RSExportType
::Create(Context, T.getTypePtr());
117
slangAssert((ET->getClass() ==
RSExportType
::ExportClassRecord) &&
slang_rs_export_foreach.cpp
394
RSExportType
*ET =
RSExportType
::Create(Context, T.getTypePtr());
403
slangAssert((ET->getClass() ==
RSExportType
::ExportClassRecord) &&
414
RSExportType
*InExportType =
RSExportType
::Create(Context, T);
426
FE->mOutType =
RSExportType
::Create(Context, T);
430
FE->mOutType =
RSExportType
::Create(Context, T);
slang_rs_backend.cpp
198
const
RSExportType
*ET = EV->getType();
207
case
RSExportType
::ExportClassPrimitive: {
218
case
RSExportType
::ExportClassPointer: {
225
case
RSExportType
::ExportClassMatrix: {
240
case
RSExportType
::ExportClassVector:
241
case
RSExportType
::ExportClassConstantArray:
242
case
RSExportType
::ExportClassRecord: {
453
const
RSExportType
*ET = I->getValue();
460
if (ET->getClass() ==
RSExportType
::ExportClassRecord) {
499
} // ET->getClass() ==
RSExportType
::ExportClassRecor
[
all
...]
slang_rs_context.h
51
class
RSExportType
;
63
typedef llvm::StringMap<
RSExportType
*> ExportTypeMap;
223
bool insertExportType(const llvm::StringRef &TypeName,
RSExportType
*Type);
slang_rs.cpp
105
RSExportType
*ET = static_cast<
RSExportType
*>(RSE);
106
if (ET->getClass() !=
RSExportType
::ExportClassRecord)
slang_rs_object_ref_count.cpp
621
const clang::Type *FT =
RSExportType
::GetTypeOfDecl(FD);
640
const clang::Type *FT =
RSExportType
::GetTypeOfDecl(FD);
684
const clang::Type *FT =
RSExportType
::GetTypeOfDecl(FD);
[
all
...]
Completed in 547 milliseconds