Home
last modified time | relevance | path

Searched refs:HasNSW (Results 1 – 7 of 7) sorted by relevance

/external/llvm/include/llvm/IR/
DConstantFolder.h35 bool HasNUW = false, bool HasNSW = false) const {
36 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
42 bool HasNUW = false, bool HasNSW = false) const {
43 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
49 bool HasNUW = false, bool HasNSW = false) const {
50 return ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW);
76 bool HasNUW = false, bool HasNSW = false) const {
77 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
107 bool HasNUW = false, bool HasNSW = false) const {
108 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
DNoFolder.h41 bool HasNUW = false, bool HasNSW = false) const {
44 if (HasNSW) BO->setHasNoSignedWrap();
57 bool HasNUW = false, bool HasNSW = false) const {
60 if (HasNSW) BO->setHasNoSignedWrap();
73 bool HasNUW = false, bool HasNSW = false) const {
76 if (HasNSW) BO->setHasNoSignedWrap();
119 bool HasNSW = false) const {
122 if (HasNSW) BO->setHasNoSignedWrap();
157 bool HasNUW = false, bool HasNSW = false) const {
160 if (HasNSW) BO->setHasNoSignedWrap();
DIRBuilder.h676 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
679 if (HasNSW) BO->setHasNoSignedWrap(); in CreateInsertNUWNSWBinOp()
695 bool HasNUW = false, bool HasNSW = false) {
698 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
700 HasNUW, HasNSW);
717 bool HasNUW = false, bool HasNSW = false) {
720 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name);
722 HasNUW, HasNSW);
739 bool HasNUW = false, bool HasNSW = false) {
742 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
[all …]
DConstants.h860 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
864 bool HasNUW = false, bool HasNSW = false);
867 bool HasNUW = false, bool HasNSW = false);
870 bool HasNUW = false, bool HasNSW = false);
882 bool HasNUW = false, bool HasNSW = false);
/external/llvm/include/llvm/Analysis/
DTargetFolder.h51 bool HasNUW = false, bool HasNSW = false) const {
52 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
58 bool HasNUW = false, bool HasNSW = false) const {
59 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
65 bool HasNUW = false, bool HasNSW = false) const {
66 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW));
90 bool HasNUW = false, bool HasNSW = false) const {
91 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
119 bool HasNUW = false, bool HasNSW = false) const {
120 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
/external/llvm/lib/IR/
DConstants.cpp2211 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument
2215 C, HasNUW, HasNSW); in getNeg()
2231 bool HasNUW, bool HasNSW) { in getAdd() argument
2233 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
2242 bool HasNUW, bool HasNSW) { in getSub() argument
2244 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
2253 bool HasNUW, bool HasNSW) { in getMul() argument
2255 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
2302 bool HasNUW, bool HasNSW) { in getShl() argument
2304 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp509 bool HasNSW = false; in tryFactorization() local
511 HasNSW = I.hasNoSignedWrap(); in tryFactorization()
515 HasNSW &= Op0->hasNoSignedWrap(); in tryFactorization()
519 HasNSW &= Op1->hasNoSignedWrap(); in tryFactorization()
520 BO->setHasNoSignedWrap(HasNSW); in tryFactorization()