Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/sksl/ir/
DSkSLTernaryExpression.h25 , 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
DSkSLIfStatement.h26 , 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/
DSkSLIfStatement.h30 , fIfFalse(std::move(ifFalse)) in IfStatement()
67 return fIfFalse; in ifFalse()
71 return fIfFalse; in ifFalse()
81 std::unique_ptr<Statement> fIfFalse; variable
DSkSLTernaryExpression.h27 , 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/
DSkSLCompiler.cpp305 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()
DSkSLCFGGenerator.cpp150 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()
DSkSLMetalCodeGenerator.cpp727 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()
DSkSLJIT.cpp325 , 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()
DSkSLByteCodeGenerator.cpp1123 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()
DSkSLGLSLCodeGenerator.cpp987 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeFunctionCall()
1358 if (stmt.fIfFalse) { in writeFunctionCall()
1360 this->writeStatement(*stmt.fIfFalse); in writeFunctionCall()
DSkSLSPIRVCodeGenerator.cpp1769 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()
DSkSLIRGenerator.cpp2502 this->setRefKind(*t.fIfFalse, kind); in setRefKind()