Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DBitTracker.h34 struct RegisterCell;
39 typedef std::map<unsigned, RegisterCell> CellMapType;
47 const RegisterCell &lookup(unsigned Reg) const;
48 RegisterCell get(RegisterRef RR) const;
49 void put(RegisterRef RR, const RegisterCell &RC);
249 struct BitTracker::RegisterCell { struct
250 RegisterCell(uint16_t Width = DefaultBitN) : Bits(Width) {} in Bits() argument
264 bool meet(const RegisterCell &RC, unsigned SelfR); argument
265 RegisterCell &insert(const RegisterCell &RC, const BitMask &M);
266 RegisterCell extract(const BitMask &M) const; // Returns a new cell.
[all …]
DBitTracker.cpp106 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
186 bool BT::RegisterCell::meet(const RegisterCell &RC, unsigned SelfR) { in meet()
200 BT::RegisterCell &BT::RegisterCell::insert(const BT::RegisterCell &RC, in insert()
222 BT::RegisterCell BT::RegisterCell::extract(const BitMask &M) const { in extract()
226 RegisterCell RC(E-B+1); in extract()
232 RegisterCell RC(E+(W-B)+1); in extract()
241 BT::RegisterCell &BT::RegisterCell::rol(uint16_t Sh) { in rol()
249 RegisterCell Tmp(W-Sh); in rol()
263 BT::RegisterCell &BT::RegisterCell::fill(uint16_t B, uint16_t E, in fill()
272 BT::RegisterCell &BT::RegisterCell::cat(const RegisterCell &RC) { in cat()
[all …]
DHexagonBitTracker.cpp180 #define rc(i) RegisterCell::ref(getCell(Reg[i], Inputs)) in evaluate()
188 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) in evaluate()
195 uint16_t W) -> BT::RegisterCell { in evaluate()
200 return RegisterCell::self(0, W); in evaluate()
205 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
206 -> BT::RegisterCell { in evaluate()
211 auto hi = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
212 -> BT::RegisterCell { in evaluate()
218 auto half = [this] (const BT::RegisterCell &RC, unsigned N) in evaluate()
219 -> BT::RegisterCell { in evaluate()
[all …]
DHexagonBitSimplify.cpp159 static bool isEqual(const BitTracker::RegisterCell &RC1, uint16_t B1,
160 const BitTracker::RegisterCell &RC2, uint16_t B2, uint16_t W);
161 static bool isZero(const BitTracker::RegisterCell &RC, uint16_t B,
163 static bool getConst(const BitTracker::RegisterCell &RC, uint16_t B,
268 bool HexagonBitSimplify::isEqual(const BitTracker::RegisterCell &RC1, in isEqual()
269 uint16_t B1, const BitTracker::RegisterCell &RC2, uint16_t B2, in isEqual()
284 bool HexagonBitSimplify::isZero(const BitTracker::RegisterCell &RC, in isZero()
294 bool HexagonBitSimplify::getConst(const BitTracker::RegisterCell &RC, in getConst()
1227 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in usedBitsEqual()
1228 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in usedBitsEqual()
[all …]
DHexagonBitTracker.h23 typedef BitTracker::RegisterCell RegisterCell; typedef
DHexagonGenInsert.cpp251 const BitTracker::RegisterCell &lookup(unsigned VR) { in lookup()
256 const BitTracker::RegisterCell *CP = CVect[RInd]; in lookup()
265 typedef std::vector<const BitTracker::RegisterCell*> CellVectType;
316 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1), &RC2 = CM.lookup(VR2); in operator ()()
334 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1); in operator ()()
335 const BitTracker::RegisterCell &RC2 = CM.lookup(VR2); in operator ()()
601 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isConstant()
614 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isSmallConstant()
661 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in findSelfReference()
672 BitTracker::RegisterCell RC = CMS->lookup(VR); in findNonSelfReference()
[all …]