Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_rs_reflection.cpp88 void genAddElement(const RSExportType *ET, const std::string &VarName,
91 void genAddStatementEnd(const std::string &VarName, unsigned ArraySize);
598 void RSReflectionJava::genInitBoolExportVariable(const std::string &VarName, in genInitBoolExportVariable() argument
604 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitBoolExportVariable()
610 RSReflectionJava::genInitPrimitiveExportVariable(const std::string &VarName, in genInitPrimitiveExportVariable() argument
614 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitPrimitiveExportVariable()
620 const std::string &VarName, in genInitExportVariable() argument
629 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
631 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
647 std::string Name = VarName + "." + GetVectorAccessor(i); in genInitExportVariable()
[all …]
Dslang_rs_reflection.h180 void genInitBoolExportVariable(const std::string &VarName,
182 void genInitPrimitiveExportVariable(const std::string &VarName,
184 void genInitExportVariable(const RSExportType *ET, const std::string &VarName,
195 const std::string &VarName);
198 const std::string &VarName);
199 void genGetFieldID(const std::string &VarName);
210 void genTypeCheck(const RSExportType *ET, const char *VarName);
234 const std::string &VarName,
240 void genPackVarOfType(const RSExportType *T, const char *VarName,
242 void genAllocateVarOfType(const RSExportType *T, const std::string &VarName);
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_cpp.cpp590 std::string VarName = EV->getName(); in genPointerTypeExportVariable() local
597 mOut.indent() << "void bind_" << VarName << "(" << TypeName << " v)"; in genPointerTypeExportVariable()
600 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = v;\n"; in genPointerTypeExportVariable()
603 mOut.indent() << TypeName << " get_" << VarName << "() const"; in genPointerTypeExportVariable()
612 mOut.indent() << "return " << RS_EXPORT_VAR_PREFIX << VarName << ";\n"; in genPointerTypeExportVariable()
764 const char *VarName, in genPackVarOfType() argument
771 mOut.indent() << FieldPackerName << ".add(" << VarName << ");\n"; in genPackVarOfType()
821 if (VarName != nullptr) in genPackVarOfType()
822 FieldName = VarName + ("." + F->getName()); in genPackVarOfType()
854 const char *VarName) { in genTypeCheck() argument
[all …]
Dslang_rs_object_ref_count.cpp1348 llvm::StringRef VarName(ss.str()); in CreateRetStmtWithTempVar() local
1357 &C.Idents.get(VarName), // Id in CreateRetStmtWithTempVar()
1462 llvm::StringRef VarName(ss.str()); in VisitCallExpr() local
1469 &mCtx.Idents.get(VarName), // Id in VisitCallExpr()
/frameworks/compile/libbcc/lib/Renderscript/
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()