/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.h | 25 , fIfFalse(std::move(ifFalse)) { in TernaryExpression() 26 SkASSERT(fIfTrue->fType == fIfFalse->fType); in TernaryExpression() 30 return fTest->hasSideEffects() || fIfTrue->hasSideEffects() || fIfFalse->hasSideEffects(); in hasSideEffects() 36 fIfFalse->clone())); in clone() 41 fIfFalse->description() + ")"; in description() 46 std::unique_ptr<Expression> fIfFalse; member
|
D | SkSLIfStatement.h | 26 , fIfFalse(std::move(ifFalse)) {} in IfStatement() 30 fIfTrue->clone(), fIfFalse ? fIfFalse->clone() : nullptr)); in clone() 39 if (fIfFalse) { in description() 40 result += " else " + fIfFalse->description(); in description() 49 std::unique_ptr<Statement> fIfFalse; member
|
/third_party/skia/src/sksl/ir/ |
D | SkSLIfStatement.h | 30 , fIfFalse(std::move(ifFalse)) in IfStatement() 67 return fIfFalse; in ifFalse() 71 return fIfFalse; in ifFalse() 81 std::unique_ptr<Statement> fIfFalse; variable
|
D | SkSLTernaryExpression.h | 27 , fIfFalse(std::move(ifFalse)) { in TernaryExpression() 61 return fIfFalse; in ifFalse() 65 return fIfFalse; in ifFalse() 92 std::unique_ptr<Expression> fIfFalse; variable
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLCompiler.cpp | 305 this->addDefinition(((TernaryExpression*) lvalue)->fIfFalse.get(), in addDefinition() 477 return !t.fTest->hasSideEffects() && is_dead(*t.fIfTrue) && is_dead(*t.fIfFalse); in is_dead() 756 (*iter)->setExpression(std::move(t->fIfFalse)); in simplifyExpression() 949 (i.fIfFalse && contains_conditional_break(*i.fIfFalse, true)); in contains_conditional_break() 1041 if (i.fIfFalse) { in simplifyStatement() 1042 (*iter)->setStatement(std::move(i.fIfFalse)); in simplifyStatement() 1051 if (i.fIfFalse && i.fIfFalse->isEmpty()) { in simplifyStatement() 1053 i.fIfFalse.reset(); in simplifyStatement() 1057 if (!i.fIfFalse && i.fIfTrue->isEmpty()) { in simplifyStatement()
|
D | SkSLCFGGenerator.cpp | 150 return this->tryRemoveLValueBefore(iter, ((TernaryExpression*) lvalue)->fIfFalse.get()); in tryRemoveLValueBefore() 423 this->addExpression(cfg, &t->fIfFalse, constantPropagate); in addExpression() 458 this->addLValue(cfg, &((TernaryExpression&) **e).fIfFalse); in addLValue() 487 if (ifs.fIfFalse) { in addStatement() 490 this->addStatement(cfg, &ifs.fIfFalse); in addStatement()
|
D | SkSLMetalCodeGenerator.cpp | 727 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeTernaryExpression() 1212 if (stmt.fIfFalse) { in writeIfStatement() 1214 this->writeStatement(*stmt.fIfFalse); in writeIfStatement() 1554 this->requirements(*t.fIfFalse); in requirements() 1618 (i.fIfFalse ? this->requirements(*i.fIfFalse) : 0); in requirements()
|
D | SkSLJIT.cpp | 325 , fIfFalse(std::move(ifFalse)) {} in getLValue() 381 std::unique_ptr<LValue> fIfFalse; in getLValue() member in SkSL::JIT::getLValue::TernaryLValue 390 *t.fIfFalse))); in getLValue() 1012 LLVMValueRef ifFalse = this->compileExpression(builder, *t.fIfFalse); in compileTernary() 1092 if (i.fIfFalse) { in compileIf() 1103 if (i.fIfFalse) { in compileIf() 1105 this->compileStatement(builder, *i.fIfFalse); in compileIf() 1106 if (!ends_with_branch(*i.fIfFalse)) { in compileIf()
|
D | SkSLByteCodeGenerator.cpp | 1123 SkASSERT(count == SlotCount(t.fIfFalse->fType)); in writeTernaryExpression() 1129 this->writeExpression(*t.fIfFalse); in writeTernaryExpression() 1416 if (i.fIfFalse) { in writeIfStatement() 1420 this->writeStatement(*i.fIfFalse); in writeIfStatement()
|
D | SkSLGLSLCodeGenerator.cpp | 987 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeFunctionCall() 1358 if (stmt.fIfFalse) { in writeFunctionCall() 1360 this->writeStatement(*stmt.fIfFalse); in writeFunctionCall()
|
D | SkSLSPIRVCodeGenerator.cpp | 1769 SpvId ifFalse = this->getLValue(*t.fIfFalse, out)->getPointer(); in getLValue() 2349 if (t.fIfTrue->fType.columns() == 1 && t.fIfTrue->isConstant() && t.fIfFalse->isConstant()) { in writeTernaryExpression() 2353 SpvId falseId = this->writeExpression(*t.fIfFalse, out); in writeTernaryExpression() 2372 this->writeInstruction(SpvOpStore, var, this->writeExpression(*t.fIfFalse, out), out); in writeTernaryExpression() 2873 if (stmt.fIfFalse) { in writeIfStatement() 2883 this->writeStatement(*stmt.fIfFalse, out); in writeIfStatement()
|
D | SkSLIRGenerator.cpp | 2502 this->setRefKind(*t.fIfFalse, kind); in setRefKind()
|