Home
last modified time | relevance | path

Searched refs:ShiftCst (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.h284 SDValue ShiftCst = DAG.getShiftAmountConstant(BitsDiff, VT, dl); in VPSExtPromotedInteger() local
285 SDValue Shl = DAG.getNode(ISD::VP_SHL, dl, VT, Op, ShiftCst, Mask, EVL); in VPSExtPromotedInteger()
286 return DAG.getNode(ISD::VP_SRA, dl, VT, Shl, ShiftCst, Mask, EVL); in VPSExtPromotedInteger()
H A DLegalizeDAG.cpp3447 SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); in ExpandNode() local
3449 Node->getOperand(0), ShiftCst); in ExpandNode()
3450 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst); in ExpandNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp4189 auto *ShiftCst = dyn_cast<ConstantSDNode>(N0->getOperand(1)); in matchBEXTRFromAndImm() local
4190 if (!MaskCst || !ShiftCst) in matchBEXTRFromAndImm()
4198 uint64_t Shift = ShiftCst->getZExtValue(); in matchBEXTRFromAndImm()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/TargetBuiltins/
H A DARM.cpp2843 Value *ShiftCst = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr() local
2844 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitARMBuiltinExpr()
5202 Value *ShiftCst = llvm::ConstantInt::get(Int128Ty, 64); in EmitAArch64BuiltinExpr() local
5203 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitAArch64BuiltinExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp775 Value *ShiftCst = llvm::ConstantInt::get(IntTy, Width); in EmitSignBit() local
776 V = CGF.Builder.CreateLShr(V, ShiftCst); in EmitSignBit()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2094 auto ShiftCst = MIB.buildConstant(ShiftTy, ShiftVal); in applyCombineMulToShl() local
2097 MI.getOperand(2).setReg(ShiftCst.getReg(0)); in applyCombineMulToShl()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp15447 SDValue ShiftCst = in DAGCombineExtBoolTrunc() local
15451 DAG.getNode(ISD::SHL, dl, N->getValueType(0), N->getOperand(0), ShiftCst), in DAGCombineExtBoolTrunc()
15452 ShiftCst); in DAGCombineExtBoolTrunc()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3817 if (ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in getCmpOperandFoldingProfit() local
3818 uint64_t Shift = ShiftCst->getZExtValue(); in getCmpOperandFoldingProfit()