Searched refs:ShiftCst (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeTypes.h | 284 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 D | LegalizeDAG.cpp | 3447 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 D | X86ISelDAGToDAG.cpp | 4189 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 D | ARM.cpp | 2843 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 D | CGBuiltin.cpp | 775 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 D | CombinerHelper.cpp | 2094 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 D | PPCISelLowering.cpp | 15447 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 D | AArch64ISelLowering.cpp | 3817 if (ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in getCmpOperandFoldingProfit() local 3818 uint64_t Shift = ShiftCst->getZExtValue(); in getCmpOperandFoldingProfit()
|