Searched full:mem_barrier (Results 1 – 14 of 14) sorted by relevance
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | memory_barriers_test.cpp | 53 ASSERT_EQ(INS(0U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() 54 ASSERT_EQ(INS(1U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() 55 ASSERT_EQ(INS(2U).GetFlag(inst_flags::MEM_BARRIER), true); in TEST_F() 56 ASSERT_EQ(INS(3U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() 57 ASSERT_EQ(INS(4U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() 58 ASSERT_EQ(INS(5U).GetFlag(inst_flags::MEM_BARRIER), true); in TEST_F() 59 ASSERT_EQ(INS(6U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() 60 ASSERT_EQ(INS(7U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() 61 ASSERT_EQ(INS(8U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() 62 ASSERT_EQ(INS(9U).GetFlag(inst_flags::MEM_BARRIER), false); in TEST_F() [all …]
|
| D | cleanup_test.cpp | 2033 INST(8U, Opcode::ReturnInlined).Inputs(2U).SetFlag(compiler::inst_flags::MEM_BARRIER); in TEST_F()
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | memory_barriers_doc.md | 19 There is instruction flag `MEM_BARRIER`. The flag is set to `true` for the instructions NewObject, … 21 We pass through all instructions in PRO order. If the instruction has flag `MEM_BARRIER` we add the… 24 The function set `false` for the flag `MEM_BARRIER`, exclude last instruction from the vector. 29 Codegen checks the flag `MEM_BARRIER` for the instructions NewObject, NewArray and NewMultiArray an… 39 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { 58 inst->ClearFlag(inst_flags::MEM_BARRIER); 60 last_barrier_inst->SetFlag(inst_flags::MEM_BARRIER); 93 Instructions `2.ref NewArray`, `5.ref NewObject` and `10.ref NewObject` have flag `MEM_BARRIER` …
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | memory_barriers.cpp | 31 inst->ClearFlag(inst_flags::MEM_BARRIER); in MergeBarriers() 33 lastBarrierInst->SetFlag(inst_flags::MEM_BARRIER); in MergeBarriers() 281 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in ApplyGraph()
|
| D | cleanup.cpp | 288 ssUser.GetInst()->GetFlag(inst_flags::MEM_BARRIER)) { in IsRemovableCall()
|
| D | inlining.cpp | 1028 inlinedReturn->SetFlag(inst_flags::MEM_BARRIER); in ProcessCallReturnInstructions()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ |
| D | ets_codegen_extensions.cpp | 86 if (callInst->GetFlag(inst_flags::MEM_BARRIER)) { in LaunchCallCodegen()
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 267 mem_barrier: we need encode memory barrier after the instruction(for return.void before)
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | instructions.yaml | 281 flags: [can_throw, no_dce, no_hoist, no_cse, alloc, require_state, runtime_call, mem_barrier] 289 flags: [can_throw, no_dce, no_hoist, no_cse, alloc, require_state, runtime_call, mem_barrier] 826 …gs: [can_throw, no_dce, no_hoist, no_cse, alloc, barrier, require_state, runtime_call, mem_barrier] 1369 mem_barrier: we need encode memory barrier after the instruction(for return.void before)
|
| D | dump.cpp | 828 if (GetFlag(inst_flags::MEM_BARRIER)) { in DumpOpcode()
|
| /arkcompiler/runtime_core/static_core/libllvmbackend/lowering/ |
| D | llvm_ir_constructor.cpp | 1671 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in CreateNewArrayWithRuntime() 1687 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in CreateNewObjectWithRuntime() 1971 if (callInst->GetFlag(inst_flags::MEM_BARRIER)) { in CreateLaunchCall() 2946 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitReturnVoid() 2971 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitReturnInlined() 4071 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitMultiArray() 4140 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitNewArray() 4183 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitNewObject()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
| D | codegen.cpp | 1287 if (callInst->GetFlag(inst_flags::MEM_BARRIER)) { in CreateMultiArrayCall() 2233 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitNewArray() 2250 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitNewArray() 2260 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitNewArray()
|
| D | encode_visitor.cpp | 407 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitReturnVoid() 454 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitReturnInlined() 1465 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitNewObject() 2096 if (inst->GetFlag(inst_flags::MEM_BARRIER)) { in VisitMultiArray()
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
| D | ir_builder.cpp | 113 lastInst->SetFlag(inst_flags::MEM_BARRIER); in SetMemoryBarrierFlag()
|