Home
last modified time | relevance | path

Searched refs:RHSDef (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVInstructionSelector.cpp570 MachineInstr *RHSDef = MRI->getVRegDef(RHS.getReg()); in selectAddrRegImm() local
572 int64_t RHSC = RHSDef->getOperand(1).getCImm()->getSExtValue(); in selectAddrRegImm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp5424 auto *RHSDef = getOpcodeDef<GBuildVector>(RHS, MRI); in buildUDivorURemUsingMul() local
5425 if (RHSDef) { in buildUDivorURemUsingMul()
5496 auto *RHSDef = MRI.getVRegDef(RHS); in matchUDivorURemByConst() local
5497 if (!isConstantOrConstantVector(*RHSDef, MRI)) in matchUDivorURemByConst()
5551 auto *RHSDef = MRI.getVRegDef(RHS); in matchSDivByConst() local
5552 if (!isConstantOrConstantVector(*RHSDef, MRI)) in matchSDivByConst()
5679 auto *RHSDef = getOpcodeDef<GBuildVector>(RHS, MRI); in buildSDivUsingMul() local
5680 if (RHSDef) { in buildSDivUsingMul()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp5149 MachineInstr *RHSDef = getDefIgnoringCopies(RHS.getReg(), MRI); in tryFoldIntegerCompare() local
5172 if (isCMN(RHSDef, P, MRI)) in tryFoldIntegerCompare()
5173 return emitCMN(LHS, RHSDef->getOperand(2), MIRBuilder); in tryFoldIntegerCompare()
7677 MachineInstr *RHSDef = MRI.getVRegDef(RHS.getReg()); in selectAddrModeIndexed() local
7679 int64_t RHSC = (int64_t)RHSDef->getOperand(1).getCImm()->getZExtValue(); in selectAddrModeIndexed()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp5538 auto RHSDef = getDefSrcRegIgnoringCopies(RHS, *MRI); in selectScratchSAddr() local
5541 isSGPR(RHSDef->Reg)) { in selectScratchSAddr()
5550 .addReg(RHSDef->Reg) in selectScratchSAddr()