Home
last modified time | relevance | path

Searched refs:step (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/test/
H A Druntest.py47 parser.add_argument('-s', '--step', metavar='opt',
48 help='run step supported opt: abc, pack, aot, aotd, run, rund, asmint, asmintd, int, intd')
129 if args.step == 'hap':
136 self.step = 'all'
137 if args.step:
138 self.step = args.step
140 self.step = 'clean'
266 if self.step[:3] != 'aot':
308 if self.step
[all...]
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
H A Dinfer_flags.cpp35 bool CanOverflow(const llvm::KnownBits &start, const llvm::KnownBits &step, uint64_t tripCount) in CanOverflow() argument
37 ASSERT(start.getBitWidth() == step.getBitWidth()); in CanOverflow()
41 // v1 = op v0, step in CanOverflow()
43 // Map range [stepMin; stepMax) to [stepMin * tripCount; step * tripCount) in CanOverflow()
45 llvm::KnownBits::mul(step, llvm::KnownBits::makeConstant(llvm::APInt {step.getBitWidth(), tripCount})), true); in CanOverflow()
47 // Get signed ranges for step, and start in CanOverflow()
48 auto stepRange = llvm::ConstantRange::fromKnownBits(step, true); in CanOverflow()
100 llvm::Value *step; in RunOnBasicBlock() local
104 if (!llvm::matchSimpleRecurrence(&phi, binaryOperator, start, step)) { in RunOnBasicBlock()
[all...]
/arkcompiler/runtime_core/libpandafile/
H A Ddata_protect.h170 constexpr uint32_t step = 4; in Append() local
171 if (origin_length_ % step > 0) { in Append()
173 uint32_t empty_count = step - (origin_length_ % step); in Append()
193 constexpr uint32_t step = 4; in Append() local
197 if (origin_length_ % step != 0) { in Append()
200 uint32_t empty_count = step - (origin_length_ % step); in Append()
251 constexpr uint32_t step = 4; in CompareStringWithPacedString() local
260 uint32_t right = left + step; in CompareStringWithPacedString()
305 constexpr uint32_t step = 4; AppendWithoutCheckBack() local
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/bouncing_pandas/
H A Dbouncing_pandas.js37 const step = 13;
42 arrSBody[i].r.x = (step * i) % 1200;
43 arrSBody[i].r.y = Math.round(step * ((step * i) / 1200 + 1));
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dprofile_type_info.cpp44 const uint32_t step = 2; in AddWithoutKeyPoly() local
45 uint32_t newLen = arr->GetLength() + step; in AddWithoutKeyPoly()
53 for (; i < arr->GetLength(); i += step) { in AddWithoutKeyPoly()
121 const uint32_t step = 2; in AddHandlerWithKey() local
122 if (arr->GetLength() > step) { // POLY in AddHandlerWithKey()
123 uint32_t newLen = arr->GetLength() + step; in AddHandlerWithKey()
133 for (uint32_t i = 0; i < arr->GetLength(); i += step) { in AddHandlerWithKey()
134 newArr->Set(thread_, i + step, arr->Get(i)); in AddHandlerWithKey()
135 newArr->Set(thread_, i + step + 1, arr->Get(i + 1)); in AddHandlerWithKey()
156 const uint8_t step in AddGlobalHandlerKey() local
[all...]
H A Dinvoke_cache.cpp48 constexpr uint8_t step = 2; in SetPolyConstuctCacheSlot() local
49 JSHandle<TaggedArray> newArray = factory->NewTaggedArray(length * step); // 2: newTarget and hclass in SetPolyConstuctCacheSlot()
54 newArray->Set(thread, index * step, newTargetArr->Get(index)); in SetPolyConstuctCacheSlot()
55 newArray->Set(thread, index * step + 1, initialHClassArr->Get(index)); in SetPolyConstuctCacheSlot()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/tools/generate-es-checked/src/
H A Dtypes.rb117 ret = step
129 els.push(step)
163 def step method in ESChecker.Types.Parser
167 el = step
173 el = step
/arkcompiler/ets_runtime/ecmascript/
H A Djs_object_resizing_strategy.h26 virtual void UpdateGrowStep(JSThread *thread, uint32_t step = PROPERTIES_GROW_SIZE) = 0;
31 virtual void UpdateGrowStep(JSThread *thread, uint32_t step = PROPERTIES_GROW_SIZE) override;
H A Djs_thread.h889 void SetPropertiesGrowStep(uint32_t step)
891 glueData_.propertiesGrowStep_ = step;
/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Doutput.rb71 def self.change_indent(step = 4)
72 @@indent += step
/arkcompiler/ets_runtime/test/regresstest/
H A Drun_regress_test.py243 step_name: str # a copy of the step name
280 for step in self.steps:
281 result.append(f"\t{step.report()}")
289 output(f"--- Start step {name} ---")
553 step = StepResult(self.name, command=command)
554 Utils.exec_command(command, test_report.test_id, step, self.args.timeout,
556 test_report.steps.append(step)
557 test_report.passed = step.is_passed
722 step = StepResult(self.name, command=command)
723 Utils.exec_command(command, test_report.test_id, step, sel
[all...]
/arkcompiler/runtime_core/static_core/verification/util/
H A Dset_operations.h42 auto step = [&iters, &ends](bool &aligned, EltType &val) { in SetIntersection() local
63 while (step(store, val)) { in SetIntersection()
/arkcompiler/ets_frontend/test262/
H A Dmix_compile.py38 def mix_compile(self, step=1, size=1):
47 for i in range(0, len(files_info_list), step):
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/
H A Dexpect.py53 def tb_next(tb, step: int = 1) -> Optional[TracebackType]:
54 for _ in range(step):
/arkcompiler/runtime_core/libpandabase/utils/
H A Dbit_memory_region.h99 int step = (val > 0) ? 1 : -1; in Next() local
101 for (bit_ += step; bit_ > 0 && bit_ != region_.Size() && !region_.ReadBit(bit_); bit_ += step) { in Next()
H A Dbit_vector.h612 int step = (val > 0) ? 1 : -1; in Next() local
618 for (offset_ += step; data_.GetBit(offset_) != BitValue; offset_ += step) { in Next()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
H A Dbit_memory_region.h100 size_t step = 1U; in Next() local
102 for (bit_ += step; bit_ > 0 && bit_ != region_.Size() && !region_.ReadBit(bit_); bit_ += step) { in Next()
H A Dbit_vector.h648 int step = (val > 0) ? 1 : -1; in Next() local
654 for (offset_ += step; data_.GetBit(offset_) != BIT_VALUE; offset_ += step) { in Next()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
H A Dtest_sts_ts_subset.py104 for step in steps:
106 self.passed, self.ohos_report, self.fail_kind = step()
H A Dets_test_suite.py99 for step in self._preparation_steps:
100 tests = step.transform(force_generate)
/arkcompiler/ets_runtime/ecmascript/base/
H A Djson_parser.h211 inline void AdvanceMultiStep(int step) in AdvanceMultiStep() argument
213 current_ += step; in AdvanceMultiStep()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Doptimize_string_concat.cpp238 auto step = GetGraph()->FindOrCreateConstant(1); in CreateAppendArgsLoop() local
258 auto add = GetGraph()->CreateInstAdd(DataType::INT32, pc, induction, step); in CreateAppendArgsLoop()
H A Dmemory_coalescing.cpp31 * 2) Based on previous step reveal loop variables and their iteration increment if possible.
37 int64_t step; member
85 << "v" << entry.first->GetId() << " = {" << entry.second.initial << ", " << entry.second.step << "}"; in VariableAnalysis()
121 return base_.at(derived_.at(inst).base).step; in GetStep()
531 /* To keep alignment we need to have even step and even lowest initial */ in HandleKnownEvolutionArrayAccessVar()
H A Dchecks_elimination.cpp934 auto step = static_cast<int64_t>(countableLoopInfo->constStep); in InsertDeoptimizationForIndexOverflow() local
937 auto maxUpper = BoundsRange::GetMax(indexType) - step + (loopCc == CC_LT ? 1 : 0); in InsertDeoptimizationForIndexOverflow()
941 indexUpperRange = indexUpperRange.Add(BoundsRange(step)).FitInType(indexType); in InsertDeoptimizationForIndexOverflow()
1008 // (upper - lower [- 1]) % step </<= maxAdd in TryInsertDeoptimizationForLargeStep()
1011 // result_len_array - maxAdd </<= upper - (upper - lower [- 1]) % step in TryInsertDeoptimizationForLargeStep()
1101 COMPILER_LOG(DEBUG, CHECKS_ELIM) << "Unable to build deoptimize for upper value with step > 1"; in TryInsertUpperDeoptimization()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dloop_unroll_test.cpp274 Graph *BuildLoopWithIncrement(ConditionCode cc, std::optional<uint64_t> start, uint64_t stop, uint64_t step,
277 uint64_t step, DataType::Type type = DataType::INT32);
695 uint64_t step, DataType::Type type) in BuildLoopWithIncrement()
702 CONSTANT(2U, step); in BuildLoopWithIncrement()
717 INST(7U, Opcode::Add).SetType(type).Inputs(5U, 2U); // a += step in BuildLoopWithIncrement()
732 std::optional<uint64_t> stop, uint64_t step, DataType::Type type) in BuildLoopWithDecrement()
749 CONSTANT(2U, step); in BuildLoopWithDecrement()
694 BuildLoopWithIncrement(ConditionCode cc, std::optional<uint64_t> start, uint64_t stop, uint64_t step, DataType::Type type) BuildLoopWithIncrement() argument
731 BuildLoopWithDecrement(ConditionCode cc, std::optional<uint64_t> start, std::optional<uint64_t> stop, uint64_t step, DataType::Type type) BuildLoopWithDecrement() argument

Completed in 20 milliseconds

12