Home
last modified time | relevance | path

Searched refs:BinaryExpression (Results 1 – 25 of 37) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLBinaryExpression.h21 struct BinaryExpression : public Expression { struct
22 BinaryExpression(int offset, std::unique_ptr<Expression> left, Token::Kind op, in BinaryExpression() function
42 return std::unique_ptr<Expression>(new BinaryExpression(fOffset, fLeft->clone(), fOperator, in clone() argument
/external/skia/src/sksl/ir/
DSkSLBinaryExpression.h21 struct BinaryExpression : public Expression { struct
22 BinaryExpression(int offset, std::unique_ptr<Expression> left, Token::Kind op, in BinaryExpression() argument
42 return std::unique_ptr<Expression>(new BinaryExpression(fOffset, fLeft->clone(), fOperator, in clone() argument
/external/skqp/src/sksl/
DSkSLCompiler.cpp313 BinaryExpression* b = (BinaryExpression*) expr; in addDefinitions()
475 static bool dead_assignment(const BinaryExpression& b) { in dead_assignment()
551 BinaryExpression& bin = (BinaryExpression&) **target; in delete_left()
589 BinaryExpression& bin = (BinaryExpression&) **target; in delete_right()
655 BinaryExpression& bin = (BinaryExpression&) **(*iter)->expression(); in vectorize_left()
667 BinaryExpression& bin = (BinaryExpression&) **(*iter)->expression(); in vectorize_right()
743 BinaryExpression* bin = (BinaryExpression*) expr; in simplifyExpression()
DSkSLJIT.h157 void vectorize(LLVMBuilderRef builder, const BinaryExpression& b, LLVMValueRef* left,
160 LLVMValueRef compileBinary(LLVMBuilderRef builder, const BinaryExpression& b);
221 bool compileVectorBinary(LLVMBuilderRef builder, const BinaryExpression& b,
DSkSLSPIRVCodeGenerator.h226 SpvId writeBinaryOperation(const BinaryExpression& expr, SpvOp_ ifFloat, SpvOp_ ifInt,
229 SpvId writeBinaryExpression(const BinaryExpression& b, OutputStream& out);
235 SpvId writeLogicalAnd(const BinaryExpression& b, OutputStream& out);
237 SpvId writeLogicalOr(const BinaryExpression& o, OutputStream& out);
DSkSLCFGGenerator.cpp158 BinaryExpression* b = (BinaryExpression*) expr; in tryRemoveExpression()
256 BinaryExpression* b = (BinaryExpression*) expr->get(); in tryInsertExpression()
298 BinaryExpression* b = (BinaryExpression*) e->get(); in addExpression()
DSkSLGLSLCodeGenerator.h160 virtual void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence);
161 void writeShortCircuitWorkaroundExpression(const BinaryExpression& b,
DSkSLPipelineStageCodeGenerator.h37 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence) override;
DSkSLCPPCodeGenerator.h38 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence) override;
DSkSLInterpreter.cpp338 const BinaryExpression& b = (const BinaryExpression&) expr; in evaluate()
DSkSLMetalCodeGenerator.h201 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence);
DSkSLGLSLCodeGenerator.cpp198 this->writeBinaryExpression((BinaryExpression&) expr, parentPrecedence); in writeExpression()
892 void GLSLCodeGenerator::writeBinaryExpression(const BinaryExpression& b, in writeFunctionCall()
926 void GLSLCodeGenerator::writeShortCircuitWorkaroundExpression(const BinaryExpression& b, in writeFunctionCall()
1342 std::unique_ptr<Expression> and_true(new BinaryExpression( in writeFunctionCall()
DSkSLPipelineStageCodeGenerator.cpp60 void PipelineStageCodeGenerator::writeBinaryExpression(const BinaryExpression& b, in writeBinaryExpression()
DSkSLMetalCodeGenerator.cpp117 this->writeBinaryExpression((BinaryExpression&) expr, parentPrecedence); in writeExpression()
527 void MetalCodeGenerator::writeBinaryExpression(const BinaryExpression& b, in writeBinaryExpression()
1392 const BinaryExpression& b = (const BinaryExpression&) e; in requirements()
/external/skia/src/sksl/
DSkSLJIT.h157 void vectorize(LLVMBuilderRef builder, const BinaryExpression& b, LLVMValueRef* left,
160 LLVMValueRef compileBinary(LLVMBuilderRef builder, const BinaryExpression& b);
221 bool compileVectorBinary(LLVMBuilderRef builder, const BinaryExpression& b,
DSkSLCompiler.cpp313 BinaryExpression* b = (BinaryExpression*) expr; in addDefinitions()
475 static bool dead_assignment(const BinaryExpression& b) { in dead_assignment()
551 BinaryExpression& bin = (BinaryExpression&) **target; in delete_left()
589 BinaryExpression& bin = (BinaryExpression&) **target; in delete_right()
655 BinaryExpression& bin = (BinaryExpression&) **(*iter)->expression(); in vectorize_left()
667 BinaryExpression& bin = (BinaryExpression&) **(*iter)->expression(); in vectorize_right()
743 BinaryExpression* bin = (BinaryExpression*) expr; in simplifyExpression()
DSkSLSPIRVCodeGenerator.h274 SpvId writeBinaryOperation(const BinaryExpression& expr, SpvOp_ ifFloat, SpvOp_ ifInt,
281 SpvId writeBinaryExpression(const BinaryExpression& b, OutputStream& out);
287 SpvId writeLogicalAnd(const BinaryExpression& b, OutputStream& out);
289 SpvId writeLogicalOr(const BinaryExpression& o, OutputStream& out);
DSkSLCFGGenerator.cpp158 BinaryExpression* b = (BinaryExpression*) expr; in tryRemoveExpression()
256 BinaryExpression* b = (BinaryExpression*) expr->get(); in tryInsertExpression()
298 BinaryExpression* b = (BinaryExpression*) e->get(); in addExpression()
DSkSLGLSLCodeGenerator.h160 virtual void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence);
161 void writeShortCircuitWorkaroundExpression(const BinaryExpression& b,
DSkSLPipelineStageCodeGenerator.h37 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence) override;
DSkSLCPPCodeGenerator.h38 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence) override;
DSkSLInterpreter.cpp338 const BinaryExpression& b = (const BinaryExpression&) expr; in evaluate()
DSkSLMetalCodeGenerator.h205 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence);
DSkSLPipelineStageCodeGenerator.cpp61 void PipelineStageCodeGenerator::writeBinaryExpression(const BinaryExpression& b, in writeBinaryExpression()
DSkSLGLSLCodeGenerator.cpp194 this->writeBinaryExpression((BinaryExpression&) expr, parentPrecedence); in writeExpression()
911 void GLSLCodeGenerator::writeBinaryExpression(const BinaryExpression& b, in writeFunctionCall()
945 void GLSLCodeGenerator::writeShortCircuitWorkaroundExpression(const BinaryExpression& b, in writeFunctionCall()
1369 std::unique_ptr<Expression> and_true(new BinaryExpression( in writeFunctionCall()

12