Home
last modified time | relevance | path

Searched refs:TernaryExpression (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/sksl/ir/
DSkSLTernaryExpression.h19 struct TernaryExpression : public Expression { struct
20 TernaryExpression(int offset, std::unique_ptr<Expression> test, in TernaryExpression() argument
34 return std::unique_ptr<Expression>(new TernaryExpression(fOffset, fTest->clone(), in clone() argument
/external/skqp/src/sksl/ir/
DSkSLTernaryExpression.h19 struct TernaryExpression : public Expression { struct
20 TernaryExpression(int offset, std::unique_ptr<Expression> test, in TernaryExpression() function
34 return std::unique_ptr<Expression>(new TernaryExpression(fOffset, fTest->clone(), in clone() argument
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp142 ((TernaryExpression*) lvalue)->fTest.get())) { in tryRemoveLValueBefore()
145 if (!this->tryRemoveLValueBefore(iter, ((TernaryExpression*) lvalue)->fIfTrue.get())) { in tryRemoveLValueBefore()
148 return this->tryRemoveLValueBefore(iter, ((TernaryExpression*) lvalue)->fIfFalse.get()); in tryRemoveLValueBefore()
400 TernaryExpression* t = (TernaryExpression*) e->get(); in addExpression()
439 this->addExpression(cfg, &((TernaryExpression&) **e).fTest, true); in addLValue()
443 this->addLValue(cfg, &((TernaryExpression&) **e).fIfTrue); in addLValue()
444 this->addLValue(cfg, &((TernaryExpression&) **e).fIfFalse); in addLValue()
DSkSLInterpreter.cpp204 const TernaryExpression& t = (const TernaryExpression&) expr; in getLValue()
459 const TernaryExpression& t = (const TernaryExpression&) expr; in evaluate()
DSkSLCompiler.cpp291 this->addDefinition(((TernaryExpression*) lvalue)->fIfTrue.get(), in addDefinition()
294 this->addDefinition(((TernaryExpression*) lvalue)->fIfFalse.get(), in addDefinition()
463 const TernaryExpression& t = (TernaryExpression&) lvalue; in is_dead()
728 TernaryExpression* t = (TernaryExpression*) expr; in simplifyExpression()
DSkSLGLSLCodeGenerator.h164 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
DSkSLMetalCodeGenerator.h203 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
DSkSLMetalCodeGenerator.cpp153 this->writeTernaryExpression((TernaryExpression&) expr, parentPrecedence); in writeExpression()
566 void MetalCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeTernaryExpression()
1404 const TernaryExpression& t = (const TernaryExpression&) e; in requirements()
DSkSLJIT.h176 LLVMValueRef compileTernary(LLVMBuilderRef builder, const TernaryExpression& t);
DSkSLSPIRVCodeGenerator.h231 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
DSkSLJIT.cpp383 const TernaryExpression& t = (const TernaryExpression&) expr; in getLValue()
998 LLVMValueRef JIT::compileTernary(LLVMBuilderRef builder, const TernaryExpression& t) { in compileTernary()
1056 return this->compileTernary(builder, (TernaryExpression&) expr); in compileExpression()
DSkSLGLSLCodeGenerator.cpp234 this->writeTernaryExpression((TernaryExpression&) expr, parentPrecedence); in writeExpression()
955 void GLSLCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeFunctionCall()
DSkSLIRGenerator.cpp1551 return std::unique_ptr<Expression>(new TernaryExpression(expression.fOffset, in convertTernaryExpression()
1700 new TernaryExpression(offset, std::move(args[0]), in convertNumberConstructor()
2244 TernaryExpression& t = (TernaryExpression&) expr; in setRefKind()
/external/skia/src/sksl/
DSkSLCFGGenerator.cpp142 ((TernaryExpression*) lvalue)->fTest.get())) { in tryRemoveLValueBefore()
145 if (!this->tryRemoveLValueBefore(iter, ((TernaryExpression*) lvalue)->fIfTrue.get())) { in tryRemoveLValueBefore()
148 return this->tryRemoveLValueBefore(iter, ((TernaryExpression*) lvalue)->fIfFalse.get()); in tryRemoveLValueBefore()
401 TernaryExpression* t = (TernaryExpression*) e->get(); in addExpression()
440 this->addExpression(cfg, &((TernaryExpression&) **e).fTest, true); in addLValue()
444 this->addLValue(cfg, &((TernaryExpression&) **e).fIfTrue); in addLValue()
445 this->addLValue(cfg, &((TernaryExpression&) **e).fIfFalse); in addLValue()
DSkSLInterpreter.cpp204 const TernaryExpression& t = (const TernaryExpression&) expr; in getLValue()
459 const TernaryExpression& t = (const TernaryExpression&) expr; in evaluate()
DSkSLCompiler.cpp291 this->addDefinition(((TernaryExpression*) lvalue)->fIfTrue.get(), in addDefinition()
294 this->addDefinition(((TernaryExpression*) lvalue)->fIfFalse.get(), in addDefinition()
463 const TernaryExpression& t = (TernaryExpression&) lvalue; in is_dead()
728 TernaryExpression* t = (TernaryExpression*) expr; in simplifyExpression()
DSkSLGLSLCodeGenerator.h164 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
DSkSLMetalCodeGenerator.h207 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence);
DSkSLJIT.h176 LLVMValueRef compileTernary(LLVMBuilderRef builder, const TernaryExpression& t);
DSkSLMetalCodeGenerator.cpp155 this->writeTernaryExpression((TernaryExpression&) expr, parentPrecedence); in writeExpression()
712 void MetalCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeTernaryExpression()
1546 const TernaryExpression& t = (const TernaryExpression&) e; in requirements()
DSkSLJIT.cpp383 const TernaryExpression& t = (const TernaryExpression&) expr; in getLValue()
998 LLVMValueRef JIT::compileTernary(LLVMBuilderRef builder, const TernaryExpression& t) { in compileTernary()
1056 return this->compileTernary(builder, (TernaryExpression&) expr); in compileExpression()
DSkSLSPIRVCodeGenerator.h283 SpvId writeTernaryExpression(const TernaryExpression& t, OutputStream& out);
DSkSLGLSLCodeGenerator.cpp230 this->writeTernaryExpression((TernaryExpression&) expr, parentPrecedence); in writeExpression()
974 void GLSLCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeFunctionCall()
DSkSLIRGenerator.cpp1600 return std::unique_ptr<Expression>(new TernaryExpression(expression.fOffset, in convertTernaryExpression()
1749 new TernaryExpression(offset, std::move(args[0]), in convertNumberConstructor()
2308 TernaryExpression& t = (TernaryExpression&) expr; in setRefKind()
DSkSLSPIRVCodeGenerator.cpp667 return this->writeTernaryExpression((TernaryExpression&) expr, out); in writeExpression()
1731 TernaryExpression& t = (TernaryExpression&) expr; in getLValue()
2305 SpvId SPIRVCodeGenerator::writeTernaryExpression(const TernaryExpression& t, OutputStream& out) { in writeTernaryExpression()

12