Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/sksl/ir/
DSkSLPrefixExpression.h25 , fOperand(std::move(operand)) in PrefixExpression()
29 return fOperator == Token::MINUS && fOperand->isConstant(); in isConstant()
34 fOperand->hasSideEffects(); in hasSideEffects()
39 if (fOperand->fKind == Expression::kFloatLiteral_Kind) { in constantPropagate()
43 -((FloatLiteral&) *fOperand).fValue)); in constantPropagate()
51 return -fOperand->getFVecComponent(index); in getFVecComponent()
56 return -fOperand->getIVecComponent(index); in getIVecComponent()
61 return -fOperand->getMatComponent(col, row); in getMatComponent()
65 return std::unique_ptr<Expression>(new PrefixExpression(fOperator, fOperand->clone())); in clone()
69 return Compiler::OperatorName(fOperator) + fOperand->description(); in description()
[all …]
DSkSLPostfixExpression.h23 , fOperand(std::move(operand)) in PostfixExpression()
31 return std::unique_ptr<Expression>(new PostfixExpression(fOperand->clone(), fOperator)); in clone()
35 return fOperand->description() + Compiler::OperatorName(fOperator); in description()
38 std::unique_ptr<Expression> fOperand; member
DSkSLConstructor.h153 const Constructor& c = (const Constructor&) *p.fOperand; in getVecComponent()
/third_party/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.h30 , fOperand(std::move(operand)) {} in PrefixExpression()
45 return fOperand; in operand()
49 return fOperand; in operand()
71 std::unique_ptr<Expression> fOperand; variable
/third_party/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
/third_party/flutter/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
/third_party/flutter/skia/src/sksl/
DSkSLCFGGenerator.cpp230 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
237 ((PrefixExpression*) expr)->fOperand.get())) { in tryRemoveExpression()
384 this->addExpression(cfg, &p->fOperand, constantPropagate && in addExpression()
392 this->addExpression(cfg, &((PostfixExpression*) e->get())->fOperand, false); in addExpression()
DSkSLByteCodeGenerator.cpp1014 SkASSERT(SlotCount(p.fOperand->fType) == 1); in writePrefixExpression()
1015 std::unique_ptr<LValue> lvalue = this->getLValue(*p.fOperand); in writePrefixExpression()
1037 this->writeExpression(*p.fOperand); in writePrefixExpression()
1042 SlotCount(p.fOperand->fType)); in writePrefixExpression()
1055 SkASSERT(SlotCount(p.fOperand->fType) == 1); in writePostfixExpression()
1056 std::unique_ptr<LValue> lvalue = this->getLValue(*p.fOperand); in writePostfixExpression()
DSkSLMetalCodeGenerator.cpp739 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writePrefixExpression()
750 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writePostfixExpression()
1548 return this->requirements(*((const PrefixExpression&) e).fOperand); in requirements()
1550 return this->requirements(*((const PostfixExpression&) e).fOperand); in requirements()
DSkSLSPIRVCodeGenerator.cpp2385 SpvId expr = this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2398 return this->writeExpression(*p.fOperand, out); in writePrefixExpression()
2400 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2409 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePrefixExpression()
2418 SkASSERT(p.fOperand->fType == *fContext.fBool_Type); in writePrefixExpression()
2420 this->writeInstruction(SpvOpLogicalNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2421 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2426 this->writeInstruction(SpvOpNot, this->getType(p.fOperand->fType), result, in writePrefixExpression()
2427 this->writeExpression(*p.fOperand, out), out); in writePrefixExpression()
2436 std::unique_ptr<LValue> lv = this->getLValue(*p.fOperand, out); in writePostfixExpression()
DSkSLGLSLCodeGenerator.cpp514 this->writeExpression(*p.fOperand, kMultiplicative_Precedence); in writeFunctionCall()
999 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writeFunctionCall()
1010 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.cpp354 p->fOperand.get(), in addDefinitions()
364 p->fOperand.get(), in addDefinitions()
/third_party/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()
/third_party/flutter/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()