Lines Matching refs:RHS

40   Instruction *CreateAdd(Constant *LHS, Constant *RHS,
42 BinaryOperator *BO = BinaryOperator::CreateAdd(LHS, RHS);
47 Instruction *CreateNSWAdd(Constant *LHS, Constant *RHS) const {
48 return BinaryOperator::CreateNSWAdd(LHS, RHS);
50 Instruction *CreateNUWAdd(Constant *LHS, Constant *RHS) const {
51 return BinaryOperator::CreateNUWAdd(LHS, RHS);
53 Instruction *CreateFAdd(Constant *LHS, Constant *RHS) const {
54 return BinaryOperator::CreateFAdd(LHS, RHS);
56 Instruction *CreateSub(Constant *LHS, Constant *RHS,
58 BinaryOperator *BO = BinaryOperator::CreateSub(LHS, RHS);
63 Instruction *CreateNSWSub(Constant *LHS, Constant *RHS) const {
64 return BinaryOperator::CreateNSWSub(LHS, RHS);
66 Instruction *CreateNUWSub(Constant *LHS, Constant *RHS) const {
67 return BinaryOperator::CreateNUWSub(LHS, RHS);
69 Instruction *CreateFSub(Constant *LHS, Constant *RHS) const {
70 return BinaryOperator::CreateFSub(LHS, RHS);
72 Instruction *CreateMul(Constant *LHS, Constant *RHS,
74 BinaryOperator *BO = BinaryOperator::CreateMul(LHS, RHS);
79 Instruction *CreateNSWMul(Constant *LHS, Constant *RHS) const {
80 return BinaryOperator::CreateNSWMul(LHS, RHS);
82 Instruction *CreateNUWMul(Constant *LHS, Constant *RHS) const {
83 return BinaryOperator::CreateNUWMul(LHS, RHS);
85 Instruction *CreateFMul(Constant *LHS, Constant *RHS) const {
86 return BinaryOperator::CreateFMul(LHS, RHS);
88 Instruction *CreateUDiv(Constant *LHS, Constant *RHS,
91 return BinaryOperator::CreateUDiv(LHS, RHS);
92 return BinaryOperator::CreateExactUDiv(LHS, RHS);
94 Instruction *CreateExactUDiv(Constant *LHS, Constant *RHS) const {
95 return BinaryOperator::CreateExactUDiv(LHS, RHS);
97 Instruction *CreateSDiv(Constant *LHS, Constant *RHS,
100 return BinaryOperator::CreateSDiv(LHS, RHS);
101 return BinaryOperator::CreateExactSDiv(LHS, RHS);
103 Instruction *CreateExactSDiv(Constant *LHS, Constant *RHS) const {
104 return BinaryOperator::CreateExactSDiv(LHS, RHS);
106 Instruction *CreateFDiv(Constant *LHS, Constant *RHS) const {
107 return BinaryOperator::CreateFDiv(LHS, RHS);
109 Instruction *CreateURem(Constant *LHS, Constant *RHS) const {
110 return BinaryOperator::CreateURem(LHS, RHS);
112 Instruction *CreateSRem(Constant *LHS, Constant *RHS) const {
113 return BinaryOperator::CreateSRem(LHS, RHS);
115 Instruction *CreateFRem(Constant *LHS, Constant *RHS) const {
116 return BinaryOperator::CreateFRem(LHS, RHS);
118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false,
120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS);
125 Instruction *CreateLShr(Constant *LHS, Constant *RHS,
128 return BinaryOperator::CreateLShr(LHS, RHS);
129 return BinaryOperator::CreateExactLShr(LHS, RHS);
131 Instruction *CreateAShr(Constant *LHS, Constant *RHS,
134 return BinaryOperator::CreateAShr(LHS, RHS);
135 return BinaryOperator::CreateExactAShr(LHS, RHS);
137 Instruction *CreateAnd(Constant *LHS, Constant *RHS) const {
138 return BinaryOperator::CreateAnd(LHS, RHS);
140 Instruction *CreateOr(Constant *LHS, Constant *RHS) const {
141 return BinaryOperator::CreateOr(LHS, RHS);
143 Instruction *CreateXor(Constant *LHS, Constant *RHS) const {
144 return BinaryOperator::CreateXor(LHS, RHS);
148 Constant *LHS, Constant *RHS) const {
149 return BinaryOperator::Create(Opc, LHS, RHS);
255 Constant *LHS, Constant *RHS) const {
256 return new ICmpInst(P, LHS, RHS);
259 Constant *LHS, Constant *RHS) const {
260 return new FCmpInst(P, LHS, RHS);