Searched refs:isNSW (Results 1 - 7 of 7) sorted by last modified time

/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DInstructionSimplify.h32 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
37 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
77 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DInstructionSimplify.cpp542 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
604 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
606 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit);
611 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
725 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
727 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit);
1074 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
1092 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
1094 return ::SimplifyShlInst(Op0, Op1, isNSW, isNUW, TD, DT, RecursionLimit);
2347 return SimplifyAddInst(LHS, RHS, /*isNSW*/fals
[all...]
H A DPHITransAddr.cpp265 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); local
277 isNSW = isNUW = false;
287 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, TD, DT)) {
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp34 bool isNUW = false, isNSW = false, isExact = false; local
38 isNSW = BO->hasNoSignedWrap();
60 if (isNSW)
61 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap();
124 if (isNSW) NewBinOp->setHasNoSignedWrap();
405 bool isNUW = false, isNSW = false, isExact = false; local
426 isNSW = BO->hasNoSignedWrap();
448 if (isNSW)
449 isNSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap();
493 if (isNSW) BinO
[all...]
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp529 static Value *SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
582 Value *llvm::SimplifyAddInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
586 return ::SimplifyAddInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI),
663 static Value *SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
777 Value *llvm::SimplifySubInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
781 return ::SimplifySubInst(Op0, Op1, isNSW, isNUW, Query(DL, TLI, DT, AC, CxtI),
1375 static Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
1383 return isNSW || isNUW ? Op0 : Constant::getNullValue(Op0->getType());
1392 Value *llvm::SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW, argument
1396 return ::SimplifyShlInst(Op0, Op1, isNSW, isNU
1529 bool isNSW = AddInst->hasNoSignedWrap(); local
1703 bool isNSW = AddInst->hasNoSignedWrap(); local
[all...]
H A DPHITransAddr.cpp260 bool isNSW = cast<BinaryOperator>(Inst)->hasNoSignedWrap(); local
272 isNSW = isNUW = false;
283 if (Value *Res = SimplifyAddInst(LHS, RHS, isNSW, isNUW, DL, TLI, DT, AC)) {
/external/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h51 Value *SimplifyAddInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
60 Value *SimplifySubInst(Value *LHS, Value *RHS, bool isNSW, bool isNUW,
154 Value *SimplifyShlInst(Value *Op0, Value *Op1, bool isNSW, bool isNUW,

Completed in 287 milliseconds