Home
last modified time | relevance | path

Searched refs:VarName (Results 1 – 7 of 7) sorted by relevance

/frameworks/compile/slang/
Dslang_rs_reflection.cpp93 void genAddElement(const RSExportType *ET, const std::string &VarName,
96 void genAddStatementEnd(const std::string &VarName, unsigned ArraySize,
736 void RSReflectionJava::genInitBoolExportVariable(const std::string &VarName, in genInitBoolExportVariable() argument
742 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitBoolExportVariable()
748 RSReflectionJava::genInitPrimitiveExportVariable(const std::string &VarName, in genInitPrimitiveExportVariable() argument
752 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitPrimitiveExportVariable()
758 const std::string &VarName, in genInitExportVariable() argument
767 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
769 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
785 std::string Name = VarName + "." + GetVectorAccessor(i); in genInitExportVariable()
[all …]
Dslang_rs_reflection_cpp.h118 void genInitExportVariable(const RSExportType *ET, const std::string &VarName,
120 void genZeroInitExportVariable(const std::string &VarName);
121 void genInitBoolExportVariable(const std::string &VarName,
123 void genInitPrimitiveExportVariable(const std::string &VarName,
142 void genPackVarOfType(const RSExportType *ET, const char *VarName,
146 void genTypeCheck(const RSExportType *ET, const char *VarName);
Dslang_rs_reflection.h214 void genInitBoolExportVariable(const std::string &VarName,
216 void genInitPrimitiveExportVariable(const std::string &VarName,
218 void genInitExportVariable(const RSExportType *ET, const std::string &VarName,
229 const std::string &VarName);
233 const std::string &VarName);
234 void genGetFieldID(const std::string &VarName);
245 void genTypeCheck(const RSExportType *ET, const char *VarName);
277 const std::string &VarName,
284 void genPackVarOfType(const RSExportType *T, const char *VarName,
286 void genAllocateVarOfType(const RSExportType *T, const std::string &VarName);
Dslang_rs_reflection_cpp.cpp592 const std::string &VarName = EV->getName(); in genPointerTypeExportVariable() local
599 mOut.indent() << "void bind_" << VarName << "(" << TypeName << " v)"; in genPointerTypeExportVariable()
602 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = v;\n"; in genPointerTypeExportVariable()
605 mOut.indent() << TypeName << " get_" << VarName << "() const"; in genPointerTypeExportVariable()
614 mOut.indent() << "return " << RS_EXPORT_VAR_PREFIX << VarName << ";\n"; in genPointerTypeExportVariable()
766 const char *VarName, in genPackVarOfType() argument
773 mOut.indent() << FieldPackerName << ".add(" << VarName << ");\n"; in genPackVarOfType()
823 if (VarName != nullptr) in genPackVarOfType()
824 FieldName = VarName + ("." + F->getName()); in genPackVarOfType()
856 const char *VarName) { in genTypeCheck() argument
[all …]
Dslang_rs_object_ref_count.h223 const llvm::Twine &VarName,
Dslang_rs_object_ref_count.cpp1359 const llvm::Twine &VarName, in CreateGuard() argument
1368 &C.Idents.get(VarName.str()), // Id in CreateGuard()
/frameworks/compile/libbcc/lib/
DRSGlobalInfoPass.cpp171 std::stringstream VarName; in runOnModule() local
172 VarName << ".rs.name_str_" << GlobalNumber++; in runOnModule()
173 llvm::Value *V = M.getOrInsertGlobal(VarName.str(), C->getType()); in runOnModule()