Home
last modified time | relevance | path

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

/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/
DSkSLPostfixExpression.h26 , fOperand(std::move(operand)) in PostfixExpression()
44 return fOperand; in operand()
48 return fOperand; in operand()
65 std::unique_ptr<Expression> fOperand;
DSkSLPrefixExpression.h31 , fOperand(std::move(operand)) {} in PrefixExpression()
46 return fOperand; in operand()
50 return fOperand; in operand()
72 std::unique_ptr<Expression> fOperand; variable
/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/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.cpp14 fOperand = false; in init()
53 fOperand = false; in finish()
179 fOperand = true; in walk()
194 contour->init(fGlobalState, fOperand, in walk()
195 fXorMask[fOperand] == kEvenOdd_PathOpsMask); in walk()
DSkOpContour.h191 fOperand = operand; in init()
265 return fOperand; in operand()
326 fOperand = isOp; in setOperand()
382 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()
DSkSLCompiler.cpp341 p->fOperand.get(), in addDefinitions()
351 p->fOperand.get(), in addDefinitions()
DSkSLIRGenerator.cpp1804 std::unique_ptr<Expression> base = this->convertExpression(*expression.fOperand); in convertPrefixExpression()
/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()
/external/skia/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()