/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/ |
D | optimized_fast_call.cpp | 138 __ B(Condition::NE, &arg4); in OptimizedFastCallAndPushUndefined() 150 __ B(Condition::NE, &arg5); in OptimizedFastCallAndPushUndefined() 162 __ B(Condition::NE, &arg6); in OptimizedFastCallAndPushUndefined() 173 __ B(Condition::NE, &arg7); in OptimizedFastCallAndPushUndefined() 185 __ B(Condition::NE, &arg8); in OptimizedFastCallAndPushUndefined() 196 __ B(Condition::NE, &argc); in OptimizedFastCallAndPushUndefined() 218 __ B(Condition::LS, &call); in OptimizedFastCallAndPushUndefined() 268 __ B(Condition::EQ, &call); in JSFastCallWithArgV() 275 __ B(Condition::EQ, &call); in JSFastCallWithArgV() 282 __ B(Condition::EQ, &call); in JSFastCallWithArgV() [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | parserModule1.ts | 53 export function assert(condition: boolean, s: string) { 57 if (!condition) { 58 AssertType(!condition, "boolean"); 59 AssertType(condition, "boolean");
|
/arkcompiler/runtime_core/compiler/tests/amd64/ |
D | encoder64_test.cpp | 758 test->GetEncoder()->EncodeAddOverflow(label, ret_val, param1, param2, Condition::VS); in TestAddOverflow() 763 test->GetEncoder()->EncodeAddOverflow(end, ret_val, param1, param2, Condition::VC); in TestAddOverflow() 824 test->GetEncoder()->EncodeSubOverflow(label, ret_val, param1, param2, Condition::VS); in TestSubOverflow() 829 test->GetEncoder()->EncodeSubOverflow(end, ret_val, param1, param2, Condition::VC); in TestSubOverflow() 879 template <typename T, Condition cc> 915 if constexpr (cc == Condition::EQ) { in TestJumpCC() 921 if constexpr (cc == Condition::NE) { in TestJumpCC() 937 if constexpr (cc == Condition::EQ) { in TestJumpCC() 943 if constexpr (cc == Condition::NE) { in TestJumpCC() 958 EXPECT_TRUE((TestJumpCC<int32_t, Condition::EQ>(this))); in TEST_F() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | number_speculative_lowering.cpp | 426 GateRef condition = acc_.GetValueIn(gate, 0); in VisitBooleanJump() local 428 condition = builder_.BoolNot(condition); in VisitBooleanJump() 430 GateRef ifBranch = builder_.Branch(acc_.GetState(gate), condition); in VisitBooleanJump() 627 GateRef condition = Circuit::NullGate(); in CompareInts() local 630 condition = builder_.Int32LessThan(left, right); in CompareInts() 633 condition = builder_.Int32LessThanOrEqual(left, right); in CompareInts() 636 condition = builder_.Int32GreaterThan(left, right); in CompareInts() 639 condition = builder_.Int32GreaterThanOrEqual(left, right); in CompareInts() 643 condition = builder_.Int32Equal(left, right); in CompareInts() 646 condition = builder_.Int32NotEqual(left, right); in CompareInts() [all …]
|
D | stub_builder.h | 30 #define SUBENTRY(messageId, condition) \ argument 36 Assert(messageId, __LINE__, glueArg, condition, &nextLabel); \ 38 #define SUBENTRY_WITH_GLUE(messageId, condition, glueArg) \ argument 43 Assert(messageId, __LINE__, glueArg, condition, &nextLabel); \ 47 #define ASM_ASSERT(messageId, condition) \ argument 48 SUBENTRY(messageId, condition) 49 #define ASM_ASSERT_WITH_GLUE(messageId, condition, glue) \ argument 50 SUBENTRY_WITH_GLUE(messageId, condition, glue) 52 #define ASM_ASSERT(messageId, condition) \ argument 53 SUBENTRY(messageId, condition) [all …]
|
D | range_analysis.cpp | 229 auto condition = acc_.GetValueIn(jmp); in TryGetRangeOfBranch() local 231 if (acc_.GetOpCode(condition) != OpCode::TYPED_BINARY_OP) { in TryGetRangeOfBranch() 234 if ((acc_.GetValueIn(condition, 0) != value) && (acc_.GetValueIn(condition, 1) != value)) { in TryGetRangeOfBranch() 243 return range.intersection(GetRangeOfCompare(condition, value, flag)); in TryGetRangeOfBranch()
|
/arkcompiler/runtime_core/compiler/tests/aarch32/ |
D | encoder32_test.cpp | 752 template <typename T, Condition cc> 786 if constexpr (cc == Condition::EQ) { in TestJumpCC() 792 if constexpr (cc == Condition::NE) { in TestJumpCC() 808 if constexpr (cc == Condition::EQ) { in TestJumpCC() 814 if constexpr (cc == Condition::NE) { in TestJumpCC() 829 // EncodeJump(LabelHolder::LabelId, Reg, Condition) in TEST_F() 830 EXPECT_TRUE((TestJumpCC<int8_t, Condition::EQ>(this))); in TEST_F() 831 EXPECT_TRUE((TestJumpCC<int8_t, Condition::NE>(this))); in TEST_F() 832 EXPECT_TRUE((TestJumpCC<int16_t, Condition::EQ>(this))); in TEST_F() 833 EXPECT_TRUE((TestJumpCC<int16_t, Condition::NE>(this))); in TEST_F() [all …]
|
/arkcompiler/runtime_core/compiler/tests/aarch64/ |
D | encoder64_test.cpp | 768 test->GetEncoder()->EncodeAddOverflow(label, ret_val, param1, param2, Condition::VS); in TestAddOverflow() 773 test->GetEncoder()->EncodeAddOverflow(end, ret_val, param1, param2, Condition::VC); in TestAddOverflow() 834 test->GetEncoder()->EncodeSubOverflow(label, ret_val, param1, param2, Condition::VS); in TestSubOverflow() 839 test->GetEncoder()->EncodeSubOverflow(end, ret_val, param1, param2, Condition::VC); in TestSubOverflow() 889 template <typename T, Condition cc> 923 if constexpr (cc == Condition::EQ) { in TestJumpCC() 929 if constexpr (cc == Condition::NE) { in TestJumpCC() 945 if constexpr (cc == Condition::EQ) { in TestJumpCC() 951 if constexpr (cc == Condition::NE) { in TestJumpCC() 966 EXPECT_TRUE((TestJumpCC<int32_t, Condition::EQ>(this))); in TEST_F() [all …]
|
/arkcompiler/runtime_core/tests/checked/ |
D | README.md | 37 * **TRUE** (condition) ensure the condition is correct 38 * **SKIP_IF** (condition) if condition is `true`, skip all commands from that to end of this checker
|
D | checker.rb | 297 def TRUE(condition) argument 300 raise_error "Not true condition: \"#{condition}\"" unless condition 306 def SKIP_IF(condition) argument 308 raise SkipException if condition
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
D | condition.cpp | 16 #include "condition.h" 24 void Condition::Compile(PandaGen *pg, const ir::Expression *expr, Label *falseLabel) in Compile() 40 // if-else branches. Condition also expressed via cmp instruction and in Compile() 49 pg->Condition(binExpr, binExpr->OperatorType(), lhs, falseLabel); in Compile()
|
D | condition.h | 26 class Condition { 28 Condition() = delete;
|
D | optionalChain.cpp | 50 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish() 52 pg_->Condition(node_, lexer::TokenType::PUNCTUATOR_NOT_STRICT_EQUAL, obj, nullish); in CheckNullish()
|
/arkcompiler/ets_frontend/ts2panda/src/function/ |
D | generatorFunctionBuilder.ts | 115 pandaGen.condition(expr, ts.SyntaxKind.EqualsEqualsToken, modeType, callreturnLabel); 124 pandaGen.condition(expr, ts.SyntaxKind.EqualsEqualsToken, modeType, callthrowLabel); 130 …pandaGen.condition(expr, ts.SyntaxKind.ExclamationEqualsEqualsToken, getVregisterCache(pandaGen, C… 154 …pandaGen.condition(expr, ts.SyntaxKind.ExclamationEqualsEqualsToken, getVregisterCache(pandaGen, C… 166 …pandaGen.condition(expr, ts.SyntaxKind.ExclamationEqualsEqualsToken, getVregisterCache(pandaGen, C… 204 pandaGen.condition(expr, ts.SyntaxKind.EqualsEqualsToken, modeType, outputLabel); 233 pandaGen.condition(node, ts.SyntaxKind.EqualsEqualsToken, modeType, notRetLabel); 252 pandaGen.condition(node, ts.SyntaxKind.EqualsEqualsToken, modeType, notThrowLabel);
|
D | asyncGeneratorFunctionBuilder.ts | 159 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, throwCompletion); 166 … pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, returnCompletion); 231 pg.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, loopStart); 240 pg.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, returnCompletion); 275 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, notRet); 285 … pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, normalCompletion); 305 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, notThrow); 324 pandaGen.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, notThrowLabel);
|
/arkcompiler/runtime_core/compiler/docs/ |
D | deoptimize_elimination_doc.md | 45 5. Some condition 62 5. Some condition
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | js_debugger_interface.h | 118 * \brief Set breakpoint to \param location with an optional \param condition 120 * @param condition Optional condition
|
/arkcompiler/ets_frontend/ts2panda/tests/statements/ |
D | for.test.ts | 121 // condition 163 // condition 215 // condition 226 // condition 290 // condition 301 // condition
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | compilerUtils.ts | 134 pandaGen.condition( 145 pandaGen.condition( 173 pandaGen.condition( 223 pandaGen.condition( 266 …pandaGen.condition(obj, ts.SyntaxKind.ExclamationEqualsEqualsToken, getVregisterCache(pandaGen, Ca… 268 …pandaGen.condition(obj, ts.SyntaxKind.ExclamationEqualsEqualsToken, getVregisterCache(pandaGen, Ca… 367 pandaGen.condition(
|
/arkcompiler/ets_frontend/ts2panda/src/statement/ |
D | loopStatement.ts | 147 if (stmt.condition) { 148 compiler.compileCondition(stmt.condition, loopEndLabel); 219 if (stmt.condition) { 220 compiler.compileCondition(stmt.condition, loopEndLabel); 290 …pandaGen.condition(stmt, ts.SyntaxKind.ExclamationEqualsEqualsToken, getVregisterCache(pandaGen, C…
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | doWhileStatement.cpp | 20 #include <compiler/base/condition.h> 51 compiler::Condition::Compile(pg, this->Test(), labelTarget.BreakTarget()); in Compile()
|
D | whileStatement.cpp | 20 #include <compiler/base/condition.h> 46 compiler::Condition::Compile(pg, test_, labelTarget.BreakTarget()); in Compile()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | conditionalExpression.cpp | 18 #include <compiler/base/condition.h> 43 compiler::Condition::Compile(pg, test_, falseLabel); in Compile()
|
/arkcompiler/ets_frontend/es2panda/compiler/function/ |
D | functionBuilder.cpp | 146 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_EQUAL, completionType, notRetLabel); in HandleCompletion() 163 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_EQUAL, completionType, not_throw_label); in HandleCompletion() 206 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_STRICT_EQUAL, receivedType, throwCompletion); in YieldStar() 213 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_STRICT_EQUAL, receivedType, returnCompletion); in YieldStar() 295 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_EQUAL, receivedType, loopStart); in YieldStar() 306 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_EQUAL, receivedType, returnCompletion); in YieldStar()
|
D | asyncGeneratorFunctionBuilder.cpp | 109 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_EQUAL, resumeType, notReturn); in Yield() 118 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_EQUAL, resumeType, normalCompletion); in Yield() 132 pg_->Condition(node, lexer::TokenType::PUNCTUATOR_EQUAL, resumeType, notThrowCompletion); in Yield()
|