/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A 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);
|
H A D | NoFolder.h | 45 bool HasNUW = false, 48 if (HasNUW) BO->setHasNoUnsignedWrap(); 58 bool HasNUW = false, 61 if (HasNUW) BO->setHasNoUnsignedWrap(); 71 bool HasNUW = false, 74 if (HasNUW) BO->setHasNoUnsignedWrap(); 113 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, 116 if (HasNUW) BO->setHasNoUnsignedWrap(); 157 bool HasNUW = false, 160 if (HasNUW) BO->setHasNoUnsignedWrap();
|
H A 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;
|
H A D | IRBuilder.h | 1127 bool HasNUW, bool HasNSW) { in CreateInsertNUWNSWBinOp() argument 1129 if (HasNUW) BO->setHasNoUnsignedWrap(); in CreateInsertNUWNSWBinOp() 1191 bool HasNUW = false, bool HasNSW = false) { 1194 return Insert(Folder.CreateAdd(LC, RC, HasNUW, HasNSW), Name); 1196 HasNUW, HasNSW); 1208 bool HasNUW = false, bool HasNSW = false) { 1211 return Insert(Folder.CreateSub(LC, RC, HasNUW, HasNSW), Name); 1213 HasNUW, HasNSW); 1225 bool HasNUW = false, bool HasNSW = false) { 1228 return Insert(Folder.CreateMul(LC, RC, HasNUW, HasNSW), Name); [all …]
|
H A D | Constants.h | 973 static Constant *getNeg(Constant *C, bool HasNUW = false, 977 static Constant *getAdd(Constant *C1, Constant *C2, bool HasNUW = false, 980 static Constant *getSub(Constant *C1, Constant *C2, bool HasNUW = false, 983 static Constant *getMul(Constant *C1, Constant *C2, bool HasNUW = false, 996 static Constant *getShl(Constant *C1, Constant *C2, bool HasNUW = false,
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A 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));
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Constants.cpp | 2659 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) { in getNeg() argument 2663 C, HasNUW, HasNSW); in getNeg() 2679 bool HasNUW, bool HasNSW) { in getAdd() argument 2680 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getAdd() 2690 bool HasNUW, bool HasNSW) { in getSub() argument 2691 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getSub() 2701 bool HasNUW, bool HasNSW) { in getMul() argument 2702 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getMul() 2755 bool HasNUW, bool HasNSW) { in getShl() argument 2756 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) | in getShl()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 658 bool HasNUW = false; in tryFactorization() local 661 HasNUW = I.hasNoUnsignedWrap(); in tryFactorization() 666 HasNUW &= LOBO->hasNoUnsignedWrap(); in tryFactorization() 671 HasNUW &= ROBO->hasNoUnsignedWrap(); in tryFactorization() 690 BO->setHasNoUnsignedWrap(HasNUW); in tryFactorization()
|
H A D | InstCombineAddSub.cpp | 1272 bool HasNUW = I.hasNoUnsignedWrap() && Op0->hasNoUnsignedWrap() && in factorizeMathWithShlOps() local 1279 NewI->setHasNoUnsignedWrap(HasNUW); in factorizeMathWithShlOps() 1283 NewShl->setHasNoUnsignedWrap(HasNUW); in factorizeMathWithShlOps()
|
H A D | InstCombineMulDivRem.cpp | 842 bool HasNUW = cast<OverflowingBinaryOperator>(Op1)->hasNoUnsignedWrap(); in commonIDivTransforms() local 843 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) { in commonIDivTransforms()
|
H A D | InstCombineCompares.cpp | 3936 bool HasNUW = BO0->hasNoUnsignedWrap() && C3->getValue().ule(AP1); in foldICmpBinOp() local 3938 Value *NewAdd = Builder.CreateAdd(A, C3, "", HasNUW, HasNSW); in foldICmpBinOp() 3942 bool HasNUW = BO1->hasNoUnsignedWrap() && C3->getValue().ule(AP2); in foldICmpBinOp() local 3944 Value *NewAdd = Builder.CreateAdd(C, C3, "", HasNUW, HasNSW); in foldICmpBinOp()
|