Home
last modified time | relevance | path

Searched refs:LiveIntervalUnion (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveIntervalUnion.cpp1 //===- LiveIntervalUnion.cpp - Live interval union data structure ---------===//
9 // LiveIntervalUnion represents a coalesced set of live intervals. This may be
15 #include "llvm/CodeGen/LiveIntervalUnion.h"
28 void LiveIntervalUnion::unify(const LiveInterval &VirtReg,
56 void LiveIntervalUnion::extract(const LiveInterval &VirtReg,
83 LiveIntervalUnion::print(raw_ostream &OS, const TargetRegisterInfo *TRI) const {
97 void LiveIntervalUnion::verify(LiveVirtRegBitSet& VisitedVRegs) {
103 const LiveInterval *LiveIntervalUnion::getOneVReg() const {
115 bool LiveIntervalUnion::Query::isSeenInterference(
130 LiveIntervalUnion
[all...]
H A DInterferenceCache.h74 LiveIntervalUnion::SegmentIter VirtI;
85 RegUnitInfo(LiveIntervalUnion &LIU) : VirtTag(LIU.getTag()) { in RegUnitInfo()
117 void revalidate(LiveIntervalUnion *LIUArray, const TargetRegisterInfo *TRI);
120 bool valid(LiveIntervalUnion *LIUArray, const TargetRegisterInfo *TRI);
123 void reset(MCRegister physReg, LiveIntervalUnion *LIUArray,
140 LiveIntervalUnion *LIUArray = nullptr;
168 void init(MachineFunction *mf, LiveIntervalUnion *liuarray,
H A DInterferenceCache.cpp51 LiveIntervalUnion *liuarray, in init()
89 void InterferenceCache::Entry::revalidate(LiveIntervalUnion *LIUArray, in revalidate()
101 LiveIntervalUnion *LIUArray, in reset()
119 bool InterferenceCache::Entry::valid(LiveIntervalUnion *LIUArray, in valid()
164 LiveIntervalUnion::SegmentIter &I = RUI.VirtI; in update()
215 LiveIntervalUnion::SegmentIter &I = RUI.VirtI; in update()
H A DStackSlotColoring.cpp103 LiveIntervalUnion *LIU = nullptr;
106 uint8_t LIUPad[sizeof(LiveIntervalUnion)];
111 LIU->~LiveIntervalUnion(); // Dirty magic again. in ~ColorAssignmentInfo()
118 return LiveIntervalUnion::Query(*LI, *LIU).checkInterference(); in overlaps()
123 void add(LiveInterval *LI, LiveIntervalUnion::Allocator &Alloc) { in add()
128 LIU = new (LIUPad) LiveIntervalUnion(Alloc); in add()
137 LiveIntervalUnion::Allocator LIUAlloc;
H A DLiveRegMatrix.cpp62 Queries.reset(new LiveIntervalUnion::Query[NumRegUnits]); in runOnMachineFunction()
178 LiveIntervalUnion::Query &LiveRegMatrix::query(const LiveRange &LR, in query()
180 LiveIntervalUnion::Query &Q = Queries[RegUnit]; in query()
232 LiveIntervalUnion::Query Q; in checkInterference()
H A DRegAllocEvictionAdvisor.cpp206 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, Unit); in canEvictInterferenceBasedOnCost()
H A DRegAllocBasic.cpp215 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, Unit); in spillInterferences()
H A DRegAllocGreedy.cpp459 LiveIntervalUnion::Query SubQ(VirtReg, Matrix->getLiveUnions()[Unit]); in canReassign()
495 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, Unit); in evictInterference()
1517 LiveIntervalUnion::SegmentIter IntI = in calcGapWeights()
1873 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, Unit); in mayRecolorAllInterferences()
H A DMLRegallocEvictAdvisor.cpp
H A DMLRegAllocEvictAdvisor.cpp619 LiveIntervalUnion::Query &Q = Matrix->query(VirtReg, Unit); in loadInterferenceFeatures()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DLiveIntervalUnion.h42 class LiveIntervalUnion {
65 explicit LiveIntervalUnion(Allocator &a) : Segments(a) {} in LiveIntervalUnion() function
113 const LiveIntervalUnion *LiveUnion = nullptr;
132 Query(const LiveRange &LR, const LiveIntervalUnion &LIU) in Query()
138 const LiveIntervalUnion &NewLiveUnion) { in reset()
149 const LiveIntervalUnion &NewLiveUnion) { in init()
173 LiveIntervalUnion *LIUs = nullptr;
181 void init(LiveIntervalUnion::Allocator&, unsigned Size);
187 LiveIntervalUnion& operator[](unsigned idx) {
192 const LiveIntervalUnion& operator[](unsigned Idx) const {
H A DLiveRegMatrix.h49 LiveIntervalUnion::Allocator LIUAlloc;
50 LiveIntervalUnion::Array Matrix;
53 std::unique_ptr<LiveIntervalUnion::Query[]> Queries;
153 LiveIntervalUnion::Query &query(const LiveRange &LR, MCRegister RegUnit);
157 LiveIntervalUnion *getLiveUnions() { return &Matrix[0]; } in getLiveUnions()
/freebsd/lib/clang/libllvm/
H A DMakefile309 SRCS_MIN+= CodeGen/LiveIntervalUnion.cpp