Home
last modified time | relevance | path

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

/external/llvm/include/llvm/ADT/
DStringExtras.h77 static inline std::string utostr_32(uint32_t X, bool isNeg = false) {
88 if (isNeg) *--BufPtr = '-'; // Add negative sign...
93 static inline std::string utostr(uint64_t X, bool isNeg = false) {
104 if (isNeg) *--BufPtr = '-'; // Add negative sign...
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp497 bool isNeg = false; in expandMOVImm() local
502 isNeg = true; in expandMOVImm()
509 FirstOpc = (isNeg ? AArch64::MOVNWi : AArch64::MOVZWi); in expandMOVImm()
511 FirstOpc = (isNeg ? AArch64::MOVNXi : AArch64::MOVZXi); in expandMOVImm()
533 if (isNeg) in expandMOVImm()
547 if (Imm16 == (isNeg ? Mask : 0)) in expandMOVImm()
/external/skia/src/utils/
DSkCullPoints.cpp38 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() local
40 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test()
/external/chromium_org/third_party/skia/src/utils/
DSkCullPoints.cpp38 bool isNeg = cross_product_is_neg(vec, x0 - rAsQuad[0].fX, y0 - rAsQuad[0].fY); in sect_test() local
40 if (cross_product_is_neg(vec, x0 - rAsQuad[i].fX, y0 - rAsQuad[i].fY) != isNeg) { in sect_test()
/external/llvm/lib/Support/
DAPInt.cpp824 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
838 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
849 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
872 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
875 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
887 if (!isSigned || !isNeg) in roundToDouble()
910 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1568 bool isNeg = false; in KnuthDiv() local
1586 isNeg |= borrow; in KnuthDiv()
1598 if (isNeg) { in KnuthDiv()
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp308 (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I))) in getRank()
623 if (Opcode == Instruction::Mul && BO && BinaryOperator::isNeg(BO)) { in LinearizeExprTree()
867 if (!BinaryOperator::isNeg(U)) continue; in NegateValue()
904 if (BinaryOperator::isNeg(Sub)) in ShouldBreakUpSubtract()
1415 if (!BinaryOperator::isNeg(TheOp) && !BinaryOperator::isNot(TheOp)) in OptimizeAdd()
1419 if (BinaryOperator::isNeg(TheOp)) in OptimizeAdd()
1429 if (Ops.size() == 2 && BinaryOperator::isNeg(TheOp)) in OptimizeAdd()
1868 } else if (BinaryOperator::isNeg(I)) { in OptimizeInst()
/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.h49 if (BinaryOperator::isNeg(V) || BinaryOperator::isFNeg(V) || in getComplexity()
DInstructionCombining.cpp613 if (BinaryOperator::isNeg(V)) in dyn_castNegVal()
/external/llvm/include/llvm/IR/
DInstrTypes.h311 static bool isNeg(const Value *V);
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp1228 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare() local
1229 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0)); in compare()
/external/sqlite/dist/
Dshell.c1833 int isNeg = 0; in integerValue() local
1835 isNeg = 1; in integerValue()
1859 return isNeg? -v : v; in integerValue()
/external/sqlite/dist/orig/
Dshell.c1813 int isNeg = 0; in integerValue() local
1815 isNeg = 1; in integerValue()
1839 return isNeg? -v : v; in integerValue()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp1264 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare() local
1265 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0)); in compare()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp379 const bool isNeg = (src & (1<<2)) != 0; in extendSigned3To8() local
380 return (deInt8)((isNeg ? ~((1<<3)-1) : 0) | src); in extendSigned3To8()
/external/llvm/lib/IR/
DInstructions.cpp1938 bool BinaryOperator::isNeg(const Value *V) { in isNeg() function in BinaryOperator
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp9828 bool isNeg = false; in isLegalT2AddressImmediate() local
9830 isNeg = true; in isLegalT2AddressImmediate()
9841 if (isNeg) in isLegalT2AddressImmediate()