Home
last modified time | relevance | path

Searched refs:IfStatement (Results 1 – 25 of 50) sorted by relevance

12

/external/skia/src/sksl/ir/
DSkSLIfStatement.cpp19 std::unique_ptr<Statement> IfStatement::clone() const { in clone()
20 return std::make_unique<IfStatement>(fOffset, this->isStatic(), this->test()->clone(), in clone()
25 String IfStatement::description() const { in description()
37 std::unique_ptr<Statement> IfStatement::Convert(const Context& context, int offset, bool isStatic, in Convert()
45 return IfStatement::Make(context, offset, isStatic, std::move(test), in Convert()
55 std::unique_ptr<Statement> IfStatement::Make(const Context& context, int offset, bool isStatic, in Make()
94 return std::make_unique<IfStatement>(offset, isStatic, std::move(test), in Make()
DSkSLIfStatement.h21 class IfStatement final : public Statement {
25 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() function
/external/skqp/src/sksl/ir/
DSkSLIfStatement.h19 struct IfStatement : public Statement { struct
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() argument
29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone() argument
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DSimplifyBooleanExprCheck.cpp599 const auto *IfStatement = Result.Nodes.getNodeAs<IfStmt>(IfStmtId); in replaceWithThenStatement() local
601 SimplifyConditionDiagnostic, IfStatement->getSourceRange(), in replaceWithThenStatement()
602 getText(Result, *IfStatement->getThen())); in replaceWithThenStatement()
607 const auto *IfStatement = Result.Nodes.getNodeAs<IfStmt>(IfStmtId); in replaceWithElseStatement() local
608 const Stmt *ElseStatement = IfStatement->getElse(); in replaceWithElseStatement()
610 SimplifyConditionDiagnostic, IfStatement->getSourceRange(), in replaceWithElseStatement()
/external/llvm-project/clang/lib/Tooling/Syntax/
DNodes.cpp256 syntax::Leaf *syntax::IfStatement::getIfKeyword() { in getIfKeyword()
261 syntax::Statement *syntax::IfStatement::getThenStatement() { in getThenStatement()
266 syntax::Leaf *syntax::IfStatement::getElseKeyword() { in getElseKeyword()
270 syntax::Statement *syntax::IfStatement::getElseStatement() { in getElseStatement()
DSynthesis.cpp120 case syntax::NodeKind::IfStatement: in allocateTree()
121 return new (A.getAllocator()) syntax::IfStatement; in allocateTree()
/external/skqp/src/sksl/
DSkSLPipelineStageCodeGenerator.h45 void writeIfStatement(const IfStatement& s) override;
DSkSLCPPCodeGenerator.h52 void writeIfStatement(const IfStatement& s) override;
DSkSLGLSLCodeGenerator.h186 virtual void writeIfStatement(const IfStatement& stmt);
DSkSLMetalCodeGenerator.h225 void writeIfStatement(const IfStatement& stmt);
DSkSLInterpreter.cpp145 IfStatement& i = (IfStatement&) stmt; in runStatement()
DSkSLCompiler.cpp926 const IfStatement& i = (IfStatement&) s; in contains_conditional_break()
1013 IfStatement& i = (IfStatement&) *stmt; in simplifyStatement()
1187 if (((const IfStatement&) s).fIsStatic && in scanCFG()
DSkSLPipelineStageCodeGenerator.cpp166 void PipelineStageCodeGenerator::writeIfStatement(const IfStatement& s) { in writeIfStatement()
DSkSLJIT.h192 void compileIf(LLVMBuilderRef builder, const IfStatement& i);
DSkSLMetalCodeGenerator.cpp1009 this->writeIfStatement((IfStatement&) s); in writeStatement()
1057 void MetalCodeGenerator::writeIfStatement(const IfStatement& stmt) { in writeIfStatement()
1467 const IfStatement& i = (const IfStatement&) s; in requirements()
/external/llvm-project/clang/include/clang/Tooling/Syntax/
DNodes.h272 class IfStatement final : public Statement {
274 IfStatement() : Statement(NodeKind::IfStatement) {} in IfStatement() function
DSyntax.td58 // Statement = IfStatement | ForStatement | ...
59 // Statement is modeled using Alternatives, and IfStatement.base is Statement.
/external/skia/src/sksl/
DSkSLInliner.cpp243 if (!parentStmt || !(parentStmt->is<IfStatement>() || parentStmt->is<ForStatement>() || in ensureScopedBlocks()
484 const IfStatement& i = statement.as<IfStatement>(); in inlineStatement()
485 return IfStatement::Make(*fContext, offset, i.isStatic(), expr(i.test()), in inlineStatement()
878 IfStatement& ifStmt = (*stmt)->as<IfStatement>(); in visitStatement()
DSkSLDehydrator.cpp488 const IfStatement& i = s->as<IfStatement>(); in write()
DSkSLAnalysis.cpp447 const IfStatement& i = stmt.as<IfStatement>(); in visitStatement()
1255 auto& i = s.template as<IfStatement>(); in visitStatement()
/external/skia/src/sksl/codegen/
DSkSLCPPCodeGenerator.h52 void writeIfStatement(const IfStatement& s) override;
DSkSLDSLCPPCodeGenerator.h44 void writeIfStatement(const IfStatement& r) override;
DSkSLGLSLCodeGenerator.h171 virtual void writeIfStatement(const IfStatement& stmt);
DSkSLPipelineStageCodeGenerator.cpp90 void writeIfStatement(const IfStatement& stmt);
229 void PipelineStageCodeGenerator::writeIfStatement(const IfStatement& stmt) { in writeIfStatement()
598 this->writeIfStatement(s.as<IfStatement>()); in writeStatement()
DSkSLMetalCodeGenerator.h246 void writeIfStatement(const IfStatement& stmt);

12