Home
last modified time | relevance | path

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

/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 Token::OperatorName(fOperator) + fOperand->description(); in description()
52 std::unique_ptr<Expression> fOperand; member
DSkSLPostfixExpression.h22 , fOperand(std::move(operand)) in PostfixExpression()
30 return fOperand->description() + Token::OperatorName(fOperator); in description()
33 std::unique_ptr<Expression> fOperand; member
/external/skia/src/sksl/ast/
DSkSLASTPrefixExpression.h23 , fOperand(std::move(operand)) {} in ASTPrefixExpression()
26 return Token::OperatorName(fOperator) + fOperand->description(); in description()
30 const std::unique_ptr<ASTExpression> fOperand; member
/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()
184 fOperand = true; in walk()
199 contour->init(fGlobalState, fOperand, in walk()
200 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/sksl/
DSkSLCFGGenerator.cpp219 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
226 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
364 this->addExpression(cfg, &p->fOperand, constantPropagate && in addExpression()
372 this->addExpression(cfg, &((PostfixExpression*) e->get())->fOperand, false); in addExpression()
DSkSLGLSLCodeGenerator.cpp177 this->writeExpression(*p.fOperand, kMultiplicative_Precedence); in writeFunctionCall()
452 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writePrefixExpression()
463 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writePostfixExpression()
DSkSLSPIRVCodeGenerator.cpp2456 SpvId expr = this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2468 return this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2470 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2479 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2488 ASSERT(p.fOperand->fType == *fContext.fBool_Type); in writePrefixExpression()
2490 this->writeInstruction(SpvOpLogicalNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2491 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2496 this->writeInstruction(SpvOpNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2497 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2506 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePostfixExpression()
DSkSLCompiler.cpp245 p->fOperand.get(), in addDefinitions()
255 p->fOperand.get(), in addDefinitions()
DSkSLIRGenerator.cpp1593 std::unique_ptr<Expression> base = this->convertExpression(*expression.fOperand); in convertPrefixExpression()
/external/skia/tests/
DPathOpsDebug.cpp1275 SkDebugf("contour=%d count=%d op=%d xor=%d\n", this->debugID(), fCount, fOperand, fXor); in dump()
1289 SkDebugf("contour=%d count=%d op=%d xor=%d\n", this->debugID(), fCount, fOperand, fXor); in dumpAll()