Home
last modified time | relevance | path

Searched refs:isNeg (Results 1 – 21 of 21) sorted by relevance

/external/llvm/include/llvm/ADT/
DStringExtras.h60 static inline std::string utostr_32(uint32_t X, bool isNeg = false) {
71 if (isNeg) *--BufPtr = '-'; // Add negative sign...
76 static inline std::string utostr(uint64_t X, bool isNeg = false) {
87 if (isNeg) *--BufPtr = '-'; // Add negative sign...
/external/skia/src/utils/
DSkCullPoints.cpp22 return tmp0.isNeg() != 0; in cross_product_is_neg()
46 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() local
48 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test()
/external/llvm/lib/Support/
DAPInt.cpp823 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
837 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
848 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
871 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
874 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
886 if (!isSigned || !isNeg) in roundToDouble()
909 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1567 bool isNeg = false; in KnuthDiv() local
1585 isNeg |= borrow; in KnuthDiv()
1597 if (isNeg) { in KnuthDiv()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp150 bool isNeg() const { return isNegative; } in isNeg() function in __anone92e79760111::CountValue
643 if (TripCount->isNeg()) { in convertToCTRLoop()
655 assert(!TripCount->isNeg() && "Constant trip count must be positive"); in convertToCTRLoop()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp229 (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I))) in getRank()
587 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) { in LinearizeExprTree()
832 if (!BinaryOperator::isNeg(U)) continue; in NegateValue()
869 if (BinaryOperator::isNeg(Sub)) in ShouldBreakUpSubtract()
1137 if (!BinaryOperator::isNeg(TheOp)) in OptimizeAdd()
1566 } else if (BinaryOperator::isNeg(I)) { in OptimizeInst()
/external/skia/include/core/
DSk64.h73 SkBool isNeg() const { return (uint32_t)fHi >> 31; } in isNeg() function
/external/skia/src/core/
DSkRegion_path.cpp101 if (!count.is32() || count.isNeg()) { in init()
107 if (!size.is32() || size.isNeg()) { in init()
DSk64.cpp286 SkASSERT(!this->isNeg()); in getSqrt()
DSkBitmap.cpp26 return !value.isNeg() && value.is32(); in isPos32Bits()
243 SkASSERT(!safeSize.isNeg()); in ComputeSafeSize64()
432 if (size.isNeg() || !size.is32()) { in allocPixelRef()
DSkGeometry.cpp157 if (RR.isNeg()) in SkFindUnitQuadRoots()
420 SkASSERT(!denom.isNeg()); in SkChopQuadAtMaxCurvature()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp137 bool isNeg() const { return isNegative; } in isNeg() function in __anon0f3974cc0111::CountValue
490 if (TripCount->isNeg()) { in convertToHardwareLoop()
/external/skia/tests/
DSk64Test.cpp23 REPORTER_ASSERT(reporter, !a.isNeg() == !table.neg); in bool_table_test()
DBitmapCopyTest.cpp367 if (safeSize.isNeg()) { in TestBitmapCopy()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DXPathParser.java1132 boolean isNeg = false; in UnaryExpr()
1139 isNeg = true; in UnaryExpr()
1144 if (isNeg) in UnaryExpr()
/external/llvm/lib/Transforms/InstCombine/
DInstCombine.h43 if (BinaryOperator::isNeg(V) || in getComplexity()
DInstructionCombining.cpp495 if (BinaryOperator::isNeg(V)) in dyn_castNegVal()
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp86 if (size.isNeg() || !size.is32()) { in webp_parse_header()
DSkImageDecoder_libpng.cpp545 if (size.isNeg() || !size.is32()) { in getBitmapConfig()
/external/llvm/include/llvm/
DInstrTypes.h313 static bool isNeg(const Value *V);
/external/llvm/lib/VMCore/
DInstructions.cpp1919 bool BinaryOperator::isNeg(const Value *V) { in isNeg() function in BinaryOperator
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9108 bool isNeg = false; in isLegalT2AddressImmediate() local
9110 isNeg = true; in isLegalT2AddressImmediate()
9121 if (isNeg) in isLegalT2AddressImmediate()