/arkcompiler/runtime_core/libpandafile/tests/ |
H A D | bytecode_emitter_tests.cpp | 34 constexpr static const int64_t IMM_2 = 2; member 68 return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) in operator <<() 74 return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) << std::get<globals::IMM_3>(val) in operator <<() 138 expected << Opcode::JMP_IMM8 << (num_ret + globals::IMM_2); in HWTEST() 251 case globals::IMM_2: in GetOpcode() 274 std::tuple {globals::IMM_2, std::numeric_limits<int8_t>::min(), std::numeric_limits<int8_t>::max()}, in EmitJmpFwdBwd() member in globals 559 expected << Opcode::JMP_IMM16 << Split16(INT8T_MAX + globals::IMM_2); in HWTEST() 561 for (size_t i = 0; i < n + globals::IMM_2; i++) { in HWTEST() 623 for (int i = 0; i < std::numeric_limits<uint8_t>::max() - globals::IMM_2; ++i) { in Jmpz_IMM16() 644 for (int i = 0; i < std::numeric_limits<uint8_t>::max() - globals::IMM_2; in Jmp_V8_IMM16() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
H A D | reg_alloc.cpp | 57 [[maybe_unused]] constexpr size_t IMM_2 = 2; in RemoveThrowEdges() local 62 ASSERT(throwBlock->GetSuccsBlocks().size() <= IMM_2); in RemoveThrowEdges()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | aot_data.cpp | 157 constexpr auto IMM_2 = 2; in GetSlotId() local 158 return -1 - IMM_3 * (gotPlt_->size() + gotClass_->size()) - IMM_2 * (gotVirtIndexes_->size() + gotString_->size()) - in GetSlotId()
|
H A D | graph.cpp | 252 constexpr auto IMM_2 = 2; in RemovePredecessorUpdateDF() local 253 if (block->GetPredsBlocks().size() == IMM_2) { in RemovePredecessorUpdateDF() 262 } else if (block->GetPredsBlocks().size() > IMM_2) { in RemovePredecessorUpdateDF()
|
H A D | inst.cpp | 223 constexpr auto IMM_2 = 2; in Reallocate() local 224 newCapacity = (((capacity_ != 0U) ? capacity_ : 1U) << 1U) + IMM_2; in Reallocate()
|
H A D | dump.cpp | 1071 constexpr auto IMM_2 = 2; in DumpInputs() local 1072 Inst *sssInput = GetInput(IMM_2).GetInst(); in DumpInputs()
|
/arkcompiler/runtime_core/static_core/libpandafile/tests/ |
H A D | bytecode_emitter_tests.cpp | 36 constexpr static const int64_t IMM_2 = 2; member 70 return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) in operator <<() 76 return out << std::get<0>(val) << std::get<1>(val) << std::get<globals::IMM_2>(val) << std::get<globals::IMM_3>(val) in operator <<() 140 expected << Opcode::JMP_IMM8 << numRet + globals::IMM_2; in TEST() member in ark::panda_file::test::globals 253 case globals::IMM_2: in GetOpcode() 277 std::tuple {globals::IMM_2, std::numeric_limits<int8_t>::min(), std::numeric_limits<int8_t>::max()}, in EmitJmpFwdBwd() member in ark::panda_file::test::globals 615 expected << opcode << globals::IMM_2 << Opcode::RETURN_VOID; in Jcmpz_IMM8() 625 for (int i = 0; i < std::numeric_limits<uint8_t>::max() - globals::IMM_2; ++i) { in Jcmpz_IMM16() 742 expected << Opcode::JMP_IMM16 << Split16(INT8T_MAX + globals::IMM_2); in TEST() 744 for (size_t i = 0; i < n + globals::IMM_2; in TEST() [all...] |
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch32/ |
H A D | callconv.cpp | 294 constexpr auto IMM_2 = 2; in GeneratePrologue() local 295 encoder->EncodeSub(spReg, spReg, Imm(WORD_SIZE_BYTES * IMM_2)); in GeneratePrologue() 342 constexpr auto IMM_2 = 2; in GenerateEpilogue() local 343 encoder->EncodeAdd(spReg, spReg, Imm(WORD_SIZE_BYTES * IMM_2)); in GenerateEpilogue()
|
H A D | encode.cpp | 2847 [[maybe_unused]] constexpr auto IMM_2 = 2; in EncodeMemCopy() local 2848 ASSERT(regId % IMM_2 == 0); in EncodeMemCopy() 2874 [[maybe_unused]] constexpr auto IMM_2 = 2; in EncodeMemCopyz() local 2875 ASSERT(regId % IMM_2 == 0); in EncodeMemCopyz()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
H A D | balance_expressions.cpp | 101 constexpr auto IMM_2 = 2; in OptimizeExpression() local 102 operators_.back()->SetPrev(operators_[size - IMM_2]); in OptimizeExpression()
|
H A D | if_conversion.cpp | 243 [[maybe_unused]] constexpr auto IMM_2 = 2; in IsPhisAllowed() local 244 ASSERT(bb->GetPredsBlocks().size() > IMM_2); in IsPhisAllowed()
|
H A D | memory_coalescing.cpp | 532 constexpr auto IMM_2 = 2; in HandleKnownEvolutionArrayAccessVar() local 534 if (alignedOnly_ && idxStep % IMM_2 != 0 && in HandleKnownEvolutionArrayAccessVar() 535 ((idxInitial < candInitial && idxInitial % IMM_2 != 0) || in HandleKnownEvolutionArrayAccessVar() 536 (candInitial < idxInitial && candInitial % IMM_2 != 0))) { in HandleKnownEvolutionArrayAccessVar()
|
H A D | checks_elimination.cpp | 1224 constexpr auto IMM_2 = 2; in FindSaveState() local 1225 return boundsCheck->GetInput(IMM_2).GetInst(); in FindSaveState()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/target/aarch64/ |
H A D | callconv.cpp | 22 constexpr int32_t IMM_2 = 2; member 67 if ((regs.GetCount() % IMM_2) == 1) { in PrepareToPushPopRegs() 71 if ((vregs.GetCount() % IMM_2) == 1) { in PrepareToPushPopRegs()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | graph.cpp | 195 constexpr auto IMM_2 = 2; in RemovePredecessorUpdateDF() local 196 if (block->GetPredsBlocks().size() == IMM_2) { in RemovePredecessorUpdateDF() 205 } else if (block->GetPredsBlocks().size() > IMM_2) { in RemovePredecessorUpdateDF()
|
H A D | inst.cpp | 58 constexpr auto IMM_2 = 2; in Reallocate() local 59 new_capacity = (((capacity_ != 0U) ? capacity_ : 1U) << 1U) + IMM_2; in Reallocate()
|
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
H A D | aot_builder.cpp | 241 constexpr size_t IMM_2 = 2; in EmitPlt() local 245 ptrView[ptrCnt - end + idx - IMM_2] = method.second; in EmitPlt() 255 ptrView[ptrCnt - end + idx - IMM_2] = klass.second; in EmitPlt()
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
H A D | loop_analyzer.cpp | 157 constexpr size_t IMM_2 = 2; in UpdateControlFlowWithPreHeader() local 158 if (fw_edges_indexes.size() >= IMM_2) { in UpdateControlFlowWithPreHeader()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
H A D | loop_analyzer.cpp | 157 constexpr size_t IMM_2 = 2; in UpdateControlFlowWithPreHeader() local 158 if (fwEdgesIndexes.size() >= IMM_2) { in UpdateControlFlowWithPreHeader()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | encode_visitor.cpp | 554 constexpr int64_t IMM_2 = 2; in VisitStoreArray() local 555 auto storedValue = enc->GetCodegen()->ConvertRegister(inst->GetSrcReg(IMM_2), inst->GetType()); in VisitStoreArray() 691 [[maybe_unused]] constexpr int64_t IMM_2 = 2; in VisitBoundsCheck() local 692 ASSERT(inst->GetInput(IMM_2).GetInst()->GetOpcode() == Opcode::SaveState || in VisitBoundsCheck() 693 inst->GetInput(IMM_2).GetInst()->GetOpcode() == Opcode::SaveStateDeoptimize); in VisitBoundsCheck() 712 [[maybe_unused]] constexpr int64_t IMM_2 = 2; in VisitRefTypeCheck() local 713 ASSERT(inst->GetInput(IMM_2).GetInst()->GetOpcode() == Opcode::SaveState || in VisitRefTypeCheck() 714 inst->GetInput(IMM_2).GetInst()->GetOpcode() == Opcode::SaveStateDeoptimize); in VisitRefTypeCheck() 2241 constexpr int32_t IMM_2 = 2; in VisitSelect() local 2244 auto src2 = enc->GetCodegen()->ConvertRegister(inst->GetSrcReg(IMM_2), cmpTyp in VisitSelect() 2258 constexpr int32_t IMM_2 = 2; VisitSelectImm() local 2440 constexpr auto IMM_2 = 2U; VisitStoreArrayPair() local 2504 constexpr int32_t IMM_2 = 2; VisitStoreArrayPairI() local [all...] |