Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DConstantFolder.h36 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);
DNoFolder.h42 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();
DIRBuilder.h1148 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 …]
DConstants.h929 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);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetFolder.h49 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));
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp2299 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp615 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()
DInstCombineMulDivRem.cpp800 bool HasNSW = cast<OverflowingBinaryOperator>(Op1)->hasNoSignedWrap(); in commonIDivTransforms() local
802 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) { in commonIDivTransforms()