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 {
55 return Fold(ConstantExpr::getFAdd(LHS, RHS));
57 Constant *CreateSub(Constant *LHS, Constant *RHS,
59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
61 Constant *CreateFSub(Constant *LHS, Constant *RHS) const {
62 return Fold(ConstantExpr::getFSub(LHS, RHS));
64 Constant *CreateMul(Constant *LHS, Constant *RHS,
66 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW));
68 Constant *CreateFMul(Constant *LHS, Constant *RHS) const {
69 return Fold(ConstantExpr::getFMul(LHS, RHS));
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 {
78 return Fold(ConstantExpr::getFDiv(LHS, RHS));
80 Constant *CreateURem(Constant *LHS, Constant *RHS) const {
81 return Fold(ConstantExpr::getURem(LHS, RHS));
83 Constant *CreateSRem(Constant *LHS, Constant *RHS) const {
84 return Fold(ConstantExpr::getSRem(LHS, RHS));
86 Constant *CreateFRem(Constant *LHS, Constant *RHS) const {
87 return Fold(ConstantExpr::getFRem(LHS, RHS));
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 {
100 return Fold(ConstantExpr::getAnd(LHS, RHS));
102 Constant *CreateOr(Constant *LHS, Constant *RHS) const {
103 return Fold(ConstantExpr::getOr(LHS, RHS));
105 Constant *CreateXor(Constant *LHS, Constant *RHS) const {
106 return Fold(ConstantExpr::getXor(LHS, RHS));
110 Constant *LHS, Constant *RHS) const {
111 return Fold(ConstantExpr::get(Opc, LHS, RHS));
218 Constant *CreateICmp(CmpInst::Predicate P, Constant *LHS,
220 return Fold(ConstantExpr::getCompare(P, LHS, RHS));
222 Constant *CreateFCmp(CmpInst::Predicate P, Constant *LHS,
224 return Fold(ConstantExpr::getCompare(P, LHS, RHS));