/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
D | LaneBitmask.h | 39 struct LaneBitmask { struct 45 constexpr LaneBitmask() = default; argument 46 explicit constexpr LaneBitmask(Type V) : Mask(V) {} in LaneBitmask() argument 48 constexpr bool operator== (LaneBitmask M) const { return Mask == M.Mask; } 49 constexpr bool operator!= (LaneBitmask M) const { return Mask != M.Mask; } 50 constexpr bool operator< (LaneBitmask M) const { return Mask < M.Mask; } 55 constexpr LaneBitmask operator~() const { argument 56 return LaneBitmask(~Mask); 58 constexpr LaneBitmask operator|(LaneBitmask M) const { 59 return LaneBitmask(Mask | M.Mask); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | DetectDeadLanes.cpp | 53 LaneBitmask UsedLanes; 54 LaneBitmask DefinedLanes; 75 void addUsedLanesOnOperand(const MachineOperand &MO, LaneBitmask UsedLanes); 80 void transferUsedLanesStep(const MachineInstr &MI, LaneBitmask UsedLanes); 86 LaneBitmask DefinedLanes); 91 LaneBitmask transferDefinedLanes(const MachineOperand &Def, unsigned OpNum, 92 LaneBitmask DefinedLanes) const; 96 LaneBitmask transferUsedLanes(const MachineInstr &MI, LaneBitmask UsedLanes, 101 LaneBitmask determineInitialDefinedLanes(unsigned Reg); 102 LaneBitmask determineInitialUsedLanes(unsigned Reg); [all …]
|
D | RegisterPressure.cpp | 52 LaneBitmask PrevMask, LaneBitmask NewMask) { in increaseSetPressure() 66 LaneBitmask PrevMask, LaneBitmask NewMask) { in decreaseSetPressure() 156 LaneBitmask PreviousMask, in increaseRegPressure() 157 LaneBitmask NewMask) { in increaseRegPressure() 171 LaneBitmask PreviousMask, in decreaseRegPressure() 172 LaneBitmask NewMask) { in decreaseRegPressure() 367 LaneBitmask::getNone(), Pair.LaneMask); in initLiveThru() 371 static LaneBitmask getRegLanes(ArrayRef<RegisterMaskPair> RegUnits, in getRegLanes() 377 return LaneBitmask::getNone(); in getRegLanes() 401 RegUnits.push_back(RegisterMaskPair(RegUnit, LaneBitmask::getNone())); in setRegZero() [all …]
|
D | RegisterCoalescer.cpp | 150 LaneBitmask ShrinkMask; 243 LaneBitmask LaneMask, CoalescerPair &CP, 249 LaneBitmask LaneMask, const CoalescerPair &CP); 948 LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntA.reg); in removeCopyByCommutingDef() 951 LaneBitmask Mask = MRI->getMaxLaneMaskForVReg(IntB.reg); in removeCopyByCommutingDef() 955 LaneBitmask MaskA; in removeCopyByCommutingDef() 1416 LaneBitmask MaxMask = MRI->getMaxLaneMaskForVReg(DstReg); in reMaterializeTrivialDef() 1440 LaneBitmask DstMask = TRI->getSubRegIndexLaneMask(NewIdx); in reMaterializeTrivialDef() 1563 LaneBitmask SrcMask = TRI->getSubRegIndexLaneMask(SrcSubIdx); in eliminateUndefCopy() 1602 LaneBitmask DstMask = TRI->getSubRegIndexLaneMask(DstSubIdx); in eliminateUndefCopy() [all …]
|
D | LiveInterval.cpp | 884 LaneBitmask LaneMask, in stripValuesNotDefiningMask() 909 LaneBitmask OrigMask = TRI.getSubRegIndexLaneMask(MOI->getSubReg()); in stripValuesNotDefiningMask() 910 LaneBitmask ExpectedDefMask = in stripValuesNotDefiningMask() 931 BumpPtrAllocator &Allocator, LaneBitmask LaneMask, in refineSubRanges() 935 LaneBitmask ToApply = LaneMask; in refineSubRanges() 937 LaneBitmask SRMask = SR.LaneMask; in refineSubRanges() 938 LaneBitmask Matching = SRMask & LaneMask; in refineSubRanges() 977 LaneBitmask LaneMask, in computeSubRangeUndefs() 981 LaneBitmask VRegMask = MRI.getMaxLaneMaskForVReg(reg); in computeSubRangeUndefs() 989 LaneBitmask DefMask = TRI.getSubRegIndexLaneMask(SubReg); in computeSubRangeUndefs() [all …]
|
D | ScheduleDAGInstrs.cpp | 366 LaneBitmask ScheduleDAGInstrs::getLaneMaskForMO(const MachineOperand &MO) const in getLaneMaskForMO() 372 return LaneBitmask::getAll(); in getLaneMaskForMO() 398 LaneBitmask DefLaneMask; in addVRegDefDeps() 399 LaneBitmask KillLaneMask; in addVRegDefDeps() 405 KillLaneMask = IsKill ? LaneBitmask::getAll() : DefLaneMask; in addVRegDefDeps() 423 DefLaneMask = LaneBitmask::getAll(); in addVRegDefDeps() 424 KillLaneMask = LaneBitmask::getAll(); in addVRegDefDeps() 434 LaneBitmask LaneMask = I->LaneMask; in addVRegDefDeps() 472 LaneBitmask LaneMask = DefLaneMask; in addVRegDefDeps() 495 LaneBitmask OverlapMask = V2SU.LaneMask & LaneMask; in addVRegDefDeps() [all …]
|
D | LiveIntervals.cpp | 367 unsigned Reg, LaneBitmask LaneMask) { in extendSegmentsToUses() 373 auto getSubRange = [](const LiveInterval &I, LaneBitmask M) in extendSegmentsToUses() 494 extendSegmentsToUses(NewLR, WorkList, Reg, LaneBitmask::getNone()); in shrinkToUses() 569 LaneBitmask LaneMask = TRI->getSubRegIndexLaneMask(SubReg); in shrinkToUses() 770 LaneBitmask DefinedLanesMask; in addKillFlags() 773 DefinedLanesMask = LaneBitmask::getNone(); in addKillFlags() 786 DefinedLanesMask = LaneBitmask::getAll(); in addKillFlags() 794 LaneBitmask UseMask = TRI->getSubRegIndexLaneMask(MO.getSubReg()); in addKillFlags() 1007 LaneBitmask LaneMask = SubReg ? TRI.getSubRegIndexLaneMask(SubReg) in updateAllRanges() 1015 updateRange(LI, Reg, LaneBitmask::getNone()); in updateAllRanges() [all …]
|
D | MachineVerifier.cpp | 252 LaneBitmask LaneMask) const; 258 void report_context_lanemask(LaneBitmask LaneMask) const; 267 LaneBitmask LaneMask = LaneBitmask::getNone()); 271 LaneBitmask LaneMask = LaneBitmask::getNone()); 282 LaneBitmask); 285 LaneBitmask); 287 LaneBitmask LaneMask = LaneBitmask::getNone()); 528 LaneBitmask LaneMask) const { in report_context() 563 void MachineVerifier::report_context_lanemask(LaneBitmask LaneMask) const { in report_context_lanemask() 1871 LaneBitmask LaneMask) { in checkLivenessAtUse() [all …]
|
D | LiveRangeCalc.cpp | 88 LaneBitmask SubMask = SubReg != 0 ? TRI.getSubRegIndexLaneMask(SubReg) in calculate() 93 LaneBitmask ClassMask = MRI->getMaxLaneMaskForVReg(Reg); in calculate() 127 extendToUses(LI, Reg, LaneBitmask::getAll()); in calculate() 144 extendToUses(MainRange, LI.reg, LaneBitmask::getAll(), &LI); in constructMainRangeFromSubranges() 156 void LiveRangeCalc::extendToUses(LiveRange &LR, unsigned Reg, LaneBitmask Mask, in extendToUses() 179 LaneBitmask SLM = TRI.getSubRegIndexLaneMask(SubReg); in extendToUses()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | RegisterPressure.h | 41 LaneBitmask LaneMask; 43 RegisterMaskPair(unsigned RegUnit, LaneBitmask LaneMask) in RegisterMaskPair() 264 LaneBitmask LaneMask; 266 IndexMaskPair(unsigned Index, LaneBitmask LaneMask) in IndexMaskPair() 295 LaneBitmask contains(unsigned Reg) const { in contains() 299 return LaneBitmask::getNone(); in contains() 305 LaneBitmask insert(RegisterMaskPair Pair) { in insert() 309 LaneBitmask PrevMask = InsertRes.first->LaneMask; in insert() 313 return LaneBitmask::getNone(); in insert() 318 LaneBitmask erase(RegisterMaskPair Pair) { in erase() [all …]
|
D | TargetRegisterInfo.h | 54 const LaneBitmask LaneMask; 203 LaneBitmask getLaneMask() const { in getLaneMask() 240 const LaneBitmask *SubRegIndexLaneMasks; 243 LaneBitmask CoveringLanes; 252 const LaneBitmask *SRILaneMasks, 253 LaneBitmask CoveringLanes, 348 LaneBitmask getSubRegIndexLaneMask(unsigned SubIdx) const { in getSubRegIndexLaneMask() 376 LaneBitmask getCoveringLanes() const { return CoveringLanes; } in getCoveringLanes() 579 LaneBitmask composeSubRegIndexLaneMask(unsigned IdxA, in composeSubRegIndexLaneMask() 580 LaneBitmask Mask) const { in composeSubRegIndexLaneMask() [all …]
|
D | ScheduleDAGInstrs.h | 54 LaneBitmask LaneMask; 57 VReg2SUnit(unsigned VReg, LaneBitmask LaneMask, SUnit *SU) in VReg2SUnit() 69 VReg2SUnitOperIdx(unsigned VReg, LaneBitmask LaneMask, in VReg2SUnitOperIdx() 377 LaneBitmask getLaneMaskForMO(const MachineOperand &MO) const;
|
D | MachineBasicBlock.h | 74 LaneBitmask LaneMask; 76 RegisterMaskPair(MCPhysReg PhysReg, LaneBitmask LaneMask) 316 LaneBitmask LaneMask = LaneBitmask::getAll()) { 338 LaneBitmask LaneMask = LaneBitmask::getAll()); 342 LaneBitmask LaneMask = LaneBitmask::getAll()) const;
|
D | LiveInterval.h | 689 LaneBitmask LaneMask; 692 SubRange(LaneBitmask LaneMask) : LaneMask(LaneMask) {} in SubRange() 695 SubRange(LaneBitmask LaneMask, const LiveRange &Other, in SubRange() 775 LaneBitmask LaneMask) { in createSubRange() 784 LaneBitmask LaneMask, in createSubRangeFrom() 820 LaneBitmask LaneMask, 863 void refineSubRanges(BumpPtrAllocator &Allocator, LaneBitmask LaneMask,
|
D | LiveRangeCalc.h | 172 void extendToUses(LiveRange &LR, unsigned Reg, LaneBitmask LaneMask, 223 extendToUses(LR, PhysReg, LaneBitmask::getAll()); in extendToUses()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | RDFRegisters.cpp | 56 UnitInfos[U].Mask = LaneBitmask::getAll(); in PhysicalRegisterInfo() 60 std::pair<uint32_t,LaneBitmask> P = *I; in PhysicalRegisterInfo() 69 UI.Mask = LaneBitmask::getAll(); in PhysicalRegisterInfo() 140 std::pair<RegisterId,LaneBitmask> PA = *UMA; in aliasRR() 146 std::pair<RegisterId,LaneBitmask> PB = *UMB; in aliasRR() 169 if (RR.Mask == LaneBitmask::getAll()) in aliasRM() 180 LaneBitmask M = RR.Mask; in aliasRM() 182 LaneBitmask SM = TRI.getSubRegIndexLaneMask(SI.getSubRegIndex()); in aliasRM() 232 LaneBitmask RCM = RI.RegClass ? RI.RegClass->LaneMask in mapTo() 233 : LaneBitmask::getAll(); in mapTo() [all …]
|
D | RDFRegisters.h | 73 LaneBitmask Mask = LaneBitmask::getNone(); 76 explicit RegisterRef(RegisterId R, LaneBitmask M = LaneBitmask::getAll()) 77 : Reg(R), Mask(R != 0 ? M : LaneBitmask::getNone()) {} in Reg() 140 LaneBitmask Mask; 185 using MapType = std::map<RegisterId, LaneBitmask>; 231 PrintLaneMaskOpt(LaneBitmask M) : Mask(M) {} in PrintLaneMaskOpt() 232 LaneBitmask Mask;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/ |
D | ARMGenRegisterInfo.inc | 901 extern const LaneBitmask ARMLaneMaskLists[] = { 902 /* 0 */ LaneBitmask(0x00000000), LaneBitmask::getAll(), 903 /* 2 */ LaneBitmask(0x00000002), LaneBitmask(0x00000001), LaneBitmask::getAll(), 904 /* 5 */ LaneBitmask(0x00000001), LaneBitmask(0x00000002), LaneBitmask::getAll(), 905 /* 8 */ LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask::getAll(), 906 …/* 11 */ LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask(0x00000010), LaneBitmask(0x… 907 …/* 16 */ LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask(0x00000030), LaneBitmask::g… 908 /* 20 */ LaneBitmask(0x0000000C), LaneBitmask(0x00000030), LaneBitmask::getAll(), 909 …/* 23 */ LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask(0x00000040), LaneBitmask(0x… 910 …LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask(0x00000010), LaneBitmask(0x00000020)… [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/ |
D | AArch64GenRegisterInfo.inc | 1065 extern const LaneBitmask AArch64LaneMaskLists[] = { 1066 /* 0 */ LaneBitmask(0x00000000), LaneBitmask::getAll(), 1067 /* 2 */ LaneBitmask(0x00000080), LaneBitmask(0x00000001), LaneBitmask::getAll(), 1068 …/* 5 */ LaneBitmask(0x00000080), LaneBitmask(0x00000200), LaneBitmask(0x00000100), LaneBitmask(0x0… 1069 …/* 10 */ LaneBitmask(0x00000080), LaneBitmask(0x00000200), LaneBitmask(0x00000001), LaneBitmask::g… 1070 /* 14 */ LaneBitmask(0x00000400), LaneBitmask(0x00000001), LaneBitmask::getAll(), 1071 …/* 17 */ LaneBitmask(0x00000400), LaneBitmask(0x00001000), LaneBitmask(0x00000800), LaneBitmask(0x… 1072 …/* 22 */ LaneBitmask(0x00000400), LaneBitmask(0x00001000), LaneBitmask(0x00000001), LaneBitmask::g… 1073 /* 26 */ LaneBitmask(0x00002000), LaneBitmask(0x00000008), LaneBitmask::getAll(), 1074 /* 29 */ LaneBitmask(0x00000020), LaneBitmask(0x00000010), LaneBitmask::getAll(), [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIFormMemoryClauses.cpp | 41 typedef DenseMap<unsigned, std::pair<unsigned, LaneBitmask>> RegUse; 65 void forAllLanes(unsigned Reg, LaneBitmask LaneMask, Callable Func) const; 154 void SIFormMemoryClauses::forAllLanes(unsigned Reg, LaneBitmask LaneMask, in forAllLanes() 169 LaneBitmask SubRegMask = TRI->getSubRegIndexLaneMask(Idx); in forAllLanes() 183 LaneBitmask MaskA = TRI->getSubRegIndexLaneMask(A); in forAllLanes() 184 LaneBitmask MaskB = TRI->getSubRegIndexLaneMask(B); in forAllLanes() 193 LaneBitmask SubRegMask = TRI->getSubRegIndexLaneMask(Idx); in forAllLanes() 234 LaneBitmask Mask = TRI->getSubRegIndexLaneMask(MO.getSubReg()); in canBundle() 273 LaneBitmask Mask = Register::isVirtualRegister(Reg) in collectRegUses() 275 : LaneBitmask::getAll(); in collectRegUses()
|
D | GCNRegPressure.h | 60 LaneBitmask PrevMask, 61 LaneBitmask NewMask, 100 using LiveRegSet = DenseMap<unsigned, LaneBitmask>; 187 LaneBitmask getLiveLaneMask(unsigned Reg, 257 Res.inc(RM.first, LaneBitmask::getNone(), RM.second, MRI); in getRegPressure()
|
D | GCNRegPressure.cpp | 98 LaneBitmask PrevMask, in inc() 99 LaneBitmask NewMask, in inc() 198 static LaneBitmask getDefRegMask(const MachineOperand &MO, in getDefRegMask() 210 static LaneBitmask getUsedRegMask(const MachineOperand &MO, in getUsedRegMask() 219 if (MaxMask == LaneBitmask::getLane(0)) // cannot have subregs in getUsedRegMask() 256 LaneBitmask llvm::getLiveLaneMask(unsigned Reg, in getLiveLaneMask() 260 LaneBitmask LiveMask; in getLiveLaneMask() 390 It.second = LaneBitmask::getNone(); in advanceBeforeNext()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/X86/ |
D | X86GenRegisterInfo.inc | 571 extern const LaneBitmask X86LaneMaskLists[] = { 572 /* 0 */ LaneBitmask(0x00000000), LaneBitmask::getAll(), 573 /* 2 */ LaneBitmask(0x00000002), LaneBitmask(0x00000001), LaneBitmask::getAll(), 574 /* 5 */ LaneBitmask(0x00000001), LaneBitmask(0x00000004), LaneBitmask::getAll(), 575 …/* 8 */ LaneBitmask(0x00000002), LaneBitmask(0x00000001), LaneBitmask(0x00000008), LaneBitmask::ge… 576 …/* 12 */ LaneBitmask(0x00000001), LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask::g… 577 /* 16 */ LaneBitmask(0x00000007), LaneBitmask(0x00000008), LaneBitmask::getAll(), 578 /* 19 */ LaneBitmask(0x00000010), LaneBitmask(0x00000020), LaneBitmask::getAll(), 579 /* 22 */ LaneBitmask(0x00000040), LaneBitmask::getAll(), 4317 LaneBitmask composeSubRegIndexLaneMaskImpl(unsigned, LaneBitmask) const override; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/Mips/ |
D | MipsGenRegisterInfo.inc | 676 extern const LaneBitmask MipsLaneMaskLists[] = { 677 /* 0 */ LaneBitmask(0x00000000), LaneBitmask::getAll(), 678 /* 2 */ LaneBitmask(0x00000001), LaneBitmask::getAll(), 679 …/* 4 */ LaneBitmask(0x00000002), LaneBitmask(0x00000004), LaneBitmask(0x00000008), LaneBitmask(0x0… 680 /* 10 */ LaneBitmask(0x00000001), LaneBitmask(0x00000040), LaneBitmask::getAll(), 3811 LaneBitmask composeSubRegIndexLaneMaskImpl(unsigned, LaneBitmask) const override; 3812 LaneBitmask reverseComposeSubRegIndexLaneMaskImpl(unsigned, LaneBitmask) const override; 3938 static const LaneBitmask SubRegIndexLaneMaskTable[] = { 3939 LaneBitmask::getAll(), 3940 LaneBitmask(0x00000001), // sub_32 [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/PowerPC/ |
D | PPCGenRegisterInfo.inc | 484 extern const LaneBitmask PPCLaneMaskLists[] = { 485 /* 0 */ LaneBitmask(0x00000000), LaneBitmask::getAll(), 486 /* 2 */ LaneBitmask(0x00000001), LaneBitmask::getAll(), 487 /* 4 */ LaneBitmask(0x00000002), LaneBitmask::getAll(), 488 …/* 6 */ LaneBitmask(0x00000010), LaneBitmask(0x00000008), LaneBitmask(0x00000004), LaneBitmask(0x0… 3845 LaneBitmask composeSubRegIndexLaneMaskImpl(unsigned, LaneBitmask) const override; 3846 LaneBitmask reverseComposeSubRegIndexLaneMaskImpl(unsigned, LaneBitmask) const override; 3935 static const LaneBitmask SubRegIndexLaneMaskTable[] = { 3936 LaneBitmask::getAll(), 3937 LaneBitmask(0x00000001), // sub_32 [all …]
|