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.cpp509 bool isNeg = false; in expandMOVImm() local
514 isNeg = true; in expandMOVImm()
521 FirstOpc = (isNeg ? AArch64::MOVNWi : AArch64::MOVZWi); in expandMOVImm()
523 FirstOpc = (isNeg ? AArch64::MOVNXi : AArch64::MOVZXi); in expandMOVImm()
545 if (isNeg) in expandMOVImm()
559 if (Imm16 == (isNeg ? Mask : 0)) in expandMOVImm()
/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()
1598 bool isNeg = u[j+n] < borrow; in KnuthDiv() local
1608 if (isNeg) { in KnuthDiv()
2092 bool isNeg = *p == '-'; in fromString() local
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp292 if (!BinaryOperator::isNot(I) && !BinaryOperator::isNeg(I) && in getRank()
661 if ((Opcode == Instruction::Mul && BinaryOperator::isNeg(BO)) || in LinearizeExprTree()
933 if (!BinaryOperator::isNeg(U) && !BinaryOperator::isFNeg(U)) in NegateValue()
978 if (BinaryOperator::isNeg(Sub) || BinaryOperator::isFNeg(Sub)) in ShouldBreakUpSubtract()
1528 if (!BinaryOperator::isNeg(TheOp) && !BinaryOperator::isFNeg(TheOp) && in OptimizeAdd()
1533 if (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp)) in OptimizeAdd()
1544 (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp))) in OptimizeAdd()
2085 } else if (BinaryOperator::isNeg(I)) { in OptimizeInst()
DStraightLineStrengthReduce.cpp630 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/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;
DHexagonInstrInfo.td2717 class T_MType_mpy_ri <bit isNeg, Operand ImmOp, list<dag> pattern>
2719 "$Rd ="#!if(isNeg, "- ", "+ ")#"mpyi($Rs, #$u8)" ,
2728 let Inst{23} = isNeg;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h54 if (BinaryOperator::isNeg(V) || BinaryOperator::isFNeg(V) || in getComplexity()
DInstructionCombining.cpp668 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/sqlite/dist/orig/
Dshell.c2037 int isNeg = 0; in integerValue() local
2039 isNeg = 1; in integerValue()
2063 return isNeg? -v : v; in integerValue()
/external/sqlite/dist/
Dshell.c2059 int isNeg = 0; in integerValue() local
2061 isNeg = 1; in integerValue()
2085 return isNeg? -v : v; in integerValue()
/external/llvm/include/llvm/IR/
DInstrTypes.h504 static bool isNeg(const Value *V);
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp1551 const bool isNeg = tcu::Float32(in0).sign() < 0; in compare() local
1552 const float ref = isNeg ? (-float(int(-in0))) : float(int(in0)); in compare()
/external/llvm/lib/IR/
DInstructions.cpp2102 bool BinaryOperator::isNeg(const Value *V) { in isNeg() function in BinaryOperator
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp10796 bool isNeg = false; in isLegalT2AddressImmediate() local
10798 isNeg = true; in isLegalT2AddressImmediate()
10809 if (isNeg) in isLegalT2AddressImmediate()