Home
last modified time | relevance | path

Searched refs:fOperand (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/src/sksl/ir/
DSkSLPrefixExpression.h24 , fOperand(std::move(operand)) in PrefixExpression()
28 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant()
33 fOperand->hasSideEffects(); in hasSideEffects()
38 if (fOperand->fKind == Expression::kFloatLiteral_Kind) { in constantPropagate()
42 -((FloatLiteral&) *fOperand).fValue)); in constantPropagate()
49 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone()
53 return Compiler::OperatorName(fOperator) + fOperand->description(); in description()
56 std::unique_ptr<Expression> fOperand; member
DSkSLPostfixExpression.h22 , fOperand(std::move(operand)) in PostfixExpression()
30 return std::unique_ptr<Expression>(new PostfixExpression(fOperand->clone(), fOperator)); in clone()
34 return fOperand->description() + Compiler::OperatorName(fOperator); in description()
37 std::unique_ptr<Expression> fOperand; member
/external/skia/src/sksl/ir/
DSkSLPrefixExpression.h24 , fOperand(std::move(operand)) in PrefixExpression()
28 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant()
33 fOperand->hasSideEffects(); in hasSideEffects()
38 if (fOperand->fKind == Expression::kFloatLiteral_Kind) { in constantPropagate()
42 -((FloatLiteral&) *fOperand).fValue)); in constantPropagate()
49 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone()
53 return Compiler::OperatorName(fOperator) + fOperand->description(); in description()
56 std::unique_ptr<Expression> fOperand; member
DSkSLPostfixExpression.h22 , fOperand(std::move(operand)) in PostfixExpression()
30 return std::unique_ptr<Expression>(new PostfixExpression(fOperand->clone(), fOperator)); in clone()
34 return fOperand->description() + Compiler::OperatorName(fOperator); in description()
37 std::unique_ptr<Expression> fOperand; member
/external/skqp/src/sksl/ast/
DSkSLASTPrefixExpression.h24 , fOperand(std::move(operand)) {} in ASTPrefixExpression()
27 return Compiler::OperatorName(fOperator) + fOperand->description(); in description()
31 const std::unique_ptr<ASTExpression> fOperand; member
/external/skia/src/sksl/ast/
DSkSLASTPrefixExpression.h24 , fOperand(std::move(operand)) {} in ASTPrefixExpression()
27 return Compiler::OperatorName(fOperator) + fOperand->description(); in description()
31 const std::unique_ptr<ASTExpression> fOperand; member
/external/skqp/src/pathops/
DSkOpEdgeBuilder.h53 SkPathOpsMask xorMask() const { return fXorMask[fOperand]; } in xorMask()
70 bool fOperand; variable
DSkOpEdgeBuilder.cpp12 fOperand = false; in init()
49 fOperand = false; in finish()
185 fOperand = true; in walk()
200 contour->init(fGlobalState, fOperand, in walk()
201 fXorMask[fOperand] == kEvenOdd_PathOpsMask); in walk()
DSkOpContour.h192 fOperand = operand; in init()
266 return fOperand; in operand()
327 fOperand = isOp; in setOperand()
383 bool fOperand; // true for the second argument to a binary operator variable
/external/skia/src/pathops/
DSkOpEdgeBuilder.h53 SkPathOpsMask xorMask() const { return fXorMask[fOperand]; } in xorMask()
70 bool fOperand; variable
DSkOpEdgeBuilder.cpp12 fOperand = false; in init()
49 fOperand = false; in finish()
185 fOperand = true; in walk()
200 contour->init(fGlobalState, fOperand, in walk()
201 fXorMask[fOperand] == kEvenOdd_PathOpsMask); in walk()
DSkOpContour.h192 fOperand = operand; in init()
266 return fOperand; in operand()
327 fOperand = isOp; in setOperand()
383 bool fOperand; // true for the second argument to a binary operator variable
/external/skqp/src/sksl/
DSkSLInterpreter.cpp405 Value base = this->evaluate(*p.fOperand); in evaluate()
416 Value base = this->evaluate(*p.fOperand); in evaluate()
425 StackIndex lvalue = this->getLValue(*p.fOperand); in evaluate()
DSkSLCFGGenerator.cpp228 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
235 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
373 this->addExpression(cfg, &p->fOperand, constantPropagate && in addExpression()
381 this->addExpression(cfg, &((PostfixExpression*) e->get())->fOperand, false); in addExpression()
DSkSLMetalCodeGenerator.cpp587 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writePrefixExpression()
598 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writePostfixExpression()
1400 return this->requirements(*((const PrefixExpression&) e).fOperand); in requirements()
1402 return this->requirements(*((const PostfixExpression&) e).fOperand); in requirements()
DSkSLSPIRVCodeGenerator.cpp2361 SpvId expr = this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2373 return this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2375 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2384 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2393 SkASSERT(p.fOperand->fType == *fContext.fBool_Type); in writePrefixExpression()
2395 this->writeInstruction(SpvOpLogicalNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2396 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2401 this->writeInstruction(SpvOpNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2402 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2411 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePostfixExpression()
DSkSLGLSLCodeGenerator.cpp518 this->writeExpression(*p.fOperand, kMultiplicative_Precedence); in writeFunctionCall()
976 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writeFunctionCall()
987 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writeFunctionCall()
DSkSLJIT.cpp742 std::unique_ptr<LValue> lvalue = this->getLValue(builder, *p.fOperand); in compilePostfix()
783 LLVMValueRef base = this->compileExpression(builder, *p.fOperand); in compilePrefix()
787 LLVMValueRef base = this->compileExpression(builder, *p.fOperand); in compilePrefix()
790 std::unique_ptr<LValue> lvalue = this->getLValue(builder, *p.fOperand); in compilePrefix()
/external/skia/src/sksl/
DSkSLInterpreter.cpp405 Value base = this->evaluate(*p.fOperand); in evaluate()
416 Value base = this->evaluate(*p.fOperand); in evaluate()
425 StackIndex lvalue = this->getLValue(*p.fOperand); in evaluate()
DSkSLCFGGenerator.cpp228 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
235 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
373 this->addExpression(cfg, &p->fOperand, constantPropagate && in addExpression()
381 this->addExpression(cfg, &((PostfixExpression*) e->get())->fOperand, false); in addExpression()
DSkSLMetalCodeGenerator.cpp733 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writePrefixExpression()
744 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writePostfixExpression()
1542 return this->requirements(*((const PrefixExpression&) e).fOperand); in requirements()
1544 return this->requirements(*((const PostfixExpression&) e).fOperand); in requirements()
DSkSLSPIRVCodeGenerator.cpp2343 SpvId expr = this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2356 return this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2358 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2367 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2376 SkASSERT(p.fOperand->fType == *fContext.fBool_Type); in writePrefixExpression()
2378 this->writeInstruction(SpvOpLogicalNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2379 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2384 this->writeInstruction(SpvOpNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2385 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2394 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePostfixExpression()
DSkSLGLSLCodeGenerator.cpp514 this->writeExpression(*p.fOperand, kMultiplicative_Precedence); in writeFunctionCall()
995 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writeFunctionCall()
1006 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writeFunctionCall()
DSkSLJIT.cpp742 std::unique_ptr<LValue> lvalue = this->getLValue(builder, *p.fOperand); in compilePostfix()
783 LLVMValueRef base = this->compileExpression(builder, *p.fOperand); in compilePrefix()
787 LLVMValueRef base = this->compileExpression(builder, *p.fOperand); in compilePrefix()
790 std::unique_ptr<LValue> lvalue = this->getLValue(builder, *p.fOperand); in compilePrefix()
/external/skqp/tests/
DPathOpsDebug.cpp958 SkDebugf("contour=%d count=%d op=%d xor=%d\n", this->debugID(), fCount, fOperand, fXor); in dump()
972 SkDebugf("contour=%d count=%d op=%d xor=%d\n", this->debugID(), fCount, fOperand, fXor); in dumpAll()

12