/arkcompiler/ets_runtime/ecmascript/jspandafile/bytecode_inst/ |
D | old_instruction.h | 1266 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 …]
|
D | old_instruction_enum.h | 459 enum Flags : uint32_t { enum
|
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/ |
D | intrinsic_flags_test.inl.erb | 22 inst->ClearFlag(static_cast<inst_flags::Flags>(set_flags)); 23 inst->SetFlag(static_cast<inst_flags::Flags>(clear_flags));
|
D | intrinsics_flags.inl.erb | 33 inst->ClearFlag(static_cast<inst_flags::Flags>(clear_flags)); 37 inst->SetFlag(static_cast<inst_flags::Flags>(set_flags));
|
/arkcompiler/runtime_core/libpandafile/ |
D | bytecode_instruction.h | 372 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()
|
D | file_reader.cpp | 1262 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/ |
D | tupleType.cpp | 81 if (targetProp->Flags() != sourceProp->Flags()) { in Identical()
|
D | objectType.cpp | 83 if (it->Flags() != found->Flags()) { in Identical()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/literals/ |
D | regExpLiteral.h | 45 const util::StringView &Flags() const in Flags() function
|
/arkcompiler/ets_runtime/ecmascript/jobs/ |
D | pending_job.h | 62 ACCESSORS_PRIMITIVE_FIELD(Flags, uint32_t, FLAGS_OFFSET, LAST_OFFSET)
|
/arkcompiler/runtime_core/compiler/tests/ |
D | compiler_optimizations_test.cpp | 102 inst->SetFlag(inst_flags::Flags::NONE); in __anon2e732b7b0102() 103 EXPECT_FALSE(inst->GetFlag(inst_flags::Flags::NONE)); in __anon2e732b7b0102()
|
D | compiler_inst_test.cpp | 797 save_state1.SetFlag(inst_flags::Flags::CAN_THROW); 801 save_state2.SetFlag(inst_flags::Flags::REQUIRE_STATE);
|
/arkcompiler/ets_frontend/es2panda/lexer/token/ |
D | token.h | 51 TokenFlags Flags() const in DEFINE_BITOPS()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_symbol.h | 115 ACCESSORS_PRIMITIVE_FIELD(Flags, uint32_t, FLAGS_OFFSET, LAST_OFFSET)
|
/arkcompiler/runtime_core/libpandafile/templates/ |
D | bytecode_instruction_enum_gen.h.erb | 29 enum Flags : uint32_t {
|
D | bytecode_instruction-inl_gen.h.erb | 353 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/ |
D | commonjs.cpp | 91 … functionContext.Flags(), false, Extension() == ScriptExtension::TS); in ParseCommonjs()
|
D | expressionParser.cpp | 88 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/ |
D | scope.h | 837 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()
|
D | variable.h | 77 VariableFlags Flags() const in VARIABLE_TYPES()
|
D | declaration.h | 88 DeclarationFlags Flags() const in DECLARATION_KINDS()
|
D | scope.cpp | 384 VariableFlags flags = res->second->Flags(); in ConvertLocalVariableToModuleVariable()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | inst.h | 204 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/ |
D | disassembler.cpp | 1552 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/ |
D | bytecode_info_collector.cpp | 394 if (!(bcIns.HasFlag(BytecodeInstruction::Flags::STRING_ID) && in CollectMethodInfoFromBC() 509 …if (jsPandaFile_->HasTSTypes(recordName) && !(bcIns.HasFlag(BytecodeInstruction::Flags::STRING_ID)… in CollectModuleInfoFromBC()
|