Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/
DRegisterCoalescer.h57 const TargetRegisterClass *NewRC; variable
62 Partial(false), CrossClass(false), Flipped(false), NewRC(nullptr) {} in CoalescerPair()
69 Partial(false), CrossClass(false), Flipped(false), NewRC(nullptr) {} in CoalescerPair()
84 bool isPhys() const { return !NewRC; } in isPhys()
112 const TargetRegisterClass *getNewRC() const { return NewRC; } in getNewRC()
DMachineRegisterInfo.cpp52 const TargetRegisterClass *NewRC = in constrainRegClass() local
54 if (!NewRC || NewRC == OldRC) in constrainRegClass()
55 return NewRC; in constrainRegClass()
56 if (NewRC->getNumRegs() < MinNumRegs) in constrainRegClass()
58 setRegClass(Reg, NewRC); in constrainRegClass()
59 return NewRC; in constrainRegClass()
66 const TargetRegisterClass *NewRC = in recomputeRegClass() local
70 if (NewRC == OldRC) in recomputeRegClass()
78 NewRC = MI->getRegClassConstraintEffect(OpNo, NewRC, TII, in recomputeRegClass()
80 if (!NewRC || NewRC == OldRC) in recomputeRegClass()
[all …]
DCriticalAntiDepBreaker.cpp177 const TargetRegisterClass *NewRC = nullptr; in PrescanInstruction() local
180 NewRC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in PrescanInstruction()
184 if (!Classes[Reg] && NewRC) in PrescanInstruction()
185 Classes[Reg] = NewRC; in PrescanInstruction()
186 else if (!NewRC || Classes[Reg] != NewRC) in PrescanInstruction()
293 const TargetRegisterClass *NewRC = nullptr; in ScanInstruction() local
295 NewRC = TII->getRegClass(MI->getDesc(), i, TRI, MF); in ScanInstruction()
299 if (!Classes[Reg] && NewRC) in ScanInstruction()
300 Classes[Reg] = NewRC; in ScanInstruction()
301 else if (!NewRC || Classes[Reg] != NewRC) in ScanInstruction()
DRegisterCoalescer.cpp306 NewRC = nullptr; in setRegisters()
351 NewRC = TRI.getCommonSuperRegClass(SrcRC, SrcSub, DstRC, DstSub, in setRegisters()
353 if (!NewRC) in setRegisters()
358 NewRC = TRI.getMatchingSuperRegClass(DstRC, SrcRC, DstSub); in setRegisters()
362 NewRC = TRI.getMatchingSuperRegClass(SrcRC, DstRC, SrcSub); in setRegisters()
365 NewRC = TRI.getCommonSubClass(DstRC, SrcRC); in setRegisters()
369 if (!NewRC) in setRegisters()
380 CrossClass = NewRC != DstRC || NewRC != SrcRC; in setRegisters()
953 const TargetRegisterClass *NewRC = CP.getNewRC(); in reMaterializeTrivialDef() local
963 NewRC = CommonRC; in reMaterializeTrivialDef()
[all …]
DPeepholeOptimizer.cpp720 const TargetRegisterClass *NewRC = MRI->getRegClass(SrcRegs[0].Reg); in insertPHI() local
721 unsigned NewVR = MRI->createVirtualRegister(NewRC); in insertPHI()
/external/llvm/lib/Target/ARM/
DARMBaseRegisterInfo.h186 const TargetRegisterClass *NewRC) const override;
DARMBaseRegisterInfo.cpp760 const TargetRegisterClass *NewRC) const { in shouldCoalesce()
769 if (NewRC->getSize() < 32 && DstRC->getSize() < 32 && SrcRC->getSize() < 32) in shouldCoalesce()
773 MRI.getTargetRegisterInfo()->getRegClassWeight(NewRC); in shouldCoalesce()
/external/llvm/include/llvm/Target/
DTargetRegisterInfo.h875 const TargetRegisterClass *NewRC) const in shouldCoalesce() argument