Home
last modified time | relevance | path

Searched refs:RegisterCell (Results 1 – 12 of 12) 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DBitTracker.h41 struct RegisterCell;
45 using CellMapType = std::map<unsigned, RegisterCell>;
53 const RegisterCell &lookup(unsigned Reg) const;
54 RegisterCell get(RegisterRef RR) const;
55 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, unsigned SelfR); argument
317 RegisterCell &insert(const RegisterCell &RC, const BitMask &M);
318 RegisterCell extract(const BitMask &M) const; // Returns a new cell.
[all …]
DBitTracker.cpp116 raw_ostream &operator<<(raw_ostream &OS, const BT::RegisterCell &RC) { in operator <<()
184 for (const std::pair<unsigned, RegisterCell> P : Map) in print_cells()
202 bool BT::RegisterCell::meet(const RegisterCell &RC, unsigned SelfR) { in meet()
215 BT::RegisterCell &BT::RegisterCell::insert(const BT::RegisterCell &RC, in insert()
236 BT::RegisterCell BT::RegisterCell::extract(const BitMask &M) const { in extract()
240 RegisterCell RC(E-B+1); in extract()
246 RegisterCell RC(E+(W-B)+1); in extract()
254 BT::RegisterCell &BT::RegisterCell::rol(uint16_t Sh) { in rol()
262 RegisterCell Tmp(W-Sh); in rol()
275 BT::RegisterCell &BT::RegisterCell::fill(uint16_t B, uint16_t E, in fill()
[all …]
DHexagonBitTracker.cpp246 #define rc(i) RegisterCell::ref(getCell(Reg[i], Inputs)) in evaluate()
254 auto rr0 = [this,Reg] (const BT::RegisterCell &Val, CellMapType &Outputs) in evaluate()
261 uint16_t W) -> BT::RegisterCell { in evaluate()
266 return RegisterCell::self(0, W); in evaluate()
271 auto lo = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
272 -> BT::RegisterCell { in evaluate()
277 auto hi = [this] (const BT::RegisterCell &RC, uint16_t RW) in evaluate()
278 -> BT::RegisterCell { in evaluate()
284 auto half = [this] (const BT::RegisterCell &RC, unsigned N) in evaluate()
285 -> BT::RegisterCell { in evaluate()
[all …]
DHexagonBitSimplify.cpp203 static bool isEqual(const BitTracker::RegisterCell &RC1, uint16_t B1,
204 const BitTracker::RegisterCell &RC2, uint16_t B2, uint16_t W);
205 static bool isZero(const BitTracker::RegisterCell &RC, uint16_t B,
207 static bool getConst(const BitTracker::RegisterCell &RC, uint16_t B,
314 bool HexagonBitSimplify::isEqual(const BitTracker::RegisterCell &RC1, in isEqual()
315 uint16_t B1, const BitTracker::RegisterCell &RC2, uint16_t B2, in isEqual()
330 bool HexagonBitSimplify::isZero(const BitTracker::RegisterCell &RC, in isZero()
339 bool HexagonBitSimplify::getConst(const BitTracker::RegisterCell &RC, in getConst()
1282 const BitTracker::RegisterCell &DC = BT.lookup(RD.Reg); in usedBitsEqual()
1283 const BitTracker::RegisterCell &SC = BT.lookup(RS.Reg); in usedBitsEqual()
[all …]
DHexagonBitTracker.h29 using RegisterCell = BitTracker::RegisterCell; member
DHexagonGenInsert.cpp270 const BitTracker::RegisterCell &lookup(unsigned VR) { in lookup()
275 const BitTracker::RegisterCell *CP = CVect[RInd]; in lookup()
284 using CellVectType = std::vector<const BitTracker::RegisterCell *>;
337 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1), &RC2 = CM.lookup(VR2); in operator ()()
354 const BitTracker::RegisterCell &RC1 = CM.lookup(VR1); in operator ()()
355 const BitTracker::RegisterCell &RC2 = CM.lookup(VR2); in operator ()()
646 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isConstant()
658 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in isSmallConstant()
703 const BitTracker::RegisterCell &RC = CMS->lookup(VR); in findSelfReference()
713 BitTracker::RegisterCell RC = CMS->lookup(VR); in findNonSelfReference()
[all …]