/external/swiftshader/third_party/subzero/src/ |
D | IceOperand.cpp | 96 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 <<()
|
D | IceOperand.h | 594 class RegWeight { 597 RegWeight() = default; 598 explicit RegWeight(BaseType Weight) : Weight(Weight) {} in RegWeight() function 599 RegWeight(const RegWeight &) = default; 600 RegWeight &operator=(const RegWeight &) = default; 611 void addWeight(const RegWeight &Other) { addWeight(Other.Weight); } in addWeight() 618 Ostream &operator<<(Ostream &Str, const RegWeight &W); 619 bool operator<(const RegWeight &A, const RegWeight &B); 620 bool operator<=(const RegWeight &A, const RegWeight &B); 621 bool operator==(const RegWeight &A, const RegWeight &B); [all …]
|
D | IceRegAlloc.cpp | 88 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() 926 std::fill(Iter.Weights.begin(), Iter.Weights.end(), RegWeight()); in scan() 940 Iter.Weights[i].setWeight(RegWeight::Inf); in scan()
|
D | IceRegAlloc.h | 71 llvm::SmallVector<RegWeight, REGS_SIZE> Weights;
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 808 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-7.0/llvm/lib/Target/ARM/ |
D | ARMBaseRegisterInfo.cpp | 829 if (SrcRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce() 831 if (DstRCWeight.RegWeight > NewRCWeight.RegWeight) in shouldCoalesce() 844 << NewRCWeight.RegWeight << "\n"); in shouldCoalesce() 855 It->second += NewRCWeight.RegWeight; in shouldCoalesce()
|
/external/llvm/lib/Target/AMDGPU/ |
D | R600RegisterInfo.cpp | 24 RCW.RegWeight = 0; in R600RegisterInfo()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | R600RegisterInfo.cpp | 25 RCW.RegWeight = 0; in R600RegisterInfo()
|
/external/llvm/lib/CodeGen/ |
D | RegisterClassInfo.cpp | 180 TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()
|
D | MachineLICM.cpp | 815 RCCost = W.RegWeight; in calcRegisterCost() 820 RCCost = W.RegWeight; in calcRegisterCost() 822 RCCost = -W.RegWeight; in calcRegisterCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | RegisterClassInfo.cpp | 191 TRI->getRegClassWeight(RC).RegWeight * NReserved; in computePSetLimit()
|
D | MachineLICM.cpp | 865 RCCost = W.RegWeight; in calcRegisterCost() 870 RCCost = W.RegWeight; in calcRegisterCost() 872 RCCost = -W.RegWeight; in calcRegisterCost()
|
/external/llvm/utils/TableGen/ |
D | CodeGenRegisters.cpp | 1466 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/include/llvm/Target/ |
D | TargetRegisterInfo.h | 246 unsigned RegWeight; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/ |
D | CodeGenRegisters.cpp | 1668 unsigned RegWeight = Reg->getWeight(RegBank); in normalizeWeight() local 1669 if (UberSet->Weight > RegWeight) { in normalizeWeight() 1678 AdjustUnit = RegBank.newRegUnit(UberSet->Weight - RegWeight); in normalizeWeight() 1685 RegBank.increaseRegUnitWeight(AdjustUnit, UberSet->Weight - RegWeight); in normalizeWeight()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/ |
D | TargetRegisterInfo.h | 210 unsigned RegWeight; member
|
D | MachineRegisterInfo.h | 1163 Weight = TRI->getRegClassWeight(RC).RegWeight; in PSetIterator()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineRegisterInfo.h | 1034 Weight = TRI->getRegClassWeight(RC).RegWeight; in PSetIterator()
|