Home
last modified time | relevance | path

Searched refs:RegisterCell (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DBitTracker.h40 struct RegisterCell;
44 using CellMapType = std::map<unsigned, RegisterCell>;
52 const RegisterCell &lookup(unsigned Reg) const;
53 RegisterCell get(RegisterRef RR) const;
54 void put(RegisterRef RR, const RegisterCell &RC);
300 struct BitTracker::RegisterCell { struct
301 RegisterCell(uint16_t Width = DefaultBitN) : Bits(Width) {} in Bits() argument
316 bool meet(const RegisterCell &RC, Register SelfR); argument
317 RegisterCell &insert(const RegisterCell &RC, const BitMask &M);
318 RegisterCell extract(const BitMask &M) const; // Returns a new cell.
[all …]
H A DBitTracker.cpp115 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
183 for (const std::pair<unsigned, RegisterCell> P : Map) in print_cells()
201 bool BT::RegisterCell::meet(const RegisterCell &RC, Register SelfR) { in meet()
214 BT::RegisterCell &BT::RegisterCell::insert(const BT::RegisterCell &RC, in insert()
235 BT::RegisterCell BT::RegisterCell::extract(const BitMask &M) const { in extract()
239 RegisterCell RC(E-B+1); in extract()
245 RegisterCell RC(E+(W-B)+1); in extract()
253 BT::RegisterCell &BT::RegisterCell::rol(uint16_t Sh) { in rol()
261 RegisterCell Tmp(W-Sh); in rol()
274 BT::RegisterCell &BT::RegisterCell::fill(uint16_t B, uint16_t E, in fill()
[all …]
H A DHexagonBitTracker.cpp250 #define rc(i) RegisterCell::ref(getCell(Reg[i], Inputs)) in evaluate()
258 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) in evaluate()
265 uint16_t W) -> BT::RegisterCell { in evaluate()
270 return RegisterCell::self(0, W); in evaluate()
275 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
276 -> BT::RegisterCell { in evaluate()
281 auto hi = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
282 -> BT::RegisterCell { in evaluate()
288 auto half = [this] (const BT::RegisterCell &RC, unsigned N) in evaluate()
289 -> BT::RegisterCell { in evaluate()
[all …]
H A DHexagonBitSimplify.cpp231 static bool isEqual(const BitTracker::RegisterCell &RC1, uint16_t B1,
232 const BitTracker::RegisterCell &RC2, uint16_t B2, uint16_t W);
233 static bool isZero(const BitTracker::RegisterCell &RC, uint16_t B,
235 static bool getConst(const BitTracker::RegisterCell &RC, uint16_t B,
342 bool HexagonBitSimplify::isEqual(const BitTracker::RegisterCell &RC1, in isEqual()
343 uint16_t B1, const BitTracker::RegisterCell &RC2, uint16_t B2, in isEqual()
358 bool HexagonBitSimplify::isZero(const BitTracker::RegisterCell &RC, in isZero()
367 bool HexagonBitSimplify::getConst(const BitTracker::RegisterCell &RC, in getConst()
1308 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in usedBitsEqual()
1309 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in usedBitsEqual()
[all …]
H A DHexagonBitTracker.h28 using RegisterCell = BitTracker::RegisterCell; member
H A DHexagonGenInsert.cpp273 const BitTracker::RegisterCell &lookup(unsigned VR) { in lookup()
278 const BitTracker::RegisterCell *CP = CVect[RInd]; in lookup()
287 using CellVectType = std::vector<const BitTracker::RegisterCell *>;
340 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1), &RC2 = CM.lookup(VR2); in operator ()()
357 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1); in operator ()()
358 const BitTracker::RegisterCell &RC2 = CM.lookup(VR2); in operator ()()
640 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isConstant()
652 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isSmallConstant()
697 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in findSelfReference()
707 BitTracker::RegisterCell RC = CMS->lookup(VR); in findNonSelfReference()
[all …]