Home
last modified time | relevance | path

Searched refs:regType (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
H A Dx64_args.cpp111 argInfo.regType = (argInfo.reg < V0) ? kRegTyInt : kRegTyFloat; in GetArgInfo()
127 RegOperand &regOpnd = x64CGFunc->GetOpndBuilder()->CreatePReg(argInfo.reg, opndSize, argInfo.regType); in GenerateMovInsn()
132 mOp = argInfo.regType == kRegTyInt ? x64::MOP_movq_r_m : x64::MOP_movfd_r_m; in GenerateMovInsn()
134 mOp = argInfo.regType == kRegTyInt ? x64::MOP_movl_r_m : x64::MOP_movfs_r_m; in GenerateMovInsn()
136 mOp = argInfo.regType == kRegTyInt ? x64::MOP_movw_r_m : x64::MOP_begin; in GenerateMovInsn()
138 mOp = argInfo.regType == kRegTyInt ? x64::MOP_movb_r_m : x64::MOP_begin; in GenerateMovInsn()
147 RegOperand &regOpnd2 = x64CGFunc->GetOpndBuilder()->CreatePReg(reg2, opndSize, argInfo.regType); in GenerateMovInsn()
187 RegType regType = cgFunc->GetRegTyFromPrimTy(stype); in LoadStackArgsToVReg() local
198 mOp = regType == kRegTyInt ? x64::MOP_movq_m_r : x64::MOP_movfd_m_r; in LoadStackArgsToVReg()
200 mOp = regType in LoadStackArgsToVReg()
223 RegType regType = (ploc.reg0 < V0) ? kRegTyInt : kRegTyFloat; MoveArgsToVReg() local
[all...]
H A Dx64_cgfunc.cpp519 uint8 regType = -1; in DumpRegInfo() local
523 regType = X64CG::kR8LowList; in DumpRegInfo()
526 regType = X64CG::kR16List; in DumpRegInfo()
529 regType = X64CG::kR32List; in DumpRegInfo()
532 regType = X64CG::kR64List; in DumpRegInfo()
538 assembler::Reg reg = assembler::kRegArray[regType][v.GetRegisterNumber()]; in DumpRegInfo()
H A Dx64_proepilog.cpp42 RegType regType = IsGPRegister(reg) ? kRegTyInt : kRegTyFloat; in GenerateCalleeSavedRegs() local
46 RegOperand &calleeReg = cgFunc.GetOpndBuilder()->CreatePReg(reg, regSize, regType); in GenerateCalleeSavedRegs()
H A Dx64_emitter.cpp60 uint8 regType = -1; in TransferReg() local
63 regType = v->IsHigh8Bit() ? X64CG::kR8HighList : X64CG::kR8LowList; in TransferReg()
66 regType = X64CG::kR16List; in TransferReg()
69 regType = X64CG::kR32List; in TransferReg()
72 regType = X64CG::kR64List; in TransferReg()
75 regType = X64CG::kR128List; in TransferReg()
81 CHECK_FATAL(v->GetRegisterNumber() < kRegArray[regType].size(), "NIY, reg out of range"); in TransferReg()
82 Reg reg = kRegArray[regType][v->GetRegisterNumber()]; in TransferReg()
H A Dx64_MPIsel.cpp363 PrimType regType = mirPreg->GetPrimType(); in SelectOverFlowCall() local
365 GetPrimTypeBitSize(regType), cgFunc->GetRegTyFromPrimTy(regType)); in SelectOverFlowCall()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dreg_alloc_lsra.cpp53 char regType = (li.GetRegType() == kRegTyInt) ? 'R' : 'V'; in PrintLiveRanges() local
54 LogInfo::MapleLogger() << "(assigned " << regType << (li.GetAssignedReg() - base) << ")"; in PrintLiveRanges()
333 RegType regType = regOpnd.GetRegisterType(); in RecordPhysRegs() local
335 if (regType == kRegTyCc || regType == kRegTyVary) { in RecordPhysRegs()
345 li->SetRegType(regType); in RecordPhysRegs()
351 if (regType == kRegTyInt) { in RecordPhysRegs()
357 if (regType == kRegTyInt) { in RecordPhysRegs()
400 RegType regType = regOpnd.GetRegisterType(); in SetupLiveInterval() local
401 if (regType in SetupLiveInterval()
1145 auto regType = rli->GetRegType(); InsertCallerSave() local
1282 RegType regType = regOpnd.GetRegisterType(); SpillOperand() local
1353 FindLowestPrioInActive(LiveInterval *&targetLi, LiveInterval *li0, RegType regType) FindLowestPrioInActive() argument
1413 RegType regType = li.GetRegType(); HandleSpillForLi() local
1563 RegType regType = regOpnd->GetRegisterType(); GetReplaceUdOpnd() local
1606 RegType regType = regOpnd->GetRegisterType(); GetReplaceOpnd() local
[all...]
H A Dpeep.cpp138 RegType regType = regOpnd.GetRegisterType(); in CheckRegLiveinReturnBB() local
139 if (regType == kRegTyVary) { in CheckRegLiveinReturnBB()
351 RegType regType = regOpnd.GetRegisterType(); in CheckRegLiveinReturnBB() local
352 if (regType == kRegTyVary) { in CheckRegLiveinReturnBB()
H A Dlive.cpp248 RegType regType = regOpnd.GetRegisterType(); in CollectLiveInfo() local
249 if (regType == kRegTyVary) { in CollectLiveInfo()
H A Disel.cpp705 PrimType regType = stmt.GetPrimType(); in SelectRegassign() local
708 GetPrimTypeBitSize(regType), cgFunc->GetRegTyFromPrimTy(regType)); in SelectRegassign()
709 SelectCopy(regOpnd, opnd0, regType, rhsType); in SelectRegassign()
736 SelectCopy(*dest, regOpnd, preg->GetPrimType(), regType); in SelectRegassign()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dspill_fills_resolver.cpp199 movesTable_[destIndex].regType = sf.GetType(); in CollectSpillFillsData()
258 auto resolver = GetResolver(movesTable_[dstFirst].regType); in CheckAndResolveCyclicDependency()
262 movesTable_[resolver].regType = movesTable_[dstReg].regType; in CheckAndResolveCyclicDependency()
290 auto type = movesTable_[dst].regType; in AddMovesChain()
H A Dspill_fills_resolver.h57 DataType::Type regType; member
H A Dreg_alloc_resolver.cpp384 auto regType = instInterval->GetType(); in ResolveOutput() local
388 GetGraph()->SetRegUsage(reg, regType); in ResolveOutput()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dgraph.cpp676 DataType::Type regType; in GetDataForNativeParam()
678 regType = DataType::FLOAT64; in GetDataForNativeParam()
680 regType = DataType::UINT64; in GetDataForNativeParam()
682 regType = DataType::UINT32; in GetDataForNativeParam()
685 return SpillFillData(SpillFillData {loc, LocationType::INVALID, reg.GetId(), INVALID_REG, regType}); in GetDataForNativeParam()
689 DataType::Type regType; in GetDataForNativeParam()
691 regType = type; in GetDataForNativeParam()
693 regType = DataType::UINT32; in GetDataForNativeParam()
695 regType = DataType::UINT64; in GetDataForNativeParam()
698 SpillFillData {LocationType::STACK_PARAMETER, LocationType::INVALID, slot, INVALID_REG, regType}); in GetDataForNativeParam()
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dreg_info.h31 VirtualRegNode(RegType type, uint32 size) : regType(type), size(size), regNO(kInvalidRegNO) {} in VirtualRegNode()
42 return regType; in GetType()
51 RegType regType = kRegTyUndef; member in maplebe::VirtualRegNode
H A Dreg_alloc_lsra.h140 return regType; in GetRegType()
145 regType = newRegType; in SetRegType()
282 RegType regType = kRegTyUndef; member in maplebe::LSRALinearScanRegAllocator::LiveInterval
413 void FindLowestPrioInActive(LiveInterval *&targetLi, LiveInterval *li = nullptr, RegType regType = kRegTyInt);
H A Dcgfunc.h320 regno_t NewVReg(RegType regType, uint32 size) in NewVReg() argument
323 CHECK_FATAL(regType != kRegTyFloat, "cannot use float | SIMD register with --general-reg-only"); in NewVReg()
325 return vReg.GetNextVregNO(regType, size); in NewVReg()
1071 RegType regType = vRegNode.GetType(); in GetTypeFromPseudoRegIdx() local
1072 DEBUG_ASSERT(regType == kRegTyInt || regType == kRegTyFloat, ""); in GetTypeFromPseudoRegIdx()
1074 return (regType == kRegTyInt ? (size <= sizeof(int32) ? PTY_i32 : PTY_i64) in GetTypeFromPseudoRegIdx()
H A Doperand.h243 : OperandVisitable(kOpdRegister, size), regNO(regNum), regType(type), validBitsNum(size), regFlag(flg) in RegOperand()
272 return regType == kRegTyInt; in IsOfIntClass()
277 return regType == kRegTyFloat; in IsOfFloatOrSIMDClass()
282 return regType == kRegTyCc; in IsOfCC()
287 return regType == kRegTyVary; in IsOfVary()
292 return regType; in GetRegisterType()
297 regType = newTy; in SetRegisterType()
371 return (BasicEquals(op) && regNO == op.GetRegisterNumber() && regType == op.GetRegisterType() &&
460 RegType regType; member in maplebe::RegOperand
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/
H A Dx64_args.h32 RegType regType; member
/arkcompiler/ets_runtime/ecmascript/stackmap/
H A Dark_stackmap_parser.cpp130 LLVMStackMapType::DwarfRegType regType; in GetStackSlotAddress() local
139 LLVMStackMapType::DecodeRegAndOffset(regOffset, regType, offsetType); in GetStackSlotAddress()
140 if (regType == GCStackMapRegisters::SP) { in GetStackSlotAddress()
142 } else if (regType == GCStackMapRegisters::FP) { in GetStackSlotAddress()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_insn.cpp399 uint32 regType = v->GetRegisterType(); in Visit() local
400 DEBUG_ASSERT(regType < kRegTyLast, "unexpected regType"); in Visit()
405 LogInfo::MapleLogger() << (v->IsVirtualRegister() ? "vreg:" : " reg:") << prims[regType] << reg << " " in Visit()
406 << classes[regType]; in Visit()
H A Daarch64_args.cpp141 RegType regType = (ploc.reg0 < V0) ? kRegTyInt : kRegTyFloat; in MoveArgsToVReg() local
151 aarFunc->GetOrCreatePhysicalRegisterOperand(static_cast<AArch64reg>(ploc.reg0), srcBitSize, regType); in MoveArgsToVReg()
H A Daarch64_proepilog.cpp513 RegType regType = AArch64isa::IsGPRegister(reg) ? kRegTyInt : kRegTyFloat; in GeneratePushRegs() local
519 uint16 reg0NO = (regType == kRegTyInt) ? in GeneratePushRegs()
521 uint16 reg1NO = (regType == kRegTyInt) ? static_cast<uint16>(reg - 1) : static_cast<uint16>(reg - V8 + 72); in GeneratePushRegs()
524 AppendInstructionPushPair(cgFunc, firstHalf, reg, regType, offset); in GeneratePushRegs()
847 RegType regType = AArch64isa::IsGPRegister(reg) ? kRegTyInt : kRegTyFloat; in GeneratePopRegs() local
854 AppendInstructionPopPair(cgFunc, firstHalf, reg, regType, offset); in GeneratePopRegs()
H A Daarch64_emitter.cpp139 RegType regType = static_cast<RegOperand &>(opnd).GetRegisterType(); in RecordRegInfo() local
140 if (regType == kRegTyCc || regType == kRegTyVary) { in RecordRegInfo()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/
H A Dinst_builder.cpp406 DataType::Type regType; in SetParamSpillFill() local
408 regType = DataType::REFERENCE; in SetParamSpillFill()
410 regType = DataType::UINT64; in SetParamSpillFill()
412 regType = DataType::UINT32; in SetParamSpillFill()
415 paramInst->SetLocationData({LocationType::REGISTER, LocationType::REGISTER, regSrc, regSrc, regType}); in SetParamSpillFill()
/arkcompiler/runtime_core/static_core/verification/absint/
H A Dabs_int_inl.h1535 auto regType = GetRegType(vs); in HandleLdarrObj() local
1536 if (regType == nullRefType_) { in HandleLdarrObj()
1547 auto arrEltType = regType.GetArrayElementType(GetTypeSystem()); in HandleLdarrObj()
3737 Type regType = GetRegType(v1); in CheckArrayStore() local
3738 if (regType == nullRefType_) { in CheckArrayStore()
3749 auto arrEltType = regType.GetArrayElementType(GetTypeSystem()); in CheckArrayStore()
3785 Type regType = GetRegType(v1); in CheckArrayStoreExact() local
3786 if (regType == nullRefType_) { in CheckArrayStoreExact()
3795 auto arrEltType = regType.GetArrayElementType(GetTypeSystem()); in CheckArrayStoreExact()
3998 Type regType in CheckArrayLoad() local
[all...]

Completed in 53 milliseconds

12