HomeSort by relevance Sort by last modified time
    Searched refs:VirtReg (Results 1 - 25 of 123) sorted by null

1 2 3 4 5

  /external/llvm/include/llvm/CodeGen/
LiveRegMatrix.h 95 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
99 /// Check for interference before assigning VirtReg to PhysReg.
100 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
103 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
105 /// Assign VirtReg to PhysReg.
106 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
108 void assign(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Unassign VirtReg from its PhysReg.
111 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
113 void unassign(LiveInterval &VirtReg);
    [all...]
LiveIntervalUnion.h 87 void unify(LiveInterval &VirtReg, const LiveRange &Range);
88 void unify(LiveInterval &VirtReg) {
89 unify(VirtReg, VirtReg);
93 void extract(LiveInterval &VirtReg, const LiveRange &Range);
94 void extract(LiveInterval &VirtReg) {
95 extract(VirtReg, VirtReg);
113 LiveInterval *VirtReg;
114 LiveInterval::iterator VirtRegI; // current position in VirtReg
    [all...]
  /external/swiftshader/third_party/LLVM/lib/CodeGen/
LiveIntervalUnion.cpp 28 void LiveIntervalUnion::unify(LiveInterval &VirtReg) {
29 if (VirtReg.empty())
34 LiveInterval::iterator RegPos = VirtReg.begin();
35 LiveInterval::iterator RegEnd = VirtReg.end();
39 SegPos.insert(RegPos->start, RegPos->end, &VirtReg);
49 SegPos.insert(RegEnd->start, RegEnd->end, &VirtReg);
51 SegPos.insert(RegPos->start, RegPos->end, &VirtReg);
55 void LiveIntervalUnion::extract(LiveInterval &VirtReg) {
56 if (VirtReg.empty())
61 LiveInterval::iterator RegPos = VirtReg.begin()
    [all...]
RegAllocBase.h 113 LiveIntervalUnion::Query &query(LiveInterval &VirtReg, unsigned PhysReg) {
114 Queries[PhysReg].init(UserTag, &VirtReg, &PhysReg2LiveUnion[PhysReg]);
133 /// enqueue - Add VirtReg to the priority queue of unassigned registers.
143 virtual unsigned selectOrSplit(LiveInterval &VirtReg,
152 unsigned checkPhysRegInterference(LiveInterval& VirtReg, unsigned PhysReg);
154 /// assign - Assign VirtReg to PhysReg.
156 void assign(LiveInterval &VirtReg, unsigned PhysReg);
158 /// unassign - Undo a previous assignment of VirtReg to PhysReg.
161 void unassign(LiveInterval &VirtReg, unsigned PhysReg);
166 bool spillInterferences(LiveInterval &VirtReg, unsigned PhysReg
    [all...]
LiveIntervalUnion.h 92 void unify(LiveInterval &VirtReg);
95 void extract(LiveInterval &VirtReg);
112 LiveInterval *VirtReg;
113 LiveInterval::iterator VirtRegI; // current position in VirtReg
122 Query(): LiveUnion(), VirtReg(), Tag(0), UserTag(0) {}
125 LiveUnion(LIU), VirtReg(VReg), CheckedFirstInterference(false),
131 VirtReg = NULL;
142 if (UserTag == UTag && VirtReg == VReg &&
149 VirtReg = VReg;
154 LiveInterval &virtReg() const
    [all...]
RegAllocBasic.cpp 125 virtual unsigned selectOrSplit(LiveInterval &VirtReg,
268 LiveInterval &VirtReg = *I->second;
270 PhysReg2LiveUnion[RegNum].unify(VirtReg);
272 enqueue(&VirtReg);
276 void RegAllocBase::assign(LiveInterval &VirtReg, unsigned PhysReg) {
277 DEBUG(dbgs() << "assigning " << PrintReg(VirtReg.reg, TRI)
279 assert(!VRM->hasPhys(VirtReg.reg) && "Duplicate VirtReg assignment");
280 VRM->assignVirt2Phys(VirtReg.reg, PhysReg);
282 PhysReg2LiveUnion[PhysReg].unify(VirtReg);
    [all...]
  /external/llvm/lib/CodeGen/
RegAllocBase.cpp 85 while (LiveInterval *VirtReg = dequeue()) {
86 assert(!VRM->hasPhys(VirtReg->reg) && "Register already assigned");
89 if (MRI->reg_nodbg_empty(VirtReg->reg)) {
90 DEBUG(dbgs() << "Dropping unused " << *VirtReg << '\n');
91 aboutToRemoveInterval(*VirtReg);
92 LIS->removeInterval(VirtReg->reg);
103 << TRI->getRegClassName(MRI->getRegClass(VirtReg->reg))
104 << ':' << *VirtReg << " w=" << VirtReg->weight << '\n');
107 unsigned AvailablePhysReg = selectOrSplit(*VirtReg, SplitVRegs)
    [all...]
LiveRegMatrix.cpp 97 void LiveRegMatrix::assign(LiveInterval &VirtReg, unsigned PhysReg) {
98 DEBUG(dbgs() << "assigning " << PrintReg(VirtReg.reg, TRI)
100 assert(!VRM->hasPhys(VirtReg.reg) && "Duplicate VirtReg assignment");
101 VRM->assignVirt2Phys(VirtReg.reg, PhysReg);
103 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit,
106 Matrix[Unit].unify(VirtReg, Range);
114 void LiveRegMatrix::unassign(LiveInterval &VirtReg) {
115 unsigned PhysReg = VRM->getPhys(VirtReg.reg);
116 DEBUG(dbgs() << "unassigning " << PrintReg(VirtReg.reg, TRI
    [all...]
AllocationOrder.cpp 30 AllocationOrder::AllocationOrder(unsigned VirtReg,
37 Order = RegClassInfo.getOrder(MF.getRegInfo().getRegClass(VirtReg));
38 TRI->getRegAllocationHints(VirtReg, Order, Hints, MF, &VRM, Matrix);
LiveIntervalUnion.cpp 29 void LiveIntervalUnion::unify(LiveInterval &VirtReg, const LiveRange &Range) {
40 SegPos.insert(RegPos->start, RegPos->end, &VirtReg);
50 SegPos.insert(RegEnd->start, RegEnd->end, &VirtReg);
52 SegPos.insert(RegPos->start, RegPos->end, &VirtReg);
56 void LiveIntervalUnion::extract(LiveInterval &VirtReg, const LiveRange &Range) {
67 assert(SegPos.value() == &VirtReg && "Inconsistent LiveInterval");
104 bool LiveIntervalUnion::Query::isSeenInterference(LiveInterval *VirtReg) const {
106 std::find(InterferingVRegs.begin(), InterferingVRegs.end(), VirtReg);
130 if (VirtReg->empty() || LiveUnion->empty()) {
135 // In most cases, the union will start before VirtReg
    [all...]
RegAllocFast.cpp 71 unsigned VirtReg; // Virtual register number.
77 : LastUse(nullptr), VirtReg(v), PhysReg(0), LastOpNum(0), Dirty(false){}
80 return TargetRegisterInfo::virtReg2Index(VirtReg);
112 // PhysRegState - One of the RegState enums, or a virtreg.
171 int getStackSpaceFor(unsigned VirtReg, const TargetRegisterClass *RC);
176 void killVirtReg(unsigned VirtReg);
178 void spillVirtReg(MachineBasicBlock::iterator MI, unsigned VirtReg);
184 LiveRegMap::iterator findLiveVirtReg(unsigned VirtReg) {
185 return LiveVirtRegs.find(TargetRegisterInfo::virtReg2Index(VirtReg));
187 LiveRegMap::const_iterator findLiveVirtReg(unsigned VirtReg) const
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/CodeGen/
LiveRegMatrix.h 100 /// VirtReg is live across a call, and PhysReg isn't call-preserved.
104 /// Check for interference before assigning VirtReg to PhysReg.
105 /// If this function returns IK_Free, it is legal to assign(VirtReg, PhysReg).
108 InterferenceKind checkInterference(LiveInterval &VirtReg, unsigned PhysReg);
110 /// Assign VirtReg to PhysReg.
111 /// This will mark VirtReg's live range as occupied in the LiveRegMatrix and
113 void assign(LiveInterval &VirtReg, unsigned PhysReg);
115 /// Unassign VirtReg from its PhysReg.
116 /// Assuming that VirtReg was previously assigned to a PhysReg, this undoes
118 void unassign(LiveInterval &VirtReg);
    [all...]

Completed in 195 milliseconds

1 2 3 4 5