Home
last modified time | relevance | path

Searched refs:isNeg (Results 1 – 19 of 19) 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.cpp498 bool isNeg = false; in expandMOVImm() local
503 isNeg = true; in expandMOVImm()
510 FirstOpc = (isNeg ? AArch64::MOVNWi : AArch64::MOVZWi); in expandMOVImm()
512 FirstOpc = (isNeg ? AArch64::MOVNXi : AArch64::MOVZXi); in expandMOVImm()
534 if (isNeg) in expandMOVImm()
548 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/llvm/lib/Support/
DAPInt.cpp836 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
850 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
861 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
884 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
887 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
899 if (!isSigned || !isNeg) in roundToDouble()
922 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1589 bool isNeg = false; in KnuthDiv() local
1607 isNeg |= borrow; in KnuthDiv()
1618 if (isNeg) { in KnuthDiv()
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp324 if (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I) && in getRank()
694 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) || in LinearizeExprTree()
954 if (!BinaryOperator::isNeg(U) && !BinaryOperator::isFNeg(U)) in NegateValue()
992 if (BinaryOperator::isNeg(Sub) || BinaryOperator::isFNeg(Sub)) in ShouldBreakUpSubtract()
1545 if (!BinaryOperator::isNeg(TheOp) && !BinaryOperator::isFNeg(TheOp) && in OptimizeAdd()
1550 if (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp)) in OptimizeAdd()
1561 (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp))) in OptimizeAdd()
2117 } else if (BinaryOperator::isNeg(I)) { in OptimizeInst()
DStraightLineStrengthReduce.cpp602 if (BinaryOperator::isNeg(Bump)) { in rewriteCandidateWithBasis()
/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/Target/Hexagon/
DHexagonInstrInfoV5.td907 class T_fimm <string mnemonic, RegisterClass RC, bits<4> RegType, bit isNeg>
909 "$dst = "#mnemonic#"(#$src)"#!if(isNeg, ":neg", ":pos"),
917 let Inst{22} = isNeg;
DHexagonInstrInfo.td2722 class T_MType_mpy_ri <bit isNeg, Operand ImmOp, list<dag> pattern>
2724 "$Rd ="#!if(isNeg, "- ", "+ ")#"mpyi($Rs, #$u8)" ,
2733 let Inst{23} = isNeg;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h64 if (BinaryOperator::isNeg(V) || BinaryOperator::isFNeg(V) || in getComplexity()
DInstructionCombining.cpp620 if (BinaryOperator::isNeg(V)) in dyn_castNegVal()
/external/llvm/include/llvm/IR/
DInstrTypes.h305 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/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp1310 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare() local
1311 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0)); in compare()
/external/sqlite/dist/orig/
Dshell.c2032 int isNeg = 0; in integerValue() local
2034 isNeg = 1; in integerValue()
2058 return isNeg? -v : v; in integerValue()
/external/sqlite/dist/
Dshell.c2054 int isNeg = 0; in integerValue() local
2056 isNeg = 1; in integerValue()
2080 return isNeg? -v : v; in integerValue()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp364 const bool isNeg = (src & (1<<2)) != 0; in extendSigned3To8() local
365 return (deInt8)((isNeg ? ~((1<<3)-1) : 0) | src); in extendSigned3To8()
/external/llvm/lib/IR/
DInstructions.cpp1833 bool BinaryOperator::isNeg(const Value *V) { in isNeg() function in BinaryOperator
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp10024 bool isNeg = false; in isLegalT2AddressImmediate() local
10026 isNeg = true; in isLegalT2AddressImmediate()
10037 if (isNeg) in isLegalT2AddressImmediate()