HomeSort by relevance Sort by last modified time
    Searched defs:VirtReg (Results 1 - 6 of 6) sorted by null

  /external/llvm/lib/CodeGen/
VirtRegMap.cpp 80 bool VirtRegMap::hasPreferredPhys(unsigned VirtReg) {
81 unsigned Hint = MRI->getSimpleHint(VirtReg);
86 return getPhys(VirtReg) == Hint;
89 bool VirtRegMap::hasKnownPreference(unsigned VirtReg) {
90 std::pair<unsigned, unsigned> Hint = MRI->getRegAllocationHint(VirtReg);
98 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) {
99 assert(TargetRegisterInfo::isVirtualRegister(virtReg));
100 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT &&
102 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg);
103 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC)
    [all...]
LiveDebugVariables.cpp 307 /// lookupVirtReg - Find the EC leader for VirtReg or null.
308 UserValue *lookupVirtReg(unsigned VirtReg);
345 void mapVirtReg(unsigned VirtReg, UserValue *EC);
436 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) {
437 assert(TargetRegisterInfo::isVirtualRegister(VirtReg) && "Only map VirtRegs");
438 UserValue *&Leader = virtRegToEqClass[VirtReg];
442 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) {
443 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg))
874 unsigned VirtReg = Loc.getReg();
875 if (VRM.isAssignedReg(VirtReg) &
    [all...]
MachineBasicBlock.cpp 362 unsigned VirtReg = I->getOperand(0).getReg();
363 if (!MRI.constrainRegClass(VirtReg, RC))
365 return VirtReg;
369 unsigned VirtReg = MRI.createVirtualRegister(RC);
370 BuildMI(*this, I, DebugLoc(), TII.get(TargetOpcode::COPY), VirtReg)
374 return VirtReg;
    [all...]
RegAllocFast.cpp 72 unsigned VirtReg; // Virtual register number.
78 : LastUse(0), VirtReg(v), PhysReg(0), LastOpNum(0), Dirty(false) {}
81 return TargetRegisterInfo::virtReg2Index(VirtReg);
113 // PhysRegState - One of the RegState enums, or a virtreg.
167 int getStackSpaceFor(unsigned VirtReg, const TargetRegisterClass *RC);
172 void killVirtReg(unsigned VirtReg);
174 void spillVirtReg(MachineBasicBlock::iterator MI, unsigned VirtReg);
180 LiveRegMap::iterator findLiveVirtReg(unsigned VirtReg) {
181 return LiveVirtRegs.find(TargetRegisterInfo::virtReg2Index(VirtReg));
183 LiveRegMap::const_iterator findLiveVirtReg(unsigned VirtReg) const
    [all...]
  /external/llvm/include/llvm/CodeGen/
LiveIntervalUnion.h 87 void unify(LiveInterval &VirtReg);
90 void extract(LiveInterval &VirtReg);
107 LiveInterval *VirtReg;
108 LiveInterval::iterator VirtRegI; // current position in VirtReg
117 Query(): LiveUnion(), VirtReg(), Tag(0), UserTag(0) {}
120 LiveUnion(LIU), VirtReg(VReg), CheckedFirstInterference(false),
126 VirtReg = NULL;
137 if (UserTag == UTag && VirtReg == VReg &&
144 VirtReg = VReg;
149 LiveInterval &virtReg() const
    [all...]
ScheduleDAGInstrs.h 34 unsigned VirtReg;
37 VReg2SUnit(unsigned reg, SUnit *su): VirtReg(reg), SU(su) {}
40 return TargetRegisterInfo::virtReg2Index(VirtReg);

Completed in 813 milliseconds