Home
last modified time | relevance | path

Searched refs:BitVector (Results 1 – 25 of 245) sorted by relevance

12345678910

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DBitVector.h28 class BitVector {
44 friend class BitVector; variable
50 reference(BitVector &b, unsigned Idx) { in reference()
78 BitVector() : Size(0), Capacity(0) { in BitVector() function
84 explicit BitVector(unsigned s, bool t = false) : Size(s) { in Size()
93 BitVector(const BitVector &RHS) : Size(RHS.size()) { in BitVector() function
105 BitVector(BitVector &&RHS) in BitVector() function
111 ~BitVector() { in ~BitVector()
219 BitVector &set() { in set()
225 BitVector &set(unsigned Idx) { in set()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DBitVector.h73 class BitVector {
88 friend class BitVector; variable
94 reference(BitVector &b, unsigned Idx) { in reference()
120 typedef const_set_bits_iterator_impl<BitVector> const_set_bits_iterator;
134 BitVector() : Size(0) {} in BitVector() function
138 explicit BitVector(unsigned s, bool t = false) : Size(s) { in Size()
147 BitVector(const BitVector &RHS) : Size(RHS.size()) { in BitVector() function
158 BitVector(BitVector &&RHS) : Bits(RHS.Bits), Size(RHS.Size) { in BitVector() function
163 ~BitVector() { std::free(Bits.data()); } in ~BitVector()
397 BitVector &set() { in set()
[all …]
DSmallBitVector.h94 BitVector *getPointer() const { in getPointer()
96 return reinterpret_cast<BitVector *>(X); in getPointer()
105 void switchToLarge(BitVector *BV) { in switchToLarge()
149 switchToLarge(new BitVector(s, t));
157 switchToLarge(new BitVector(*RHS.getPointer())); in SmallBitVector()
337 BitVector *BV = new BitVector(N, t);
350 BitVector *BV = new BitVector(SmallSize); in reserve()
605 switchToLarge(new BitVector(*RHS.getPointer()));
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/util/
Dbit_vector_test.cpp28 BitVector bvec; in TEST()
38 BitVector bvec; in TEST()
58 BitVector bvec; in TEST()
72 BitVector bvec; in TEST()
97 BitVector bvec; in TEST()
114 BitVector bvec1; in TEST()
118 BitVector bvec2; in TEST()
134 BitVector bvec1; in TEST()
138 BitVector bvec2; in TEST()
151 BitVector bvec1; in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/util/
Dbit_vector_test.cpp28 BitVector bvec; in TEST()
38 BitVector bvec; in TEST()
58 BitVector bvec; in TEST()
72 BitVector bvec; in TEST()
97 BitVector bvec; in TEST()
114 BitVector bvec1; in TEST()
118 BitVector bvec2; in TEST()
134 BitVector bvec1; in TEST()
138 BitVector bvec2; in TEST()
151 BitVector bvec1; in TEST()
[all …]
/third_party/spirv-tools/test/util/
Dbit_vector_test.cpp28 BitVector bvec; in TEST()
38 BitVector bvec; in TEST()
58 BitVector bvec; in TEST()
72 BitVector bvec; in TEST()
97 BitVector bvec; in TEST()
114 BitVector bvec1; in TEST()
118 BitVector bvec2; in TEST()
134 BitVector bvec1; in TEST()
138 BitVector bvec2; in TEST()
151 BitVector bvec1; in TEST()
[all …]
/third_party/node/deps/v8/src/utils/
Dbit-vector.h15 class V8_EXPORT_PRIVATE BitVector : public ZoneObject {
67 explicit Iterator(const BitVector* target, StartTag) in Iterator()
75 explicit Iterator(const BitVector* target, EndTag) in Iterator()
85 const BitVector* target_;
90 friend class BitVector; variable
98 BitVector() : length_(0), data_length_(kDataLengthForInline), data_(0) {} in BitVector() function
100 BitVector(int length, Zone* zone) in BitVector() function
110 BitVector(const BitVector& other, Zone* zone) in BitVector() function
132 void CopyFrom(const BitVector& other) { in CopyFrom()
207 void Union(const BitVector& other) { in Union()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DGlobPattern.cpp27 static Expected<BitVector> expand(StringRef S, StringRef Original) { in expand()
28 BitVector BV(256, false); in expand()
67 static Expected<BitVector> scan(StringRef &S, StringRef Original) { in scan()
73 return BitVector(); in scan()
76 return BitVector(256, true); in scan()
88 Expected<BitVector> BV = expand(Chars.substr(1), Original); in scan()
101 BitVector BV(256, false); in scan()
135 Expected<BitVector> BV = scan(S, Original); in create()
154 bool GlobPattern::matchOne(ArrayRef<BitVector> Pats, StringRef S) const { in matchOne()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSafeStackColoring.h43 BitVector Begin;
46 BitVector End;
49 BitVector LiveIn;
52 BitVector LiveOut;
59 BitVector bv;
97 BitVector InterestingAllocas;
140 static inline raw_ostream &operator<<(raw_ostream &OS, const BitVector &V) {
DStackColoring.cpp390 BitVector Begin;
393 BitVector End;
396 BitVector LiveIn;
399 BitVector LiveOut;
431 BitVector InterestingSlots;
435 BitVector ConservativeSlots;
452 using BlockBitVecMap = DenseMap<const MachineBasicBlock *, BitVector>;
458 void dumpBV(const char *tag, const BitVector &BV) const;
533 const BitVector &BV) const { in dumpBV()
643 BitVector BetweenStartEnd; in collectMarkers()
[all …]
DSpillPlacement.h37 class BitVector; variable
53 BitVector *ActiveNodes;
107 void prepare(BitVector &RegBundles);
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbit_vector.cpp23 void BitVector::ReportDensity(std::ostream& out) { in ReportDensity()
41 bool BitVector::Or(const BitVector& other) { in Or()
64 std::ostream& operator<<(std::ostream& out, const BitVector& bv) { in operator <<()
67 BitVector::BitContainer b = bv.bits_[i]; in operator <<()
71 out << ' ' << i * BitVector::kBitContainerSize + j; in operator <<()
Dbit_vector.h28 class BitVector {
36 BitVector(uint32_t reserved_size = kInitialNumBits)
106 friend std::ostream& operator<<(std::ostream&, const BitVector&);
110 bool Or(const BitVector& that);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbit_vector.cpp23 void BitVector::ReportDensity(std::ostream& out) { in ReportDensity()
41 bool BitVector::Or(const BitVector& other) { in Or()
64 std::ostream& operator<<(std::ostream& out, const BitVector& bv) { in operator <<()
67 BitVector::BitContainer b = bv.bits_[i]; in operator <<()
71 out << ' ' << i * BitVector::kBitContainerSize + j; in operator <<()
Dbit_vector.h28 class BitVector {
36 BitVector(uint32_t reserved_size = kInitialNumBits)
106 friend std::ostream& operator<<(std::ostream&, const BitVector&);
110 bool Or(const BitVector& that);
/third_party/spirv-tools/source/util/
Dbit_vector.cpp23 void BitVector::ReportDensity(std::ostream& out) { in ReportDensity()
41 bool BitVector::Or(const BitVector& other) { in Or()
64 std::ostream& operator<<(std::ostream& out, const BitVector& bv) { in operator <<()
67 BitVector::BitContainer b = bv.bits_[i]; in operator <<()
71 out << ' ' << i * BitVector::kBitContainerSize + j; in operator <<()
Dbit_vector.h28 class BitVector {
36 BitVector(uint32_t reserved_size = kInitialNumBits)
106 friend std::ostream& operator<<(std::ostream&, const BitVector&);
110 bool Or(const BitVector& that);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DRegisterScavenging.h67 BitVector KillRegUnits, DefRegUnits;
68 BitVector TmpRegUnits;
125 BitVector getRegsAvailable(const TargetRegisterClass *RC);
194 void setUsed(const BitVector &RegUnits) { in setUsed()
197 void setUnused(const BitVector &RegUnits) { in setUnused()
206 void addRegUnits(BitVector &BV, Register Reg);
209 void removeRegUnits(BitVector &BV, Register Reg);
216 BitVector &Candidates,
DLiveRangeCalc.h62 BitVector Seen;
75 using EntryInfoMap = DenseMap<LiveRange *, std::pair<BitVector, BitVector>>;
129 MachineBasicBlock &MBB, BitVector &DefOnEntry,
130 BitVector &UndefOnEntry);
DLiveRegUnits.h32 BitVector Units;
145 void addUnits(const BitVector &RegUnits) { in addUnits()
149 void removeUnits(const BitVector &RegUnits) { in removeUnits()
153 const BitVector &getBitVector() const { in getBitVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonGenMux.cpp100 BitVector Defs, Uses;
103 DefUseInfo(const BitVector &D, const BitVector &U) : Defs(D), Uses(U) {} in DefUseInfo()
127 void getSubRegs(unsigned Reg, BitVector &SRs) const;
128 void expandReg(unsigned Reg, BitVector &Set) const;
129 void getDefsUses(const MachineInstr *MI, BitVector &Defs,
130 BitVector &Uses) const;
146 void HexagonGenMux::getSubRegs(unsigned Reg, BitVector &SRs) const { in getSubRegs()
151 void HexagonGenMux::expandReg(unsigned Reg, BitVector &Set) const { in expandReg()
158 void HexagonGenMux::getDefsUses(const MachineInstr *MI, BitVector &Defs, in getDefsUses()
159 BitVector &Uses) const { in getDefsUses()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.h29 using LiveComponentMap = std::unordered_map<uint32_t, utils::BitVector>;
39 utils::BitVector components;
91 const utils::BitVector& live_components,
117 const utils::BitVector& live_elements,
141 const utils::BitVector& live_elements,
154 utils::BitVector all_components_live_;
/third_party/spirv-tools/source/opt/
Dvector_dce.h29 using LiveComponentMap = std::unordered_map<uint32_t, utils::BitVector>;
39 utils::BitVector components;
91 const utils::BitVector& live_components,
117 const utils::BitVector& live_elements,
141 const utils::BitVector& live_elements,
154 utils::BitVector all_components_live_;
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dvector_dce.h29 using LiveComponentMap = std::unordered_map<uint32_t, utils::BitVector>;
39 utils::BitVector components;
91 const utils::BitVector& live_components,
117 const utils::BitVector& live_elements,
141 const utils::BitVector& live_elements,
154 utils::BitVector all_components_live_;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DGlobPattern.h26 class BitVector; variable
35 bool matchOne(ArrayRef<BitVector> Pat, StringRef S) const;
38 std::vector<BitVector> Tokens;

12345678910