Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FloatingPoint.cpp60 memset(RegMap, 0, sizeof(RegMap)); in FPS()
146 unsigned RegMap[NumFPRegs]; member
179 assert(RegMap[Stack[i]] == i && "Stack[] doesn't match RegMap[]!"); in dumpStack()
190 return RegMap[RegNo]; in getSlot()
231 RegMap[Reg] = StackTop++; in pushReg()
243 std::swap(RegMap[RegNo], RegMap[RegOnTop]); in moveToTop()
246 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
248 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
834 RegMap[Stack[--StackTop]] = ~0; // Update state in popStackAfter()
871 RegMap[TopReg] = OldSlot; in freeStackSlotBefore()
[all …]
/external/llvm/lib/Target/X86/
DX86FloatingPoint.cpp66 memset(RegMap, 0, sizeof(RegMap)); in FPS()
156 unsigned RegMap[NumFPRegs]; member
169 assert(RegMap[Stack[i]] == i && "Stack[] doesn't match RegMap[]!"); in dumpStack()
178 return RegMap[RegNo]; in getSlot()
206 RegMap[Reg] = StackTop++; in pushReg()
218 std::swap(RegMap[RegNo], RegMap[RegOnTop]); in moveToTop()
221 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
223 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
796 RegMap[Stack[--StackTop]] = ~0; // Update state in popStackAfter()
833 RegMap[TopReg] = OldSlot; in freeStackSlotBefore()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86FloatingPoint.cpp67 memset(RegMap, 0, sizeof(RegMap)); in FPS()
165 unsigned RegMap[NumFPRegs]; member
178 assert(RegMap[Stack[i]] == i && "Stack[] doesn't match RegMap[]!"); in dumpStack()
187 return RegMap[RegNo]; in getSlot()
215 RegMap[Reg] = StackTop++; in pushReg()
222 RegMap[Stack[--StackTop]] = ~0; // Update state in popReg()
234 std::swap(RegMap[RegNo], RegMap[RegOnTop]); in moveToTop()
237 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
239 std::swap(Stack[RegMap[RegOnTop]], Stack[StackTop-1]); in moveToTop()
870 RegMap[TopReg] = OldSlot; in freeStackSlotBefore()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp83 } RegMap[] = { in initLLVMToSEHAndCVRegMapping() local
199 for (unsigned I = 0; I < array_lengthof(RegMap); ++I) in initLLVMToSEHAndCVRegMapping()
200 MRI->mapLLVMRegToCVReg(RegMap[I].Reg, static_cast<int>(RegMap[I].CVReg)); in initLLVMToSEHAndCVRegMapping()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineVerifier.cpp73 typedef DenseMap<unsigned, const MachineInstr*> RegMap; typedef
98 RegMap vregsLiveIn;
157 bool addRequired(const RegMap &RM) { in addRequired()
159 for (RegMap::const_iterator I = RM.begin(), E = RM.end(); I != E; ++I) in addRequired()
DTwoAddressInstructionPass.cpp501 getMappedReg(unsigned Reg, DenseMap<unsigned, unsigned> &RegMap) { in getMappedReg() argument
503 DenseMap<unsigned, unsigned>::iterator SI = RegMap.find(Reg); in getMappedReg()
504 if (SI == RegMap.end()) in getMappedReg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp286 DenseMap<unsigned, unsigned> &RegMap = VRegMapping[RC]; in encodeVirtualRegister() local
287 unsigned RegNum = RegMap[Reg]; in encodeVirtualRegister()
580 const DenseMap<unsigned, unsigned> &RegMap = I->second; in getVirtualRegisterName() local
582 VRegMap::const_iterator VI = RegMap.find(Reg); in getVirtualRegisterName()
583 assert(VI != RegMap.end() && "Bad virtual register"); in getVirtualRegisterName()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp114 static unsigned RegMap[8] = {Hexagon::R8, Hexagon::R9, Hexagon::R10, in EncodeSingleInstruction() local
132 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()
571 const DenseMap<unsigned, unsigned> &RegMap = I->second; in getVirtualRegisterName() local
573 VRegMap::const_iterator VI = RegMap.find(Reg); in getVirtualRegisterName()
574 assert(VI != RegMap.end() && "Bad virtual register"); in getVirtualRegisterName()
/external/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp1367 UnsignedMap RegMap; in generateInserts() local
1372 RegMap[VR] = NewVR; in generateInserts()
1382 unsigned NewR = RegMap[I->first]; in generateInserts()
1414 MRI->replaceRegWith(I->first, RegMap[I->first]); in generateInserts()
DHexagonBitSimplify.cpp2488 DenseMap<unsigned,unsigned> RegMap; in moveGroup() local
2497 RegMap.insert(std::make_pair(G.Inp.Reg, PhiR)); in moveGroup()
2515 unsigned UseR = RegMap[Op.getReg()]; in moveGroup()
2518 RegMap.insert(std::make_pair(DR, NewDR)); in moveGroup()
2521 HBS::replaceReg(OldPhiR, RegMap[G.Out.Reg], *MRI); in moveGroup()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonGenInsert.cpp1399 UnsignedMap RegMap; in generateInserts() local
1404 RegMap[VR] = NewVR; in generateInserts()
1414 unsigned NewR = RegMap[I->first]; in generateInserts()
1446 MRI->replaceRegWith(I->first, RegMap[I->first]); in generateInserts()
DHexagonBitSimplify.cpp3064 DenseMap<unsigned,unsigned> RegMap; in moveGroup() local
3073 RegMap.insert(std::make_pair(G.Inp.Reg, PhiR)); in moveGroup()
3091 unsigned UseR = RegMap[Op.getReg()]; in moveGroup()
3094 RegMap.insert(std::make_pair(DR, NewDR)); in moveGroup()
3097 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTwoAddressInstructionPass.cpp549 getMappedReg(unsigned Reg, DenseMap<unsigned, unsigned> &RegMap) { in getMappedReg() argument
551 DenseMap<unsigned, unsigned>::iterator SI = RegMap.find(Reg); in getMappedReg()
552 if (SI == RegMap.end()) in getMappedReg()
DMachineVerifier.cpp108 using RegMap = DenseMap<unsigned, const MachineInstr *>; typedef
135 RegMap vregsLiveIn;
197 bool addRequired(const RegMap &RM) { in addRequired()
199 for (RegMap::const_iterator I = RM.begin(), E = RM.end(); I != E; ++I) in addRequired()