| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/ |
| H A D | X86.cpp | 237 bool IsNegative = Name.consume_front("no-"); in getX86TargetFeatures() local 245 if (IsNegative) in getX86TargetFeatures() 259 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in getX86TargetFeatures() 280 bool IsNegative = Name.starts_with("no-"); in getX86TargetFeatures() local 297 if (Not64Bit && !IsNegative) in getX86TargetFeatures() 310 Args.MakeArgString((IsNegative ? "-" : "+") + Value)); in getX86TargetFeatures() 314 if (IsNegative) in getX86TargetFeatures() 316 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in getX86TargetFeatures()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | NativeFormatting.cpp | 56 IntegerStyle Style, bool IsNegative) { in write_unsigned_impl() argument 62 if (IsNegative) in write_unsigned_impl() 79 IntegerStyle Style, bool IsNegative = false) { in write_unsigned() argument 83 IsNegative); in write_unsigned() 85 write_unsigned_impl(S, N, MinDigits, Style, IsNegative); in write_unsigned()
|
| H A D | APInt.cpp | 549 unsigned IsNegative = false; in getSufficientBitsNeeded() local 551 IsNegative = Str[0] == '-'; in getSufficientBitsNeeded() 559 return StrLen + IsNegative; in getSufficientBitsNeeded() 561 return StrLen * 3 + IsNegative; in getSufficientBitsNeeded() 563 return StrLen * 4 + IsNegative; in getSufficientBitsNeeded() 570 return (StrLen == 1 ? 4 : StrLen * 64 / 18) + IsNegative; in getSufficientBitsNeeded() 573 return (StrLen == 1 ? 7 : StrLen * 16 / 3) + IsNegative; in getSufficientBitsNeeded()
|
| H A D | APFloat.cpp | 3266 bool IsNegative = str.consume_front("-"); in convertFromStringSpecials() local 3267 if (IsNegative) { in convertFromStringSpecials() 3287 makeNaN(IsSignaling, IsNegative); in convertFromStringSpecials() 3314 makeNaN(IsSignaling, IsNegative, &Payload); in convertFromStringSpecials()
|
| /freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangle.cpp | 948 bool IsNegative = consumeFront(MangledName, '?'); in demangleNumber() local 953 return {Ret, IsNegative}; in demangleNumber() 961 return {Ret, IsNegative}; in demangleNumber() 975 bool IsNegative = false; in demangleUnsigned() local 977 std::tie(Number, IsNegative) = demangleNumber(MangledName); in demangleUnsigned() 978 if (IsNegative) in demangleUnsigned() 984 bool IsNegative = false; in demangleSigned() local 986 std::tie(Number, IsNegative) = demangleNumber(MangledName); in demangleSigned() 990 return IsNegative ? -I : I; in demangleSigned() 1333 bool IsNegative = false; in demangleStringLiteral() local [all …]
|
| H A D | MicrosoftDemangleNodes.cpp | 196 if (IsNegative) in output()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 311 bool IsNegative) const; 795 bool IsNegative) const { in emitRcpIEEE1ULP() 798 if (IsNegative) in emitRcpIEEE1ULP() 868 bool IsNegative) { in emitRsqIEEE1ULP() argument 882 ConstantFP::get(Ty, IsNegative ? -0x1.0p+12 : 0x1.0p+12); in emitRsqIEEE1ULP() 889 NeedScale, OutputScale, IsNegative ? ConstantFP::get(Ty, -1.0) : One); in emitRsqIEEE1ULP() 921 bool IsNegative = false; in optimizeWithRsq() local 924 if (CLHS->isExactlyValue(1.0) || (IsNegative = CLHS->isExactlyValue(-1.0))) { in optimizeWithRsq() 933 return IsNegative ? Builder.CreateFNeg(Result) : Result; in optimizeWithRsq() 936 return emitRsqIEEE1ULP(Builder, Den, IsNegative); in optimizeWithRsq() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| H A D | MicrosoftDemangleNodes.h | 658 IntegerLiteralNode(uint64_t Value, bool IsNegative) in IntegerLiteralNode() 659 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode() 668 bool IsNegative = false; member
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmParser.cpp | 432 void parseSingleInteger(bool IsNegative, OperandVector &Operands) { in parseSingleInteger() argument 435 if (IsNegative) in parseSingleInteger() 442 bool parseSingleFloat(bool IsNegative, OperandVector &Operands) { in parseSingleFloat() argument 447 if (IsNegative) in parseSingleFloat() 455 bool parseSpecialFloatMaybe(bool IsNegative, OperandVector &Operands) { in parseSpecialFloatMaybe() argument 468 if (IsNegative) in parseSpecialFloatMaybe()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/ |
| H A D | FormattersHelpers.h | 98 bool IsNegative() const { in IsNegative() function
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | MathExtras.h | 773 const bool IsNegative = (X < 0) ^ (Y < 0); in MulOverflow() 774 Result = IsNegative ? (0 - UResult) : UResult; in MulOverflow() 783 if (IsNegative) in MulOverflow()
|
| /freebsd/contrib/llvm-project/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()
|
| /freebsd/contrib/googletest/docs/reference/ |
| H A D | assertions.md | 408 bool IsNegative(T x) { 412 EXPECT_PRED1(IsNegative<int>, -5); // Must specify type for IsNegative
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineSelect.cpp | 968 bool IsNegative = false; in canonicalizeSaturatedSubtract() local 973 IsNegative = true; in canonicalizeSaturatedSubtract() 981 if (IsNegative && !TrueVal->hasOneUse() && !ICI->hasOneUse()) in canonicalizeSaturatedSubtract() 987 if (IsNegative) in canonicalizeSaturatedSubtract()
|
| H A D | InstCombineCompares.cpp | 5297 bool IsNegative) -> bool { in foldICmpBinOp() argument 5303 if (IsNegative ? OffsetC->isAllOnes() : OffsetC->isOne()) in foldICmpBinOp() 5307 if (IsNegative) in foldICmpBinOp()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/ |
| H A D | AArch64InstructionSelector.cpp | 365 MachineInstr *emitTestBit(Register TestReg, uint64_t Bit, bool IsNegative, 370 MachineInstr *emitCBZ(Register CompareReg, bool IsNegative, 1596 Register TestReg, uint64_t Bit, bool IsNegative, MachineBasicBlock *DstMBB, in emitTestBit() argument 1604 TestReg = getTestBitReg(TestReg, Bit, IsNegative, MRI); in emitTestBit() 1621 unsigned Opc = OpcTable[UseWReg][IsNegative]; in emitTestBit() 1670 bool IsNegative, in emitCBZ() argument 1684 unsigned Opc = OpcTable[IsNegative][Width == 64]; in emitCBZ()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 2375 llvm::Value *IsNegative = CGF.Builder.CreateICmpSLT(Signed, Zero); in EmitCheckedMixedSignMultiply() local 2378 CGF.Builder.CreateSelect(IsNegative, AbsOfNegative, Signed); in EmitCheckedMixedSignMultiply() 2394 CGF.Builder.CreateZExt(IsNegative, OpTy)); in EmitCheckedMixedSignMultiply() 2402 CGF.Builder.CreateSelect(IsNegative, NegativeResult, UnsignedResult); in EmitCheckedMixedSignMultiply() 2407 IsNegative, CGF.Builder.CreateIsNotNull(UnsignedResult)); in EmitCheckedMixedSignMultiply() 2419 IsNegative, CGF.Builder.CreateNeg(UnsignedResult), UnsignedResult); in EmitCheckedMixedSignMultiply()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIParser.cpp | 3052 bool IsNegative = Token.is(MIToken::minus); in parseOffset() local 3059 if (IsNegative) in parseOffset()
|
| /freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | CommonArgs.cpp | 379 bool IsNegative = Name.consume_front("no-"); in handleTargetFeaturesGroup() local 381 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in handleTargetFeaturesGroup()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 2041 bool IsNegative = parseOptionalToken(AsmToken::Minus); in parseFPImm() local 2054 if (IsNegative) in parseFPImm()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 9646 bool IsNegative) const { in expandABS() 9652 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS() 9661 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS() 9670 if (IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS() 9681 (!IsNegative && !isOperationLegalOrCustom(ISD::ADD, VT)) || in expandABS() 9682 (IsNegative && !isOperationLegalOrCustom(ISD::SUB, VT)) || in expandABS() 9693 if (!IsNegative) in expandABS()
|
| /freebsd/contrib/googletest/googletest/test/ |
| H A D | gtest_unittest.cc | 2435 bool IsNegative(T x) { in IsNegative() function 2455 EXPECT_PRED1(IsNegative<int>, -5); in TEST()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.cpp | 1165 bool IsNegative = C && C->getAPIntValue().isNegative(); in LowerSETCC() local 1166 if (IsNegative || isSExtFree(LHS) || isSExtFree(RHS)) in LowerSETCC()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 5540 bool IsNegative = false) const;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 8640 bool IsNegative = parseOptionalToken(AsmToken::Minus); in tryParseAdjImm0_63() local 8650 if (IsNegative) in tryParseAdjImm0_63()
|