HomeSort by: relevance | last modified time | path
    Searched refs:HasNSW (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 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()
    [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) {
1130 if (HasNSW) BO->setHasNoSignedWrap();
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 974 bool HasNSW = false);
978 bool HasNSW = false);
981 bool HasNSW = false);
984 bool HasNSW = false);
997 bool HasNSW = 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) {
2681 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0);
2690 bool HasNUW, bool HasNSW) {
2692 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0);
2701 bool HasNUW, bool HasNSW) {
2703 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0);
2755 bool HasNUW, bool HasNSW) {
2757 (HasNSW ? OverflowingBinaryOperator::NoSignedWrap : 0)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstructionCombining.cpp 657 bool HasNSW = false;
660 HasNSW = I.hasNoSignedWrap();
665 HasNSW &= LOBO->hasNoSignedWrap();
670 HasNSW &= ROBO->hasNoSignedWrap();
686 BO->setHasNoSignedWrap(HasNSW);
InstCombineAddSub.cpp 1270 bool HasNSW = I.hasNoSignedWrap() && Op0->hasNoSignedWrap() &&
1278 NewI->setHasNoSignedWrap(HasNSW);
1282 NewShl->setHasNoSignedWrap(HasNSW);
InstCombineMulDivRem.cpp 841 bool HasNSW = cast<OverflowingBinaryOperator>(Op1)->hasNoSignedWrap();
843 if ((IsSigned && HasNSW) || (!IsSigned && HasNUW)) {
InstCombineCompares.cpp 3937 bool HasNSW = BO0->hasNoSignedWrap();
3938 Value *NewAdd = Builder.CreateAdd(A, C3, "", HasNUW, HasNSW);
3943 bool HasNSW = BO1->hasNoSignedWrap();
3944 Value *NewAdd = Builder.CreateAdd(C, C3, "", HasNUW, HasNSW);

Completed in 37 milliseconds