Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Hexagon/
DBitTracker.cpp88 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
90 case BT::BitValue::Top: in operator <<()
93 case BT::BitValue::Zero: in operator <<()
96 case BT::BitValue::One: in operator <<()
99 case BT::BitValue::Ref: in operator <<()
118 const BT::BitValue &V = RC[i]; in operator <<()
119 const BT::BitValue &SV = RC[Start]; in operator <<()
120 bool IsRef = (V.Type == BT::BitValue::Ref); in operator <<()
124 if (IsRef && SV.Type == BT::BitValue::Ref && V.RefI.Reg == SV.RefI.Reg) { in operator <<()
143 if (SV.Type == BT::BitValue::Ref && SeqRef) in operator <<()
[all …]
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() argument
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 …]
DHexagonBitTracker.cpp255 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::Zero), Outputs); in evaluate()
257 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::One), Outputs); in evaluate()
264 RC.fill(0, L, BT::BitValue::Zero); in evaluate()
280 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
367 RPC.fill(0, 2, BT::BitValue::Zero); in evaluate()
608 RC[im(2)] = BT::BitValue::Zero; in evaluate()
613 RC[im(2)] = BT::BitValue::One; in evaluate()
619 RC[BX] = RC[BX].is(0) ? BT::BitValue::One in evaluate()
620 : RC[BX].is(1) ? BT::BitValue::Zero in evaluate()
621 : BT::BitValue::self(); in evaluate()
[all …]
DHexagonGenInsert.cpp217 bool operator() (const BitTracker::BitValue &V1,
218 const BitTracker::BitValue &V2) const;
224 bool BitValueOrdering::operator() (const BitTracker::BitValue &V1, in operator ()()
225 const BitTracker::BitValue &V2) const { in operator ()()
319 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i]; in operator ()()
350 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2]; in operator ()()
604 const BitTracker::BitValue &BV = RC[i]; in isConstant()
620 const BitTracker::BitValue &BV = RC[i]; in isSmallConstant()
663 const BitTracker::BitValue &V = RC[i]; in findSelfReference()
664 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg == VR) in findSelfReference()
[all …]
DHexagonBitSimplify.cpp273 if (RC1[B1+i].Type == BitTracker::BitValue::Ref && RC1[B1+i].RefI.Reg == 0) in isEqual()
276 if (RC2[B2+i].Type == BitTracker::BitValue::Ref && RC2[B2+i].RefI.Reg == 0) in isEqual()
299 const BitTracker::BitValue &BV = RC[i-1]; in getConst()
1338 const BitTracker::BitValue &V = RC[i-1]; in isConst()
1734 const BitTracker::BitValue &RV = RC[i+B]; in matchHalf()
1735 if (RV.Type == BitTracker::BitValue::Ref) { in matchHalf()
2083 const BitTracker::BitValue &V = SC[F+BN]; in simplifyTstbit()
2084 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg != RS.Reg) { in simplifyTstbit()
2386 const BitTracker::BitValue &V = RC[i]; in isConst()
2443 const BitTracker::BitValue &V = OutC[i]; in isShuffleOf()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DBitTracker.h39 struct BitValue;
155 struct BitTracker::BitValue { struct
194 BitValue(ValueType T = Top) : Type(T) {} in Type() argument
195 BitValue(bool B) : Type(B ? One : Zero) {} in BitValue() function
196 BitValue(unsigned Reg, uint16_t Pos) : Type(Ref), RefI(Reg, Pos) {} in BitValue() function
198 bool operator== (const BitValue &V) const {
205 bool operator!= (const BitValue &V) const {
229 bool meet(const BitValue &V, const BitRef &Self) { in meet() argument
253 static BitValue ref(const BitValue &V);
255 static BitValue self(const BitRef &Self = BitRef());
[all …]
DBitTracker.cpp98 raw_ostream &operator<<(raw_ostream &OS, const BT::BitValue &BV) { in operator <<()
100 case BT::BitValue::Top: in operator <<()
103 case BT::BitValue::Zero: in operator <<()
106 case BT::BitValue::One: in operator <<()
109 case BT::BitValue::Ref: in operator <<()
128 const BT::BitValue &V = RC[i]; in operator <<()
129 const BT::BitValue &SV = RC[Start]; in operator <<()
130 bool IsRef = (V.Type == BT::BitValue::Ref); in operator <<()
134 if (IsRef && SV.Type == BT::BitValue::Ref && V.RefI.Reg == SV.RefI.Reg) { in operator <<()
153 if (SV.Type == BT::BitValue::Ref && SeqRef) in operator <<()
[all …]
DHexagonBitTracker.cpp321 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::Zero), Outputs); in evaluate()
323 return rr0(RegisterCell(W0).fill(0, W0, BT::BitValue::One), Outputs); in evaluate()
330 RC.fill(0, L, BT::BitValue::Zero); in evaluate()
346 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
353 RC.fill(PW, RW, BT::BitValue::Zero); in evaluate()
435 RPC.fill(0, 2, BT::BitValue::Zero); in evaluate()
676 RC[im(2)] = BT::BitValue::Zero; in evaluate()
681 RC[im(2)] = BT::BitValue::One; in evaluate()
687 RC[BX] = RC[BX].is(0) ? BT::BitValue::One in evaluate()
688 : RC[BX].is(1) ? BT::BitValue::Zero in evaluate()
[all …]
DHexagonBitSimplify.cpp319 if (RC1[B1+i].Type == BitTracker::BitValue::Ref && RC1[B1+i].RefI.Reg == 0) in isEqual()
322 if (RC2[B2+i].Type == BitTracker::BitValue::Ref && RC2[B2+i].RefI.Reg == 0) in isEqual()
344 const BitTracker::BitValue &BV = RC[i-1]; in getConst()
1833 const BitTracker::BitValue &RV = RC[i+B]; in matchHalf()
1834 if (RV.Type == BitTracker::BitValue::Ref) { in matchHalf()
2205 const BitTracker::BitValue &B0 = RC[0]; in genBitSplit()
2206 if (B0.Type != BitTracker::BitValue::Ref) in genBitSplit()
2215 const BitTracker::BitValue &V = RC[i]; in genBitSplit()
2216 if (V.Type != BitTracker::BitValue::Ref) in genBitSplit()
2232 const BitTracker::BitValue &S0 = SC[0]; in genBitSplit()
[all …]
DHexagonGenInsert.cpp234 bool operator() (const BitTracker::BitValue &V1,
235 const BitTracker::BitValue &V2) const;
242 bool BitValueOrdering::operator() (const BitTracker::BitValue &V1, in operator ()()
243 const BitTracker::BitValue &V2) const { in operator ()()
340 const BitTracker::BitValue &V1 = RC1[i], &V2 = RC2[i]; in operator ()()
370 const BitTracker::BitValue &V1 = RC1[Bit1], V2 = RC2[Bit2]; in operator ()()
649 const BitTracker::BitValue &BV = RC[i]; in isConstant()
664 const BitTracker::BitValue &BV = RC[i]; in isSmallConstant()
705 const BitTracker::BitValue &V = RC[i]; in findSelfReference()
706 if (V.Type == BitTracker::BitValue::Ref && V.RefI.Reg == VR) in findSelfReference()
[all …]
/external/llvm/docs/
DYamlIO.rst341 BitValue section in Scalars
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DYamlIO.rst341 BitValue section in Scalars