HomeSort by: relevance | last modified time | path
    Searched refs:HasNUW (Results 1 - 11 of 11) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
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)
    [all...]
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()
    [all...]
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;
IRBuilder.h 1127 bool HasNUW, bool HasNSW) {
1129 if (HasNUW) BO->setHasNoUnsignedWrap();
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...]
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,
  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
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))
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Constants.cpp 2659 Constant *ConstantExpr::getNeg(Constant *C, bool HasNUW, bool HasNSW) {
2663 C, HasNUW, HasNSW);
2679 bool HasNUW, bool HasNSW) {
2680 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) |
2690 bool HasNUW, bool HasNSW) {
2691 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) |
2701 bool HasNUW, bool HasNSW) {
2702 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0) |
2755 bool HasNUW, bool HasNSW) {
2756 unsigned Flags = (HasNUW ? OverflowingBinaryOperator::NoUnsignedWrap : 0)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstructionCombining.cpp 658 bool HasNUW = false;
661 HasNUW = I.hasNoUnsignedWrap();
666 HasNUW &= LOBO->hasNoUnsignedWrap();
671 HasNUW &= ROBO->hasNoUnsignedWrap();
690 BO->setHasNoUnsignedWrap(HasNUW);
InstCombineAddSub.cpp 1272 bool HasNUW = I.hasNoUnsignedWrap() && Op0->hasNoUnsignedWrap() &&
1279 NewI->setHasNoUnsignedWrap(HasNUW);
1283 NewShl->setHasNoUnsignedWrap(HasNUW);
InstCombineMulDivRem.cpp 842 bool HasNUW = cast<OverflowingBinaryOperator>(Op1)->hasNoUnsignedWrap();
843 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) {
InstCombineCompares.cpp 1815 /*HasNUW=*/true),
3936 bool HasNUW = BO0->hasNoUnsignedWrap() && C3->getValue().ule(AP1);
3938 Value *NewAdd = Builder.CreateAdd(A, C3, "", HasNUW, HasNSW);
3942 bool HasNUW = BO1->hasNoUnsignedWrap() && C3->getValue().ule(AP2);
3944 Value *NewAdd = Builder.CreateAdd(C, C3, "", HasNUW, HasNSW);

Completed in 68 milliseconds