Home
last modified time | relevance | path

Searched refs:RegWeight (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceOperand.cpp96 bool operator<(const RegWeight &A, const RegWeight &B) { in operator <()
99 bool operator<=(const RegWeight &A, const RegWeight &B) { return !(B < A); } in operator <=()
100 bool operator==(const RegWeight &A, const RegWeight &B) { in operator ==()
217 RegWeight Variable::getWeight(const Cfg *Func) const { in getWeight()
219 return RegWeight(RegWeight::Inf); in getWeight()
221 return RegWeight(RegWeight::Zero); in getWeight()
534 RegWeight VariablesMetadata::getUseWeight(const Variable *Var) const { in getUseWeight()
536 return RegWeight(1); // conservative answer in getUseWeight()
651 Ostream &operator<<(Ostream &Str, const RegWeight &W) { in operator <<()
654 if (W.getWeight() == RegWeight::Inf) in operator <<()
DIceOperand.h571 class RegWeight {
574 RegWeight() = default;
575 explicit RegWeight(BaseType Weight) : Weight(Weight) {} in RegWeight() function
576 RegWeight(const RegWeight &) = default;
577 RegWeight &operator=(const RegWeight &) = default;
588 void addWeight(const RegWeight &Other) { addWeight(Other.Weight); } in addWeight()
595 Ostream &operator<<(Ostream &Str, const RegWeight &W);
596 bool operator<(const RegWeight &A, const RegWeight &B);
597 bool operator<=(const RegWeight &A, const RegWeight &B);
598 bool operator==(const RegWeight &A, const RegWeight &B);
[all …]
DIceRegAlloc.cpp88 const llvm::SmallVector<RegWeight, LinearScan::REGS_SIZE> &Weights) { in findMinWeightIndex() argument
606 Iter.Weights[RegAlias].setWeight(RegWeight::Inf); in filterFreeWithPrecoloredRanges()
672 RegWeight W = Item->getWeight(Func); in handleNoFreeRegisters()
683 RegWeight W = Item->getWeight(Func); in handleNoFreeRegisters()
901 std::fill(Iter.Weights.begin(), Iter.Weights.end(), RegWeight()); in scan()
915 Iter.Weights[i].setWeight(RegWeight::Inf); in scan()
DIceRegAlloc.h71 llvm::SmallVector<RegWeight, REGS_SIZE> Weights;
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp808 if (SrcRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce()
810 if (DstRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce()
823 << NewRCWeight.RegWeight << "\n"); in shouldCoalesce()
834 It->second += NewRCWeight.RegWeight; in shouldCoalesce()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp863 if (SrcRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce()
865 if (DstRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce()
878 << NewRCWeight.RegWeight << "\n"); in shouldCoalesce()
889 It->second += NewRCWeight.RegWeight; in shouldCoalesce()
/external/llvm-project/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.cpp878 if (SrcRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce()
880 if (DstRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce()
893 << NewRCWeight.RegWeight << "\n"); in shouldCoalesce()
904 It->second += NewRCWeight.RegWeight; in shouldCoalesce()
/external/llvm/lib/Target/AMDGPU/
DR600RegisterInfo.cpp24 RCW.RegWeight = 0; in R600RegisterInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600RegisterInfo.cpp24 RCW.RegWeight = 0; in R600RegisterInfo()
/external/llvm/lib/CodeGen/
DRegisterClassInfo.cpp180 TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()
DMachineLICM.cpp815 RCCost = W.RegWeight; in calcRegisterCost()
820 RCCost = W.RegWeight; in calcRegisterCost()
822 RCCost = -W.RegWeight; in calcRegisterCost()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegisterClassInfo.cpp193 TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()
DMachineLICM.cpp901 RCCost = W.RegWeight; in calcRegisterCost()
906 RCCost = W.RegWeight; in calcRegisterCost()
908 RCCost = -W.RegWeight; in calcRegisterCost()
/external/llvm-project/llvm/lib/CodeGen/
DRegisterClassInfo.cpp193 TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()
DMachineLICM.cpp914 RCCost = W.RegWeight; in calcRegisterCost()
919 RCCost = W.RegWeight; in calcRegisterCost()
921 RCCost = -W.RegWeight; in calcRegisterCost()
DMachineSink.cpp665 unsigned Weight = TRI->getRegClassWeight(RC).RegWeight; in isProfitableToSinkTo()
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h246 unsigned RegWeight; member
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp1466 unsigned RegWeight = Reg->getWeight(RegBank); in normalizeWeight() local
1467 if (UberSet->Weight > RegWeight) { in normalizeWeight()
1476 AdjustUnit = RegBank.newRegUnit(UberSet->Weight - RegWeight); in normalizeWeight()
1482 RegBank.increaseRegUnitWeight(AdjustUnit, UberSet->Weight - RegWeight); in normalizeWeight()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenRegisters.cpp1750 unsigned RegWeight = Reg->getWeight(RegBank); in normalizeWeight() local
1751 if (UberSet->Weight > RegWeight) { in normalizeWeight()
1760 AdjustUnit = RegBank.newRegUnit(UberSet->Weight - RegWeight); in normalizeWeight()
1767 RegBank.increaseRegUnitWeight(AdjustUnit, UberSet->Weight - RegWeight); in normalizeWeight()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetRegisterInfo.h218 unsigned RegWeight; member
DMachineRegisterInfo.h1182 Weight = TRI->getRegClassWeight(RC).RegWeight; in PSetIterator()
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetRegisterInfo.h218 unsigned RegWeight; member
DMachineRegisterInfo.h1195 Weight = TRI->getRegClassWeight(RC).RegWeight; in PSetIterator()
/external/llvm/include/llvm/CodeGen/
DMachineRegisterInfo.h1034 Weight = TRI->getRegClassWeight(RC).RegWeight; in PSetIterator()