Home
last modified time | relevance | path

Searched refs:SmallBitVector (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSmallBitVector.h34 class SmallBitVector {
67 SmallBitVector &TheVector;
71 reference(SmallBitVector &b, unsigned Idx) : TheVector(b), BitPos(Idx) {} in reference()
89 return const_cast<const SmallBitVector &>(TheVector).operator[](BitPos);
141 SmallBitVector() = default;
145 explicit SmallBitVector(unsigned s, bool t = false) {
153 SmallBitVector(const SmallBitVector &RHS) { in SmallBitVector() function
160 SmallBitVector(SmallBitVector &&RHS) : X(RHS.X) { in SmallBitVector() function
164 ~SmallBitVector() { in ~SmallBitVector()
169 using const_set_bits_iterator = const_set_bits_iterator_impl<SmallBitVector>;
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceRegAlloc.h36 void scan(const SmallBitVector &RegMask);
66 SmallBitVector RegMask;
67 SmallBitVector RegMaskUnfiltered;
68 SmallBitVector Free;
69 SmallBitVector FreeUnfiltered;
70 SmallBitVector PrecoloredUnhandledMask; // Note: only used for dumping
108 void assignFinalRegisters(const SmallBitVector &RegMaskFull);
129 llvm::SmallVector<const SmallBitVector *, REGS_SIZE> RegAliases;
DIceBitVector.h37 class SmallBitVector {
44 SmallBitVector(const SmallBitVector &BV) { *this = BV; } in SmallBitVector() function
46 SmallBitVector &operator=(const SmallBitVector &BV) {
54 SmallBitVector() { reset(); } in SmallBitVector() function
56 explicit SmallBitVector(SizeT S) : SmallBitVector() { in SmallBitVector() function
78 friend class SmallBitVector;
140 SmallBitVector operator&(const SmallBitVector &Rhs) const {
142 SmallBitVector Ret(std::max(size(), Rhs.size()));
149 SmallBitVector operator~() const {
150 SmallBitVector Ret = *this;
[all …]
DIceRegistersX8664.h241 std::array<SmallBitVector, RCX86_NUM> *TypeToRegisterSet, in initRegisterSet() argument
242 std::array<SmallBitVector, Reg_NUM> *RegisterAliases) { in initRegisterSet()
243 SmallBitVector IntegerRegistersI64(Reg_NUM); in initRegisterSet()
244 SmallBitVector IntegerRegistersI32(Reg_NUM); in initRegisterSet()
245 SmallBitVector IntegerRegistersI16(Reg_NUM); in initRegisterSet()
246 SmallBitVector IntegerRegistersI8(Reg_NUM); in initRegisterSet()
247 SmallBitVector FloatRegisters(Reg_NUM); in initRegisterSet()
248 SmallBitVector VectorRegisters(Reg_NUM); in initRegisterSet()
249 SmallBitVector Trunc64To8Registers(Reg_NUM); in initRegisterSet()
250 SmallBitVector Trunc32To8Registers(Reg_NUM); in initRegisterSet()
[all …]
DIceRegistersX8632.h254 std::array<SmallBitVector, RCX86_NUM> *TypeToRegisterSet, in initRegisterSet() argument
255 std::array<SmallBitVector, Reg_NUM> *RegisterAliases) { in initRegisterSet()
256 SmallBitVector IntegerRegistersI32(Reg_NUM); in initRegisterSet()
257 SmallBitVector IntegerRegistersI16(Reg_NUM); in initRegisterSet()
258 SmallBitVector IntegerRegistersI8(Reg_NUM); in initRegisterSet()
259 SmallBitVector FloatRegisters(Reg_NUM); in initRegisterSet()
260 SmallBitVector VectorRegisters(Reg_NUM); in initRegisterSet()
261 SmallBitVector Trunc64To8Registers(Reg_NUM); in initRegisterSet()
262 SmallBitVector Trunc32To8Registers(Reg_NUM); in initRegisterSet()
263 SmallBitVector Trunc16To8Registers(Reg_NUM); in initRegisterSet()
[all …]
DIceTargetLowering.cpp130 void printRegisterSet(Ostream &Str, const SmallBitVector &Bitset, in printRegisterSet()
174 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[], in filterTypeToRegisterSet()
178 std::vector<SmallBitVector> UseSet(TypeToRegisterSetSize, in filterTypeToRegisterSet()
179 SmallBitVector(NumRegs)); in filterTypeToRegisterSet()
180 std::vector<SmallBitVector> ExcludeSet(TypeToRegisterSetSize, in filterTypeToRegisterSet()
181 SmallBitVector(NumRegs)); in filterTypeToRegisterSet()
197 std::vector<SmallBitVector> &RegSet) { in filterTypeToRegisterSet()
231 SmallBitVector *TypeBitSet = &TypeToRegisterSet[TypeIndex]; in filterTypeToRegisterSet()
232 SmallBitVector *UseBitSet = &UseSet[TypeIndex]; in filterTypeToRegisterSet()
233 SmallBitVector *ExcludeBitSet = &ExcludeSet[TypeIndex]; in filterTypeToRegisterSet()
[all …]
DIceTargetLowering.h292 virtual SmallBitVector getRegisterSet(RegSetMask Include,
296 virtual const SmallBitVector &
301 virtual const SmallBitVector &
303 virtual const SmallBitVector &getAliasesForRegister(RegNumT) const = 0;
306 void postRegallocSplitting(const SmallBitVector &RegMask);
354 GlobalContext *Ctx, int32_t NumRegs, SmallBitVector TypeToRegisterSet[],
422 SmallBitVector &RegsUsed, size_t *GlobalsSize,
DIceTargetLoweringMIPS32.h70 SmallBitVector getRegisterSet(RegSetMask Include,
72 const SmallBitVector &
78 const SmallBitVector &
84 const SmallBitVector &getAliasesForRegister(RegNumT Reg) const override { in getAliasesForRegister()
716 SmallBitVector GPRegsUsed;
721 SmallBitVector VFPRegsUsed;
810 static SmallBitVector TypeToRegisterSet[RCMIPS32_NUM];
811 static SmallBitVector TypeToRegisterSetUnfiltered[RCMIPS32_NUM];
812 static SmallBitVector RegisterAliases[RegMIPS32::Reg_NUM];
813 SmallBitVector RegsUsed;
DIceTargetLoweringARM32.h96 SmallBitVector getRegisterSet(RegSetMask Include,
98 const SmallBitVector &
109 const SmallBitVector &
115 const SmallBitVector &getAliasesForRegister(RegNumT Reg) const override { in getAliasesForRegister()
1069 static SmallBitVector TypeToRegisterSet[RegARM32::RCARM32_NUM];
1070 static SmallBitVector TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM];
1071 static SmallBitVector RegisterAliases[RegARM32::Reg_NUM];
1072 SmallBitVector RegsUsed;
1110 SmallBitVector GPRegsUsed;
1115 SmallBitVector VFPRegsUsed;
DIceTargetLoweringX8664.h170 SmallBitVector getRegisterSet(RegSetMask Include,
172 const SmallBitVector &
179 const SmallBitVector &
186 const SmallBitVector &getAliasesForRegister(RegNumT Reg) const override { in getAliasesForRegister()
863 static std::array<SmallBitVector, RCX86_NUM> TypeToRegisterSet;
864 static std::array<SmallBitVector, RCX86_NUM> TypeToRegisterSetUnfiltered;
865 static std::array<SmallBitVector, RegisterSet::Reg_NUM> RegisterAliases;
866 SmallBitVector RegsUsed;
DIceTargetLoweringX8632.h169 SmallBitVector getRegisterSet(RegSetMask Include,
171 const SmallBitVector &
178 const SmallBitVector &
185 const SmallBitVector &getAliasesForRegister(RegNumT Reg) const override { in getAliasesForRegister()
874 static std::array<SmallBitVector, RCX86_NUM> TypeToRegisterSet;
875 static std::array<SmallBitVector, RCX86_NUM> TypeToRegisterSetUnfiltered;
876 static std::array<SmallBitVector, RegisterSet::Reg_NUM> RegisterAliases;
877 SmallBitVector RegsUsed;
DIceRegAlloc.cpp87 const SmallBitVector &RegMask, in findMinWeightIndex()
782 void LinearScan::assignFinalRegisters(const SmallBitVector &RegMaskFull) { in assignFinalRegisters()
817 void LinearScan::scan(const SmallBitVector &RegMaskFull) { in scan()
840 const SmallBitVector KillsMask = in scan()
DIceTargetLoweringARM32.cpp304 SmallBitVector IntegerRegisters(RegARM32::Reg_NUM); in staticInit()
305 SmallBitVector I64PairRegisters(RegARM32::Reg_NUM); in staticInit()
306 SmallBitVector Float32Registers(RegARM32::Reg_NUM); in staticInit()
307 SmallBitVector Float64Registers(RegARM32::Reg_NUM); in staticInit()
308 SmallBitVector VectorRegisters(RegARM32::Reg_NUM); in staticInit()
309 SmallBitVector QtoSRegisters(RegARM32::Reg_NUM); in staticInit()
310 SmallBitVector InvalidRegisters(RegARM32::Reg_NUM); in staticInit()
1321 SmallBitVector CalleeSaves = getRegisterSet(RegSet_CalleeSave, RegSet_None); in addProlog()
1322 RegsUsed = SmallBitVector(CalleeSaves.size()); in addProlog()
1378 SmallBitVector ToPreserve(RegARM32::Reg_NUM); in addProlog()
[all …]
DIceTargetLoweringMIPS32.cpp146 SmallBitVector IntegerRegisters(RegMIPS32::Reg_NUM); in staticInit()
147 SmallBitVector I64PairRegisters(RegMIPS32::Reg_NUM); in staticInit()
148 SmallBitVector Float32Registers(RegMIPS32::Reg_NUM); in staticInit()
149 SmallBitVector Float64Registers(RegMIPS32::Reg_NUM); in staticInit()
150 SmallBitVector VectorRegisters(RegMIPS32::Reg_NUM); in staticInit()
151 SmallBitVector InvalidRegisters(RegMIPS32::Reg_NUM); in staticInit()
1501 SmallBitVector CalleeSaves = getRegisterSet(RegSet_CalleeSave, RegSet_None); in addProlog()
1502 RegsUsed = SmallBitVector(CalleeSaves.size()); in addProlog()
1551 SmallBitVector ToPreserve(RegMIPS32::Reg_NUM); in addProlog()
2301 SmallBitVector TargetMIPS32::getRegisterSet(RegSetMask Include, in getRegisterSet()
[all …]
DIceTargetLoweringX8664.cpp888 SmallBitVector CalleeSaves = getRegisterSet(RegSet_CalleeSave, RegSet_None); in addProlog()
889 RegsUsed = SmallBitVector(CalleeSaves.size()); in addProlog()
926 SmallBitVector Pushed(CalleeSaves.size()); in addProlog()
1175 SmallBitVector CalleeSaves = getRegisterSet(RegSet_CalleeSave, RegSet_None); in addEpilog()
1176 SmallBitVector Popped(CalleeSaves.size()); in addEpilog()
1197 SmallBitVector TargetX8664::getRegisterSet(RegSetMask Include, in getRegisterSet()
6921 std::array<SmallBitVector, RCX86_NUM> TargetX8664::TypeToRegisterSet = {{}};
6923 std::array<SmallBitVector, RCX86_NUM> TargetX8664::TypeToRegisterSetUnfiltered =
6926 std::array<SmallBitVector, RegX8664::Reg_NUM> TargetX8664::RegisterAliases = {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDependenceAnalysis.h348 SmallBitVector Loops;
349 SmallBitVector GroupLoops;
350 SmallBitVector Group;
541 SmallBitVector &Loops) const;
547 SmallBitVector &Loops);
553 SmallBitVector &Loops);
593 SmallBitVector &Loops);
639 const SmallBitVector &Loops,
779 const SmallBitVector &Loops,
816 const SmallBitVector &Loops,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp803 SmallBitVector &Loops) const { in collectCommonLoops()
888 SmallBitVector &Loops, bool IsSrc) { in checkSubscript()
914 SmallBitVector &Loops) { in checkSrcSubscript()
921 SmallBitVector &Loops) { in checkDstSubscript()
932 SmallBitVector &Loops) { in classifyPair()
933 SmallBitVector SrcLoops(MaxLevels + 1); in classifyPair()
934 SmallBitVector DstLoops(MaxLevels + 1); in classifyPair()
2285 const SmallBitVector &Loops, in testMIV()
2530 const SmallBitVector &Loops, in banerjeeMIVtest()
2611 const SmallBitVector &Loops, in exploreDirections()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.h117 SmallBitVector AllocatedStackSlots;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineDominators.cpp96 SmallBitVector IsNewIDom(CriticalEdgesToSplit.size(), true); in applySplitCriticalEdges()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfExpression.cpp143 SmallBitVector Coverage(RegSize, false); in addMachineReg()
154 SmallBitVector CurSubReg(RegSize, false); in addMachineReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp613 static SmallBitVector gatherFileIDs(StringRef SourceFile, in gatherFileIDs()
615 SmallBitVector FilenameEquivalence(Function.Filenames.size(), false); in gatherFileIDs()
624 SmallBitVector IsNotExpandedFile(Function.Filenames.size(), true); in findMainViewFileID()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineInstr.h50 class SmallBitVector; variable
1508 LLT getTypeToPrint(unsigned OpIdx, SmallBitVector &PrintedTypes,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp213 SmallBitVector UsedByIndices;
247 const SmallBitVector &getUsedByIndices(const SCEV *Reg) const;
289 SmallBitVector &UsedByIndices = Pair.second.UsedByIndices; in swapAndDropUse()
302 const SmallBitVector &UsedByIndices = I->second.UsedByIndices; in isRegUsedByUsesOtherThan()
309 const SmallBitVector &RegUseTracker::getUsedByIndices(const SCEV *Reg) const { in getUsedByIndices()
4107 DenseMap<const SCEV *, SmallBitVector> UsedByIndicesMap; in GenerateCrossUseConstantOffsets()
4143 const SmallBitVector &UsedByIndices = RegUses.getUsedByIndices(OrigReg); in GenerateCrossUseConstantOffsets()
4615 const SmallBitVector &UsedByIndices = RegUses.getUsedByIndices(Reg); in NarrowSearchSpaceByFilterFormulaWithSameScaledReg()
4620 const SmallBitVector &UsedByIndices = RegUses.getUsedByIndices(Reg); in NarrowSearchSpaceByFilterFormulaWithSameScaledReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h333 SmallBitVector TypeIdxsCovered{MCOI::OPERAND_LAST_GENERIC -
335 SmallBitVector ImmIdxsCovered{MCOI::OPERAND_LAST_GENERIC_IMM -
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerInfo.cpp481 SmallBitVector SeenTypes(8); in getAction()

12