/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
D | emit.cpp | 346 void Emitter::EmitAsmLabel(const MIRSymbol &mirSymbol, AsmLabel label) in EmitAsmLabel() argument 348 MIRType *mirType = mirSymbol.GetType(); in EmitAsmLabel() 350 if (mirSymbol.GetStorageClass() == kScPstatic && mirSymbol.IsLocal()) { in EmitAsmLabel() 352 symName = mirSymbol.GetName() + std::to_string(pIdx); in EmitAsmLabel() 354 symName = mirSymbol.GetName(); in EmitAsmLabel() 356 if (mirSymbol.GetAsmAttr() != UStrIdx(0) && in EmitAsmLabel() 357 (mirSymbol.GetStorageClass() == kScPstatic || mirSymbol.GetStorageClass() == kScPstatic)) { in EmitAsmLabel() 358 … std::string asmSection = GlobalTables::GetUStrTable().GetStringFromStrIdx(mirSymbol.GetAsmAttr()); in EmitAsmLabel() 415 MIRTypeKind kind = mirSymbol.GetType()->GetKind(); in EmitAsmLabel() 416 MIRStorageClass storage = mirSymbol.GetStorageClass(); in EmitAsmLabel() [all …]
|
D | cg_phasemanager.cpp | 231 … MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(static_cast<uint32>(i)); in SweepUnusedStaticSymbol() local 232 …if (mirSymbol != nullptr && (mirSymbol->GetSKind() == kStVar || mirSymbol->GetSKind() == kStConst)… in SweepUnusedStaticSymbol() 233 … (mirSymbol->GetStorageClass() == kScFstatic || mirSymbol->GetStorageClass() == kScPstatic)) { in SweepUnusedStaticSymbol() 234 mirSymbol->SetIsDeleted(); in SweepUnusedStaticSymbol()
|
D | eh_func.cpp | 158 MIRSymbol *mirSymbol = nullptr; in Lower() local 164 mirSymbol = mirFunc.GetLocalOrGlobalSymbol(drNode->GetStIdx()); in Lower() 165 DEBUG_ASSERT(mirSymbol != nullptr, "get symbol failed in EHThrow::Lower"); in Lower() 166 pstType = mirSymbol->GetType(); in Lower() 596 …MIRSymbol *mirSymbol = mirModule.GetMIRBuilder()->CreateSymbol(TyIdx(PTY_i32), "__eh_index__", kSt… in InsertEHSwitchTable() local 598 switchNode->SetSwitchOpnd(mirModule.GetMIRBuilder()->CreateExprDread(*mirSymbol)); in InsertEHSwitchTable() 611 …MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(cgFunc->GetFunction().GetSt… in CreateLabel() local 612 CHECK_FATAL(mirSymbol != nullptr, "get function symbol failed in EHFunc::CreateLabel"); in CreateLabel() 613 std::string funcName = mirSymbol->GetName(); in CreateLabel()
|
D | reaching.cpp | 1386 …MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(cgFunc->GetFunction().GetSt… in Dump() local 1387 DEBUG_ASSERT(mirSymbol != nullptr, "get symbol in function failed in ReachingDefinition::Dump"); in Dump() 1388 LogInfo::MapleLogger() << "\n---- Reaching definition analysis for " << mirSymbol->GetName(); in Dump()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
D | emit.h | 185 void EmitAsmLabel(const MIRSymbol &mirSymbol, AsmLabel label); 198 void EmitIntConst(const MIRSymbol &mirSymbol, MIRAggConst &aggConst, uint32 itabConflictIndex, 200 void EmitAddrofFuncConst(const MIRSymbol &mirSymbol, MIRConst &elemConst, size_t idx); 201 void EmitAddrofSymbolConst(const MIRSymbol &mirSymbol, MIRConst &elemConst, size_t idx); 202 void EmitConstantTable(const MIRSymbol &mirSymbol, MIRConst &mirConst, 204 …void EmitClassInfoSequential(const MIRSymbol &mirSymbol, const std::map<GStrIdx, MIRType *> &strId… 206 …void EmitMethodFieldSequential(const MIRSymbol &mirSymbol, const std::map<GStrIdx, MIRType *> &str… 223 void EmitMethodDeclaringClass(const MIRSymbol &mirSymbol, const std::string §ionName); 232 void EmitGlobalRootList(const MIRSymbol &mirSymbol); 235 MIRAddroffuncConst *GetAddroffuncConst(const MIRSymbol &mirSymbol, MIRAggConst &aggConst);
|
D | cfi.h | 181 …SymbolOperand(maple::MIRSymbol &mirSymbol, uint8 size) : OperandVisitable(kOpdStImmediate, size), … in SymbolOperand() argument
|
D | operand.h | 804 OfstOperand(const MIRSymbol &mirSymbol, uint32 size, int32 relocs) in OfstOperand() argument 807 symbol(&mirSymbol), in OfstOperand() 820 …OfstOperand(const MIRSymbol &mirSymbol, int64 val, uint32 size, int32 relocs, VaryType isVar = kNo… 823 symbol(&mirSymbol), in ImmOperand() 998 …emOperand(uint32 size, const MIRSymbol &mirSymbol) : OperandVisitable(Operand::kOpdMem, size), sym… in MemOperand() argument 1002 …nt32 size, RegOperand *baseOp, RegOperand *indexOp, ImmOperand *ofstOp, const MIRSymbol *mirSymbol, 1009 symbol(mirSymbol) in OperandVisitable()
|
D | cgfunc.h | 1117 void SetLocalSymLabelIndex(const MIRSymbol &mirSymbol, LabelIdx labelIndex) in SetLocalSymLabelIndex() argument 1119 funcLocalSym2Label[&mirSymbol] = labelIndex; in SetLocalSymLabelIndex()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
D | x64_emitter.cpp | 97 uint8 X64Emitter::GetSymbolAlign(const MIRSymbol &mirSymbol, bool isComm) in GetSymbolAlign() argument 99 uint8 alignInByte = mirSymbol.GetAttrs().GetAlignValue(); in GetSymbolAlign() 100 MIRTypeKind kind = mirSymbol.GetType()->GetKind(); in GetSymbolAlign() 102 MIRStorageClass storage = mirSymbol.GetStorageClass(); in GetSymbolAlign() 114 …alignInByte = Globals::GetInstance()->GetBECommon()->GetTypeAlign(mirSymbol.GetType()->GetTypeInde… in GetSymbolAlign() 2059 MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(i); in EmitGlobalVariable() local 2061 … if (mirSymbol == nullptr || mirSymbol->IsDeleted() || mirSymbol->GetStorageClass() == kScUnused) { in EmitGlobalVariable() 2065 MIRStorageClass storageClass = mirSymbol->GetStorageClass(); in EmitGlobalVariable() 2071 MIRType *mirType = mirSymbol->GetType(); in EmitGlobalVariable() 2075 int64 symIdx = mirSymbol->GetNameStrIdx().get(); in EmitGlobalVariable() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
D | mir_function.cpp | 53 MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(symbolTableIdx.Idx()); in GetName() local 54 DEBUG_ASSERT(mirSymbol != nullptr, "null ptr check"); in GetName() 55 return mirSymbol->GetName(); in GetName() 60 MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(symbolTableIdx.Idx()); in GetNameStrIdx() local 61 DEBUG_ASSERT(mirSymbol != nullptr, "null ptr check"); in GetNameStrIdx() 62 return mirSymbol->GetNameStrIdx(); in GetNameStrIdx()
|
D | debug_info.cpp | 378 … MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(static_cast<uint32>(i)); in BuildDebugInfo() local 379 … if (mirSymbol == nullptr || mirSymbol->IsDeleted() || mirSymbol->GetStorageClass() == kScUnused || in BuildDebugInfo() 380 mirSymbol->GetStorageClass() == kScExtern) { in BuildDebugInfo() 383 if (module->IsCModule() && mirSymbol->IsGlobal() && mirSymbol->IsVar()) { in BuildDebugInfo() 384 DBGDie *vdie = CreateVarDie(mirSymbol); in BuildDebugInfo()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
D | x64_emitter.h | 45 uint8 GetSymbolAlign(const maple::MIRSymbol &mirSymbol, bool isComm = false);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
D | aarch64_cgfunc.h | 407 OfstOperand &CreateOfstOpnd(const MIRSymbol &mirSymbol, int32 relocs) const in CreateOfstOpnd() argument 409 return *memPool->New<OfstOperand>(mirSymbol, 0, relocs); in CreateOfstOpnd() 412 OfstOperand &CreateOfstOpnd(const MIRSymbol &mirSymbol, int64 offset, int32 relocs) const in CreateOfstOpnd() argument 414 return *memPool->New<OfstOperand>(mirSymbol, 0, offset, relocs); in CreateOfstOpnd() 417 StImmOperand &CreateStImmOperand(const MIRSymbol &mirSymbol, int64 offset, int32 relocs) const in CreateStImmOperand() argument 419 return *memPool->New<StImmOperand>(mirSymbol, offset, relocs); in CreateStImmOperand()
|