Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DMachineRegisterInfo.cpp56 const TargetRegisterClass *NewRC = TRI->getCommonSubClass(OldRC, RC); in constrainRegClass() local
57 if (!NewRC || NewRC == OldRC) in constrainRegClass()
58 return NewRC; in constrainRegClass()
59 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
61 setRegClass(Reg, NewRC); in constrainRegClass()
62 return NewRC; in constrainRegClass()
69 const TargetRegisterClass *NewRC = TRI->getLargestLegalSuperClass(OldRC); in recomputeRegClass() local
72 if (NewRC == OldRC) in recomputeRegClass()
82 NewRC = TRI->getMatchingSuperRegClass(NewRC, OpRC, SubIdx); in recomputeRegClass()
84 NewRC = TRI->getSubClassWithSubReg(NewRC, SubIdx); in recomputeRegClass()
[all …]
DRegisterCoalescer.h56 const TargetRegisterClass *NewRC; variable
61 Partial(false), CrossClass(false), Flipped(false), NewRC(0) {} in CoalescerPair()
76 bool isPhys() const { return !NewRC; } in isPhys()
102 const TargetRegisterClass *getNewRC() const { return NewRC; } in getNewRC()
DCriticalAntiDepBreaker.cpp208 const TargetRegisterClass *NewRC = 0; in PrescanInstruction() local
211 NewRC = TII->getRegClass(MI->getDesc(), i, TRI); in PrescanInstruction()
215 if (!Classes[Reg] && NewRC) in PrescanInstruction()
216 Classes[Reg] = NewRC; in PrescanInstruction()
217 else if (!NewRC || Classes[Reg] != NewRC) in PrescanInstruction()
309 const TargetRegisterClass *NewRC = 0; in ScanInstruction() local
311 NewRC = TII->getRegClass(MI->getDesc(), i, TRI); in ScanInstruction()
315 if (!Classes[Reg] && NewRC) in ScanInstruction()
316 Classes[Reg] = NewRC; in ScanInstruction()
317 else if (!NewRC || Classes[Reg] != NewRC) in ScanInstruction()
DRegisterCoalescer.cpp158 const TargetRegisterClass *NewRC);
237 NewRC = 0; in setRegisters()
302 NewRC = TRI.getMatchingSuperRegClass(DstRC, SrcRC, DstSub); in setRegisters()
304 NewRC = TRI.getCommonSubClass(DstRC, SrcRC); in setRegisters()
305 if (!NewRC) in setRegisters()
307 CrossClass = NewRC != DstRC || NewRC != SrcRC; in setRegisters()
1062 const TargetRegisterClass *NewRC) { in isWinToJoinCrossClass() argument
1063 unsigned NewRCCount = RegClassInfo.getNumAllocatableRegs(NewRC); in isWinToJoinCrossClass()
1092 if (SrcRC != NewRC && SrcSize > ThresSize) { in isWinToJoinCrossClass()
1097 if (DstRC != NewRC && DstSize > ThresSize) { in isWinToJoinCrossClass()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp847 CodeGenRegisterClass *NewRC = new CodeGenRegisterClass(Name, K); in getOrCreateSubClass() local
848 addToMaps(NewRC); in getOrCreateSubClass()
849 return NewRC; in getOrCreateSubClass()