Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp894 bool IsNegative = MangledName.consumeFront('?'); in demangleNumber() local
899 return {Ret, IsNegative}; in demangleNumber()
907 return {Ret, IsNegative}; in demangleNumber()
921 bool IsNegative = false; in demangleUnsigned() local
923 std::tie(Number, IsNegative) = demangleNumber(MangledName); in demangleUnsigned()
924 if (IsNegative) in demangleUnsigned()
930 bool IsNegative = false; in demangleSigned() local
932 std::tie(Number, IsNegative) = demangleNumber(MangledName); in demangleSigned()
936 return IsNegative ? -I : I; in demangleSigned()
1280 bool IsNegative = false; in demangleStringLiteral() local
[all …]
H A DMicrosoftDemangleNodes.cpp193 if (IsNegative) in output()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DNativeFormatting.cpp51 IntegerStyle Style, bool IsNegative) { in write_unsigned_impl() argument
60 if (IsNegative) in write_unsigned_impl()
77 IntegerStyle Style, bool IsNegative = false) { in write_unsigned() argument
81 IsNegative); in write_unsigned()
83 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Demangle/
H A DMicrosoftDemangleNodes.h555 IntegerLiteralNode(uint64_t Value, bool IsNegative) in IntegerLiteralNode()
556 : Node(NodeKind::IntegerLiteral), Value(Value), IsNegative(IsNegative) {} in IntegerLiteralNode()
561 bool IsNegative = false; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp363 void parseSingleInteger(bool IsNegative, OperandVector &Operands) { in parseSingleInteger() argument
366 if (IsNegative) in parseSingleInteger()
374 bool parseSingleFloat(bool IsNegative, OperandVector &Operands) { in parseSingleFloat() argument
379 if (IsNegative) in parseSingleFloat()
388 bool parseSpecialFloatMaybe(bool IsNegative, OperandVector &Operands) { in parseSpecialFloatMaybe() argument
401 if (IsNegative) in parseSpecialFloatMaybe()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DMathExtras.h944 const bool IsNegative = (X < 0) ^ (Y < 0);
945 Result = IsNegative ? (0 - UResult) : UResult;
954 if (IsNegative)
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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,
1364 Register TestReg, uint64_t Bit, bool IsNegative, MachineBasicBlock *DstMBB, in emitTestBit() argument
1372 TestReg = getTestBitReg(TestReg, Bit, IsNegative, MRI); in emitTestBit()
1389 unsigned Opc = OpcTable[UseWReg][IsNegative]; in emitTestBit()
1438 bool IsNegative, in emitCBZ() argument
1452 unsigned Opc = OpcTable[IsNegative][Width == 64]; in emitCBZ()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp2717 bool IsNegative = Token.is(MIToken::minus); in parseOffset() local
2724 if (IsNegative) in parseOffset()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp7113 SelectionDAG &DAG, bool IsNegative) const { in expandABS()
7120 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS()
7129 if (!IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS()
7138 if (IsNegative && isOperationLegal(ISD::SUB, VT) && in expandABS()
7149 (!IsNegative && !isOperationLegalOrCustom(ISD::ADD, VT)) || in expandABS()
7150 (IsNegative && !isOperationLegalOrCustom(ISD::SUB, VT)) || in expandABS()
7157 if (!IsNegative) { in expandABS()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1080 bool IsNegative = C && C->getAPIntValue().isNegative(); in LowerSETCC() local
1081 if (IsNegative || isSExtFree(LHS) || isSExtFree(RHS)) in LowerSETCC()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DTargetLowering.h4430 bool IsNegative = false) const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp1923 llvm::Value *IsNegative = CGF.Builder.CreateICmpSLT(Signed, Zero); in EmitCheckedMixedSignMultiply() local
1926 CGF.Builder.CreateSelect(IsNegative, AbsOfNegative, Signed); in EmitCheckedMixedSignMultiply()
1942 CGF.Builder.CreateZExt(IsNegative, OpTy)); in EmitCheckedMixedSignMultiply()
1950 CGF.Builder.CreateSelect(IsNegative, NegativeResult, UnsignedResult); in EmitCheckedMixedSignMultiply()
1955 IsNegative, CGF.Builder.CreateIsNotNull(UnsignedResult)); in EmitCheckedMixedSignMultiply()
1967 IsNegative, CGF.Builder.CreateNeg(UnsignedResult), UnsignedResult); in EmitCheckedMixedSignMultiply()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp2982 bool IsNegative) { in getAbsolute() argument
2984 if (IsNegative) in getAbsolute()
/netbsd-src/external/apache2/llvm/dist/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()