/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLTernaryExpression.h | 24 , fIfTrue(std::move(ifTrue)) in TernaryExpression() 26 SkASSERT(fIfTrue->fType == fIfFalse->fType); in TernaryExpression() 30 return fTest->hasSideEffects() || fIfTrue->hasSideEffects() || fIfFalse->hasSideEffects(); in hasSideEffects() 35 fIfTrue->clone(), in clone() 40 return "(" + fTest->description() + " ? " + fIfTrue->description() + " : " + in description() 45 std::unique_ptr<Expression> fIfTrue; member
|
D | SkSLIfStatement.h | 25 , fIfTrue(std::move(ifTrue)) in IfStatement() 30 fIfTrue->clone(), fIfFalse ? fIfFalse->clone() : nullptr)); in clone() 38 result += "if (" + fTest->description() + ") " + fIfTrue->description(); in description() 47 std::unique_ptr<Statement> fIfTrue; member
|
/third_party/skia/src/sksl/ir/ |
D | SkSLIfStatement.h | 29 , fIfTrue(std::move(ifTrue)) in IfStatement() 59 return fIfTrue; in ifTrue() 63 return fIfTrue; in ifTrue() 80 std::unique_ptr<Statement> fIfTrue; variable
|
D | SkSLTernaryExpression.h | 26 , fIfTrue(std::move(ifTrue)) in TernaryExpression() 53 return fIfTrue; in ifTrue() 57 return fIfTrue; in ifTrue() 91 std::unique_ptr<Expression> fIfTrue; variable
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLJIT.cpp | 324 , fIfTrue(std::move(ifTrue)) in getLValue() 341 LLVMValueRef ifTrue = fIfTrue->load(builder); in getLValue() 344 LLVMValueRef ifFalse = fIfTrue->load(builder); in getLValue() 369 fIfTrue->store(builder, value); in getLValue() 372 fIfTrue->store(builder, value); in getLValue() 380 std::unique_ptr<LValue> fIfTrue; in getLValue() member in SkSL::JIT::getLValue::TernaryLValue 388 *t.fIfTrue), in getLValue() 1008 LLVMValueRef ifTrue = this->compileExpression(builder, *t.fIfTrue); in compileTernary() 1099 this->compileStatement(builder, *i.fIfTrue); in compileIf() 1100 if (!ends_with_branch(*i.fIfTrue)) { in compileIf()
|
D | SkSLCFGGenerator.cpp | 147 if (!this->tryRemoveLValueBefore(iter, ((TernaryExpression*) lvalue)->fIfTrue.get())) { in tryRemoveLValueBefore() 419 this->addExpression(cfg, &t->fIfTrue, constantPropagate); in addExpression() 457 this->addLValue(cfg, &((TernaryExpression&) **e).fIfTrue); in addLValue() 485 this->addStatement(cfg, &ifs.fIfTrue); in addStatement()
|
D | SkSLCompiler.cpp | 302 this->addDefinition(((TernaryExpression*) lvalue)->fIfTrue.get(), in addDefinition() 477 return !t.fTest->hasSideEffects() && is_dead(*t.fIfTrue) && is_dead(*t.fIfFalse); in is_dead() 754 (*iter)->setExpression(std::move(t->fIfTrue)); in simplifyExpression() 948 return contains_conditional_break(*i.fIfTrue, true) || in contains_conditional_break() 1038 SkASSERT(i.fIfTrue); in simplifyStatement() 1039 (*iter)->setStatement(std::move(i.fIfTrue)); in simplifyStatement() 1057 if (!i.fIfFalse && i.fIfTrue->isEmpty()) { in simplifyStatement()
|
D | SkSLMetalCodeGenerator.cpp | 725 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeTernaryExpression() 1211 this->writeStatement(*stmt.fIfTrue); in writeIfStatement() 1553 return this->requirements(*t.fTest) | this->requirements(*t.fIfTrue) | in requirements() 1617 this->requirements(*i.fIfTrue) | in requirements()
|
D | SkSLByteCodeGenerator.cpp | 1122 SkASSERT(count == SlotCount(t.fIfTrue->fType)); in writeTernaryExpression() 1127 this->writeExpression(*t.fIfTrue); in writeTernaryExpression() 1414 this->writeStatement(*i.fIfTrue); in writeIfStatement()
|
D | SkSLSPIRVCodeGenerator.cpp | 1765 SpvId ifTrue = this->getLValue(*t.fIfTrue, out)->getPointer(); in getLValue() 2349 if (t.fIfTrue->fType.columns() == 1 && t.fIfTrue->isConstant() && t.fIfFalse->isConstant()) { in writeTernaryExpression() 2352 SpvId trueId = this->writeExpression(*t.fIfTrue, out); in writeTernaryExpression() 2369 this->writeInstruction(SpvOpStore, var, this->writeExpression(*t.fIfTrue, out), out); in writeTernaryExpression() 2878 this->writeStatement(*stmt.fIfTrue, out); in writeIfStatement() 2892 this->writeStatement(*stmt.fIfTrue, out); in writeIfStatement()
|
D | SkSLGLSLCodeGenerator.cpp | 985 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeFunctionCall() 1357 this->writeStatement(*stmt.fIfTrue); in writeFunctionCall()
|
D | SkSLIRGenerator.cpp | 2501 this->setRefKind(*t.fIfTrue, kind); in setRefKind()
|