Home
last modified time | relevance | path

Searched refs:HasNUW (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 {
44 if (HasNUW) BO->setHasNoUnsignedWrap();
62 bool HasNUW = false, bool HasNSW = false) const {
64 if (HasNUW) BO->setHasNoUnsignedWrap();
82 bool HasNUW = false, bool HasNSW = false) const {
84 if (HasNUW) BO->setHasNoUnsignedWrap();
139 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false,
142 if (HasNUW) BO->setHasNoUnsignedWrap();
183 bool HasNUW = false, bool HasNSW = false) const {
185 if (HasNUW) BO->setHasNoUnsignedWrap();
DIRBuilder.h1148 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument
1150 if (HasNUW) BO->setHasNoUnsignedWrap(); 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
2320 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd()
2330 bool HasNUW, bool HasNSW) { in getSub() argument
2331 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub()
2341 bool HasNUW, bool HasNSW) { in getMul() argument
2342 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul()
2390 bool HasNUW, bool HasNSW) { in getShl() argument
2391 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp616 bool HasNUW = false; in tryFactorization() local
619 HasNUW = I.hasNoUnsignedWrap(); in tryFactorization()
624 HasNUW &= LOBO->hasNoUnsignedWrap(); in tryFactorization()
629 HasNUW &= ROBO->hasNoUnsignedWrap(); in tryFactorization()
648 BO->setHasNoUnsignedWrap(HasNUW); in tryFactorization()
DInstCombineMulDivRem.cpp801 bool HasNUW = cast<OverflowingBinaryOperator>(Op1)->hasNoUnsignedWrap(); in commonIDivTransforms() local
802 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) { in commonIDivTransforms()