Home
last modified time | relevance | path

Searched refs:RegMap (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp66 memset(RegMap, 0, sizeof(RegMap)); in FPS()
151 unsigned RegMap[NumFPRegs]; member
164 assert(RegMap[Stack[i]] == i && "Stack[] doesn't match RegMap[]!"); in dumpStack()
173 return RegMap[RegNo]; in getSlot()
201 RegMap[Reg] = StackTop++; in pushReg()
213 std::swap(RegMap[RegNo], RegMap[RegOnTop]); in moveToTop()
216 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
218 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
787 RegMap[Stack[--StackTop]] = ~0; // Update state in popStackAfter()
824 RegMap[TopReg] = OldSlot; in freeStackSlotBefore()
[all …]
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp101 static unsigned RegMap[8] = {Hexagon::R8, Hexagon::R9, Hexagon::R10, in EncodeSingleInstruction() local
119 HMB.getOperand(i).setReg(RegMap[Reg - 16]); in EncodeSingleInstruction()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp303 DenseMap<unsigned, unsigned> &RegMap = VRegMapping[RC]; in encodeVirtualRegister() local
304 unsigned RegNum = RegMap[Reg]; in encodeVirtualRegister()
570 const DenseMap<unsigned, unsigned> &RegMap = I->second; in getVirtualRegisterName() local
572 VRegMap::const_iterator VI = RegMap.find(Reg); in getVirtualRegisterName()
573 assert(VI != RegMap.end() && "Bad virtual register"); in getVirtualRegisterName()
/external/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp1369 UnsignedMap RegMap; in generateInserts() local
1374 RegMap[VR] = NewVR; in generateInserts()
1384 unsigned NewR = RegMap[I->first]; in generateInserts()
1416 MRI->replaceRegWith(I->first, RegMap[I->first]); in generateInserts()
DHexagonBitSimplify.cpp2483 DenseMap<unsigned,unsigned> RegMap; in moveGroup() local
2492 RegMap.insert(std::make_pair(G.Inp.Reg, PhiR)); in moveGroup()
2510 unsigned UseR = RegMap[Op.getReg()]; in moveGroup()
2513 RegMap.insert(std::make_pair(DR, NewDR)); in moveGroup()
2516 HBS::replaceReg(OldPhiR, RegMap[G.Out.Reg], *MRI); in moveGroup()
/external/llvm/lib/CodeGen/
DMachineVerifier.cpp76 typedef DenseMap<unsigned, const MachineInstr*> RegMap; typedef
104 RegMap vregsLiveIn;
166 bool addRequired(const RegMap &RM) { in addRequired()
168 for (RegMap::const_iterator I = RM.begin(), E = RM.end(); I != E; ++I) in addRequired()
DTwoAddressInstructionPass.cpp520 getMappedReg(unsigned Reg, DenseMap<unsigned, unsigned> &RegMap) { in getMappedReg() argument
522 DenseMap<unsigned, unsigned>::iterator SI = RegMap.find(Reg); in getMappedReg()
523 if (SI == RegMap.end()) in getMappedReg()