/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | emit.cpp | 302 void Emitter::EmitAsmLabel(const MIRSymbol &mirSymbol, AsmLabel label) in EmitAsmLabel() argument 305 MIRType *mirType = mirSymbol.GetType(); in EmitAsmLabel() 307 if (mirSymbol.GetStorageClass() == kScPstatic && mirSymbol.IsLocal()) { in EmitAsmLabel() 310 symName = mirSymbol.GetName() + std::to_string(pIdx); in EmitAsmLabel() 312 symName = mirSymbol.GetName(); in EmitAsmLabel() 314 if (mirSymbol.GetAsmAttr() != UStrIdx(0) && in EmitAsmLabel() 315 (mirSymbol.GetStorageClass() == kScPstatic || mirSymbol.GetStorageClass() == kScPstatic)) { in EmitAsmLabel() 316 std::string asmSection = GlobalTables::GetUStrTable().GetStringFromStrIdx(mirSymbol in EmitAsmLabel() 759 EmitAddrofFuncConst(const MIRSymbol &mirSymbol, MIRConst &elemConst, size_t idx) EmitAsmLabel() argument 893 EmitAddrofSymbolConst(const MIRSymbol &mirSymbol, MIRConst &elemConst, size_t idx) EmitAsmLabel() argument 1160 GetAddroffuncConst(const MIRSymbol &mirSymbol, MIRAggConst &aggConst) EmitAsmLabel() argument 1245 EmitIntConst(const MIRSymbol &mirSymbol, MIRAggConst &aggConst, uint32 itabConflictIndex, const std::map<GStrIdx, MIRType *> &strIdx2Type, size_t idx) EmitAsmLabel() argument 1534 EmitConstantTable(const MIRSymbol &mirSymbol, MIRConst &mirConst, const std::map<GStrIdx, MIRType *> &strIdx2Type) EmitAsmLabel() argument 2120 MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(i); EmitAsmLabel() local 2410 MIRSymbol *mirSymbol = classInfoVec[i]; EmitAsmLabel() local 2548 EmitGlobalRootList(const MIRSymbol &mirSymbol) EmitAsmLabel() argument 2657 EmitClassInfoSequential(const MIRSymbol &mirSymbol, const std::map<GStrIdx, MIRType *> &strIdx2Type, const std::string §ionName) EmitAsmLabel() argument 2683 EmitMethodDeclaringClass(const MIRSymbol &mirSymbol, const std::string §ionName) EmitAsmLabel() argument 2707 EmitMethodFieldSequential(const MIRSymbol &mirSymbol, const std::map<GStrIdx, MIRType *> &strIdx2Type, const std::string §ionName) EmitAsmLabel() argument [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | emit.h | 183 void EmitAsmLabel(const MIRSymbol &mirSymbol, AsmLabel label); 194 void EmitIntConst(const MIRSymbol &mirSymbol, MIRAggConst &aggConst, uint32 itabConflictIndex, 196 void EmitAddrofFuncConst(const MIRSymbol &mirSymbol, MIRConst &elemConst, size_t idx); 197 void EmitAddrofSymbolConst(const MIRSymbol &mirSymbol, MIRConst &elemConst, size_t idx); 198 void EmitConstantTable(const MIRSymbol &mirSymbol, MIRConst &mirConst, 200 void EmitClassInfoSequential(const MIRSymbol &mirSymbol, const std::map<GStrIdx, MIRType *> &strIdx2Type, 202 void EmitMethodFieldSequential(const MIRSymbol &mirSymbol, const std::map<GStrIdx, MIRType *> &strIdx2Type, 220 void EmitMethodDeclaringClass(const MIRSymbol &mirSymbol, const std::string §ionName); 226 void EmitGlobalRootList(const MIRSymbol &mirSymbol); 229 MIRAddroffuncConst *GetAddroffuncConst(const MIRSymbol &mirSymbol, MIRAggCons [all...] |
H A D | cfi.h | 195 SymbolOperand(maple::MIRSymbol &mirSymbol, uint8 size) : OperandVisitable(kOpdStImmediate, size), symbol(&mirSymbol) in SymbolOperand() argument
|
H A D | operand.h | 776 OfstOperand(const MIRSymbol &mirSymbol, uint32 size, int32 relocs) in OfstOperand() argument 779 symbol(&mirSymbol), in OfstOperand() 792 OfstOperand(const MIRSymbol &mirSymbol, int64 val, uint32 size, int32 relocs, VaryType isVar = kNotVary) in OfstOperand() argument 795 symbol(&mirSymbol), in OfstOperand() 979 MemOperand(uint32 size, const MIRSymbol &mirSymbol) : OperandVisitable(Operand::kOpdMem, size), symbol(&mirSymbol) in MemOperand() argument 993 MemOperand(uint32 size, RegOperand *baseOp, RegOperand *indexOp, ImmOperand *ofstOp, const MIRSymbol *mirSymbol, in MemOperand() argument 1000 symbol(mirSymbol) in MemOperand()
|
H A D | cgfunc.h | 739 void SetLocalSymLabelIndex(const MIRSymbol &mirSymbol, LabelIdx labelIndex) in SetLocalSymLabelIndex() argument 741 funcLocalSym2Label[&mirSymbol] = labelIndex; in SetLocalSymLabelIndex()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_emitter.cpp | 25 uint8 X64Emitter::GetSymbolAlign(const MIRSymbol &mirSymbol, bool isComm) in GetSymbolAlign() argument 27 uint8 alignInByte = mirSymbol.GetAttrs().GetAlignValue(); in GetSymbolAlign() 28 MIRTypeKind kind = mirSymbol.GetType()->GetKind(); in GetSymbolAlign() 30 MIRStorageClass storage = mirSymbol.GetStorageClass(); in GetSymbolAlign() 41 alignInByte = Globals::GetInstance()->GetBECommon()->GetTypeAlign(mirSymbol.GetType()->GetTypeIndex()); in GetSymbolAlign() 1772 MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(i); in EmitGlobalVariable() local 1774 if (mirSymbol == nullptr || mirSymbol->IsDeleted() || mirSymbol->GetStorageClass() == kScUnused) { in EmitGlobalVariable() 1778 MIRStorageClass storageClass = mirSymbol in EmitGlobalVariable() [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_function.cpp | 49 MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(symbolTableIdx.Idx()); in GetName() local 50 DEBUG_ASSERT(mirSymbol != nullptr, "null ptr check"); in GetName() 51 return mirSymbol->GetName(); in GetName() 57 MIRSymbol *mirSymbol = GlobalTables::GetGsymTable().GetSymbolFromStidx(symbolTableIdx.Idx()); in GetNameStrIdx() local 58 DEBUG_ASSERT(mirSymbol != nullptr, "null ptr check"); in GetNameStrIdx() 59 return mirSymbol->GetNameStrIdx(); in GetNameStrIdx()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A 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/ |
H A D | aarch64_cgfunc.h | 229 OfstOperand &CreateOfstOpnd(const MIRSymbol &mirSymbol, int32 relocs) const in CreateOfstOpnd() argument 231 return *memPool->New<OfstOperand>(mirSymbol, 0, relocs); in CreateOfstOpnd() 234 OfstOperand &CreateOfstOpnd(const MIRSymbol &mirSymbol, int64 offset, int32 relocs) const in CreateOfstOpnd() argument 236 return *memPool->New<OfstOperand>(mirSymbol, 0, offset, relocs); in CreateOfstOpnd() 239 StImmOperand &CreateStImmOperand(const MIRSymbol &mirSymbol, int64 offset, int32 relocs) const in CreateStImmOperand() argument 241 return *memPool->New<StImmOperand>(mirSymbol, offset, relocs); in CreateStImmOperand()
|