Home
last modified time | relevance | path

Searched refs:IndexExpression (Results 1 – 25 of 32) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLIndexExpression.h52 struct IndexExpression : public Expression { struct
53 IndexExpression(const Context& context, std::unique_ptr<Expression> base, in IndexExpression() function
66 return std::unique_ptr<Expression>(new IndexExpression(fBase->clone(), fIndex->clone(), in clone() argument
80 IndexExpression(std::unique_ptr<Expression> base, std::unique_ptr<Expression> index, in IndexExpression() argument
/external/skia/src/sksl/ir/
DSkSLIndexExpression.h52 struct IndexExpression : public Expression { struct
53 IndexExpression(const Context& context, std::unique_ptr<Expression> base, in IndexExpression() argument
66 return std::unique_ptr<Expression>(new IndexExpression(fBase->clone(), fIndex->clone(), in clone() argument
80 IndexExpression(std::unique_ptr<Expression> base, std::unique_ptr<Expression> index, in IndexExpression() argument
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp136 if (!this->tryRemoveLValueBefore(iter, ((IndexExpression*) lvalue)->fBase.get())) { in tryRemoveLValueBefore()
139 return this->tryRemoveExpressionBefore(iter, ((IndexExpression*) lvalue)->fIndex.get()); in tryRemoveLValueBefore()
194 IndexExpression* idx = (IndexExpression*) expr; in tryRemoveExpression()
366 this->addExpression(cfg, &((IndexExpression*) e->get())->fBase, constantPropagate); in addExpression()
367 this->addExpression(cfg, &((IndexExpression*) e->get())->fIndex, constantPropagate); in addExpression()
430 this->addLValue(cfg, &((IndexExpression&) **e).fBase); in addLValue()
431 this->addExpression(cfg, &((IndexExpression&) **e).fIndex, true); in addLValue()
DSkSLInterpreter.cpp193 const IndexExpression& idx = (const IndexExpression&) expr; in getLValue()
396 const IndexExpression& idx = (const IndexExpression&) expr; in evaluate()
DSkSLCPPCodeGenerator.h40 void writeIndexExpression(const IndexExpression& i) override;
DSkSLGLSLCodeGenerator.h166 virtual void writeIndexExpression(const IndexExpression& expr);
DSkSLMetalCodeGenerator.h205 void writeIndexExpression(const IndexExpression& expr);
DSkSLMetalCodeGenerator.cpp156 this->writeIndexExpression((IndexExpression&) expr); in writeExpression()
445 void MetalCodeGenerator::writeIndexExpression(const IndexExpression& expr) { in writeIndexExpression()
1396 const IndexExpression& idx = (const IndexExpression&) e; in requirements()
DSkSLJIT.h166 LLVMValueRef compileIndex(LLVMBuilderRef builder, const IndexExpression& v);
DSkSLCompiler.cpp277 this->addDefinition(((IndexExpression*) lvalue)->fBase.get(), in addDefinition()
459 const IndexExpression& idx = (IndexExpression&) lvalue; in is_dead()
685 clear_write(*((IndexExpression&) expr).fBase); in clear_write()
DSkSLSPIRVCodeGenerator.h233 SpvId writeIndexExpression(const IndexExpression& expr, OutputStream& out);
DSkSLGLSLCodeGenerator.cpp237 this->writeIndexExpression((IndexExpression&) expr); in writeExpression()
812 void GLSLCodeGenerator::writeIndexExpression(const IndexExpression& expr) { in writeFunctionCall()
DSkSLSPIRVCodeGenerator.cpp663 return this->writeIndexExpression((IndexExpression&) expr, out); in writeExpression()
1480 return get_storage_class(*((IndexExpression&) expr).fBase); in get_storage_class()
1490 IndexExpression& indexExpr = (IndexExpression&) expr; in getAccessChain()
1797 SpvId SPIRVCodeGenerator::writeIndexExpression(const IndexExpression& expr, OutputStream& out) { in writeIndexExpression()
DSkSLJIT.cpp734 LLVMValueRef JIT::compileIndex(LLVMBuilderRef builder, const IndexExpression& idx) { in compileIndex()
1044 return this->compileIndex(builder, (IndexExpression&) expr); in compileExpression()
/external/skia/src/sksl/
DSkSLCFGGenerator.cpp136 if (!this->tryRemoveLValueBefore(iter, ((IndexExpression*) lvalue)->fBase.get())) { in tryRemoveLValueBefore()
139 return this->tryRemoveExpressionBefore(iter, ((IndexExpression*) lvalue)->fIndex.get()); in tryRemoveLValueBefore()
194 IndexExpression* idx = (IndexExpression*) expr; in tryRemoveExpression()
366 this->addExpression(cfg, &((IndexExpression*) e->get())->fBase, constantPropagate); in addExpression()
367 this->addExpression(cfg, &((IndexExpression*) e->get())->fIndex, constantPropagate); in addExpression()
431 this->addLValue(cfg, &((IndexExpression&) **e).fBase); in addLValue()
432 this->addExpression(cfg, &((IndexExpression&) **e).fIndex, true); in addLValue()
DSkSLInterpreter.cpp193 const IndexExpression& idx = (const IndexExpression&) expr; in getLValue()
396 const IndexExpression& idx = (const IndexExpression&) expr; in evaluate()
DSkSLCPPCodeGenerator.h40 void writeIndexExpression(const IndexExpression& i) override;
DSkSLGLSLCodeGenerator.h166 virtual void writeIndexExpression(const IndexExpression& expr);
DSkSLMetalCodeGenerator.h209 void writeIndexExpression(const IndexExpression& expr);
DSkSLJIT.h166 LLVMValueRef compileIndex(LLVMBuilderRef builder, const IndexExpression& v);
DSkSLMetalCodeGenerator.cpp158 this->writeIndexExpression((IndexExpression&) expr); in writeExpression()
545 void MetalCodeGenerator::writeIndexExpression(const IndexExpression& expr) { in writeIndexExpression()
1538 const IndexExpression& idx = (const IndexExpression&) e; in requirements()
DSkSLCompiler.cpp277 this->addDefinition(((IndexExpression*) lvalue)->fBase.get(), in addDefinition()
459 const IndexExpression& idx = (IndexExpression&) lvalue; in is_dead()
685 clear_write(*((IndexExpression&) expr).fBase); in clear_write()
DSkSLSPIRVCodeGenerator.h285 SpvId writeIndexExpression(const IndexExpression& expr, OutputStream& out);
DSkSLGLSLCodeGenerator.cpp233 this->writeIndexExpression((IndexExpression&) expr); in writeExpression()
818 void GLSLCodeGenerator::writeIndexExpression(const IndexExpression& expr) { in writeFunctionCall()
DSkSLSPIRVCodeGenerator.cpp669 return this->writeIndexExpression((IndexExpression&) expr, out); in writeExpression()
1521 return get_storage_class(*((IndexExpression&) expr).fBase); in get_storage_class()
1531 IndexExpression& indexExpr = (IndexExpression&) expr; in getAccessChain()
1856 SpvId SPIRVCodeGenerator::writeIndexExpression(const IndexExpression& expr, OutputStream& out) { in writeIndexExpression()

12