Home
last modified time | relevance | path

Searched refs:binExpr (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dcondition.cpp26 bool Condition::CompileBinaryExpr(PandaGen *pg, const ir::BinaryExpression *binExpr, Label *falseLabel) in CompileBinaryExpr() argument
28 switch (binExpr->OperatorType()) { in CompileBinaryExpr()
45 binExpr->Left()->Compile(pg); in CompileBinaryExpr()
46 pg->StoreAccumulator(binExpr, lhs); in CompileBinaryExpr()
47 binExpr->Right()->Compile(pg); in CompileBinaryExpr()
48 pg->Condition(binExpr, binExpr->OperatorType(), lhs, falseLabel); in CompileBinaryExpr()
52 binExpr->Left()->Compile(pg); in CompileBinaryExpr()
53 pg->ToBoolean(binExpr); in CompileBinaryExpr()
54 pg->BranchIfFalse(binExpr, falseLabe in CompileBinaryExpr()
129 CompileLogicalOrExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) CompileLogicalOrExpr() argument
159 CompileLogicalAndExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) CompileLogicalAndExpr() argument
238 CompileInstanceofExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) CompileInstanceofExpr() argument
245 CompileBinaryExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel) CompileBinaryExpr() argument
[all...]
H A Dcondition.h41 static bool CompileBinaryExpr(PandaGen *pg, const ir::BinaryExpression *binExpr, Label *falseLabel);
42 static bool CompileBinaryExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
43 static void CompileLogicalAndExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
44 static void CompileLogicalOrExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
45 static bool CompileBinaryExprForBigInt(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
46 static void CompileInstanceofExpr(ETSGen *etsg, const ir::BinaryExpression *binExpr, Label *falseLabel);
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Dcondition.cpp27 const auto *binExpr = expr->AsBinaryExpression(); in Compile() local
29 switch (binExpr->OperatorType()) { in Compile()
46 binExpr->Left()->Compile(pg); in Compile()
47 pg->StoreAccumulator(binExpr, lhs); in Compile()
48 binExpr->Right()->Compile(pg); in Compile()
49 pg->Condition(binExpr, binExpr->OperatorType(), lhs, falseLabel); in Compile()
53 binExpr->Left()->Compile(pg); in Compile()
54 pg->BranchIfFalse(binExpr, falseLabel); in Compile()
56 binExpr in Compile()
[all...]
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DassignAnalyzer.cpp1054 const ir::BinaryExpression *binExpr = id->Parent()->AsBinaryExpression(); in AnalyzeId() local
1055 if ((binExpr->OperatorType() == lexer::TokenType::PUNCTUATOR_EQUAL || in AnalyzeId()
1056 binExpr->OperatorType() == lexer::TokenType::PUNCTUATOR_NOT_EQUAL) && in AnalyzeId()
1057 (binExpr->Left()->IsNullLiteral() || binExpr->Right()->IsNullLiteral() || in AnalyzeId()
1058 binExpr->Left()->IsUndefinedLiteral() || binExpr->Right()->IsUndefinedLiteral())) { in AnalyzeId()
1183 void AssignAnalyzer::AnalyzeBinaryExpr(const ir::BinaryExpression *binExpr) in AnalyzeBinaryExpr() argument
1185 switch (binExpr->OperatorType()) { in AnalyzeBinaryExpr()
1187 AnalyzeCond(binExpr in AnalyzeBinaryExpr()
[all...]
H A DetsWarningAnalyzer.cpp214 const auto binExpr = node->AsBinaryExpression(); in ETSWarningBoostEqualityStatement() local
215 if (binExpr->OperatorType() == lexer::TokenType::PUNCTUATOR_EQUAL || in ETSWarningBoostEqualityStatement()
216 binExpr->OperatorType() == lexer::TokenType::PUNCTUATOR_NOT_EQUAL) { in ETSWarningBoostEqualityStatement()
217 if (binExpr->Right()->IsNullLiteral() && !binExpr->Left()->IsNullLiteral()) { in ETSWarningBoostEqualityStatement()
H A DassignAnalyzer.h130 void AnalyzeBinaryExpr(const ir::BinaryExpression *binExpr);
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSGen.h679 void AppendString(const ir::Expression *binExpr, VReg builder);

Completed in 6 milliseconds