Home
last modified time | relevance | path

Searched defs:ShiftAmt (Results 1 – 25 of 57) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DDemandedBits.cpp156 uint64_t ShiftAmt = SA->urem(BitWidth); in determineLiveOperandBits() local
204 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits() local
221 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits() local
235 uint64_t ShiftAmt = ShiftAmtC->getLimitedValue(BitWidth - 1); in determineLiveOperandBits() local
H A DConstantFolding.cpp218 unsigned ShiftAmt = isLittleEndian ? 0 : SrcBitSize*(Ratio-1); in FoldBitCast() local
266 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize*(Ratio-1); in FoldBitCast() local
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPInt.h815 APInt ashr(unsigned ShiftAmt) const { in ashr()
822 void ashrInPlace(unsigned ShiftAmt) { in ashrInPlace()
846 void lshrInPlace(unsigned ShiftAmt) { in lshrInPlace()
896 APInt ashr(const APInt &ShiftAmt) const { in ashr()
908 APInt lshr(const APInt &ShiftAmt) const { in lshr()
920 APInt shl(const APInt &ShiftAmt) const { in shl()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp619 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1); in SimplifyDemandedUseBits() local
682 uint64_t ShiftAmt = SA->getLimitedValue(BitWidth-1); in SimplifyDemandedUseBits() local
754 uint32_t ShiftAmt = SA->getLimitedValue(BitWidth-1); in SimplifyDemandedUseBits() local
932 uint64_t ShiftAmt = SA->urem(BitWidth); in SimplifyDemandedUseBits() local
H A DInstCombineCasts.cpp1175 uint64_t ShiftAmt = Amt->getZExtValue(); in canEvaluateZExtd() local
1405 unsigned ShiftAmt = KnownZeroMask.countTrailingZeros(); in transformSExtICmp() local
1419 unsigned ShiftAmt = KnownZeroMask.countLeadingZeros(); in transformSExtICmp() local
H A DInstCombineShifts.cpp857 Value *ShiftAmt = I.getOperand(1); in foldLShrOverflowBit() local
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DKnownBits.cpp201 for (uint64_t ShiftAmt = MinShiftAmount.getZExtValue(), in shl() local
254 for (uint64_t ShiftAmt = MinShiftAmount.getZExtValue(), in lshr() local
312 for (uint64_t ShiftAmt = MinShiftAmount.getZExtValue(), in ashr() local
H A DAPInt.cpp1018 void APInt::ashrSlowCase(unsigned ShiftAmt) { in ashrSlowCase()
1067 void APInt::lshrSlowCase(unsigned ShiftAmt) { in lshrSlowCase()
1079 void APInt::shlSlowCase(unsigned ShiftAmt) { in shlSlowCase()
2231 unsigned ShiftAmt = (Radix == 16 ? 4 : (Radix == 8 ? 3 : 1)); in toString() local
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp140 uint64_t ShiftAmt = DL.getTypeStoreSizeInBits(StoredValTy).getFixedValue() - in coerceAvailableValueToLoadType() local
426 unsigned ShiftAmt; in getStoreValueForLoadHelper() local
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64ConditionOptimizer.cpp175 unsigned ShiftAmt = AArch64_AM::getShiftValue(I.getOperand(3).getImm()); in findSuitableCompare() local
H A DAArch64ExpandImm.cpp69 unsigned ShiftAmt = 0; in tryToreplicateChunks() local
H A DAArch64ISelDAGToDAG.cpp532 unsigned ShiftAmt; in SelectArithImmed() local
2520 uint64_t ShiftAmt = AArch64_AM::getShiftValue(ShiftTypeAndValue); in getUsefulBitsFromOrWithShiftedReg() local
2528 uint64_t ShiftAmt = AArch64_AM::getShiftValue(ShiftTypeAndValue); in getUsefulBitsFromOrWithShiftedReg() local
3425 SDValue ShiftAmt = N->getOperand(1); in tryShiftAmountMod() local
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DLegalizerHelper.cpp369 auto ShiftAmt = in buildLCMMergePieces() local
1538 auto ShiftAmt = MIRBuilder.buildConstant(WideTy, Offset); in widenScalarMergeValues() local
1668 auto ShiftAmt = MIRBuilder.buildConstant(SrcTy, DstSize * I); in widenScalarUnmergeValues() local
2184 auto ShiftAmt = MIRBuilder.buildConstant(WideTy, DiffBits); in widenScalar() local
3049 auto ShiftAmt = MIRBuilder.buildConstant(AnyExtTy, LargeSplitSize); in lowerLoad() local
3149 auto ShiftAmt = MIRBuilder.buildConstant(NewSrcTy, LargeSplitSize); in lowerStore() local
3302 auto ShiftAmt = MIRBuilder.buildConstant(Ty, Ty.getSizeInBits() - 1); in lower() local
4760 auto ShiftAmt = MIRBuilder.buildConstant(ShiftAmtTy, NewBitSize - 1); in narrowScalarShift() local
6452 auto ShiftAmt = MIRBuilder.buildConstant(Src0Ty, Src0Size - Src1Size); in lowerFCopySign() local
6457 auto ShiftAmt = MIRBuilder.buildConstant(Src1Ty, Src1Size - Src0Size); in lowerFCopySign() local
[all …]
H A DCombinerHelper.cpp1678 int64_t ShiftAmt = MaybeShiftAmtVal->Value.getSExtValue(); in matchCombineShlOfExtend() local
1693 auto ShiftAmt = Builder.buildConstant(ExtSrcTy, ShiftAmtVal); in applyCombineShlOfExtend() local
1789 unsigned ShiftAmt = Dst0Ty.getSizeInBits(); in matchCombineUnmergeConstant() local
2021 unsigned ShiftAmt; in tryCombineShiftToUnmerge() local
2357 Register ShiftAmt = ShiftMI->getOperand(2).getReg(); in applyCombineTruncOfShift() local
2842 int64_t ShiftAmt; in applyAshShlToSextInreg() local
3635 int64_t ShiftAmt; in getTruncStoreByteOffset() local
5212 auto ShiftAmt = in applyUMulHToLShr() local
6014 std::optional<ValueAndVReg> ShiftAmt; in matchTruncLshrBuildVectorFold() local
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp287 auto ShiftAmt = ConstantInt::get(SVT, Count.zextOrTrunc(BitWidth)); in simplifyX86immShift() local
1006 Value *ShiftAmt = ConstantInt::get(II.getType(), MaskIdx); in instCombineIntrinsic() local
1049 Value *ShiftAmt = ConstantInt::get(II.getType(), MaskIdx); in instCombineIntrinsic() local
H A DX86ISelDAGToDAG.cpp1989 unsigned ShiftAmt = Shift.getConstantOperandVal(1); in foldMaskedShiftToScaledMask() local
2056 unsigned ShiftAmt = Shift.getConstantOperandVal(1); in foldMaskAndShiftToScale() local
2153 unsigned ShiftAmt = Shift.getConstantOperandVal(1); in foldMaskedShiftToBEXTR() local
3584 unsigned Bitwidth) { in matchBitExtract()
3753 SDValue ShiftAmt = X.getOperand(1); in matchBitExtract() local
3987 SDValue ShiftAmt = OrigShiftAmt; in tryShiftAmountMod() local
5652 unsigned ShiftAmt; in Select() local
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPostLegalizerCombiner.cpp257 int64_t ShiftAmt; in matchCvtF32UByteN() local
H A DR600ISelLowering.cpp1069 SDValue ShiftAmt = DAG.getNode(ISD::SHL, DL, MVT::i32, ByteIdx, in lowerPrivateTruncStore() local
1298 SDValue ShiftAmt = DAG.getNode(ISD::SHL, DL, MVT::i32, ByteIdx, in lowerPrivateExtLoad() local
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64PostLegalizerCombiner.cpp173 unsigned ShiftAmt, AddSubOpc; in matchAArch64MulConstCombine() local
H A DAArch64PostLegalizerLowering.cpp822 uint64_t ShiftAmt = MaybeShiftAmt->Value.getZExtValue(); in getCmpOperandFoldingProfit() local
/openbsd-src/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRISelLowering.cpp1862 ISD::NodeType Opc, int64_t ShiftAmt) { in insertMultibyteShift()
2134 int64_t ShiftAmt = MI.getOperand(4).getImm(); in insertWideShift() local
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp1611 unsigned ShiftAmt = isLittleEndian ? 0 : SrcBitSize * (Ratio - 1); in executeBitCastInst() local
1627 unsigned ShiftAmt = isLittleEndian ? 0 : DstBitSize * (Ratio - 1); in executeBitCastInst() local
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp1568 uint64_t ShiftAmt = ShiftC->getZExtValue(); in SimplifyDemandedBits() local
2176 SDValue ShiftAmt = TLO.DAG.getConstant(BitWidth - ExVTBits, dl, in SimplifyDemandedBits() local
3902 SDValue ShiftAmt = DAG.getConstant(MaskedBits, DL, XVT); in optimizeSetCCOfSignedTruncationCheck() local
8448 unsigned ShiftAmt = BitWidth - Log2_32(BitWidth); in CTTZTableLookup() local
9983 SDValue ShiftAmt = DAG.getConstant(C.logBase2(), dl, ShiftAmtTy); in expandMULO() local
10015 SDValue ShiftAmt = DAG.getConstant(VT.getScalarSizeInBits(), dl, in expandMULO() local
10090 SDValue ShiftAmt = DAG.getConstant( in expandMULO() local
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVPTXISelDAGToDAG.cpp3449 uint64_t ShiftAmt = ShiftCnst->getZExtValue(); in tryBFE() local
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBuiltin.cpp2100 llvm::Value *ShiftAmt = EmitScalarExpr(E->getArg(1)); in emitRotate() local
5604 int ShiftAmt = cast<ConstantInt>(Shift)->getSExtValue(); in EmitNeonRShiftImm() local
6876 Constant *ShiftAmt = in EmitCommonNeonBuiltinExpr() local
7344 Constant *ShiftAmt = in EmitCommonNeonBuiltinExpr() local
10965 uint64_t ShiftAmt = Amt->getZExtValue(); in EmitAArch64BuiltinExpr() local
10982 uint64_t ShiftAmt = Amt->getZExtValue(); in EmitAArch64BuiltinExpr() local
12841 Constant *ShiftAmt = ConstantInt::get(Ty, 32); in EmitX86Muldq() local
16114 Constant *ShiftAmt = ConstantInt::get(Int64Ty, 32); in EmitPPCBuiltinExpr() local
16229 Value *ShiftAmt = Builder.CreateIntCast(Op1, Ty, false); in EmitPPCBuiltinExpr() local

123