Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86FloatingPoint.cpp67 memset(RegMap, 0, sizeof(RegMap)); in FPS()
165 unsigned RegMap[NumFPRegs]; member
187 return RegMap[RegNo]; in getSlot()
215 RegMap[Reg] = StackTop++; in pushReg()
234 std::swap(RegMap[RegNo], RegMap[RegOnTop]); in moveToTop()
237 if (RegMap[RegOnTop] >= StackTop) in moveToTop()
870 RegMap[TopReg] = OldSlot; in freeStackSlotBefore()
871 RegMap[FPRegNo] = ~0; in freeStackSlotBefore()
901 std::swap(RegMap[KReg], RegMap[DReg]); in adjustLiveRegs()
1364 RegMap[Dest] = UpdatedSlot; in handleTwoArgFP()
[all …]
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DCodeGenRegisters.cpp1313 using RegMap = std::map<const CodeGenRegister*, const CodeGenRegister*>; in computeComposites() typedef
1318 std::map<const CodeGenSubRegIndex*, RegMap> SubRegAction; in computeComposites()
1329 RegMap C; in computeComposites()
1330 const RegMap &Img1 = SubRegAction.at(Sub1); in computeComposites()
1331 const RegMap &Img2 = SubRegAction.at(Sub2); in computeComposites()
1341 auto agree = [] (const RegMap &Map1, const RegMap &Map2) { in computeComposites()
/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp83 } RegMap[] = { in initLLVMToSEHAndCVRegMapping() local
272 for (unsigned I = 0; I < array_lengthof(RegMap); ++I) in initLLVMToSEHAndCVRegMapping()
273 MRI->mapLLVMRegToCVReg(RegMap[I].Reg, static_cast<int>(RegMap[I].CVReg)); in initLLVMToSEHAndCVRegMapping()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp288 DenseMap<unsigned, unsigned> &RegMap = VRegMapping[RC]; in encodeVirtualRegister() local
289 unsigned RegNum = RegMap[Reg]; in encodeVirtualRegister()
583 const DenseMap<unsigned, unsigned> &RegMap = I->second; in getVirtualRegisterName() local
585 VRegMap::const_iterator VI = RegMap.find(Reg); in getVirtualRegisterName()
586 assert(VI != RegMap.end() && "Bad virtual register"); in getVirtualRegisterName()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A 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()
H A DHexagonBitSimplify.cpp3072 DenseMap<unsigned,unsigned> RegMap; in moveGroup() local
3081 RegMap.insert(std::make_pair(G.Inp.Reg, PhiR)); in moveGroup()
3099 unsigned UseR = RegMap[Op.getReg()]; in moveGroup()
3102 RegMap.insert(std::make_pair(DR, NewDR)); in moveGroup()
3105 HBS::replaceReg(OldPhiR, RegMap[G.Out.Reg], *MRI); in moveGroup()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A 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()
H A DMachineVerifier.cpp109 using RegMap = DenseMap<unsigned, const MachineInstr *>; typedef
137 RegMap vregsLiveIn;
199 bool addRequired(const RegMap &RM) { in addRequired()
201 for (RegMap::const_iterator I = RM.begin(), E = RM.end(); I != E; ++I) in addRequired()