Searched refs:RegisterCell (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | BitTracker.h | 37 struct RegisterCell; 41 using CellMapType = std::map<unsigned, RegisterCell>; 49 const RegisterCell &lookup(unsigned Reg) const; 50 RegisterCell get(RegisterRef RR) const; 51 void put(RegisterRef RR, const RegisterCell &RC); 297 struct BitTracker::RegisterCell { struct 298 RegisterCell(uint16_t Width = DefaultBitN) : Bits(Width) {} in Bits() argument 313 bool meet(const RegisterCell &RC, Register SelfR); argument 314 RegisterCell &insert(const RegisterCell &RC, const BitMask &M); 315 RegisterCell extract(const BitMask &M) const; // Returns a new cell. [all …]
|
| H A D | BitTracker.cpp | 110 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<() 178 for (const std::pair<unsigned, RegisterCell> P : Map) in print_cells() 196 bool BT::RegisterCell::meet(const RegisterCell &RC, Register SelfR) { in meet() 209 BT::RegisterCell &BT::RegisterCell::insert(const BT::RegisterCell &RC, in insert() 230 BT::RegisterCell BT::RegisterCell::extract(const BitMask &M) const { in extract() 234 RegisterCell RC(E-B+1); in extract() 240 RegisterCell RC(E+(W-B)+1); in extract() 248 BT::RegisterCell &BT::RegisterCell::rol(uint16_t Sh) { in rol() 256 RegisterCell Tmp(W-Sh); in rol() 269 BT::RegisterCell &BT::RegisterCell::fill(uint16_t B, uint16_t E, in fill() [all …]
|
| H A D | HexagonBitTracker.cpp | 242 #define rc(i) RegisterCell::ref(getCell(Reg[i], Inputs)) in evaluate() 250 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) in evaluate() 257 uint16_t W) -> BT::RegisterCell { in evaluate() 262 return RegisterCell::self(0, W); in evaluate() 267 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate() 268 -> BT::RegisterCell { in evaluate() 273 auto hi = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate() 274 -> BT::RegisterCell { in evaluate() 280 auto half = [this] (const BT::RegisterCell &RC, unsigned N) in evaluate() 281 -> BT::RegisterCell { in evaluate() [all …]
|
| H A D | HexagonBitSimplify.cpp | 209 static bool isEqual(const BitTracker::RegisterCell &RC1, uint16_t B1, 210 const BitTracker::RegisterCell &RC2, uint16_t B2, uint16_t W); 211 static bool isZero(const BitTracker::RegisterCell &RC, uint16_t B, 213 static bool getConst(const BitTracker::RegisterCell &RC, uint16_t B, 320 bool HexagonBitSimplify::isEqual(const BitTracker::RegisterCell &RC1, in isEqual() 321 uint16_t B1, const BitTracker::RegisterCell &RC2, uint16_t B2, in isEqual() 336 bool HexagonBitSimplify::isZero(const BitTracker::RegisterCell &RC, in isZero() 345 bool HexagonBitSimplify::getConst(const BitTracker::RegisterCell &RC, in getConst() 1286 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in usedBitsEqual() 1287 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in usedBitsEqual() [all …]
|
| H A D | HexagonBitTracker.h | 27 using RegisterCell = BitTracker::RegisterCell; member
|
| H A D | HexagonGenInsert.cpp | 274 const BitTracker::RegisterCell &lookup(unsigned VR) { in lookup() 279 const BitTracker::RegisterCell *CP = CVect[RInd]; in lookup() 288 using CellVectType = std::vector<const BitTracker::RegisterCell *>; 341 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1), &RC2 = CM.lookup(VR2); in operator ()() 358 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1); in operator ()() 359 const BitTracker::RegisterCell &RC2 = CM.lookup(VR2); in operator ()() 632 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isConstant() 644 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isSmallConstant() 689 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in findSelfReference() 699 BitTracker::RegisterCell RC = CMS->lookup(VR); in findNonSelfReference() [all …]
|