Home
last modified time | relevance | path

Searched refs:GetFlagsMask (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/runtime_core/compiler/tests/
Dinst_test.cpp571 auto initial_mask = inst_flags::GetFlagsMask(Opcode::LoadObject); in TEST_F()
573 ASSERT_EQ(initial_mask, inst->GetFlagsMask()); in TEST_F()
574 ASSERT_EQ(inst->GetFlagsMask(), initial_mask); in TEST_F()
577 ASSERT_EQ(inst->GetFlagsMask(), initial_mask | inst_flags::ALLOC); in TEST_F()
580 ASSERT_EQ(inst->GetFlagsMask(), (initial_mask | inst_flags::ALLOC) & ~inst_flags::LOAD); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dintrinsic_flags_test.inl.erb26 …ASSERT_EQ(expected_flags, inst->GetFlagsMask()) << "Fix <%= intrinsic.enum_name %> intrinsic flags…
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dvn.cpp28 if (inst->GetFlagsMask() == 0) { in AddSpecialTraits()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.h213 inline constexpr uintptr_t GetFlagsMask(Opcode opcode) in GetFlagsMask() function
753 SetField<FieldFlags>(inst_flags::GetFlagsMask(opcode)); in SetOpcode()
953 uintptr_t GetFlagsMask() const in GetFlagsMask() function
960 return (GetFlagsMask() & flag) != 0; in GetFlag()
965 SetField<FieldFlags>(GetFlagsMask() | flag); in SetFlag()
970 SetField<FieldFlags>(GetFlagsMask() & ~static_cast<uintptr_t>(flag)); in ClearFlag()
1352 bit_fields_ = inst_flags::GetFlagsMask(opcode); in Inst()