Home
last modified time | relevance | path

Searched refs:getConstant (Results 1 – 11 of 11) sorted by relevance

/frameworks/rs/rsov/compiler/tests/multi_function/
Dblend_mf.rs23 static uchar getConstant() {
35 out.a = getConstant();
/frameworks/rs/rsov/compiler/spirit/
Dbuilder_test.cpp86 auto ConstFour = m->getConstant(UIntTy, 4); in TEST()
87 auto ConstOne = m->getConstant(UIntTy, 1); in TEST()
109 auto ConstZero = m->getConstant(UIntTy, 0); in TEST()
155 auto ConstOneF = m->getConstant(FloatTy, 1.0f); in TEST()
Dmodule.cpp240 ConstantInst *Module::getConstant(TypeIntInst *type, int32_t value) { in getConstant() function in android::spirit::Module
241 return getGlobalSection()->getConstant(type, value); in getConstant()
244 ConstantInst *Module::getConstant(TypeIntInst *type, uint32_t value) { in getConstant() function in android::spirit::Module
245 return getGlobalSection()->getConstant(type, value); in getConstant()
248 ConstantInst *Module::getConstant(TypeFloatInst *type, float value) { in getConstant() function in android::spirit::Module
249 return getGlobalSection()->getConstant(type, value); in getConstant()
644 ConstantInst *GlobalSection::getConstant(TypeIntInst *type, int32_t value) { in getConstant() function in android::spirit::GlobalSection
654 ConstantInst *GlobalSection::getConstant(TypeIntInst *type, uint32_t value) { in getConstant() function in android::spirit::GlobalSection
664 ConstantInst *GlobalSection::getConstant(TypeFloatInst *type, float value) { in getConstant() function in android::spirit::GlobalSection
Dmodule.h189 ConstantInst *getConstant(TypeIntInst *type, int32_t value);
190 ConstantInst *getConstant(TypeIntInst *type, uint32_t value);
191 ConstantInst *getConstant(TypeFloatInst *type, float value);
399 ConstantInst *getConstant(TypeIntInst *type, int32_t value);
400 ConstantInst *getConstant(TypeIntInst *type, uint32_t value);
401 ConstantInst *getConstant(TypeFloatInst *type, float value);
Dtransformer_test.cpp50 ConstantInst *ConstDouble2 = getModule()->getConstant(DoubleTy, 2.0); in transform()
/frameworks/rs/rsov/compiler/
DGlobalAllocSPIRITPass.cpp155 auto ConstZero = getModule()->getConstant(UInt32Ty, 0U); in transform()
156 auto ConstOne = getModule()->getConstant(UInt32Ty, 1U); in transform()
DWrapper.cpp127 auto ConstOne = m->getConstant(UIntTy, 1U); in AddWrapper()
168 ConstantInst *ConstZero = m->getConstant(UIntTy, 0); in AddWrapper()
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp120 const Constant* constant = spec.getConstant(); in writeConstantSpecification()
349 Constant* constant = spec->getConstant(); in writeHeaderFile()
DSpecification.h273 Constant* getConstant() const { return mConstant; } in getConstant() function
DSpecification.cpp781 Constant* constant = spec->getConstant(); in addConstantSpecification()
/frameworks/base/rs/java/android/renderscript/
DProgram.java98 public Type getConstant(int slot) { in getConstant() method in Program