/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 1752 auto ShiftCst = MIB.buildConstant(ShiftTy, ShiftVal); in applyCombineMulToShl() local 1755 MI.getOperand(2).setReg(ShiftCst.getReg(0)); in applyCombineMulToShl()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 293 Value *ShiftCst = llvm::ConstantInt::get(IntTy, Width); in EmitSignBit() local 294 V = CGF.Builder.CreateLShr(V, ShiftCst); in EmitSignBit() 4110 Value *ShiftCst = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr() local 4111 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitARMBuiltinExpr() 4881 Value *ShiftCst = llvm::ConstantInt::get(Int128Ty, 64); in EmitAArch64BuiltinExpr() local 4882 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitAArch64BuiltinExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 3547 ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(N0->getOperand(1)); in matchBEXTRFromAndImm() local 3548 if (!MaskCst || !ShiftCst) in matchBEXTRFromAndImm() 3556 uint64_t Shift = ShiftCst->getZExtValue(); in matchBEXTRFromAndImm()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 2906 SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); in ExpandNode() local 2908 Node->getOperand(0), ShiftCst); in ExpandNode() 2909 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst); in ExpandNode()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 3646 ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(N0->getOperand(1)); in matchBEXTRFromAndImm() local 3647 if (!MaskCst || !ShiftCst) in matchBEXTRFromAndImm() 3655 uint64_t Shift = ShiftCst->getZExtValue(); in matchBEXTRFromAndImm()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 2952 SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); in ExpandNode() local 2954 Node->getOperand(0), ShiftCst); in ExpandNode() 2955 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst); in ExpandNode()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | LegalizeDAG.cpp | 3093 SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); in ExpandNode() local 3095 Node->getOperand(0), ShiftCst); in ExpandNode() 3096 Tmp1 = DAG.getNode(ISD::SRA, dl, Node->getValueType(0), Tmp1, ShiftCst); in ExpandNode()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 600 Value *ShiftCst = llvm::ConstantInt::get(IntTy, Width); in EmitSignBit() local 601 V = CGF.Builder.CreateLShr(V, ShiftCst); in EmitSignBit() 7118 Value *ShiftCst = llvm::ConstantInt::get(Int64Ty, 32); in EmitARMBuiltinExpr() local 7119 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitARMBuiltinExpr() 8959 Value *ShiftCst = llvm::ConstantInt::get(Int128Ty, 64); in EmitAArch64BuiltinExpr() local 8960 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitAArch64BuiltinExpr()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 10297 SDValue ShiftCst = in DAGCombineExtBoolTrunc() local 10301 DAG.getNode(ISD::SHL, dl, N->getValueType(0), N->getOperand(0), ShiftCst), in DAGCombineExtBoolTrunc() 10302 ShiftCst); in DAGCombineExtBoolTrunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 12887 SDValue ShiftCst = in DAGCombineExtBoolTrunc() local 12891 DAG.getNode(ISD::SHL, dl, N->getValueType(0), N->getOperand(0), ShiftCst), in DAGCombineExtBoolTrunc() 12892 ShiftCst); in DAGCombineExtBoolTrunc()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 13694 SDValue ShiftCst = in DAGCombineExtBoolTrunc() local 13698 DAG.getNode(ISD::SHL, dl, N->getValueType(0), N->getOperand(0), ShiftCst), in DAGCombineExtBoolTrunc() 13699 ShiftCst); in DAGCombineExtBoolTrunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2062 if (ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in getCmpOperandFoldingProfit() local 2063 uint64_t Shift = ShiftCst->getZExtValue(); in getCmpOperandFoldingProfit()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 2591 if (ConstantSDNode *ShiftCst = dyn_cast<ConstantSDNode>(Op.getOperand(1))) { in getCmpOperandFoldingProfit() local 2592 uint64_t Shift = ShiftCst->getZExtValue(); in getCmpOperandFoldingProfit()
|