Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DStringExtras.h65 static inline std::string utostr_32(uint32_t X, bool isNeg = false) {
76 if (isNeg) *--BufPtr = '-'; // Add negative sign...
81 static inline std::string utostr(uint64_t X, bool isNeg = false) {
92 if (isNeg) *--BufPtr = '-'; // Add negative sign...
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp320 unsigned isNeg = (int64_t(Value - 4) < 0) ? 1 : 0; in adjustFixupValue() local
325 Binary |= isNeg << 10; // Sign bit. in adjustFixupValue()
338 unsigned isNeg = (int64_t(Value-4) < 0) ? 1 : 0; in adjustFixupValue() local
343 Binary |= isNeg << 10; // Sign bit. in adjustFixupValue()
/external/llvm/include/llvm/ADT/
DStringExtras.h78 static inline std::string utostr(uint64_t X, bool isNeg = false) {
89 if (isNeg) *--BufPtr = '-'; // Add negative sign...
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DReassociate.cpp192 (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I))) in getRank()
284 if (!LHSBO && LHS->hasOneUse() && BinaryOperator::isNeg(LHS)) { in LinearizeExprTree()
288 if (!RHSBO && RHS->hasOneUse() && BinaryOperator::isNeg(RHS)) { in LinearizeExprTree()
435 if (!BinaryOperator::isNeg(U)) continue; in NegateValue()
472 if (BinaryOperator::isNeg(Sub)) in ShouldBreakUpSubtract()
758 if (!BinaryOperator::isNeg(TheOp)) in OptimizeAdd()
1004 } else if (BinaryOperator::isNeg(BI)) { in ReassociateInst()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp918 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
932 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
943 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
966 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
969 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
981 if (!isSigned || !isNeg) in roundToDouble()
1004 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1666 bool isNeg = false; in KnuthDiv() local
1684 isNeg |= borrow; in KnuthDiv()
1696 if (isNeg) { in KnuthDiv()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp527 bool isNeg = false; in expandMOVImm() local
532 isNeg = true; in expandMOVImm()
539 FirstOpc = (isNeg ? AArch64::MOVNWi : AArch64::MOVZWi); in expandMOVImm()
541 FirstOpc = (isNeg ? AArch64::MOVNXi : AArch64::MOVZXi); in expandMOVImm()
562 if (isNeg) in expandMOVImm()
576 if (Imm16 == (isNeg ? Mask : 0)) in expandMOVImm()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringExtras.h79 static inline std::string utostr(uint64_t X, bool isNeg = false) {
90 if (isNeg) *--BufPtr = '-'; // Add negative sign...
/external/llvm/lib/Support/
DAPInt.cpp842 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
856 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
867 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
890 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
893 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
905 if (!isSigned || !isNeg) in roundToDouble()
928 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1604 bool isNeg = u[j+n] < borrow; in KnuthDiv() local
1614 if (isNeg) { in KnuthDiv()
2096 bool isNeg = *p == '-'; in fromString() local
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp820 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
834 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
845 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
868 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
871 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
883 if (!isSigned || !isNeg) in roundToDouble()
906 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1578 bool isNeg = u[j+n] < borrow; in KnuthDiv() local
1588 if (isNeg) { in KnuthDiv()
2070 bool isNeg = *p == '-'; in fromString() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp191 if (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I) && in getRank()
560 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) || in LinearizeExprTree()
832 if (!BinaryOperator::isNeg(U) && !BinaryOperator::isFNeg(U)) in NegateValue()
877 if (BinaryOperator::isNeg(Sub) || BinaryOperator::isFNeg(Sub)) in ShouldBreakUpSubtract()
1440 if (!BinaryOperator::isNeg(TheOp) && !BinaryOperator::isFNeg(TheOp) && in OptimizeAdd()
1445 if (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp)) in OptimizeAdd()
1456 (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp))) in OptimizeAdd()
2019 } else if (BinaryOperator::isNeg(I)) { in OptimizeInst()
DStraightLineStrengthReduce.cpp611 if (BinaryOperator::isNeg(Bump)) { in rewriteCandidateWithBasis()
/external/capstone/arch/AArch64/
DAArch64BaseInfo.c81 static char *utostr(uint64_t X, bool isNeg) in utostr() argument
95 if (isNeg) *--BufPtr = '-'; // Add negative sign... in utostr()
/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/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombine.h42 if (BinaryOperator::isNeg(V) || in getComplexity()
DInstructionCombining.cpp486 if (BinaryOperator::isNeg(V)) in dyn_castNegVal()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp348 const bool isNeg = (src & (1<<2)) != 0; in extendSigned3To8() local
349 return (deInt8)((isNeg ? ~((1<<3)-1) : 0) | src); in extendSigned3To8()
/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;
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h313 static bool isNeg(const Value *V);
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h54 if (BinaryOperator::isNeg(V) || BinaryOperator::isFNeg(V) || in getComplexity()
DInstructionCombining.cpp664 if (BinaryOperator::isNeg(V)) in dyn_castNegVal()
/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.cpp1311 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare() local
1312 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0)); in compare()
/external/llvm/include/llvm/IR/
DInstrTypes.h513 static bool isNeg(const Value *V);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp1531 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare() local
1532 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0)); in compare()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp2524 if (BinaryOperator::isNeg(&I)) { in visitBinaryOperator()

12