Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/CodeGen/
DLiveInterval.h601 class SubRange : public LiveRange {
603 SubRange *Next;
607 SubRange(LaneBitmask LaneMask) in SubRange() function
612 SubRange(LaneBitmask LaneMask, const LiveRange &Other, in SubRange() function
622 SubRange *SubRanges; ///< Single linked list of subregister live ranges.
663 typedef SingleLinkedListIterator<SubRange> subrange_iterator;
671 typedef SingleLinkedListIterator<const SubRange> const_subrange_iterator;
689 SubRange *createSubRange(BumpPtrAllocator &Allocator, in createSubRange()
691 SubRange *Range = new (Allocator) SubRange(LaneMask); in createSubRange()
698 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, in createSubRangeFrom()
[all …]
DLiveIntervalAnalysis.h164 void shrinkToUses(LiveInterval::SubRange &SR, unsigned Reg);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DLiveInterval.h645 class SubRange : public LiveRange {
647 SubRange *Next = nullptr;
651 SubRange(LaneBitmask LaneMask) : LaneMask(LaneMask) {} in SubRange() function
654 SubRange(LaneBitmask LaneMask, const LiveRange &Other, in SubRange() function
663 SubRange *SubRanges = nullptr; ///< Single linked list of subregister live
706 using subrange_iterator = SingleLinkedListIterator<SubRange>;
707 using const_subrange_iterator = SingleLinkedListIterator<const SubRange>;
733 SubRange *createSubRange(BumpPtrAllocator &Allocator, in createSubRange()
735 SubRange *Range = new (Allocator) SubRange(LaneMask); in createSubRange()
742 SubRange *createSubRangeFrom(BumpPtrAllocator &Allocator, in createSubRangeFrom()
[all …]
DLiveIntervals.h170 void shrinkToUses(LiveInterval::SubRange &SR, unsigned Reg);
/external/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp69 LiveInterval::SubRange *SR;
72 SubRangeInfo(LiveIntervals &LIS, LiveInterval::SubRange &SR, in SubRangeInfo()
161 for (LiveInterval::SubRange &SR : LI.subranges()) { in findComponents()
186 const LiveInterval::SubRange &SR = *SRInfo.SR; in findComponents()
230 const LiveInterval::SubRange &SR = *SRInfo.SR; in rewriteOperands()
258 SmallVector<LiveInterval::SubRange*, 8> SubRanges; in distribute()
261 LiveInterval::SubRange &SR = *SRInfo.SR; in distribute()
280 for (const LiveInterval::SubRange &SR : LI.subranges()) { in subRangeLiveAt()
302 for (const LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
325 for (LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
DLiveInterval.cpp788 void LiveInterval::freeSubRange(SubRange *S) { in freeSubRange()
789 S->~SubRange(); in freeSubRange()
794 SubRange **NextPtr = &SubRanges; in removeEmptySubRanges()
795 SubRange *I = *NextPtr; in removeEmptySubRanges()
804 SubRange *Next = I->Next; in removeEmptySubRanges()
813 for (SubRange *I = SubRanges, *Next; I != nullptr; I = Next) { in clearSubRanges()
867 void LiveInterval::SubRange::print(raw_ostream &OS) const { in print()
876 for (const SubRange &SR : subranges()) in print()
885 LLVM_DUMP_METHOD void LiveInterval::SubRange::dump() const { in dump()
917 for (const SubRange &SR : subranges()) { in verify()
[all …]
DLiveRangeCalc.cpp77 for (LiveInterval::SubRange &S : LI.subranges()) { in calculate()
84 LiveInterval::SubRange *CommonRange; in calculate()
99 LiveInterval::SubRange *NewRange = LI.createSubRange(*Alloc, Mask); in calculate()
118 for (LiveInterval::SubRange &S : LI.subranges()) { in calculate()
136 for (const LiveInterval::SubRange &SR : LI.subranges()) { in constructMainRangeFromSubranges()
DRegisterCoalescer.cpp557 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
787 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
810 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
815 for (LiveInterval::SubRange &SB : IntB.subranges()) { in removeCopyByCommutingDef()
824 LiveInterval::SubRange *CommonRange; in removeCopyByCommutingDef()
1030 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
1058 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
1064 LiveInterval::SubRange *SR = DstInt.createSubRange(Alloc, MaxMask); in reMaterializeTrivialDef()
1155 for (const LiveInterval::SubRange &SR : SrcLI.subranges()) { in eliminateUndefCopy()
1176 for (LiveInterval::SubRange &SR : DstLI.subranges()) { in eliminateUndefCopy()
[all …]
DVirtRegMap.cpp249 typedef std::pair<const LiveInterval::SubRange *, in addLiveInsForSubRanges()
254 for (const LiveInterval::SubRange &SR : LI.subranges()) { in addLiveInsForSubRanges()
271 const LiveInterval::SubRange *SR = RangeIterPair.first; in addLiveInsForSubRanges()
343 for (const LiveInterval::SubRange &SR : LI.subranges()) { in readsUndefSubreg()
DLiveIntervalAnalysis.cpp413 for (LiveInterval::SubRange &S : li->subranges()) { in shrinkToUses()
507 void LiveIntervals::shrinkToUses(LiveInterval::SubRange &SR, unsigned Reg) in shrinkToUses()
652 SmallVector<std::pair<const LiveInterval::SubRange*, in addKillFlags()
676 for (const LiveInterval::SubRange &SR : LI.subranges()) { in addKillFlags()
729 const LiveInterval::SubRange &SR = *SRP.first; in addKillFlags()
958 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1525 for (LiveInterval::SubRange &S : LI.subranges()) { in repairIntervalsInRange()
1547 for (LiveInterval::SubRange &S : LI.subranges()) { in removeVRegDefAt()
DLiveRegMatrix.cpp80 for (LiveInterval::SubRange &S : VRegInterval.subranges()) { in foreachUnit()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRenameIndependentSubregs.cpp69 LiveInterval::SubRange *SR;
72 SubRangeInfo(LiveIntervals &LIS, LiveInterval::SubRange &SR, in SubRangeInfo()
161 for (LiveInterval::SubRange &SR : LI.subranges()) { in findComponents()
186 const LiveInterval::SubRange &SR = *SRInfo.SR; in findComponents()
231 const LiveInterval::SubRange &SR = *SRInfo.SR; in rewriteOperands()
270 SmallVector<LiveInterval::SubRange*, 8> SubRanges; in distribute()
273 LiveInterval::SubRange &SR = *SRInfo.SR; in distribute()
292 for (const LiveInterval::SubRange &SR : LI.subranges()) { in subRangeLiveAt()
314 for (const LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
337 for (LiveInterval::SubRange &SR : LI.subranges()) { in computeMainRangesFixFlags()
DLiveInterval.cpp851 void LiveInterval::freeSubRange(SubRange *S) { in freeSubRange()
852 S->~SubRange(); in freeSubRange()
857 SubRange **NextPtr = &SubRanges; in removeEmptySubRanges()
858 SubRange *I = *NextPtr; in removeEmptySubRanges()
867 SubRange *Next = I->Next; in removeEmptySubRanges()
876 for (SubRange *I = SubRanges, *Next; I != nullptr; I = Next) { in clearSubRanges()
884 LaneBitmask LaneMask, std::function<void(LiveInterval::SubRange&)> Apply) { in refineSubRanges()
886 for (SubRange &SR : subranges()) { in refineSubRanges()
892 SubRange *MatchingRange; in refineSubRanges()
908 SubRange *NewRange = createSubRange(Allocator, ToApply); in refineSubRanges()
[all …]
DRegisterCoalescer.cpp591 for (LiveInterval::SubRange &S : IntB.subranges()) { in adjustCopiesBackFrom()
621 for (LiveInterval::SubRange &S : IntA.subranges()) { in adjustCopiesBackFrom()
837 for (LiveInterval::SubRange &S : IntB.subranges()) { in removeCopyByCommutingDef()
858 for (LiveInterval::SubRange &SA : IntA.subranges()) { in removeCopyByCommutingDef()
863 [&Allocator,&SA,CopyIdx,ASubValNo](LiveInterval::SubRange &SR) { in removeCopyByCommutingDef()
1035 for (LiveInterval::SubRange &SR : IntB.subranges()) in removePartialRedundancy()
1064 for (LiveInterval::SubRange &SR : IntB.subranges()) { in removePartialRedundancy()
1247 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
1280 for (LiveInterval::SubRange &SR : DstInt.subranges()) { in reMaterializeTrivialDef()
1286 LiveInterval::SubRange *SR = DstInt.createSubRange(Alloc, MaxMask); in reMaterializeTrivialDef()
[all …]
DVirtRegMap.cpp274 std::pair<const LiveInterval::SubRange *, LiveInterval::const_iterator>; in addLiveInsForSubRanges()
279 for (const LiveInterval::SubRange &SR : LI.subranges()) { in addLiveInsForSubRanges()
296 const LiveInterval::SubRange *SR = RangeIterPair.first; in addLiveInsForSubRanges()
369 for (const LiveInterval::SubRange &SR : LI.subranges()) { in readsUndefSubreg()
DLiveIntervals.cpp373 for (const LiveInterval::SubRange &SR : I.subranges()) { in extendSegmentsToUses()
450 for (LiveInterval::SubRange &S : li->subranges()) { in shrinkToUses()
543 void LiveIntervals::shrinkToUses(LiveInterval::SubRange &SR, unsigned Reg) { in shrinkToUses()
688 SmallVector<std::pair<const LiveInterval::SubRange*, in addKillFlags()
712 for (const LiveInterval::SubRange &SR : LI.subranges()) { in addKillFlags()
765 const LiveInterval::SubRange &SR = *SRP.first; in addKillFlags()
1000 for (LiveInterval::SubRange &S : LI.subranges()) { in updateAllRanges()
1605 for (LiveInterval::SubRange &S : LI.subranges()) in repairIntervalsInRange()
1630 for (LiveInterval::SubRange &S : LI.subranges()) { in removeVRegDefAt()
DSplitKit.cpp408 LiveInterval::SubRange &SplitEditor::getSubRangeForMask(LaneBitmask LM, in getSubRangeForMask()
410 for (LiveInterval::SubRange &S : LI.subranges()) in getSubRangeForMask()
427 for (LiveInterval::SubRange &S : LI.subranges()) { in addDeadDef()
451 for (LiveInterval::SubRange &S : LI.subranges()) in addDeadDef()
532 [Def, &Allocator](LiveInterval::SubRange& SR) { in buildSingleSubRegCopy()
659 for (LiveInterval::SubRange &S : LI->subranges()) in defFromParent()
1282 for (LiveInterval::SubRange &PS : ParentLI.subranges()) { in extendPHIKillRanges()
1288 LiveInterval::SubRange &S = getSubRangeForMask(PS.LaneMask, LI); in extendPHIKillRanges()
1379 for (LiveInterval::SubRange &S : LI.subranges()) { in rewriteAssigned()
DLiveRangeCalc.cpp99 [&MO, this](LiveInterval::SubRange &SR) { in calculate()
118 for (LiveInterval::SubRange &S : LI.subranges()) { in calculate()
137 for (const LiveInterval::SubRange &SR : LI.subranges()) { in constructMainRangeFromSubranges()
DLiveRangeEdit.cpp49 for (LiveInterval::SubRange &S : OldLI.subranges()) in createEmptyIntervalFrom()
251 for (const LiveInterval::SubRange &S : LI.subranges()) { in useIsKill()
DLiveRegMatrix.cpp87 for (LiveInterval::SubRange &S : VRegInterval.subranges()) { in foreachUnit()
DSplitKit.h335 LiveInterval::SubRange &getSubRangeForMask(LaneBitmask LM, LiveInterval &LI);
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp288 SourceRange SubRange = E->getSubExpr()->IgnoreParenImpCasts()->getSourceRange(); in getBlockMacroRanges() local
289 SourceLocation InnerBegin = SM.getImmediateMacroCallerLoc(SubRange.getBegin()); in getBlockMacroRanges()
290 SourceLocation InnerEnd = SM.getImmediateMacroCallerLoc(SubRange.getEnd()); in getBlockMacroRanges()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dregcoal-subrange-join.mir5 # Without a fix for PR33524 this causes an unreachable in SubRange Join
/external/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp377 auto EndsAtI = [I] (LiveInterval::SubRange &S) -> bool { in updateKillFlags()
383 for (LiveInterval::SubRange &S : LI.subranges()) { in updateKillFlags()
530 for (LiveInterval::SubRange &S : LI.subranges()) { in updateDeadFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp348 auto EndsAtI = [I] (LiveInterval::SubRange &S) -> bool { in updateKillFlags()
354 for (LiveInterval::SubRange &S : LI.subranges()) { in updateKillFlags()
530 for (LiveInterval::SubRange &S : LI.subranges()) { in updateDeadFlags()

12