Home
last modified time | relevance | path

Searched refs:HasNSW (Results 1 – 21 of 21) 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DConstantFolder.h37 bool HasNUW = false, bool HasNSW = false) const {
38 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW);
46 bool HasNUW = false, bool HasNSW = false) const {
47 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW);
55 bool HasNUW = false, bool HasNSW = false) const {
56 return ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW);
90 bool HasNUW = false, bool HasNSW = false) const {
91 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW);
126 bool HasNUW = false, bool HasNSW = false) const {
127 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
DNoFolder.h43 bool HasNUW = false, bool HasNSW = false) const {
46 if (HasNSW) BO->setHasNoSignedWrap();
63 bool HasNUW = false, bool HasNSW = false) const {
66 if (HasNSW) BO->setHasNoSignedWrap();
83 bool HasNUW = false, bool HasNSW = false) const {
86 if (HasNSW) BO->setHasNoSignedWrap();
141 bool HasNSW = false) const {
144 if (HasNSW) BO->setHasNoSignedWrap();
184 bool HasNUW = false, bool HasNSW = false) const {
187 if (HasNSW) BO->setHasNoSignedWrap();
DIRBuilder.h937 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
940 if (HasNSW) BO->setHasNoSignedWrap(); in CreateInsertNUWNSWBinOp()
963 bool HasNUW = false, bool HasNSW = false) {
966 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name);
968 HasNUW, HasNSW);
980 bool HasNUW = false, bool HasNSW = false) {
983 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name);
985 HasNUW, HasNSW);
997 bool HasNUW = false, bool HasNSW = false) {
1000 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name);
[all …]
DConstants.h925 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false);
929 bool HasNUW = false, bool HasNSW = false);
932 bool HasNUW = false, bool HasNSW = false);
935 bool HasNUW = false, bool HasNSW = false);
947 bool HasNUW = false, bool HasNSW = false);
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h50 bool HasNUW = false, bool HasNSW = false) const {
51 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW));
57 bool HasNUW = false, bool HasNSW = false) const {
58 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW));
64 bool HasNUW = false, bool HasNSW = false) const {
65 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW));
89 bool HasNUW = false, bool HasNSW = false) const {
90 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW));
118 bool HasNUW = false, bool HasNSW = false) const {
119 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DConstants.cpp2167 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument
2171 C, HasNUW, HasNSW); in getNeg()
2187 bool HasNUW, bool HasNSW) { in getAdd() argument
2189 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd()
2198 bool HasNUW, bool HasNSW) { in getSub() argument
2200 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub()
2209 bool HasNUW, bool HasNSW) { in getMul() argument
2211 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul()
2258 bool HasNUW, bool HasNSW) { in getShl() argument
2260 (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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp570 bool HasNSW = false; in tryFactorization() local
572 HasNSW = I.hasNoSignedWrap(); in tryFactorization()
575 HasNSW &= LOBO->hasNoSignedWrap(); in tryFactorization()
578 HasNSW &= ROBO->hasNoSignedWrap(); in tryFactorization()
591 BO->setHasNoSignedWrap(HasNSW); in tryFactorization()
DInstCombineMulDivRem.cpp777 bool HasNSW = cast<OverflowingBinaryOperator>(Op1)->hasNoSignedWrap(); in commonIDivTransforms() local
779 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) { in commonIDivTransforms()