Home
last modified time | relevance | path

Searched refs:SubRC (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/lib/CodeGen/GlobalISel/
DRegisterBank.cpp40 const TargetRegisterClass &SubRC = *TRI.getRegClass(RCId); in verify() local
42 if (!RC.hasSubClassEq(&SubRC)) in verify()
47 assert((getSize() >= SubRC.getSize() * 8) && in verify()
49 assert(covers(SubRC) && "Not all subclasses are covered"); in verify()
DRegisterBankInfo.cpp141 const TargetRegisterClass *SubRC = TRI.getRegClass(SubRCId); in addRegBankCoverage() local
142 for (SuperRegClassIterator SuperRCIt(SubRC, &TRI); SuperRCIt.isValid(); in addRegBankCoverage()
152 DEBUG(dbgs() << TRI.getRegClassName(SubRC) << ", "); in addRegBankCoverage()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DRegisterBank.cpp45 const TargetRegisterClass &SubRC = *TRI.getRegClass(RCId); in verify() local
47 if (!RC.hasSubClassEq(&SubRC)) in verify()
52 assert(getSize() >= TRI.getRegSizeInBits(SubRC) && in verify()
54 assert(covers(SubRC) && "Not all subclasses are covered"); in verify()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DRegisterBank.cpp45 const TargetRegisterClass &SubRC = *TRI.getRegClass(RCId); in verify() local
47 if (!RC.hasSubClassEq(&SubRC)) in verify()
52 assert(getSize() >= TRI.getRegSizeInBits(SubRC) && in verify()
54 assert(covers(SubRC) && "Not all subclasses are covered"); in verify()
/external/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp117 const TargetRegisterClass *SubRC = getRegClass(It.getID()); in getAllocatableClass() local
118 if (SubRC->isAllocatable()) in getAllocatableClass()
119 return SubRC; in getAllocatableClass()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp179 const TargetRegisterClass *SubRC = getRegClass(It.getID()); in getAllocatableClass() local
180 if (SubRC->isAllocatable()) in getAllocatableClass()
181 return SubRC; in getAllocatableClass()
/external/llvm-project/llvm/lib/CodeGen/
DTargetRegisterInfo.cpp199 const TargetRegisterClass *SubRC = getRegClass(It.getID()); in getAllocatableClass() local
200 if (SubRC->isAllocatable()) in getAllocatableClass()
201 return SubRC; in getAllocatableClass()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenRegisters.cpp958 CodeGenRegisterClass &SubRC = *I2; in computeSubClasses() local
959 if (RC.SubClasses.test(SubRC.EnumValue)) in computeSubClasses()
961 if (!testSubClass(&RC, &SubRC)) in computeSubClasses()
965 RC.SubClasses |= SubRC.SubClasses; in computeSubClasses()
2224 CodeGenRegisterClass *SubRC = in inferSubClassWithSubReg() local
2227 RC->setSubClassWithSubReg(&SubIdx, SubRC); in inferSubClassWithSubReg()
2269 CodeGenRegisterClass &SubRC = *I; in inferMatchingSuperRegClass() local
2270 if (SubRC.Artificial) in inferMatchingSuperRegClass()
2273 if (!TopoSigs.anyCommon(SubRC.getTopoSigs())) in inferMatchingSuperRegClass()
2278 if (SubRC.contains(SSPairs[i].second)) in inferMatchingSuperRegClass()
[all …]
DCodeGenRegisters.h401 CodeGenRegisterClass *SubRC) { in setSubClassWithSubReg() argument
402 SubClassWithSubReg[SubIdx] = SubRC; in setSubClassWithSubReg()
DRISCVCompressInstEmitter.cpp164 const CodeGenRegisterClass &SubRC = Target.getRegisterClass(DagOpType); in validateTypes() local
165 return RC.hasSubClass(&SubRC); in validateTypes()
/external/llvm/utils/TableGen/
DCodeGenRegisters.cpp861 CodeGenRegisterClass &SubRC = *I2; in computeSubClasses() local
862 if (RC.SubClasses.test(SubRC.EnumValue)) in computeSubClasses()
864 if (!testSubClass(&RC, &SubRC)) in computeSubClasses()
868 RC.SubClasses |= SubRC.SubClasses; in computeSubClasses()
1938 CodeGenRegisterClass *SubRC = in inferSubClassWithSubReg() local
1941 RC->setSubClassWithSubReg(&SubIdx, SubRC); in inferSubClassWithSubReg()
1983 CodeGenRegisterClass &SubRC = *I; in inferMatchingSuperRegClass() local
1985 if (!TopoSigs.anyCommon(SubRC.getTopoSigs())) in inferMatchingSuperRegClass()
1990 if (SubRC.contains(SSPairs[i].second)) in inferMatchingSuperRegClass()
1999 SubRC.addSuperRegClass(&SubIdx, RC); in inferMatchingSuperRegClass()
[all …]
DCodeGenRegisters.h354 CodeGenRegisterClass *SubRC) { in setSubClassWithSubReg() argument
355 SubClassWithSubReg[SubIdx] = SubRC; in setSubClassWithSubReg()
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.h143 unsigned getPhysRegSubReg(unsigned Reg, const TargetRegisterClass *SubRC,
DSIInstrInfo.h49 const TargetRegisterClass *SubRC) const;
55 const TargetRegisterClass *SubRC) const;
DSIRegisterInfo.cpp832 const TargetRegisterClass *SubRC, in getPhysRegSubReg() argument
891 return SubRC->getRegister(Index + Channel); in getPhysRegSubReg()
DSIInstrInfo.cpp1906 const TargetRegisterClass *SubRC) in buildExtractSubReg()
1910 unsigned SubReg = MRI.createVirtualRegister(SubRC); in buildExtractSubReg()
1939 const TargetRegisterClass *SubRC) const { in buildExtractSubRegOrImm()
1951 SubIdx, SubRC); in buildExtractSubRegOrImm()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.h81 const TargetRegisterClass &SubRC,
DSIInstrInfo.h74 const TargetRegisterClass *SubRC) const;
80 const TargetRegisterClass *SubRC) const;
DAMDGPUInstructionSelector.cpp205 const TargetRegisterClass &SubRC, in getSubOperand64() argument
210 Register DstReg = MRI->createVirtualRegister(&SubRC); in getSubOperand64()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DGCNRegBankReassign.cpp311 const TargetRegisterClass *SubRC = TRI->getSubRegClass(RC, SubReg); in getPhysRegBank() local
313 if (TRI->getRegSizeInBits(*SubRC) > 32) in getPhysRegBank()
DAMDGPUInstructionSelector.h88 const TargetRegisterClass &SubRC,
DSIInstrInfo.h74 const TargetRegisterClass *SubRC) const;
80 const TargetRegisterClass *SubRC) const;
/external/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp3481 const TargetRegisterClass *SubRC; in genAlternativeCodeSequence() local
3485 SubRC = &AArch64::GPR32spRegClass; in genAlternativeCodeSequence()
3491 SubRC = &AArch64::GPR64spRegClass; in genAlternativeCodeSequence()
3496 unsigned NewVR = MRI.createVirtualRegister(SubRC); in genAlternativeCodeSequence()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp4457 const TargetRegisterClass *SubRC; in genAlternativeCodeSequence() local
4461 SubRC = &AArch64::GPR32spRegClass; in genAlternativeCodeSequence()
4467 SubRC = &AArch64::GPR64spRegClass; in genAlternativeCodeSequence()
4472 Register NewVR = MRI.createVirtualRegister(SubRC); in genAlternativeCodeSequence()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp4833 const TargetRegisterClass *SubRC; in genAlternativeCodeSequence() local
4837 SubRC = &AArch64::GPR32spRegClass; in genAlternativeCodeSequence()
4843 SubRC = &AArch64::GPR64spRegClass; in genAlternativeCodeSequence()
4848 Register NewVR = MRI.createVirtualRegister(SubRC); in genAlternativeCodeSequence()

12