/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_reg_info.cpp | 25 for (regno_t regNO = kRinvalid; regNO < kMaxRegNum; ++regNO) { in Init() 27 if (IsYieldPointReg(regNO) || IsReservedReg(regNO)) { in Init() 30 if (regNO == R29 && GetCurrFunction()->UseFP()) { in Init() 33 if (!AArch64Abi::IsAvailableReg(static_cast<AArch64reg>(regNO))) { in Init() 36 if (AArch64isa::IsGPRegister(static_cast<AArch64reg>(regNO))) { in Init() 37 AddToIntRegs(regNO); in Init() 39 AddToFpRegs(regNO); in Init() 54 IsSpillRegInRA(regno_t regNO, bool has3RegOpnd) IsSpillRegInRA() argument 84 GetOrCreatePhyRegOperand(regno_t regNO, uint32 size, maplebe::RegType kind, uint32 flag) GetOrCreatePhyRegOperand() argument [all...] |
H A D | aarch64_abi.cpp | 54 bool IsCallerSaveReg(AArch64reg regNO) in IsCallerSaveReg() argument 56 return (R0 <= regNO && regNO <= R18) || (V0 <= regNO && regNO <= V7) || (V16 <= regNO && regNO <= V31) || in IsCallerSaveReg() 57 (regNO == kRFLAG); in IsCallerSaveReg() 138 bool IsSpillRegInRA(AArch64reg regNO, bool has3RegOpnd) in IsSpillRegInRA() argument 142 return AArch64Abi::IsSpillReg(regNO) || AArch64Ab in IsSpillRegInRA() [all...] |
H A D | aarch64_obj_emitter.cpp | 432 uint32 regNO = regOpnd.GetRegisterNumber(); in GetOpndMachineValue() local 433 if (regNO == kRFLAG) { in GetOpndMachineValue() 438 return regNO - R0 - kRegNum2; in GetOpndMachineValue() 441 return regNO - R0 - 1; in GetOpndMachineValue() 443 DEBUG_ASSERT(regNO >= R0, "value overflow"); in GetOpndMachineValue() 444 return regNO - R0; in GetOpndMachineValue() 446 return regNO - V0; in GetOpndMachineValue()
|
H A D | aarch64_insn.cpp | 44 regno_t regNO = v->GetRegisterNumber(); in Visit() local 57 (void)emitter.Emit(AArch64CG::intRegNames[regSet][regNO]); in Visit()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_reg_info.h | 40 bool IsCallerSavePartRegister(regno_t regNO, uint32 size) const override 42 return (regNO >= V8 && regNO <= V15) && size == k128BitSize; 45 bool IsGPRegister(regno_t regNO) const override 47 return AArch64isa::IsGPRegister(static_cast<AArch64reg>(regNO)); 60 bool IsAvailableReg(regno_t regNO) const override 62 return AArch64Abi::IsAvailableReg(static_cast<AArch64reg>(regNO)); 84 uint32 GetIntParamRegIdx(regno_t regNO) const override 86 return static_cast<uint32>(regNO - *GetIntRegs().begin()); 88 uint32 GetFpParamRegIdx(regno_t regNO) cons [all...] |
H A D | aarch64_abi.h | 49 bool IsSpillRegInRA(AArch64reg regNO, bool has3RegOpnd);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | reg_alloc_lsra.cpp | 107 for (auto regNO : insn->GetStackMapLiveIn()) { in SpillStackMapInfo() 108 if (!cgFunc->IsRegReference(regNO)) { in SpillStackMapInfo() 111 auto *li = liveIntervalsArray[regNO]; in SpillStackMapInfo() 115 auto itr = derivedRef2Base.find(regNO); in SpillStackMapInfo() 260 for (regno_t regNO : regInfo->GetAllRegs()) { in InitFreeRegPool() 261 if (!regInfo->IsAvailableReg(regNO)) { in InitFreeRegPool() 264 if (regInfo->IsGPRegister(regNO)) { in InitFreeRegPool() 265 if (regInfo->IsYieldPointReg(regNO)) { in InitFreeRegPool() 269 if (regInfo->IsSpillRegInRA(regNO, needExtraSpillReg)) { in InitFreeRegPool() 270 intSpillRegSet.push_back(regNO in InitFreeRegPool() 334 uint32 regNO = regOpnd.GetRegisterNumber(); RecordPhysRegs() local 371 UpdateRegUsedInfo(LiveInterval &li, regno_t regNO) UpdateRegUsedInfo() argument 406 uint32 regNO = regOpnd.GetRegisterNumber(); SetupLiveInterval() local 909 uint32 regNO = regOpnd.GetRegisterNumber(); LiveIntervalAnalysis() local 981 uint32 regNO = activeLi->GetAssignedReg(); UpdateActiveAllocateInfo() local 1076 uint32 regNO = preg + offset; GetRegFromMask() local 1126 uint32 regNO = 0; FindAvailablePhyReg() local 1215 GetSpillMem(uint32 vRegNO, bool isDest, Insn &insn, regno_t regNO, bool &isOutOfRange, uint32 bitSize) const GetSpillMem() argument 1269 uint32 regNO = regOpnd.GetRegisterNumber(); SpillOperand() local 1369 regno_t regNO = li->GetAssignedReg(); FindLowestPrioInActive() local 1526 uint32 regNO = FindAvailablePhyReg(li); AssignPhysRegs() local [all...] |
H A D | insn.cpp | 154 bool Insn::IsRegDefined(regno_t regNO) const in IsRegDefined() 156 return GetDefRegs().count(regNO); in IsRegDefined() 249 bool Insn::ScanReg(regno_t regNO) const in ScanReg() 259 if (regNO == regOpnd->GetRegisterNumber()) { in ScanReg() 267 if ((base != nullptr && base->GetRegisterNumber() == regNO) || in ScanReg() 268 (index != nullptr && index->GetRegisterNumber() == regNO)) { in ScanReg() 272 if (static_cast<RegOperand &>(opnd).GetRegisterNumber() == regNO) { in ScanReg()
|
H A D | live.cpp | 247 regno_t regNO = regOpnd.GetRegisterNumber(); in CollectLiveInfo() local 253 bb.SetDefBit(regNO); in CollectLiveInfo() 255 bb.UseResetBit(regNO); in CollectLiveInfo() 259 bb.SetUseBit(regNO); in CollectLiveInfo() 260 bb.DefResetBit(regNO); in CollectLiveInfo()
|
H A D | peep.cpp | 137 regno_t regNO = regOpnd.GetRegisterNumber(); in CheckRegLiveinReturnBB() local 149 if (regNO == returnReg) { in CheckRegLiveinReturnBB() 158 * Check regNO in current bb: 160 * kResNotFind:cannot find regNO, need to continue searching. 350 regno_t regNO = regOpnd.GetRegisterNumber(); in CheckRegLiveinReturnBB() local 362 if (regNO == returnReg) { in CheckRegLiveinReturnBB() 371 * Check regNO in current bb: 373 * kResNotFind:cannot find regNO, need to continue searching.
|
H A D | cfi.cpp | 72 LogInfo::MapleLogger() << "reg: " << regNO << "[ size: " << GetSize() << "] "; in Dump()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_reg_info.h | 36 bool IsYieldPointReg(regno_t regNO) const override; 37 bool IsUnconcernedReg(regno_t regNO) const override; 38 RegOperand *GetOrCreatePhyRegOperand(regno_t regNO, uint32 size, RegType kind, uint32 flag) override; 45 bool IsGPRegister(regno_t regNO) const override 47 return x64::IsGPRegister(static_cast<X64reg>(regNO)); 81 uint32 GetIntParamRegIdx(regno_t regNO) const override 84 return static_cast<uint32>(regNO - *GetIntRegs().begin()); 86 uint32 GetFpParamRegIdx(regno_t regNO) const override 89 return static_cast<uint32>(regNO - *GetFpRegs().begin()); 111 bool IsAvailableReg(regno_t regNO) cons [all...] |
H A D | x64_abi.h | 43 bool IsSpillRegInRA(X64reg regNO, bool has3RegOpnd);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_reg_info.cpp | 25 for (regno_t regNO = kRinvalid; regNO < kMaxRegNum; ++regNO) { in Init() 27 if (IsYieldPointReg(static_cast<X64reg>(regNO))) { in Init() 30 if (!x64::IsAvailableReg(static_cast<X64reg>(regNO))) { in Init() 33 if (x64::IsGPRegister(static_cast<X64reg>(regNO))) { in Init() 34 AddToIntRegs(regNO); in Init() 36 AddToFpRegs(regNO); in Init() 38 AddToAllRegs(regNO); in Init() 53 bool X64RegInfo::IsUnconcernedReg(regno_t regNO) cons 69 GetOrCreatePhyRegOperand(regno_t regNO, uint32 size, RegType kind, uint32 flag) GetOrCreatePhyRegOperand() argument [all...] |
H A D | x64_abi.cpp | 115 bool IsSpillRegInRA(X64reg regNO, bool has3RegOpnd) in IsSpillRegInRA() argument 119 return IsSpillReg(regNO) || IsExtraSpillReg(regNO); in IsSpillRegInRA() 121 return IsSpillReg(regNO); in IsSpillRegInRA()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | reg_info.h | 31 VirtualRegNode(RegType type, uint32 size) : regType(type), size(size), regNO(kInvalidRegNO) {} in VirtualRegNode() 37 regNO = phyRegNO; in AssignPhysicalRegister() 53 regno_t regNO = kInvalidRegNO; /* physical register assigned by register allocation */ member in maplebe::VirtualRegNode 167 void VRegOperandTableSet(regno_t regNO, RegOperand *rp) const 169 vRegOperandTable[regNO] = rp; 229 virtual bool IsCallerSavePartRegister(regno_t regNO, uint32 size) const 233 virtual RegOperand *GetOrCreatePhyRegOperand(regno_t regNO, uint32 size, RegType kind, uint32 flag = 0) = 0; 234 virtual bool IsGPRegister(regno_t regNO) const = 0; 235 virtual uint32 GetIntParamRegIdx(regno_t regNO) const = 0; 236 virtual uint32 GetFpParamRegIdx(regno_t regNO) cons [all...] |
H A D | call_conv.h | 119 regNO(0), in LmbcFormalParamInfo() 166 return regNO; in GetRegNO() 170 regNO = reg; in SetRegNO() 238 regno_t regNO = 0; /* param reg num or starting reg num if numRegs > 0 */ member in maplebe::LmbcFormalParamInfo
|
H A D | cfi.h | 107 bool IsRegDefined(maplebe::regno_t regNO) const override 125 RegOperand(uint32 no, uint32 size) : OperandVisitable(kOpdRegister, size), regNO(no) {} in RegOperand() 132 return regNO; in GetRegisterNO() 155 uint32 regNO; member in cfi::RegOperand
|
H A D | reg_alloc_lsra.h | 100 return regNO; in GetRegNO() 105 regNO = newRegNO; in SetRegNO() 278 uint32 regNO = 0; member in maplebe::LSRALinearScanRegAllocator::LiveInterval 405 void UpdateRegUsedInfo(LiveInterval &li, regno_t regNO); 435 MemOperand *GetSpillMem(uint32 vregNO, bool isDest, Insn &insn, regno_t regNO, bool &isOutOfRange,
|
H A D | stackmap.h | 133 void ReocordRegisterRoots(uint32 regNO) in ReocordRegisterRoots() argument 135 referenceLocations.push_back({kInRegister, regNO}); in ReocordRegisterRoots()
|
H A D | cgbb.h | 745 void AddPhiInsn(regno_t regNO, Insn &insn) 747 DEBUG_ASSERT(!phiInsnList.count(regNO), "repeat phiInsn"); 748 phiInsnList.emplace(std::pair<regno_t, Insn *>(regNO, &insn)); 750 void RemovePhiInsn(regno_t regNO) 752 DEBUG_ASSERT(phiInsnList.count(regNO), "no such insn"); 753 phiInsnList.erase(regNO); 755 bool HasPhiInsn(regno_t regNO) 757 return phiInsnList.find(regNO) != phiInsnList.end();
|
H A D | operand.h | 243 : OperandVisitable(kOpdRegister, size), regNO(regNum), regType(type), validBitsNum(size), regFlag(flg) in RegOperand() 312 return regNO; in GetRegisterNumber() 317 regNO = regNum; in SetRegisterNumber() 344 return regNO < rightOpnd->regNO; 349 return regNO < right.regNO; in Less() 354 return regNO == right.GetRegisterNumber(); in RegNumEqual() 359 return (regNO - right.GetRegisterNumber()); in RegCompare() 371 return (BasicEquals(op) && regNO 459 regno_t regNO; global() member in maplebe::RegOperand [all...] |
H A D | insn.h | 703 virtual bool ScanReg(regno_t regNO) const; 705 virtual bool IsRegDefined(regno_t regNO) const;
|
H A D | cgfunc.h | 260 void AddReferenceReg(regno_t regNO) in AddReferenceReg() argument 262 referenceVirtualRegs.insert(regNO); in AddReferenceReg() 265 bool IsRegReference(regno_t regNO) const in IsRegReference() 267 return referenceVirtualRegs.count(regNO) != 0; in IsRegReference()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
H A D | lower.h | 143 StIdx GetSymbolReferredToByPseudoRegister(PregIdx regNO) const in GetSymbolReferredToByPseudoRegister() 145 (void)regNO; in GetSymbolReferredToByPseudoRegister()
|