Searched refs:NSW (Results 1 - 13 of 13) sorted by relevance

/external/llvm/lib/Analysis/
H A DBasicAliasAnalysis.cpp185 AssumptionCache *AC, DominatorTree *DT, bool &NSW, bool &NUW) {
233 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW);
238 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW);
243 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW);
249 SExtBits, DL, Depth + 1, AC, DT, NSW, NUW);
254 NSW = NUW = false;
260 NSW &= BOp->hasNoSignedWrap();
276 Depth + 1, AC, DT, NSW, NUW);
285 if (NSW) {
447 bool NSW local
182 GetLinearExpression( const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, unsigned &SExtBits, const DataLayout &DL, unsigned Depth, AssumptionCache *AC, DominatorTree *DT, bool &NSW, bool &NUW) argument
1634 bool NSW = true, NUW = true; local
[all...]
H A DValueTracking.cpp235 static void computeKnownBitsAddSub(bool Add, Value *Op0, Value *Op1, bool NSW, argument
301 if (NSW) {
314 static void computeKnownBitsMul(Value *Op0, Value *Op1, bool NSW, argument
325 if (NSW) {
930 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); local
931 computeKnownBitsMul(I->getOperand(0), I->getOperand(1), NSW, KnownZero,
1070 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); local
1071 computeKnownBitsAddSub(false, I->getOperand(0), I->getOperand(1), NSW,
1077 bool NSW = cast<OverflowingBinaryOperator>(I)->hasNoSignedWrap(); local
1078 computeKnownBitsAddSub(true, I->getOperand(0), I->getOperand(1), NSW,
[all...]
H A DInstructionSimplify.cpp1381 // undef << X -> undef if (if it's NSW/NUW)
2889 bool NSW = LBO->hasNoSignedWrap() && RBO->hasNoSignedWrap(); local
2890 if (!NUW && !NSW)
2892 if (!NSW && ICmpInst::isSigned(Pred))
/external/swiftshader/third_party/LLVM/include/llvm/
H A DInstrTypes.h267 DEFINE_HELPERS(Add, NSW) // CreateNSWAdd
269 DEFINE_HELPERS(Sub, NSW) // CreateNSWSub
271 DEFINE_HELPERS(Mul, NSW) // CreateNSWMul
273 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl
/external/llvm/include/llvm/Analysis/
H A DBasicAliasAnalysis.h154 DominatorTree *DT, bool &NSW, bool &NUW);
/external/llvm/include/llvm/IR/
H A DInstrTypes.h469 DEFINE_HELPERS(Add, NSW) // CreateNSWAdd
471 DEFINE_HELPERS(Sub, NSW) // CreateNSWSub
473 DEFINE_HELPERS(Mul, NSW) // CreateNSWMul
475 DEFINE_HELPERS(Shl, NSW) // CreateNSWShl
/external/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp511 // Check if we can add NSW flag to SimplifiedInst. If so, set NSW flag.
1722 bool NSW; local
1723 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) {
1728 GEP.isInBounds() && NSW
1761 bool NSW; local
1762 if (Value *NewIdx = Descale(Idx, APInt(BitWidth, Scale), NSW)) {
1770 Value *NewGEP = GEP.isInBounds() && NSW
H A DInstCombineCompares.cpp2011 // If the shift is NSW and we compare to 0, then it is just shifting out
4064 bool NSW = BO0->hasNoSignedWrap() && BO1->hasNoSignedWrap(); local
4065 if (!NUW && !NSW)
4067 if (!NSW && I.isSigned())
/external/swiftshader/third_party/LLVM/lib/AsmParser/
H A DLLParser.cpp2193 bool NSW = false;
2204 NSW = true;
2224 if (NSW)
2254 if (NSW) Flags |= OverflowingBinaryOperator::NoSignedWrap;
2898 bool NSW = EatIfPresent(lltok::kw_nsw);
2904 if (NSW) cast<BinaryOperator>(Inst)->setHasNoSignedWrap(true);
/external/llvm/lib/AsmParser/
H A DLLParser.cpp3044 bool NSW = false;
3055 NSW = true;
3075 if (NSW)
3105 if (NSW) Flags |= OverflowingBinaryOperator::NoSignedWrap;
4958 bool NSW = EatIfPresent(lltok::kw_nsw);
4964 if (NSW) cast<BinaryOperator>(Inst)->setHasNoSignedWrap(true);
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp945 bool NSW = cast<BinaryOperator>(Shl)->hasNoSignedWrap(); local
947 if (NSW && NUW)
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DInstructionSimplify.cpp1892 bool NSW = LBO->hasNoSignedWrap() && RBO->hasNoSignedWrap(); local
1893 if (!NUW && !NSW)
1895 if (!NSW && ICmpInst::isSigned(Pred))
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2431 bool NSW = BO0->hasNoSignedWrap() && BO1->hasNoSignedWrap(); local
2432 if (!NUW && !NSW)
2434 if (!NSW && I.isSigned())

Completed in 606 milliseconds