Home
last modified time | relevance | path

Searched refs:getRegClassOrNull (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostSelectOptimize.cpp184 if (MRI.getRegClassOrNull(Dst) != GPRRegClass || in foldCopyDup()
185 MRI.getRegClassOrNull(Src) != FPRRegClass) in foldCopyDup()
201 if (MRI.getRegClassOrNull(UseOp0) == FPRRegClass && in foldCopyDup()
202 MRI.getRegClassOrNull(UseOp1) == GPRRegClass) in foldCopyDup()
H A DAArch64RegisterBankInfo.cpp1031 auto Idx = MRI.getRegClassOrNull(Src) == &AArch64::XSeqPairsClassRegClass in getInstrMapping()
H A DAArch64InstructionSelector.cpp4119 MRI.getRegClassOrNull(I.getOperand(1).getReg()); in selectUnmergeValues()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelect.cpp178 const TargetRegisterClass *DstRC = MRI.getRegClassOrNull(DstReg); in runOnMachineFunction()
270 const TargetRegisterClass *RC = MRI.getRegClassOrNull(VReg); in runOnMachineFunction()
H A DUtils.cpp69 auto *OldRegClass = MRI.getRegClassOrNull(Reg); in constrainOperandRegClass()
95 } else if (OldRegClass != MRI.getRegClassOrNull(Reg)) { in constrainOperandRegClass()
217 return DstRBC.is<const RegisterBank *>() && MRI.getRegClassOrNull(SrcReg) && in canReplaceReg()
219 *MRI.getRegClassOrNull(SrcReg)); in canReplaceReg()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp116 auto *RC = MRI.getRegClassOrNull(MI->getOperand(0).getReg()); in addConstantsToTrack()
117 if (!MRI.getRegClassOrNull(Reg) && RC) in addConstantsToTrack()
289 if (!MRI.getRegClassOrNull(Reg)) in propagateSPIRVType()
381 if (auto *RC = MRI.getRegClassOrNull(Reg)) { in insertAssignInstr()
506 auto *RCReg = MRI.getRegClassOrNull(Reg); in generateAssignInstrs()
507 auto *RCPrimary = MRI.getRegClassOrNull(PrimaryReg); in generateAssignInstrs()
H A DSPIRVInstrInfo.cpp63 auto DefRegClass = MRI.getRegClassOrNull(MI.getOperand(0).getReg()); in isTypeDeclInstr()
H A DSPIRVBuiltins.cpp585 if (!MRI->getRegClassOrNull(ArgReg))
762 if (!MRI->getRegClassOrNull(Tmp)) in buildAtomicCompareExchangeInst()
1076 if (!MRI->getRegClassOrNull(ScopeReg)) in generateGroupInst()
1085 if (!MRI->getRegClassOrNull(ArgReg)) in generateGroupInst()
2007 if (!MRI->getRegClassOrNull(GWSPtr)) in buildNDRange()
2498 if (!MIRBuilder.getMRI()->getRegClassOrNull(ReturnRegister)) in lowerBuiltin()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRVRegNamerUtils.cpp171 const TargetRegisterClass *RC = MRI.getRegClassOrNull(VReg); in createVirtualRegisterWithLowerName()
H A DMIRCanonicalizerPass.cpp319 if (!MRI.getRegClassOrNull(Dst)) in propagateLocalCopies()
H A DTargetRegisterInfo.cpp175 if (RegInfo.getRegClassOrNull(Reg)) in printRegClassOrBank()
H A DMachineVerifier.cpp1171 const TargetRegisterClass *DstRC = MRI->getRegClassOrNull(Dst); in verifyPreISelGenericInstruction()
1172 if (DstRC && DstRC != MRI->getRegClassOrNull(Src)) { in verifyPreISelGenericInstruction()
2527 const TargetRegisterClass *RC = MRI->getRegClassOrNull(Reg); in visitMachineOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUGlobalISelDivergenceLowering.cpp92 if (MRI->getRegClassOrNull(DstReg)) { in markAsLaneMask()
H A DSIMachineFunctionInfo.cpp777 const TargetRegisterClass *RC = MRI.getRegClassOrNull(Reg); in usesAGPRs()
H A DAMDGPUInstructionSelector.cpp178 if (!MRI->getRegClassOrNull(SrcReg)) in selectCOPY()
456 if (!MRI->getRegClassOrNull(Dst1Reg)) in selectG_UADDO_USUBO_UADDE_USUBE()
1549 if (!MRI->getRegClassOrNull(Reg)) in selectEndCfIntrinsic()
2142 if (!MRI->getRegClassOrNull(CCReg)) in selectG_SELECT()
2871 if (!MRI->getRegClassOrNull(CondReg)) in selectG_BRCOND()
H A DAMDGPULegalizerInfo.cpp2886 if (!B.getMRI()->getRegClassOrNull(PCReg)) in buildPCRelGlobalAddress()
2904 Register AddrLo = !RequiresHighHalf && !MRI.getRegClassOrNull(DstReg) in buildAbsGlobalAddress()
2908 if (!MRI.getRegClassOrNull(AddrLo)) in buildAbsGlobalAddress()
2930 Register AddrDst = !MRI.getRegClassOrNull(DstReg) in buildAbsGlobalAddress()
2934 if (!MRI.getRegClassOrNull(AddrDst)) in buildAbsGlobalAddress()
H A DSIISelLowering.cpp15722 const TargetRegisterClass *RC = MRI.getRegClassOrNull(Reg); in finalizeLowering()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h232 const TargetRegisterClass *RC = getRegClassOrNull(VReg); in shouldTrackSubRegLiveness()
670 const TargetRegisterClass *getRegClassOrNull(Register Reg) const { in getRegClassOrNull() function
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCMIPeephole.cpp1238 const TargetRegisterClass *SrcRC = MRI->getRegClassOrNull(SrcReg); in simplifyCode()
1239 const TargetRegisterClass *DstRC = MRI->getRegClassOrNull(DstReg); in simplifyCode()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETPAndVPTOptimisationsPass.cpp617 const TargetRegisterClass *RegClass = RegInfo.getRegClassOrNull(DstReg); in IsWritingToVCCR()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp342 const TargetRegisterClass *OldRC = MRI.getRegClassOrNull(DstReg); in selectCopy()
1585 if (!MRI.getRegClassOrNull(DstReg)) { in selectImplicitDefOrPHI()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64InstrInfo.cpp4134 return MF ? MF->getRegInfo().getRegClassOrNull(Reg) : nullptr; in getRegClass()