Home
last modified time | relevance | path

Searched refs:isNeg (Results 1 – 25 of 45) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DUtility.h42 void writeUnsigned(uint64_t N, bool isNeg = false) {
58 if (isNeg)
/external/libcxxabi/src/demangle/
DUtility.h43 void writeUnsigned(uint64_t N, bool isNeg = false) {
59 if (isNeg)
/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-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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ExpandPseudoInsts.cpp524 bool isNeg = false; in expandMOVImmSimple() local
529 isNeg = true; in expandMOVImmSimple()
536 FirstOpc = (isNeg ? AArch64::MOVNWi : AArch64::MOVZWi); in expandMOVImmSimple()
538 FirstOpc = (isNeg ? AArch64::MOVNXi : AArch64::MOVZXi); in expandMOVImmSimple()
559 if (isNeg) in expandMOVImmSimple()
573 if (Imm16 == (isNeg ? Mask : 0)) in expandMOVImmSimple()
/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/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/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-7.0/llvm/lib/Support/
DAPInt.cpp721 bool isNeg = T.I >> 63; in RoundDoubleToAPInt() local
735 return isNeg ? -APInt(width, mantissa >> (52 - exp)) : in RoundDoubleToAPInt()
746 return isNeg ? -Tmp : Tmp; in RoundDoubleToAPInt()
769 bool isNeg = isSigned ? (*this)[BitWidth-1] : false; in roundToDouble() local
772 APInt Tmp(isNeg ? -(*this) : (*this)); in roundToDouble()
784 if (!isSigned || !isNeg) in roundToDouble()
807 uint64_t sign = isNeg ? (1ULL << (APINT_BITS_PER_WORD - 1)) : 0; in roundToDouble()
1342 bool isNeg = u[j+n] < borrow; in KnuthDiv() local
1352 if (isNeg) { in KnuthDiv()
1972 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringExtras.h223 inline std::string utostr(uint64_t X, bool isNeg = false) {
234 if (isNeg) *--BufPtr = '-'; // Add negative sign...
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DReassociate.cpp209 if (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I) && in getRank()
576 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) || in LinearizeExprTree()
857 if (!BinaryOperator::isNeg(U) && !BinaryOperator::isFNeg(U)) in NegateValue()
902 if (BinaryOperator::isNeg(Sub) || BinaryOperator::isFNeg(Sub)) in ShouldBreakUpSubtract()
1463 if (!BinaryOperator::isNeg(TheOp) && !BinaryOperator::isFNeg(TheOp) && in OptimizeAdd()
1468 if (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp)) in OptimizeAdd()
1479 (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp))) in OptimizeAdd()
2061 } else if (BinaryOperator::isNeg(I)) { in OptimizeInst()
DStraightLineStrengthReduce.cpp645 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/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c488 LLVMValueRef isNeg; in lp_build_sample_wrap_linear() local
509 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, in lp_build_sample_wrap_linear()
511 coord0 = lp_build_xor(int_coord_bld, coord0, isNeg); in lp_build_sample_wrap_linear()
512 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, in lp_build_sample_wrap_linear()
514 coord1 = lp_build_xor(int_coord_bld, coord1, isNeg); in lp_build_sample_wrap_linear()
589 LLVMValueRef isNeg; in lp_build_sample_wrap_linear() local
606 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, coord0, in lp_build_sample_wrap_linear()
608 coord0 = lp_build_xor(int_coord_bld, isNeg, coord0); in lp_build_sample_wrap_linear()
611 isNeg = lp_build_cmp(int_coord_bld, PIPE_FUNC_LESS, coord1, in lp_build_sample_wrap_linear()
613 coord1 = lp_build_xor(int_coord_bld, isNeg, coord1); in lp_build_sample_wrap_linear()
/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()
/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/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h54 if (BinaryOperator::isNeg(V) || BinaryOperator::isFNeg(V) || in getComplexity()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h313 static bool isNeg(const Value *V);

12