Lines Matching refs:LHS

50   Constant *CreateAdd(Constant *LHS, Constant *RHS,
52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
54 Constant *CreateFAdd(Constant *LHS, Constant *RHS) const { in CreateFAdd() argument
55 return Fold(ConstantExpr::getFAdd(LHS, RHS)); in CreateFAdd()
57 Constant *CreateSub(Constant *LHS, Constant *RHS,
59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
61 Constant *CreateFSub(Constant *LHS, Constant *RHS) const { in CreateFSub() argument
62 return Fold(ConstantExpr::getFSub(LHS, RHS)); in CreateFSub()
64 Constant *CreateMul(Constant *LHS, Constant *RHS,
66 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW));
68 Constant *CreateFMul(Constant *LHS, Constant *RHS) const { in CreateFMul() argument
69 return Fold(ConstantExpr::getFMul(LHS, RHS)); in CreateFMul()
71 Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
72 return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
74 Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
75 return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
77 Constant *CreateFDiv(Constant *LHS, Constant *RHS) const { in CreateFDiv() argument
78 return Fold(ConstantExpr::getFDiv(LHS, RHS)); in CreateFDiv()
80 Constant *CreateURem(Constant *LHS, Constant *RHS) const { in CreateURem() argument
81 return Fold(ConstantExpr::getURem(LHS, RHS)); in CreateURem()
83 Constant *CreateSRem(Constant *LHS, Constant *RHS) const { in CreateSRem() argument
84 return Fold(ConstantExpr::getSRem(LHS, RHS)); in CreateSRem()
86 Constant *CreateFRem(Constant *LHS, Constant *RHS) const { in CreateFRem() argument
87 return Fold(ConstantExpr::getFRem(LHS, RHS)); in CreateFRem()
89 Constant *CreateShl(Constant *LHS, Constant *RHS,
91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
93 Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
94 return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
96 Constant *CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
97 return Fold(ConstantExpr::getAShr(LHS, RHS, isExact));
99 Constant *CreateAnd(Constant *LHS, Constant *RHS) const { in CreateAnd() argument
100 return Fold(ConstantExpr::getAnd(LHS, RHS)); in CreateAnd()
102 Constant *CreateOr(Constant *LHS, Constant *RHS) const { in CreateOr() argument
103 return Fold(ConstantExpr::getOr(LHS, RHS)); in CreateOr()
105 Constant *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() argument
106 return Fold(ConstantExpr::getXor(LHS, RHS)); in CreateXor()
110 Constant *LHS, Constant *RHS) const { in CreateBinOp() argument
111 return Fold(ConstantExpr::get(Opc, LHS, RHS)); in CreateBinOp()
226 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS, in CreateICmp() argument
228 return Fold(ConstantExpr::getCompare(P, LHS, RHS)); in CreateICmp()
230 Constant *CreateFCmp(CmpInst::Predicate P, Constant *LHS, in CreateFCmp() argument
232 return Fold(ConstantExpr::getCompare(P, LHS, RHS)); in CreateFCmp()