Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/Support/
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();
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));
DIRBuilder.h493 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
496 if (HasNSW) BO->setHasNoSignedWrap(); in CreateInsertNUWNSWBinOp()
501 bool HasNUW = false, bool HasNSW = false) {
504 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
506 HasNUW, HasNSW);
521 bool HasNUW = false, bool HasNSW = false) {
526 HasNUW, HasNSW);
541 bool HasNUW = false, bool HasNSW = false) {
546 HasNUW, HasNSW);
610 bool HasNUW = false, bool HasNSW = false) {
[all …]
/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.h759 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
762 if (HasNSW) BO->setHasNoSignedWrap(); in CreateInsertNUWNSWBinOp()
779 bool HasNUW = false, bool HasNSW = false) {
782 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
784 HasNUW, HasNSW);
801 bool HasNUW = false, bool HasNSW = false) {
804 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name);
806 HasNUW, HasNSW);
823 bool HasNUW = false, bool HasNSW = false) {
826 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
[all …]
DConstants.h875 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
879 bool HasNUW = false, bool HasNSW = false);
882 bool HasNUW = false, bool HasNSW = false);
885 bool HasNUW = false, bool HasNSW = false);
897 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/swiftshader/third_party/LLVM/include/llvm/
DConstants.h626 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
630 bool HasNUW = false, bool HasNSW = false);
633 bool HasNUW = false, bool HasNSW = false);
636 bool HasNUW = false, bool HasNSW = false);
648 bool HasNUW = false, bool HasNSW = false);
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp1761 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument
1765 C, HasNUW, HasNSW); in getNeg()
1781 bool HasNUW, bool HasNSW) { in getAdd() argument
1783 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
1792 bool HasNUW, bool HasNSW) { in getSub() argument
1794 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
1803 bool HasNUW, bool HasNSW) { in getMul() argument
1805 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
1852 bool HasNUW, bool HasNSW) { in getShl() argument
1854 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
/external/llvm/lib/IR/
DConstants.cpp2113 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument
2117 C, HasNUW, HasNSW); in getNeg()
2133 bool HasNUW, bool HasNSW) { in getAdd() argument
2135 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
2144 bool HasNUW, bool HasNSW) { in getSub() argument
2146 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
2155 bool HasNUW, bool HasNSW) { in getMul() argument
2157 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
2204 bool HasNUW, bool HasNSW) { in getShl() argument
2206 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp515 bool HasNSW = false; in tryFactorization() local
517 HasNSW = I.hasNoSignedWrap(); in tryFactorization()
521 HasNSW &= Op0->hasNoSignedWrap(); in tryFactorization()
525 HasNSW &= Op1->hasNoSignedWrap(); in tryFactorization()
538 BO->setHasNoSignedWrap(HasNSW); in tryFactorization()