Searched refs:VRegAndVal (Results 1 – 4 of 4) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64LegalizerInfo.cpp | 1491 auto VRegAndVal = getIConstantVRegValWithLookThrough(ShiftNo, MRI); in legalizeFunnelShift() local 1499 if (!VRegAndVal || VRegAndVal->Value.urem(BitWidth) == 0) in legalizeFunnelShift() 1503 APInt Amount = VRegAndVal->Value.urem(BitWidth); in legalizeFunnelShift() 1510 VRegAndVal->Value.ult(BitWidth)) in legalizeFunnelShift() 1841 auto VRegAndVal = getIConstantVRegValWithLookThrough(AmtReg, MRI); in legalizeShlAshrLshr() local 1842 if (!VRegAndVal) in legalizeShlAshrLshr() 1845 int64_t Amount = VRegAndVal->Value.getSExtValue(); in legalizeShlAshrLshr() 2284 auto VRegAndVal = in legalizeExtractVectorElt() local 2286 if (VRegAndVal) in legalizeExtractVectorElt()
|
| H A D | AArch64InstructionSelector.cpp | 1504 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg() local 1505 if (!VRegAndVal) { in getTestBitReg() 1510 VRegAndVal = getIConstantVRegValWithLookThrough(ConstantReg, MRI); in getTestBitReg() 1512 if (VRegAndVal) { in getTestBitReg() 1514 C = VRegAndVal->Value.getZExtValue(); in getTestBitReg() 1516 C = VRegAndVal->Value.getSExtValue(); in getTestBitReg() 1524 auto VRegAndVal = in getTestBitReg() local 1526 if (VRegAndVal) in getTestBitReg() 1527 C = VRegAndVal->Value.getSExtValue(); in getTestBitReg() 1729 auto VRegAndVal = getIConstantVRegValWithLookThrough(RHS, MRI); in tryOptCompareBranchFedByICmp() local [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CombinerHelper.cpp | 2947 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstReg, MRI); in matchConstantLargerBitWidth() local 2948 if (!VRegAndVal) in matchConstantLargerBitWidth() 2952 return (VRegAndVal->Value.uge(DstTy.getSizeInBits())); in matchConstantLargerBitWidth() 2964 auto VRegAndVal = getIConstantVRegValWithLookThrough(ConstReg, MRI); in applyFunnelShiftConstantModulo() local 2965 assert((VRegAndVal) && "Value is not a constant"); in applyFunnelShiftConstantModulo() 2968 APInt NewConst = VRegAndVal->Value.urem( in applyFunnelShiftConstantModulo()
|
| H A D | LegalizerHelper.cpp | 5995 if (auto VRegAndVal = getIConstantVRegValWithLookThrough(Amt, MRI)) { in narrowScalarShift() local 5996 return narrowScalarShiftByConstant(MI, VRegAndVal->Value, HalfTy, in narrowScalarShift()
|