Home
last modified time | relevance | path

Searched refs:virtReg (Results 1 – 5 of 5) sorted by relevance

/external/llvm/include/llvm/CodeGen/
DVirtRegMap.h92 bool hasPhys(unsigned virtReg) const { in hasPhys() argument
93 return getPhys(virtReg) != NO_PHYS_REG; in hasPhys()
98 unsigned getPhys(unsigned virtReg) const { in getPhys() argument
99 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in getPhys()
100 return Virt2PhysMap[virtReg]; in getPhys()
105 void assignVirt2Phys(unsigned virtReg, unsigned physReg) { in assignVirt2Phys() argument
106 assert(TargetRegisterInfo::isVirtualRegister(virtReg) && in assignVirt2Phys()
108 assert(Virt2PhysMap[virtReg] == NO_PHYS_REG && in assignVirt2Phys()
111 Virt2PhysMap[virtReg] = physReg; in assignVirt2Phys()
116 void clearVirt(unsigned virtReg) { in clearVirt() argument
[all …]
DLiveIntervalUnion.h149 LiveInterval &virtReg() const { in virtReg() function
/external/mesa3d/src/gallium/drivers/radeon/
DSIAssignInterpRegs.cpp39 unsigned physReg, unsigned virtReg);
124 unsigned physReg, unsigned virtReg) in AddLiveIn() argument
128 MRI.addLiveIn(physReg, virtReg); in AddLiveIn()
131 TII->get(TargetOpcode::COPY), virtReg) in AddLiveIn()
134 MRI.replaceRegWith(virtReg, MRI.getLiveInVirtReg(physReg)); in AddLiveIn()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DSIAssignInterpRegs.cpp39 unsigned physReg, unsigned virtReg);
124 unsigned physReg, unsigned virtReg) in AddLiveIn() argument
128 MRI.addLiveIn(physReg, virtReg); in AddLiveIn()
131 TII->get(TargetOpcode::COPY), virtReg) in AddLiveIn()
134 MRI.replaceRegWith(virtReg, MRI.getLiveInVirtReg(physReg)); in AddLiveIn()
/external/llvm/lib/CodeGen/
DVirtRegMap.cpp101 int VirtRegMap::assignVirt2StackSlot(unsigned virtReg) { in assignVirt2StackSlot() argument
102 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()
103 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()
105 const TargetRegisterClass* RC = MF->getRegInfo().getRegClass(virtReg); in assignVirt2StackSlot()
106 return Virt2StackSlotMap[virtReg] = createSpillSlot(RC); in assignVirt2StackSlot()
109 void VirtRegMap::assignVirt2StackSlot(unsigned virtReg, int SS) { in assignVirt2StackSlot() argument
110 assert(TargetRegisterInfo::isVirtualRegister(virtReg)); in assignVirt2StackSlot()
111 assert(Virt2StackSlotMap[virtReg] == NO_STACK_SLOT && in assignVirt2StackSlot()
116 Virt2StackSlotMap[virtReg] = SS; in assignVirt2StackSlot()