Searched refs:VRegAndVal (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
H A D | AArch64LegalizerInfo.cpp | 1364 auto VRegAndVal = getIConstantVRegValWithLookThrough(ShiftNo, MRI); in legalizeFunnelShift() local 1372 if (!VRegAndVal || VRegAndVal->Value.urem(BitWidth) == 0) in legalizeFunnelShift() 1376 APInt Amount = VRegAndVal->Value.urem(BitWidth); in legalizeFunnelShift() 1383 VRegAndVal->Value.ult(BitWidth)) in legalizeFunnelShift() 1700 auto VRegAndVal = getIConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr() local 1701 if (!VRegAndVal) in legalizeShlAshrLshr() 1704 int64_t Amount = VRegAndVal->Value.getSExtValue(); in legalizeShlAshrLshr() 2143 auto VRegAndVal = in legalizeExtractVectorElt() local 2145 if (VRegAndVal) in legalizeExtractVectorElt()
|
H A D | AArch64InstructionSelector.cpp | 1496 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg() local 1497 if (!VRegAndVal) { in getTestBitReg() 1502 VRegAndVal = getIConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg() 1504 if (VRegAndVal) { in getTestBitReg() 1506 C = VRegAndVal->Value.getZExtValue(); in getTestBitReg() 1508 C = VRegAndVal->Value.getSExtValue(); in getTestBitReg() 1516 auto VRegAndVal = in getTestBitReg() local 1518 if (VRegAndVal) in getTestBitReg() 1519 C = VRegAndVal->Value.getSExtValue(); in getTestBitReg() 1721 auto VRegAndVal = getIConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/ |
H A D | RISCVLegalizerInfo.cpp | 521 auto VRegAndVal = getIConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr() local 522 if (!VRegAndVal) in legalizeShlAshrLshr() 525 uint64_t Amount = VRegAndVal->Value.getZExtValue(); in legalizeShlAshrLshr()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | CombinerHelper.cpp | 2920 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstReg, MRI); in matchConstantLargerBitWidth() local 2921 if (!VRegAndVal) in matchConstantLargerBitWidth() 2925 return (VRegAndVal->Value.uge(DstTy.getSizeInBits())); in matchConstantLargerBitWidth() 2937 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstReg, MRI); in applyFunnelShiftConstantModulo() local 2938 assert((VRegAndVal) && "Value is not a constant"); in applyFunnelShiftConstantModulo() 2941 APInt NewConst = VRegAndVal->Value.urem( in applyFunnelShiftConstantModulo()
|
H A D | LegalizerHelper.cpp | 5306 if (auto VRegAndVal = getIConstantVRegValWithLookThrough(Amt, MRI)) { in narrowScalarShift() local 5307 return narrowScalarShiftByConstant(MI, VRegAndVal->Value, HalfTy, in narrowScalarShift()
|