Home
last modified time | relevance | path

Searched refs:after (Results 1 - 16 of 16) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dbasicblock.cpp447 void BasicBlock::InsertAfter(Inst *inst, Inst *after) in InsertAfter() argument
449 ASSERT(inst && after); in InsertAfter()
450 ASSERT(inst->IsPhi() == after->IsPhi()); in InsertAfter()
451 ASSERT(after->GetBasicBlock() == this); in InsertAfter()
454 Inst *next = after->GetNext(); in InsertAfter()
455 inst->SetPrev(after); in InsertAfter()
457 after->SetNext(inst); in InsertAfter()
461 ASSERT(after == last_inst_); in InsertAfter()
H A Dbasicblock.h188 * Split block after the given instruction. Current block will contain instructions before the splitting line and
189 * the created block - after.
190 * @param inst instruction after which block will be split
257 // Insert instruction after given instruction
258 void InsertAfter(Inst *inst, Inst *after);
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
H A Dbytecodeopt_peepholes_test.cpp114 auto after = CreateEmptyGraph(); in TEST_F() local
115 GRAPH(after) in TEST_F()
130 EXPECT_TRUE(GraphComparator().Compare(graph, after)); in TEST_F()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
H A Dprune_deopt.cpp178 void PruneDeopt::MakeUnreachableAfter(BasicBlock *block, Instruction *after) const in MakeUnreachableAfter()
190 auto maybeCall = llvm::dyn_cast<llvm::CallInst>(after); in MakeUnreachableAfter()
193 // Remove all instructions after AFTER in MakeUnreachableAfter()
194 for (auto iter = block->rbegin(); (&(*iter) != after);) { in MakeUnreachableAfter()
197 // Do not remove ret instruction after deoptimize call in MakeUnreachableAfter()
205 // Create unreachable after AFTER in MakeUnreachableAfter()
H A Dprune_deopt.h54 void MakeUnreachableAfter(llvm::BasicBlock *block, llvm::Instruction *after) const;
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Dstring_builder_utils.cpp117 void InsertAfterWithSaveState(Inst *inst, Inst *after) in InsertAfterWithSaveState() argument
119 after->InsertAfter(inst); in InsertAfterWithSaveState()
121 after->InsertAfter(inst->GetSaveState()); in InsertAfterWithSaveState()
H A Dstring_builder_utils.h35 void InsertAfterWithSaveState(Inst *inst, Inst *after);
H A Dchecks_elimination.h176 void InsertInstAfter(Inst *inst, Inst *after, BasicBlock *block);
H A Dchecks_elimination.cpp834 void ChecksElimination::InsertInstAfter(Inst *inst, Inst *after, BasicBlock *block) in InsertInstAfter() argument
836 if (after->IsPhi()) { in InsertInstAfter()
839 block->InsertAfter(inst, after); in InsertInstAfter()
1195 // input object can become null after hoisting in MoveCheckOutOfLoop()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
H A Dconstant_propagation_test.cpp64 bool CheckFunction(const std::string &file, const char *test_method_name, ExpectType before, ExpectType after, in CheckFunction() argument
69 graph_test_.TestBuildGraphFromFile(file, [test_method_name, before, after, strings, &status] in CheckFunction()
91 if (before != after) { in CheckFunction()
95 VisitBlock(bb, after); in CheckFunction()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dbasicblock.cpp1077 void BasicBlock::InsertAfter(Inst *inst, Inst *after)
1079 ASSERT(inst && after);
1080 ASSERT(inst->IsPhi() == after->IsPhi());
1081 ASSERT(after->GetBasicBlock() == this);
1084 Inst *next = after->GetNext();
1085 inst->SetPrev(after);
1087 after->SetNext(inst);
1091 ASSERT(after == lastInst_);
H A Dbasicblock.h123 * Split block after the given instruction. Current block will contain instructions before the splitting line and
124 * the created block - after.
125 * @param inst instruction after which block will be split
171 // Insert instruction after given instruction
172 void InsertAfter(Inst *inst, Inst *after);
/arkcompiler/runtime_core/compiler/tests/
H A Dosr_test.cpp351 ASSERT_EQ(deopt_events[0]->after, events::DeoptimizationAfter::TOP); in TEST_F()
406 ASSERT_EQ(deopt_events[0]->after, events::DeoptimizationAfter::TOP); in TEST_F()
624 ASSERT_EQ(deopt_events[0]->after, events::DeoptimizationAfter::IFRAME); in TEST_F()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dosr_test.cpp360 ASSERT_EQ(deoptEvents[0U]->after, events::DeoptimizationAfter::TOP); in TEST_F()
416 ASSERT_EQ(deoptEvents[0]->after, events::DeoptimizationAfter::TOP); in TEST_F()
639 ASSERT_EQ(deoptEvents[0]->after, events::DeoptimizationAfter::IFRAME); in TEST_F()
/arkcompiler/runtime_core/libpandafile/
H A Dfile_item_container.h115 uint32_t CalculateRoundUpSize(uint32_t before, uint32_t after) in CalculateRoundUpSize() argument
117 return after - before; in CalculateRoundUpSize()
/arkcompiler/ets_runtime/test/moduletest/array/
H A Darray.js199 print(`arr0.length after reverse() called = ${arr0.length}`); // 0
203 print(`arr1 after reverse() called = ${arr1}`); // 1
213 print(`arrWithHoles after reverse() called = ${arrWithHoles}`); // ,,,,,4,,,1,

Completed in 14 milliseconds