Home
last modified time | relevance | path

Searched refs:VRegAndVal (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64LegalizerInfo.cpp1252 auto VRegAndVal = getIConstantVRegValWithLookThrough(ShiftNo, MRI); in legalizeFunnelShift() local
1260 if (!VRegAndVal || VRegAndVal->Value.urem(BitWidth) == 0) in legalizeFunnelShift()
1264 APInt Amount = VRegAndVal->Value.urem(BitWidth); in legalizeFunnelShift()
1271 VRegAndVal->Value.ult(BitWidth)) in legalizeFunnelShift()
1555 auto VRegAndVal = getIConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr() local
1556 if (!VRegAndVal) in legalizeShlAshrLshr()
1559 int64_t Amount = VRegAndVal->Value.getSExtValue(); in legalizeShlAshrLshr()
2033 auto VRegAndVal = in legalizeExtractVectorElt() local
2035 if (VRegAndVal) in legalizeExtractVectorElt()
H A DAArch64InstructionSelector.cpp1481 if (!VRegAndVal) { in getTestBitReg()
1488 if (VRegAndVal) { in getTestBitReg()
1500 auto VRegAndVal = in getTestBitReg() local
1502 if (VRegAndVal) in getTestBitReg()
1503 C = VRegAndVal->Value.getSExtValue(); in getTestBitReg()
1713 if (VRegAndVal && !AndInst) { in tryOptCompareBranchFedByICmp()
1747 if (!VRegAndVal) { in tryOptCompareBranchFedByICmp()
1753 if (VRegAndVal && VRegAndVal->Value == 0) { in tryOptCompareBranchFedByICmp()
2183 if (!VRegAndVal) in earlySelectSHL()
4119 if (!VRegAndVal) in selectExtractElt()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/GISel/
H A DRISCVLegalizerInfo.cpp424 auto VRegAndVal = getIConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr() local
425 if (!VRegAndVal) in legalizeShlAshrLshr()
428 uint64_t Amount = VRegAndVal->Value.getZExtValue(); in legalizeShlAshrLshr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2792 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstReg, MRI); in matchConstantLargerBitWidth() local
2793 if (!VRegAndVal) in matchConstantLargerBitWidth()
2797 return (VRegAndVal->Value.uge(DstTy.getSizeInBits())); in matchConstantLargerBitWidth()
2809 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstReg, MRI); in applyFunnelShiftConstantModulo() local
2810 assert((VRegAndVal) && "Value is not a constant"); in applyFunnelShiftConstantModulo()
2813 APInt NewConst = VRegAndVal->Value.urem( in applyFunnelShiftConstantModulo()
H A DLegalizerHelper.cpp5060 if (auto VRegAndVal = getIConstantVRegValWithLookThrough(Amt, MRI)) { in narrowScalarShift() local
5061 return narrowScalarShiftByConstant(MI, VRegAndVal->Value, HalfTy, in narrowScalarShift()