mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 17:32:36 +00:00
enrich folder interfaces around exactness.
llvm-svn: 125191
This commit is contained in:
parent
7a5307ec0b
commit
8a576b802f
@ -69,17 +69,13 @@ public:
|
||||
Constant *CreateFMul(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getFMul(LHS, RHS);
|
||||
}
|
||||
Constant *CreateUDiv(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getUDiv(LHS, RHS);
|
||||
Constant *CreateUDiv(Constant *LHS, Constant *RHS,
|
||||
bool isExact = false) const {
|
||||
return ConstantExpr::getUDiv(LHS, RHS, isExact);
|
||||
}
|
||||
Constant *CreateExactUDiv(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getExactUDiv(LHS, RHS);
|
||||
}
|
||||
Constant *CreateSDiv(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getSDiv(LHS, RHS);
|
||||
}
|
||||
Constant *CreateExactSDiv(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getExactSDiv(LHS, RHS);
|
||||
Constant *CreateSDiv(Constant *LHS, Constant *RHS,
|
||||
bool isExact = false) const {
|
||||
return ConstantExpr::getSDiv(LHS, RHS, isExact);
|
||||
}
|
||||
Constant *CreateFDiv(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getFDiv(LHS, RHS);
|
||||
@ -96,11 +92,13 @@ public:
|
||||
Constant *CreateShl(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getShl(LHS, RHS);
|
||||
}
|
||||
Constant *CreateLShr(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getLShr(LHS, RHS);
|
||||
Constant *CreateLShr(Constant *LHS, Constant *RHS,
|
||||
bool isExact = false) const {
|
||||
return ConstantExpr::getLShr(LHS, RHS, isExact);
|
||||
}
|
||||
Constant *CreateAShr(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getAShr(LHS, RHS);
|
||||
Constant *CreateAShr(Constant *LHS, Constant *RHS,
|
||||
bool isExact = false) const {
|
||||
return ConstantExpr::getAShr(LHS, RHS, isExact);
|
||||
}
|
||||
Constant *CreateAnd(Constant *LHS, Constant *RHS) const {
|
||||
return ConstantExpr::getAnd(LHS, RHS);
|
||||
|
@ -82,17 +82,11 @@ public:
|
||||
Constant *CreateFMul(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getFMul(LHS, RHS));
|
||||
}
|
||||
Constant *CreateUDiv(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getUDiv(LHS, RHS));
|
||||
Constant *CreateUDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
|
||||
return Fold(ConstantExpr::getUDiv(LHS, RHS, isExact));
|
||||
}
|
||||
Constant *CreateExactUDiv(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getExactUDiv(LHS, RHS));
|
||||
}
|
||||
Constant *CreateSDiv(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getSDiv(LHS, RHS));
|
||||
}
|
||||
Constant *CreateExactSDiv(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getExactSDiv(LHS, RHS));
|
||||
Constant *CreateSDiv(Constant *LHS, Constant *RHS, bool isExact = false)const{
|
||||
return Fold(ConstantExpr::getSDiv(LHS, RHS, isExact));
|
||||
}
|
||||
Constant *CreateFDiv(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getFDiv(LHS, RHS));
|
||||
@ -109,11 +103,11 @@ public:
|
||||
Constant *CreateShl(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getShl(LHS, RHS));
|
||||
}
|
||||
Constant *CreateLShr(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getLShr(LHS, RHS));
|
||||
Constant *CreateLShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
|
||||
return Fold(ConstantExpr::getLShr(LHS, RHS, isExact));
|
||||
}
|
||||
Constant *CreateAShr(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getAShr(LHS, RHS));
|
||||
Constant *CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
|
||||
return Fold(ConstantExpr::getAShr(LHS, RHS, isExact));
|
||||
}
|
||||
Constant *CreateAnd(Constant *LHS, Constant *RHS) const {
|
||||
return Fold(ConstantExpr::getAnd(LHS, RHS));
|
||||
|
Loading…
x
Reference in New Issue
Block a user