/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 36 bool HasNUW = false, bool HasNSW = false) const { 37 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW); 45 bool HasNUW = false, bool HasNSW = false) const { 46 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW); 54 bool HasNUW = false, bool HasNSW = false) const { 55 return ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW); 89 bool HasNUW = false, bool HasNSW = false) const { 90 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW); 125 bool HasNUW = false, bool HasNSW = false) const { 126 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
|
D | NoFolder.h | 42 bool HasNUW = false, bool HasNSW = false) const { 45 if (HasNSW) BO->setHasNoSignedWrap(); 62 bool HasNUW = false, bool HasNSW = false) const { 65 if (HasNSW) BO->setHasNoSignedWrap(); 82 bool HasNUW = false, bool HasNSW = false) const { 85 if (HasNSW) BO->setHasNoSignedWrap(); 140 bool HasNSW = false) const { 143 if (HasNSW) BO->setHasNoSignedWrap(); 183 bool HasNUW = false, bool HasNSW = false) const { 186 if (HasNSW) BO->setHasNoSignedWrap();
|
D | IRBuilder.h | 1148 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument 1151 if (HasNSW) BO->setHasNoSignedWrap(); in CreateInsertNUWNSWBinOp() 1212 bool HasNUW = false, bool HasNSW = false) { 1215 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name); 1217 HasNUW, HasNSW); 1229 bool HasNUW = false, bool HasNSW = false) { 1232 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name); 1234 HasNUW, HasNSW); 1246 bool HasNUW = false, bool HasNSW = false) { 1249 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name); [all …]
|
D | Constants.h | 929 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); 933 bool HasNUW = false, bool HasNSW = false); 936 bool HasNUW = false, bool HasNSW = false); 939 bool HasNUW = false, bool HasNSW = false); 951 bool HasNUW = false, bool HasNSW = false);
|
/external/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 35 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);
|
D | NoFolder.h | 41 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();
|
D | IRBuilder.h | 759 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 …]
|
D | Constants.h | 875 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-10.0/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 49 bool HasNUW = false, bool HasNSW = false) const { 50 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW)); 56 bool HasNUW = false, bool HasNSW = false) const { 57 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW)); 63 bool HasNUW = false, bool HasNSW = false) const { 64 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW)); 88 bool HasNUW = false, bool HasNSW = false) const { 89 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW)); 117 bool HasNUW = false, bool HasNSW = false) const { 118 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | ConstantFolder.h | 39 bool HasNUW = false, bool HasNSW = false) const override { 40 return ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW); 48 bool HasNUW = false, bool HasNSW = false) const override { 49 return ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW); 57 bool HasNUW = false, bool HasNSW = false) const override { 58 return ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW); 92 bool HasNUW = false, bool HasNSW = false) const override { 93 return ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW); 128 bool HasNUW = false, bool HasNSW = false) const override { 129 return ConstantExpr::getNeg(C, HasNUW, HasNSW);
|
D | NoFolder.h | 46 bool HasNSW = false) const override { 49 if (HasNSW) BO->setHasNoSignedWrap(); 59 bool HasNSW = false) const override { 62 if (HasNSW) BO->setHasNoSignedWrap(); 72 bool HasNSW = false) const override { 75 if (HasNSW) BO->setHasNoSignedWrap(); 114 bool HasNSW = false) const override { 117 if (HasNSW) BO->setHasNoSignedWrap(); 158 bool HasNSW = false) const override { 161 if (HasNSW) BO->setHasNoSignedWrap();
|
D | IRBuilderFolder.h | 33 bool HasNUW = false, bool HasNSW = false) const = 0; 36 bool HasNUW = false, bool HasNSW = false) const = 0; 39 bool HasNUW = false, bool HasNSW = false) const = 0; 50 bool HasNUW = false, bool HasNSW = false) const = 0; 66 bool HasNUW = false, bool HasNSW = false) const = 0;
|
D | IRBuilder.h | 1132 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument 1135 if (HasNSW) BO->setHasNoSignedWrap(); in CreateInsertNUWNSWBinOp() 1196 bool HasNUW = false, bool HasNSW = false) { 1199 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name); 1201 HasNUW, HasNSW); 1213 bool HasNUW = false, bool HasNSW = false) { 1216 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name); 1218 HasNUW, HasNSW); 1230 bool HasNUW = false, bool HasNSW = false) { 1233 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name); [all …]
|
D | Constants.h | 976 static Constant *getNeg(Constant *C, bool HasNUW = false, bool HasNSW =false); 980 bool HasNUW = false, bool HasNSW = false); 983 bool HasNUW = false, bool HasNSW = false); 986 bool HasNUW = false, bool HasNSW = false); 999 bool HasNUW = false, bool HasNSW = false);
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 51 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-project/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 50 bool HasNUW = false, bool HasNSW = false) const override { 51 return Fold(ConstantExpr::getAdd(LHS, RHS, HasNUW, HasNSW)); 57 bool HasNUW = false, bool HasNSW = false) const override { 58 return Fold(ConstantExpr::getSub(LHS, RHS, HasNUW, HasNSW)); 64 bool HasNUW = false, bool HasNSW = false) const override { 65 return Fold(ConstantExpr::getMul(LHS, RHS, HasNUW, HasNSW)); 91 bool HasNUW = false, bool HasNSW = false) const override { 92 return Fold(ConstantExpr::getShl(LHS, RHS, HasNUW, HasNSW)); 122 bool HasNUW = false, bool HasNSW = false) const override { 123 return Fold(ConstantExpr::getNeg(C, HasNUW, HasNSW));
|
/external/llvm/lib/IR/ |
D | Constants.cpp | 2113 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-10.0/llvm/lib/IR/ |
D | Constants.cpp | 2299 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument 2303 C, HasNUW, HasNSW); in getNeg() 2319 bool HasNUW, bool HasNSW) { in getAdd() argument 2321 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd() 2330 bool HasNUW, bool HasNSW) { in getSub() argument 2332 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub() 2341 bool HasNUW, bool HasNSW) { in getMul() argument 2343 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul() 2390 bool HasNUW, bool HasNSW) { in getShl() argument 2392 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
|
/external/llvm-project/llvm/lib/IR/ |
D | Constants.cpp | 2589 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument 2593 C, HasNUW, HasNSW); in getNeg() 2609 bool HasNUW, bool HasNSW) { in getAdd() argument 2611 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getAdd() 2620 bool HasNUW, bool HasNSW) { in getSub() argument 2622 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getSub() 2631 bool HasNUW, bool HasNSW) { in getMul() argument 2633 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getMul() 2685 bool HasNUW, bool HasNSW) { in getShl() argument 2687 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0); in getShl()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 515 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-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 615 bool HasNSW = false; in tryFactorization() local 618 HasNSW = I.hasNoSignedWrap(); in tryFactorization() 623 HasNSW &= LOBO->hasNoSignedWrap(); in tryFactorization() 628 HasNSW &= ROBO->hasNoSignedWrap(); in tryFactorization() 644 BO->setHasNoSignedWrap(HasNSW); in tryFactorization()
|
D | InstCombineMulDivRem.cpp | 800 bool HasNSW = cast<OverflowingBinaryOperator>(Op1)->hasNoSignedWrap(); in commonIDivTransforms() local 802 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) { in commonIDivTransforms()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstructionCombining.cpp | 657 bool HasNSW = false; in tryFactorization() local 660 HasNSW = I.hasNoSignedWrap(); in tryFactorization() 665 HasNSW &= LOBO->hasNoSignedWrap(); in tryFactorization() 670 HasNSW &= ROBO->hasNoSignedWrap(); in tryFactorization() 686 BO->setHasNoSignedWrap(HasNSW); in tryFactorization()
|
D | InstCombineAddSub.cpp | 1263 bool HasNSW = I.hasNoSignedWrap() && Op0->hasNoSignedWrap() && in factorizeMathWithShlOps() local 1271 NewI->setHasNoSignedWrap(HasNSW); in factorizeMathWithShlOps() 1275 NewShl->setHasNoSignedWrap(HasNSW); in factorizeMathWithShlOps()
|
D | InstCombineMulDivRem.cpp | 827 bool HasNSW = cast<OverflowingBinaryOperator>(Op1)->hasNoSignedWrap(); in commonIDivTransforms() local 829 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) { in commonIDivTransforms()
|