Home
last modified time | relevance | path

Searched defs:ShAmt (Results 1 – 25 of 49) sorted by relevance

12

/freebsd-src/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchISelDAGToDAG.h50 selectShiftMaskGRLen(SDValue N,SDValue & ShAmt) selectShiftMaskGRLen() argument
53 selectShiftMask32(SDValue N,SDValue & ShAmt) selectShiftMask32() argument
H A DLoongArchISelDAGToDAG.cpp228 selectShiftMask(SDValue N,unsigned ShiftWidth,SDValue & ShAmt) selectShiftMask() argument
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp502 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, NarrowWidth); narrowFunnelShift() local
597 if (Constant *ShAmt = ConstantFoldIntegerCast(C, A->getType(), narrowBinOp() local
778 Constant *ShAmt = ConstantFoldSelectInstruction(Cmp, C, MaxAmt); visitTrunc() local
785 Constant *ShAmt = GetNewShAmt(DestWidth); visitTrunc() local
793 Constant *ShAmt = GetNewShAmt(AWidth); visitTrunc() local
927 uint32_t ShAmt = KnownZeroMask.logBase2(); transformZExtICmp() local
958 Value *X, *ShAmt; transformZExtICmp() local
1427 Value *ShAmt = ConstantInt::get(DestTy, DestBitSize-SrcBitSize); visitSExt() local
1443 Constant *ShAmt = ConstantInt::get(DestTy, DestBitSize - SrcBitSize); visitSExt() local
[all...]
H A DInstCombineNegator.cpp259 Constant *ShAmt; visitImpl() local
H A DInstCombineShifts.cpp628 __anon5dec4a760302(unsigned ShAmt) foldShiftedShift() argument
904 const unsigned ShAmt = ShAmtAPInt->getZExtValue(); foldLShrOverflowBit() local
1580 unsigned ShAmt = ShAmtAPInt->getZExtValue(); visitAShr() local
[all...]
H A DInstCombineAddSub.cpp950 unsigned ShAmt = 0; foldAddWithConstant() local
1380 Value *X, *Y, *ShAmt; factorizeMathWithShlOps() local
2554 const APInt *ShAmt; visitSub() local
[all...]
H A DInstCombineVectorOps.cpp291 unsigned ShAmt = Chunk * DestWidth; in foldBitcastExtElt() local
1570 uint64_t ShAmt; foldTruncInsEltPair() local
H A DInstCombineAndOrXor.cpp2088 Value *ShAmt; foldBinOpOfDisplacedShifts() local
2831 Value *ShAmt = matchShiftAmount(ShAmt0, ShAmt1, Width); matchFunnelShift() local
4188 const APInt *ShAmt; canonicalizeAbs() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp180 unsigned ShAmt = Adjust * 8; visitLoadInst() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelDAGToDAG.h88 bool selectShiftMaskXLen(SDValue N, SDValue &ShAmt) { in selectShiftMaskXLen() argument
91 bool selectShiftMask32(SDValue N, SDValue &ShAmt) { in selectShiftMask32() argument
[all...]
H A DRISCVISelDAGToDAG.cpp647 uint64_t ShAmt = ShlCst->getZExtValue(); tryShrinkShlLogicImm() local
981 unsigned ShAmt = N1C->getZExtValue(); Select() local
1010 unsigned ShAmt = N1C->getZExtValue(); Select() local
1094 unsigned ShAmt = N1C->getZExtValue(); Select() local
2546 selectShiftMask(SDValue N,unsigned ShiftWidth,SDValue & ShAmt) selectShiftMask() argument
2731 selectSHXADDOp(SDValue N,unsigned ShAmt,SDValue & Val) selectSHXADDOp() argument
2826 selectSHXADD_UWOp(SDValue N,unsigned ShAmt,SDValue & Val) selectSHXADD_UWOp() argument
3004 unsigned ShAmt = User->getConstantOperandVal(1); hasAllNBitUsers() local
[all...]
H A DRISCVMergeBaseOffset.cpp279 unsigned ShAmt; foldShiftedOffset() local
H A DRISCVOptWInstrs.cpp197 unsigned ShAmt = UserMI->getOperand(2).getImm(); hasAllNBitUsers() local
H A DRISCVTargetTransformInfo.cpp130 unsigned ShAmt = cast<ConstantInt>(BO->getOperand(1))->getZExtValue(); canUseShiftPair() local
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DAggressiveInstCombine.cpp67 __anon613858650102(Value *V, Value *&ShVal0, Value *&ShVal1, Value *&ShAmt) foldGuardedFunnelShift() argument
99 Value *ShVal0, *ShVal1, *ShAmt; foldGuardedFunnelShift() local
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp744 unsigned ShAmt = static_cast<unsigned>(RHS.Val.getLimitedValue()); in EvaluateDirectiveSubExpr() local
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp789 unsigned ShAmt = MaxSA->getZExtValue(); SimplifyMultipleUseDemandedBits() local
1729 unsigned ShAmt = SA->getZExtValue(); SimplifyDemandedBits() local
1888 unsigned ShAmt = MaxSA->getZExtValue(); SimplifyDemandedBits() local
1909 unsigned ShAmt = SA->getZExtValue(); SimplifyDemandedBits() local
2015 unsigned ShAmt = SA->getZExtValue(); SimplifyDemandedBits() local
2293 SDValue ShAmt = TLO.DAG.getConstant(ShiftAmount, dl, ShiftAmtTy); SimplifyDemandedBits() local
2671 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, VT); SimplifyDemandedBits() local
2866 if (unsigned ShAmt = getShiftLeftAmt(Op0)) SimplifyDemandedBits() local
2869 if (unsigned ShAmt = getShiftLeftAmt(Op1)) SimplifyDemandedBits() local
2874 if (unsigned ShAmt = getShiftLeftAmt(Op1)) SimplifyDemandedBits() local
4355 unsigned ShAmt = ShAmtC->getZExtValue(); foldSetCCWithFunnelShift() local
4476 if (ConstantSDNode *ShAmt = isConstOrConstSplat(N0.getOperand(1))) { SimplifySetCC() local
7779 SDValue ShAmt, InvShAmt; expandVPFunnelShift() local
7882 SDValue ShAmt, InvShAmt; expandFunnelShift() local
7959 SDValue ShAmt = DAG.getNode(ISD::AND, DL, ShVT, Op1, BitWidthMinusOneC); expandROT() local
7967 SDValue ShAmt = DAG.getNode(ISD::UREM, DL, ShVT, Op1, BitWidthC); expandROT() local
7988 SDValue ShAmt = Node->getOperand(2); expandShiftParts() local
[all...]
H A DLegalizeIntegerTypes.cpp537 SDValue ShAmt = DAG.getShiftAmountConstant(DiffBits, NVT, dl); PromoteIntRes_BSWAP() local
565 SDValue ShAmt = DAG.getShiftAmountConstant(DiffBits, NVT, dl); PromoteIntRes_BITREVERSE() local
2162 SDValue ShAmt = DAG.getShiftAmountConstant(Diff, VT, dl); PromoteIntOp_VP_SIGN_EXTEND() local
4423 SDValue ShAmt = N->getOperand(1); ExpandIntRes_ShiftThroughStack() local
4634 SDValue ShAmt = DAG.getZExtOrTrunc(N->getOperand(1), dl, ShAmtTy); ExpandIntRes_Shift() local
5037 SDValue ShAmt = N->getOperand(2); ExpandIntRes_FunnelShift() local
[all...]
H A DDAGCombiner.cpp2685 SDValue ShAmt = ShiftOp.getOperand(1); foldAddSubOfSignBit() local
4113 SDValue ShAmt = N1.getOperand(1); visitSUB() local
4483 unsigned ShAmt = visitMUL() local
6452 isLegalNarrowLdSt(LSBaseSDNode * LDST,ISD::LoadExtType ExtType,EVT & MemVT,unsigned ShAmt) isLegalNarrowLdSt() argument
7626 SDValue ShAmt = DAG.getConstant(16, DL, ShiftAmountTy); matchBSwapHWordOrAndAnd() local
7689 SDValue ShAmt = DAG.getConstant(16, DL, getShiftAmountTy(VT)); MatchBSwapHWord() local
10682 unsigned ShAmt = UnknownBits.countr_zero(); visitSRL() local
10793 unsigned ShAmt = Cst->getZExtValue(); visitFunnelShift() local
11040 auto *ShAmt = dyn_cast<ConstantSDNode>(N0.getOperand(1)); visitBSWAP() local
11063 auto *ShAmt = dyn_cast<ConstantSDNode>(N0.getOperand(1)); visitBSWAP() local
13880 SDValue ShAmt = N0.getOperand(1); visitZERO_EXTEND() local
14190 unsigned ShAmt = 0; reduceLoadWidth() local
14343 __anon29909ce22f02(unsigned ShAmt) reduceLoadWidth() argument
14495 if (auto *ShAmt = dyn_cast<ConstantSDNode>(N0.getOperand(1))) visitSIGN_EXTEND_INREG() local
19606 unsigned ShAmt = Imm.countr_zero(); ReduceLoadOpStoreWidth() local
21404 ConstantSDNode *ShAmt = dyn_cast<ConstantSDNode>(Op1.getOperand(1)); splitMergedValStore() local
22119 unsigned ShAmt = ShAmtC->getZExtValue(); refineExtractVectorEltIntoMultipleNarrowExtractVectorElts() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp1994 sshl_ov(const APInt & ShAmt,bool & Overflow) const sshl_ov() argument
1998 sshl_ov(unsigned ShAmt,bool & Overflow) const sshl_ov() argument
2011 ushl_ov(const APInt & ShAmt,bool & Overflow) const ushl_ov() argument
2015 ushl_ov(unsigned ShAmt,bool & Overflow) const ushl_ov() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.cpp1245 SDValue ShAmt = Op.getOperand(2); LowerSHL_PARTS() local
1293 SDValue ShAmt = Op.getOperand(2); LowerSRL_PARTS() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp1009 isTruncatedShiftCountForLEA(unsigned ShAmt) isTruncatedShiftCountForLEA() argument
1260 unsigned ShAmt = MI.getOperand(2).getImm(); convertToThreeAddressWithLEA() local
1419 unsigned ShAmt = getTruncatedShiftCount(MI, 2); convertToThreeAddress() local
1439 unsigned ShAmt = getTruncatedShiftCount(MI, 2); convertToThreeAddress() local
1473 unsigned ShAmt = getTruncatedShiftCount(MI, 2); convertToThreeAddress() local
4849 unsigned ShAmt = getTruncatedShiftCount(MI, 2); isDefConvertible() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp545 isShifterOpProfitable(const SDValue & Shift,ARM_AM::ShiftOpc ShOpcVal,unsigned ShAmt) isShifterOpProfitable() argument
737 unsigned ShAmt = Log2_32(RHSC); SelectLdStSOReg() local
765 unsigned ShAmt = 0; SelectLdStSOReg() local
844 unsigned ShAmt = 0; SelectAddrMode2OffsetReg() local
1505 unsigned ShAmt = 0; SelectT2AddrModeSoReg() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp162 APInt ShAmt = Amt->getValue(); ExtractConstantBytes() local
/freebsd-src/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXISelLowering.cpp2426 SDValue ShAmt = Op.getOperand(2); LowerShiftRightParts() local
2487 SDValue ShAmt = Op.getOperand(2); LowerShiftLeftParts() local
[all...]

12