Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DBitTracker.h32 struct BitValue;
105 struct BitTracker::BitValue { struct
144 BitValue(ValueType T = Top) : Type(T) {} in Type() argument
145 BitValue(bool B) : Type(B ? One : Zero) {} in BitValue() function
146 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {} in BitValue() function
148 bool operator== (const BitValue &V) const {
155 bool operator!= (const BitValue &V) const {
178 bool meet(const BitValue &V, const BitRef &Self) { in meet() argument
202 static BitValue ref(const BitValue &V);
204 static BitValue self(const BitRef &Self = BitRef());
[all …]
DBitTracker.cpp87 raw_ostream &llvm::operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
89 case BT::BitValue::Top: in operator <<()
92 case BT::BitValue::Zero: in operator <<()
95 case BT::BitValue::One: in operator <<()
98 case BT::BitValue::Ref: in operator <<()
117 const BT::BitValue &V = RC[i]; in operator <<()
118 const BT::BitValue &SV = RC[Start]; in operator <<()
119 bool IsRef = (V.Type == BT::BitValue::Ref); in operator <<()
123 if (IsRef && SV.Type == BT::BitValue::Ref && V.RefI.Reg == SV.RefI.Reg) { in operator <<()
142 if (SV.Type == BT::BitValue::Ref && SeqRef) in operator <<()
[all …]
DHexagonBitTracker.cpp254 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::Zero), Outputs); in evaluate()
256 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::One), Outputs); in evaluate()
263 RC.fill(0, L, BT::BitValue::Zero); in evaluate()
279 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
366 RPC.fill(0, 2, BT::BitValue::Zero); in evaluate()
607 RC[im(2)] = BT::BitValue::Zero; in evaluate()
612 RC[im(2)] = BT::BitValue::One; in evaluate()
618 RC[BX] = RC[BX].is(0) ? BT::BitValue::One in evaluate()
619 : RC[BX].is(1) ? BT::BitValue::Zero in evaluate()
620 : BT::BitValue::self(); in evaluate()
[all …]
DHexagonGenInsert.cpp219 bool operator() (const BitTracker::BitValue &V1,
220 const BitTracker::BitValue &V2) const;
226 bool BitValueOrdering::operator() (const BitTracker::BitValue &V1, in operator ()()
227 const BitTracker::BitValue &V2) const { in operator ()()
321 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i]; in operator ()()
352 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2]; in operator ()()
606 const BitTracker::BitValue &BV = RC[i]; in isConstant()
622 const BitTracker::BitValue &BV = RC[i]; in isSmallConstant()
665 const BitTracker::BitValue &V = RC[i]; in findSelfReference()
666 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg == VR) in findSelfReference()
[all …]
DHexagonBitSimplify.cpp276 if (RC1[B1+i].Type == BitTracker::BitValue::Ref && RC1[B1+i].RefI.Reg == 0) in isEqual()
279 if (RC2[B2+i].Type == BitTracker::BitValue::Ref && RC2[B2+i].RefI.Reg == 0) in isEqual()
313 const BitTracker::BitValue &BV = RC[i-1]; in getConst()
1344 const BitTracker::BitValue &V = RC[i-1]; in isConst()
1741 const BitTracker::BitValue &RV = RC[i+B]; in matchHalf()
1742 if (RV.Type == BitTracker::BitValue::Ref) { in matchHalf()
2081 const BitTracker::BitValue &V = SC[F+BN]; in simplifyTstbit()
2082 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg != RS.Reg) { in simplifyTstbit()
2381 const BitTracker::BitValue &V = RC[i]; in isConst()
2438 const BitTracker::BitValue &V = OutC[i]; in isShuffleOf()
[all …]
/external/llvm/docs/
DYamlIO.rst341 BitValue section in Scalars