Home
last modified time | relevance | path

Searched refs:Flags (Results 1 – 25 of 35) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/
Dold_instruction.h1266 inline bool HasFlag(Flags flag) const in HasFlag()
1270 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1272 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1274 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1276 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1278 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1280 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1282 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1284 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
1286 return ((Flags::ACC_NONE) & flag) == flag; in HasFlag()
[all …]
Dold_instruction_enum.h459 enum Flags : uint32_t { enum
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dintrinsic_flags_test.inl.erb22 inst->ClearFlag(static_cast<inst_flags::Flags>(set_flags));
23 inst->SetFlag(static_cast<inst_flags::Flags>(clear_flags));
Dintrinsics_flags.inl.erb33 inst->ClearFlag(static_cast<inst_flags::Flags>(clear_flags));
37 inst->SetFlag(static_cast<inst_flags::Flags>(set_flags));
/arkcompiler/runtime_core/libpandafile/
Dbytecode_instruction.h372 bool HasFlag(Flags flag) const;
374 bool IsIdMatchFlag(size_t idx, Flags flag) const; // idx-th id matches flag or not
382 return HasFlag(Flags::RETURN) || HasFlag(Flags::JUMP) || IsThrow(Exceptions::X_THROW); in IsTerminator()
387 return HasFlag(Flags::SUSPEND); in IsSuspend()
Dfile_reader.cpp1262 using Flags = panda::BytecodeInst<panda::BytecodeInstMode::FAST>::Flags; in UpdateCodeAndDebugInfoDependencies() typedef
1288 if (inst.HasFlag(Flags::TYPE_ID)) { in UpdateCodeAndDebugInfoDependencies()
1296 } else if (inst.HasFlag(Flags::METHOD_ID)) { in UpdateCodeAndDebugInfoDependencies()
1304 } else if (inst.HasFlag(Flags::FIELD_ID)) { in UpdateCodeAndDebugInfoDependencies()
1312 } else if (inst.HasFlag(Flags::STRING_ID)) { in UpdateCodeAndDebugInfoDependencies()
1330 using Flags = panda::BytecodeInst<panda::BytecodeInstMode::FAST>::Flags; in ComputeLayoutAndUpdateIndices() typedef
1386 if (inst.HasFlag(Flags::TYPE_ID)) { in ComputeLayoutAndUpdateIndices()
1395 } else if (inst.HasFlag(Flags::METHOD_ID)) { in ComputeLayoutAndUpdateIndices()
1404 } else if (inst.HasFlag(Flags::FIELD_ID)) { in ComputeLayoutAndUpdateIndices()
1413 } else if (inst.HasFlag(Flags::STRING_ID)) { in ComputeLayoutAndUpdateIndices()
[all …]
/arkcompiler/ets_frontend/es2panda/typescript/types/
DtupleType.cpp81 if (targetProp->Flags() != sourceProp->Flags()) { in Identical()
DobjectType.cpp83 if (it->Flags() != found->Flags()) { in Identical()
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/
DregExpLiteral.h45 const util::StringView &Flags() const in Flags() function
/arkcompiler/ets_runtime/ecmascript/jobs/
Dpending_job.h62 ACCESSORS_PRIMITIVE_FIELD(Flags, uint32_t, FLAGS_OFFSET, LAST_OFFSET)
/arkcompiler/runtime_core/compiler/tests/
Dcompiler_optimizations_test.cpp102 inst->SetFlag(inst_flags::Flags::NONE); in __anon2e732b7b0102()
103 EXPECT_FALSE(inst->GetFlag(inst_flags::Flags::NONE)); in __anon2e732b7b0102()
Dcompiler_inst_test.cpp797 save_state1.SetFlag(inst_flags::Flags::CAN_THROW);
801 save_state2.SetFlag(inst_flags::Flags::REQUIRE_STATE);
/arkcompiler/ets_frontend/es2panda/lexer/token/
Dtoken.h51 TokenFlags Flags() const in DEFINE_BITOPS()
/arkcompiler/ets_runtime/ecmascript/
Djs_symbol.h115 ACCESSORS_PRIMITIVE_FIELD(Flags, uint32_t, FLAGS_OFFSET, LAST_OFFSET)
/arkcompiler/runtime_core/libpandafile/templates/
Dbytecode_instruction_enum_gen.h.erb29 enum Flags : uint32_t {
Dbytecode_instruction-inl_gen.h.erb353 template<const BytecodeInstMode Mode> inline bool BytecodeInst<Mode>::HasFlag(Flags flag) const {
356 % flag_array = i.real_properties.map {|prop| "Flags::" + prop.upcase}
370 …ytecodeInstMode Mode> inline bool BytecodeInst<Mode>::IsIdMatchFlag(size_t idx, Flags flag) const {
378 % ids << "Flags::" + f
386 constexpr std::array<Flags, <%= ids.size %>> ids_array { <%= ids.join(', ') %> };
/arkcompiler/ets_frontend/es2panda/parser/
Dcommonjs.cpp91 … functionContext.Flags(), false, Extension() == ScriptExtension::TS); in ParseCommonjs()
DexpressionParser.cpp88 if (lexer_->GetToken().Flags() & lexer::TokenFlags::HAS_ESCAPE) { in ParseYieldExpression()
391 … returnTypeAnnotation, arrowFunctionContext->Flags(), false, in ParseArrowFunctionExpressionBody()
977 if (lexer_->GetToken().Flags() & lexer::TokenFlags::HAS_ESCAPE) { in ParsePotentialNewTarget()
1036 if (lexer_->GetToken().Flags() & lexer::TokenFlags::NUMBER_BIGINT) { in ParsePrimaryExpression()
1990 lexer::TokenFlags currentTokenFlags = lexer_->GetToken().Flags(); in ParsePropertyModifiers()
2045 if (lexer_->GetToken().Flags() & lexer::TokenFlags::NUMBER_BIGINT) { in ParsePropertyKey()
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.h837 flags |= DeclFlagToVariableFlag(newDecl->Flags()); in AddVar()
866 flags |= DeclFlagToVariableFlag(newDecl->Flags()); in AddFunction()
903 VariableFlags flags = DeclFlagToVariableFlag(newDecl->Flags()); in AddClass()
959 VariableFlags flags = DeclFlagToVariableFlag(newDecl->Flags()); in AddLexical()
Dvariable.h77 VariableFlags Flags() const in VARIABLE_TYPES()
Ddeclaration.h88 DeclarationFlags Flags() const in DECLARATION_KINDS()
Dscope.cpp384 VariableFlags flags = res->second->Flags(); in ConvertLocalVariableToModuleVariable()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.h204 enum Flags : uint32_t { enum
958 bool GetFlag(inst_flags::Flags flag) const in GetFlag()
963 void SetFlag(inst_flags::Flags flag) in SetFlag()
968 void ClearFlag(inst_flags::Flags flag) in ClearFlag()
987 SetFlag(inst_flags::Flags::TERMINATOR); in SetTerminator()
/arkcompiler/runtime_core/disassembler/
Ddisassembler.cpp1552 if (bc_ins.IsIdMatchFlag(idx, BytecodeInstruction::Flags::METHOD_ID)) { in IDToString()
1554 } else if (bc_ins.IsIdMatchFlag(idx, BytecodeInstruction::Flags::STRING_ID)) { in IDToString()
1559 ASSERT(bc_ins.IsIdMatchFlag(idx, BytecodeInstruction::Flags::LITERALARRAY_ID)); in IDToString()
1640 if (bc_ins.HasFlag(BytecodeInstruction::Flags::METHOD_ID)) { in GetInstructions()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp394 if (!(bcIns.HasFlag(BytecodeInstruction::Flags::STRING_ID) && in CollectMethodInfoFromBC()
509 …if (jsPandaFile_->HasTSTypes(recordName) && !(bcIns.HasFlag(BytecodeInstruction::Flags::STRING_ID)… in CollectModuleInfoFromBC()

12