Home
last modified time | relevance | path

Searched refs:IsNegative (Results 1 – 22 of 22) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DNativeFormatting.cpp52 IntegerStyle Style, bool IsNegative) { in write_unsigned_impl() argument
61 if (IsNegative) in write_unsigned_impl()
78 IntegerStyle Style, bool IsNegative = false) { in write_unsigned() argument
82 IsNegative); in write_unsigned()
84 write_unsigned_impl(S, N, MinDigits, Style, IsNegative); in write_unsigned()
H A DAPFloat.cpp2824 bool IsNegative = str.front() == '-'; in convertFromStringSpecials() local
2825 if (IsNegative) { in convertFromStringSpecials()
2849 makeNaN(IsSignaling, IsNegative); in convertFromStringSpecials()
2875 makeNaN(IsSignaling, IsNegative, &Payload); in convertFromStringSpecials()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp899 return {Ret, IsNegative}; in demangleNumber()
907 return {Ret, IsNegative}; in demangleNumber()
921 bool IsNegative = false; in demangleUnsigned() local
924 if (IsNegative) in demangleUnsigned()
930 bool IsNegative = false; in demangleSigned() local
936 return IsNegative ? -I : I; in demangleSigned()
1280 bool IsNegative = false; in demangleStringLiteral() local
1437 bool IsNegative = false; in demangleLocallyScopedNamePiece() local
1439 assert(!IsNegative); in demangleLocallyScopedNamePiece()
2079 bool IsNegative = false; in demangleArrayType() local
[all …]
H A DMicrosoftDemangleNodes.cpp196 if (IsNegative) in output()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/Arch/
H A DX86.cpp231 bool IsNegative = Name.startswith("no-"); in getX86TargetFeatures() local
232 if (IsNegative) in getX86TargetFeatures()
234 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in getX86TargetFeatures()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h556 IntegerLiteralNode(uint64_t Value, bool IsNegative) in IntegerLiteralNode()
557 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode()
562 bool IsNegative = false; member
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp385 void parseSingleInteger(bool IsNegative, OperandVector &Operands) { in parseSingleInteger() argument
388 if (IsNegative) in parseSingleInteger()
396 bool parseSingleFloat(bool IsNegative, OperandVector &Operands) { in parseSingleFloat() argument
401 if (IsNegative) in parseSingleFloat()
410 bool parseSpecialFloatMaybe(bool IsNegative, OperandVector &Operands) { in parseSpecialFloatMaybe() argument
423 if (IsNegative) in parseSpecialFloatMaybe()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersHelpers.h93 bool IsNegative() const { in IsNegative() function
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DMathExtras.h944 const bool IsNegative = (X < 0) ^ (Y < 0);
945 Result = IsNegative ? (0 - UResult) : UResult;
954 if (IsNegative)
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DFixedPointBuilder.h54 Value *IsNegative = B.CreateICmpSLT(Result, Zero); in Convert() local
58 Result = B.CreateSelect(IsNegative, Rounded, Result); in Convert()
/freebsd-13.1/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCommonArgs.cpp138 bool IsNegative = Name.startswith("no-"); in handleTargetFeaturesGroup() local
139 if (IsNegative) in handleTargetFeaturesGroup()
141 Features.push_back(Args.MakeArgString((IsNegative ? "-" : "+") + Name)); in handleTargetFeaturesGroup()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp290 MachineInstr *emitTestBit(Register TestReg, uint64_t Bit, bool IsNegative,
295 MachineInstr *emitCBZ(Register CompareReg, bool IsNegative,
1433 Register TestReg, uint64_t Bit, bool IsNegative, MachineBasicBlock *DstMBB, in emitTestBit() argument
1441 TestReg = getTestBitReg(TestReg, Bit, IsNegative, MRI); in emitTestBit()
1458 unsigned Opc = OpcTable[UseWReg][IsNegative]; in emitTestBit()
1507 bool IsNegative, in emitCBZ() argument
1521 unsigned Opc = OpcTable[IsNegative][Width == 64]; in emitCBZ()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp752 bool IsNegative = false; in canonicalizeSaturatedSubtract() local
757 IsNegative = true; in canonicalizeSaturatedSubtract()
765 if (IsNegative && !TrueVal->hasOneUse() && !ICI->hasOneUse()) in canonicalizeSaturatedSubtract()
771 if (IsNegative) in canonicalizeSaturatedSubtract()
/freebsd-13.1/contrib/googletest/googletest/docs/
H A Dfaq.md398 bool IsNegative(T x) {
406 ASSERT_PRED1(IsNegative<int>, -5);
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp2888 bool IsNegative = Token.is(MIToken::minus); in parseOffset() local
2895 if (IsNegative) in parseOffset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp7142 SelectionDAG &DAG, bool IsNegative) const { in expandABS()
7149 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS()
7158 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS()
7167 if (IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS()
7178 (!IsNegative && !isOperationLegalOrCustom(ISD::ADD, VT)) || in expandABS()
7179 (IsNegative && !isOperationLegalOrCustom(ISD::SUB, VT)) || in expandABS()
7186 if (!IsNegative) { in expandABS()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1083 bool IsNegative = C && C->getAPIntValue().isNegative(); in LowerSETCC() local
1084 if (IsNegative || isSExtFree(LHS) || isSExtFree(RHS)) in LowerSETCC()
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgtest_unittest.cc2374 bool IsNegative(T x) { in IsNegative() function
2394 EXPECT_PRED1(IsNegative<int>, -5); in TEST()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h4458 bool IsNegative = false) const;
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp1963 llvm::Value *IsNegative = CGF.Builder.CreateICmpSLT(Signed, Zero); in EmitCheckedMixedSignMultiply() local
1966 CGF.Builder.CreateSelect(IsNegative, AbsOfNegative, Signed); in EmitCheckedMixedSignMultiply()
1982 CGF.Builder.CreateZExt(IsNegative, OpTy)); in EmitCheckedMixedSignMultiply()
1990 CGF.Builder.CreateSelect(IsNegative, NegativeResult, UnsignedResult); in EmitCheckedMixedSignMultiply()
1995 IsNegative, CGF.Builder.CreateIsNotNull(UnsignedResult)); in EmitCheckedMixedSignMultiply()
2007 IsNegative, CGF.Builder.CreateNeg(UnsignedResult), UnsignedResult); in EmitCheckedMixedSignMultiply()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp3031 bool IsNegative) { in getAbsolute() argument
3033 if (IsNegative) in getAbsolute()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp6249 bool IsNegative = Parser.getTok().is(AsmToken::Minus); in parseOperand() local
6256 if (IsNegative && Val == 0) in parseOperand()