Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp51 const TargetRegisterClass *NewRC = TRI->getCommonSubClass(OldRC, RC); in constrainRegClass() local
52 if (!NewRC || NewRC == OldRC) in constrainRegClass()
53 return NewRC; in constrainRegClass()
54 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
56 setRegClass(Reg, NewRC); in constrainRegClass()
57 return NewRC; in constrainRegClass()
64 const TargetRegisterClass *NewRC = TRI->getLargestLegalSuperClass(OldRC); in recomputeRegClass() local
67 if (NewRC == OldRC) in recomputeRegClass()
77 NewRC = TRI->getMatchingSuperRegClass(NewRC, OpRC, SubIdx); in recomputeRegClass()
79 NewRC = TRI->getSubClassWithSubReg(NewRC, SubIdx); in recomputeRegClass()
[all …]
DRegisterCoalescer.h59 const TargetRegisterClass *NewRC; variable
64 Partial(false), CrossClass(false), Flipped(false), NewRC(0) {} in CoalescerPair()
71 Partial(false), CrossClass(false), Flipped(false), NewRC(0) {} in CoalescerPair()
86 bool isPhys() const { return !NewRC; } in isPhys()
116 const TargetRegisterClass *getNewRC() const { return NewRC; } in getNewRC()
DCriticalAntiDepBreaker.cpp174 const TargetRegisterClass *NewRC = 0; in PrescanInstruction() local
177 NewRC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in PrescanInstruction()
181 if (!Classes[Reg] && NewRC) in PrescanInstruction()
182 Classes[Reg] = NewRC; in PrescanInstruction()
183 else if (!NewRC || Classes[Reg] != NewRC) in PrescanInstruction()
270 const TargetRegisterClass *NewRC = 0; in ScanInstruction() local
272 NewRC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in ScanInstruction()
276 if (!Classes[Reg] && NewRC) in ScanInstruction()
277 Classes[Reg] = NewRC; in ScanInstruction()
278 else if (!NewRC || Classes[Reg] != NewRC) in ScanInstruction()
DRegisterCoalescer.cpp254 NewRC = 0; in setRegisters()
300 NewRC = TRI.getCommonSuperRegClass(SrcRC, SrcSub, DstRC, DstSub, in setRegisters()
302 if (!NewRC) in setRegisters()
307 NewRC = TRI.getMatchingSuperRegClass(DstRC, SrcRC, DstSub); in setRegisters()
311 NewRC = TRI.getMatchingSuperRegClass(SrcRC, DstRC, SrcSub); in setRegisters()
314 NewRC = TRI.getCommonSubClass(DstRC, SrcRC); in setRegisters()
318 if (!NewRC) in setRegisters()
329 CrossClass = NewRC != DstRC || NewRC != SrcRC; in setRegisters()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp1098 CodeGenRegisterClass *NewRC = new CodeGenRegisterClass(*this, Name, K); in getOrCreateSubClass() local
1099 addToMaps(NewRC); in getOrCreateSubClass()
1100 return NewRC; in getOrCreateSubClass()