Home
last modified time | relevance | path

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

12

/external/skia/src/sksl/ir/
DSkSLPrefixExpression.cpp43 PrefixExpression& prefix = operand->as<PrefixExpression>(); in negate_operand()
94 return std::make_unique<PrefixExpression>(Token::Kind::TK_MINUS, std::move(operand)); in negate_operand()
116 PrefixExpression& prefix = operand->as<PrefixExpression>(); in logical_not_operand()
128 return std::make_unique<PrefixExpression>(Token::Kind::TK_LOGICALNOT, std::move(operand)); in logical_not_operand()
131 std::unique_ptr<Expression> PrefixExpression::Convert(const Context& context, in Convert()
199 return PrefixExpression::Make(context, op, std::move(base)); in Convert()
202 std::unique_ptr<Expression> PrefixExpression::Make(const Context& context, Operator op, in Make()
233 return std::make_unique<PrefixExpression>(op, std::move(base)); in Make()
DSkSLPrefixExpression.h23 class PrefixExpression final : public Expression {
28 PrefixExpression(Operator op, std::unique_ptr<Expression> operand) in PrefixExpression() function
63 return std::make_unique<PrefixExpression>(this->getOperator(), this->operand()->clone()); in clone()
/external/skqp/src/sksl/ir/
DSkSLPrefixExpression.h21 struct PrefixExpression : public Expression { struct
22 PrefixExpression(Token::Kind op, std::unique_ptr<Expression> operand) in PrefixExpression() argument
49 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone() argument
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp228 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
235 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
372 PrefixExpression* p = (PrefixExpression*) e->get(); in addExpression()
DSkSLGLSLCodeGenerator.h168 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence);
DSkSLMetalCodeGenerator.h207 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence);
DSkSLInterpreter.cpp402 const PrefixExpression& p = (const PrefixExpression&) expr; in evaluate()
DSkSLGLSLCodeGenerator.cpp219 this->writePrefixExpression((PrefixExpression&) expr, parentPrecedence); in writeExpression()
513 const PrefixExpression& p = (PrefixExpression&) *c.fArguments[1]; in writeFunctionCall()
970 void GLSLCodeGenerator::writePrefixExpression(const PrefixExpression& p, in writeFunctionCall()
DSkSLJIT.h170 LLVMValueRef compilePrefix(LLVMBuilderRef builder, const PrefixExpression& p);
DSkSLMetalCodeGenerator.cpp138 this->writePrefixExpression((PrefixExpression&) expr, parentPrecedence); in writeExpression()
581 void MetalCodeGenerator::writePrefixExpression(const PrefixExpression& p, in writePrefixExpression()
1400 return this->requirements(*((const PrefixExpression&) e).fOperand); in requirements()
DSkSLSPIRVCodeGenerator.h239 SpvId writePrefixExpression(const PrefixExpression& p, OutputStream& out);
DSkSLCompiler.cpp338 const PrefixExpression* p = (PrefixExpression*) expr; in addDefinitions()
/external/skia/src/sksl/
DSkSLInliner.cpp388 const PrefixExpression& p = expression.as<PrefixExpression>(); in inlineExpression()
389 return PrefixExpression::Make(*fContext, p.getOperator(), expr(p.operand())); in inlineExpression()
996 PrefixExpression& prefixExpr = (*expr)->as<PrefixExpression>(); in visitExpression()
DSkSLDehydrator.cpp394 const PrefixExpression& p = e->as<PrefixExpression>(); in write()
DSkSLAnalysis.cpp912 const PrefixExpression& next = loopNext->as<PrefixExpression>(); in invalid_for_ES2()
1197 return this->visitExpressionPtr(e.template as<PrefixExpression>().operand()); in visitExpression()
DSkSLConstantFolder.cpp280 return PrefixExpression::Make(context, Token::Kind::TK_MINUS, in simplify_no_op_arithmetic()
DSkSLRehydrator.cpp543 return PrefixExpression::Make(fContext, op, std::move(operand)); in expression()
/external/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.h155 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence);
DSkSLPipelineStageCodeGenerator.cpp84 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence);
421 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression()
518 void PipelineStageCodeGenerator::writePrefixExpression(const PrefixExpression& p, in writePrefixExpression()
DSkSLMetalCodeGenerator.h228 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence);
DSkSLGLSLCodeGenerator.cpp218 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression()
487 const PrefixExpression& p = (PrefixExpression&) *arguments[1]; in writeFunctionCall()
918 void GLSLCodeGenerator::writePrefixExpression(const PrefixExpression& p, in writePrefixExpression()
DSkSLSPIRVCodeGenerator.h367 SpvId writePrefixExpression(const PrefixExpression& p, OutputStream& out);
DSkSLMetalCodeGenerator.cpp171 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression()
1415 void MetalCodeGenerator::writePrefixExpression(const PrefixExpression& p, in writePrefixExpression()
2340 return this->requirements(e->as<PrefixExpression>().operand().get()); in requirements()
DSkSLVMCodeGenerator.cpp262 Value writePrefixExpression(const PrefixExpression& p);
1269 Value SkVMGenerator::writePrefixExpression(const PrefixExpression& p) { in writePrefixExpression()
1405 return this->writePrefixExpression(e.as<PrefixExpression>()); in writeExpression()
/external/skia/src/sksl/dsl/priv/
DDSLWriter.cpp189 return PrefixExpression::Convert(Context(), op, std::move(expr)); in ConvertPrefix()

12