Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp2949 SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); in ExpandNode() local
2951 Node->getOperand(0), ShiftCst); in ExpandNode()
2952 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst); in ExpandNode()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3815 ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(N0->getOperand(1)); in matchBEXTRFromAndImm() local
3816 if (!MaskCst || !ShiftCst) in matchBEXTRFromAndImm()
3824 uint64_t Shift = ShiftCst->getZExtValue(); in matchBEXTRFromAndImm()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1616 auto ShiftCst = MIB.buildConstant(ShiftTy, ShiftVal); in applyCombineMulToShl() local
1619 MI.getOperand(2).setReg(ShiftCst.getReg(0)); in applyCombineMulToShl()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp628 Value *ShiftCst = llvm::ConstantInt::get(IntTy, Width); in EmitSignBit() local
629 V = CGF.Builder.CreateLShr(V, ShiftCst); in EmitSignBit()
7628 Value *ShiftCst = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr() local
7629 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitARMBuiltinExpr()
9632 Value *ShiftCst = llvm::ConstantInt::get(Int128Ty, 64); in EmitAArch64BuiltinExpr() local
9633 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitAArch64BuiltinExpr()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp13954 SDValue ShiftCst = in DAGCombineExtBoolTrunc() local
13958 DAG.getNode(ISD::SHL, dl, N->getValueType(0), N->getOperand(0), ShiftCst), in DAGCombineExtBoolTrunc()
13959 ShiftCst); in DAGCombineExtBoolTrunc()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp3247 if (ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in getCmpOperandFoldingProfit() local
3248 uint64_t Shift = ShiftCst->getZExtValue(); in getCmpOperandFoldingProfit()