Home
last modified time | relevance | path

Searched refs:ShiftCst (Results 1 – 7 of 7) 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.cpp3390 SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); in ExpandNode() local
3392 Node->getOperand(0), ShiftCst); in ExpandNode()
3393 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst); in ExpandNode()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp4123 auto *ShiftCst = dyn_cast<ConstantSDNode>(N0->getOperand(1)); in matchBEXTRFromAndImm() local
4124 if (!MaskCst || !ShiftCst) in matchBEXTRFromAndImm()
4132 uint64_t Shift = ShiftCst->getZExtValue(); in matchBEXTRFromAndImm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp2025 auto ShiftCst = MIB.buildConstant(ShiftTy, ShiftVal); in applyCombineMulToShl() local
2028 MI.getOperand(2).setReg(ShiftCst.getReg(0)); in applyCombineMulToShl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp675 Value *ShiftCst = llvm::ConstantInt::get(IntTy, Width); in EmitSignBit() local
676 V = CGF.Builder.CreateLShr(V, ShiftCst); in EmitSignBit()
8769 Value *ShiftCst = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr() local
8770 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitARMBuiltinExpr()
11136 Value *ShiftCst = llvm::ConstantInt::get(Int128Ty, 64); in EmitAArch64BuiltinExpr() local
11137 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitAArch64BuiltinExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp14614 SDValue ShiftCst = in DAGCombineExtBoolTrunc() local
14618 DAG.getNode(ISD::SHL, dl, N->getValueType(0), N->getOperand(0), ShiftCst), in DAGCombineExtBoolTrunc()
14619 ShiftCst); in DAGCombineExtBoolTrunc()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3827 if (ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in getCmpOperandFoldingProfit() local
3828 uint64_t Shift = ShiftCst->getZExtValue(); in getCmpOperandFoldingProfit()