| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | NativeFormatting.cpp | 57 IntegerStyle Style, bool IsNegative) { in write_unsigned_impl() argument 66 if (IsNegative) in write_unsigned_impl() 83 IntegerStyle Style, bool IsNegative = false) { in write_unsigned() argument 87 IsNegative); in write_unsigned() 89 write_unsigned_impl(S, N, MinDigits, Style, IsNegative); in write_unsigned()
|
| H A D | APInt.cpp | 510 unsigned IsNegative = false; in getSufficientBitsNeeded() local 512 IsNegative = Str[0] == '-'; in getSufficientBitsNeeded() 520 return StrLen + IsNegative; in getSufficientBitsNeeded() 522 return StrLen * 3 + IsNegative; in getSufficientBitsNeeded() 524 return StrLen * 4 + IsNegative; in getSufficientBitsNeeded() 531 return (StrLen == 1 ? 4 : StrLen * 64 / 18) + IsNegative; in getSufficientBitsNeeded() 534 return (StrLen == 1 ? 7 : StrLen * 16 / 3) + IsNegative; in getSufficientBitsNeeded()
|
| H A D | APFloat.cpp | 2975 bool IsNegative = str.front() == '-'; in convertFromStringSpecials() local 2976 if (IsNegative) { in convertFromStringSpecials() 3000 makeNaN(IsSignaling, IsNegative); in convertFromStringSpecials() 3026 makeNaN(IsSignaling, IsNegative, &Payload); in convertFromStringSpecials()
|
| /openbsd-src/gnu/llvm/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangle.cpp | 901 bool IsNegative = MangledName.consumeFront('?'); in demangleNumber() local 906 return {Ret, IsNegative}; in demangleNumber() 914 return {Ret, IsNegative}; in demangleNumber() 928 bool IsNegative = false; in demangleUnsigned() local 930 std::tie(Number, IsNegative) = demangleNumber(MangledName); in demangleUnsigned() 931 if (IsNegative) in demangleUnsigned() 937 bool IsNegative = false; in demangleSigned() local 939 std::tie(Number, IsNegative) = demangleNumber(MangledName); in demangleSigned() 943 return IsNegative ? -I : I; in demangleSigned() 1281 bool IsNegative = false; in demangleStringLiteral() local [all …]
|
| H A D | MicrosoftDemangleNodes.cpp | 194 if (IsNegative) in output()
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/Arch/ |
| H A D | X86.cpp | 240 bool IsNegative = Name.startswith("no-"); in getX86TargetFeatures() local 241 if (IsNegative) in getX86TargetFeatures() 243 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in getX86TargetFeatures()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/ |
| H A D | MicrosoftDemangleNodes.h | 554 IntegerLiteralNode(uint64_t Value, bool IsNegative) in IntegerLiteralNode() 555 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode() 560 bool IsNegative = false; member
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 388 void parseSingleInteger(bool IsNegative, OperandVector &Operands) { in parseSingleInteger() argument 391 if (IsNegative) in parseSingleInteger() 399 bool parseSingleFloat(bool IsNegative, OperandVector &Operands) { in parseSingleFloat() argument 404 if (IsNegative) in parseSingleFloat() 413 bool parseSpecialFloatMaybe(bool IsNegative, OperandVector &Operands) { in parseSpecialFloatMaybe() argument 426 if (IsNegative) in parseSpecialFloatMaybe()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 758 const bool IsNegative = (X < 0) ^ (Y < 0); in MulOverflow() local 759 Result = IsNegative ? (0 - UResult) : UResult; in MulOverflow() 768 if (IsNegative) in MulOverflow()
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/DataFormatters/ |
| H A D | FormattersHelpers.h | 93 bool IsNegative() const { in IsNegative() function
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | FixedPointBuilder.h | 56 Value *IsNegative = B.CreateICmpSLT(Result, Zero); in Convert() local 60 Result = B.CreateSelect(IsNegative, Rounded, Result); in Convert()
|
| /openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/ |
| H A D | CommonArgs.cpp | 151 bool IsNegative = Name.startswith("no-"); in handleTargetFeaturesGroup() local 152 if (IsNegative) in handleTargetFeaturesGroup() 154 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in handleTargetFeaturesGroup()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 844 bool IsNegative = false; in canonicalizeSaturatedSubtract() local 849 IsNegative = true; in canonicalizeSaturatedSubtract() 857 if (IsNegative && !TrueVal->hasOneUse() && !ICI->hasOneUse()) in canonicalizeSaturatedSubtract() 863 if (IsNegative) in canonicalizeSaturatedSubtract()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 317 MachineInstr *emitTestBit(Register TestReg, uint64_t Bit, bool IsNegative, 322 MachineInstr *emitCBZ(Register CompareReg, bool IsNegative, 1524 Register TestReg, uint64_t Bit, bool IsNegative, MachineBasicBlock *DstMBB, in emitTestBit() argument 1532 TestReg = getTestBitReg(TestReg, Bit, IsNegative, MRI); in emitTestBit() 1549 unsigned Opc = OpcTable[UseWReg][IsNegative]; in emitTestBit() 1598 bool IsNegative, in emitCBZ() argument 1612 unsigned Opc = OpcTable[IsNegative][Width == 64]; in emitCBZ()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 3000 bool IsNegative = Token.is(MIToken::minus); in parseOffset() local 3007 if (IsNegative) in parseOffset()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 8555 bool IsNegative) const { in expandABS() 8562 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS() 8570 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS() 8579 if (IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS() 8590 (!IsNegative && !isOperationLegalOrCustom(ISD::ADD, VT)) || in expandABS() 8591 (IsNegative && !isOperationLegalOrCustom(ISD::SUB, VT)) || in expandABS() 8602 if (!IsNegative) in expandABS()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 1077 bool IsNegative = C && C->getAPIntValue().isNegative(); in LowerSETCC() local 1078 if (IsNegative || isSExtFree(LHS) || isSExtFree(RHS)) in LowerSETCC()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 4974 bool IsNegative = false) const;
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 2005 llvm::Value *IsNegative = CGF.Builder.CreateICmpSLT(Signed, Zero); in EmitCheckedMixedSignMultiply() local 2008 CGF.Builder.CreateSelect(IsNegative, AbsOfNegative, Signed); in EmitCheckedMixedSignMultiply() 2024 CGF.Builder.CreateZExt(IsNegative, OpTy)); in EmitCheckedMixedSignMultiply() 2032 CGF.Builder.CreateSelect(IsNegative, NegativeResult, UnsignedResult); in EmitCheckedMixedSignMultiply() 2037 IsNegative, CGF.Builder.CreateIsNotNull(UnsignedResult)); in EmitCheckedMixedSignMultiply() 2049 IsNegative, CGF.Builder.CreateNeg(UnsignedResult), UnsignedResult); in EmitCheckedMixedSignMultiply()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelLowering.cpp | 3167 bool IsNegative) { in getAbsolute() argument 3169 if (IsNegative) in getAbsolute()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/ARM/AsmParser/ |
| H A D | ARMAsmParser.cpp | 6269 bool IsNegative = Parser.getTok().is(AsmToken::Minus); in parseOperand() local 6276 if (IsNegative && Val == 0) in parseOperand()
|