Home
last modified time | relevance | path

Searched refs:HasNUW (Results 1 – 19 of 19) 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 {
43 if (HasNUW) BO->setHasNoUnsignedWrap();
57 bool HasNUW = false, bool HasNSW = false) const {
59 if (HasNUW) BO->setHasNoUnsignedWrap();
73 bool HasNUW = false, bool HasNSW = false) const {
75 if (HasNUW) BO->setHasNoUnsignedWrap();
118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false,
121 if (HasNUW) BO->setHasNoUnsignedWrap();
157 bool HasNUW = false, bool HasNSW = false) const {
159 if (HasNUW) BO->setHasNoUnsignedWrap();
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
495 if (HasNUW) BO->setHasNoUnsignedWrap(); 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 {
45 if (HasNUW) BO->setHasNoUnsignedWrap();
63 bool HasNUW = false, bool HasNSW = false) const {
65 if (HasNUW) BO->setHasNoUnsignedWrap();
83 bool HasNUW = false, bool HasNSW = false) const {
85 if (HasNUW) BO->setHasNoUnsignedWrap();
140 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false,
143 if (HasNUW) BO->setHasNoUnsignedWrap();
184 bool HasNUW = false, bool HasNSW = false) const {
186 if (HasNUW) BO->setHasNoUnsignedWrap();
DIRBuilder.h937 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
939 if (HasNUW) BO->setHasNoUnsignedWrap(); 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 {
43 if (HasNUW) BO->setHasNoUnsignedWrap();
57 bool HasNUW = false, bool HasNSW = false) const {
59 if (HasNUW) BO->setHasNoUnsignedWrap();
73 bool HasNUW = false, bool HasNSW = false) const {
75 if (HasNUW) BO->setHasNoUnsignedWrap();
118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false,
121 if (HasNUW) BO->setHasNoUnsignedWrap();
157 bool HasNUW = false, bool HasNSW = false) const {
159 if (HasNUW) BO->setHasNoUnsignedWrap();
DIRBuilder.h759 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
761 if (HasNUW) BO->setHasNoUnsignedWrap(); 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
1782 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
1792 bool HasNUW, bool HasNSW) { in getSub() argument
1793 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
1803 bool HasNUW, bool HasNSW) { in getMul() argument
1804 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
1852 bool HasNUW, bool HasNSW) { in getShl() argument
1853 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 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
2134 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
2144 bool HasNUW, bool HasNSW) { in getSub() argument
2145 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
2155 bool HasNUW, bool HasNSW) { in getMul() argument
2156 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
2204 bool HasNUW, bool HasNSW) { in getShl() argument
2205 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 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
2188 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
2198 bool HasNUW, bool HasNSW) { in getSub() argument
2199 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
2209 bool HasNUW, bool HasNSW) { in getMul() argument
2210 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
2258 bool HasNUW, bool HasNSW) { in getShl() argument
2259 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp778 bool HasNUW = cast<OverflowingBinaryOperator>(Op1)->hasNoUnsignedWrap(); in commonIDivTransforms() local
779 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) { in commonIDivTransforms()