/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYELFStreamer.h | 26 unsigned IntValue; member 49 Item->IntValue = Value; in setAttributeItem() 72 void setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument 79 Item->IntValue = IntValue; in setAttributeItems() 85 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
|
H A D | CSKYELFStreamer.cpp | 118 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection() 125 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection() 143 Result += getULEB128Size(item.IntValue); in calculateContentSize() 151 Result += getULEB128Size(item.IntValue); in calculateContentSize()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | PatternInit.cpp | 24 const uint64_t IntValue = in initializationPatternFor() local 40 return llvm::ConstantInt::get(Ty, IntValue); in initializationPatternFor() 42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); in initializationPatternFor() 51 auto *Int = llvm::ConstantInt::get(IntTy, IntValue); in initializationPatternFor()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerHelpers.cpp | 136 llvm::APInt IntValue; in tryExpandAsInteger() local 138 if (ValueStr.getAsInteger(AutoSenseRadix, IntValue)) in tryExpandAsInteger() 145 IntValue = -IntValue; in tryExpandAsInteger() 148 return IntValue.getSExtValue(); in tryExpandAsInteger()
|
H A D | BugReporterVisitors.cpp | 3267 std::optional<const llvm::APSInt *> IntValue; in printValue() local 3269 IntValue = getConcreteIntegerValue(CondVarExpr, N); in printValue() 3271 if (IsAssuming || !IntValue) { in printValue() 3278 Out << ((*IntValue)->getBoolValue() ? "true" : "false"); in printValue() 3280 Out << **IntValue; in printValue()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | GlobalISelMatchTable.cpp | 250 MatchTableRecord MatchTable::IntValue(unsigned NumBytes, int64_t IntValue) { in IntValue() argument 251 assert(isUIntN(NumBytes * 8, IntValue) || isIntN(NumBytes * 8, IntValue)); in IntValue() 252 auto Str = llvm::to_string(IntValue); in IntValue() 253 if (NumBytes == 1 && IntValue < 0) in IntValue() 263 unsigned Len = encodeULEB128(IntValue, Buffer); in ULEB128Value() 274 OS << "/* " << llvm::to_string(IntValue) << "(*/"; in ULEB128Value() 668 Table << MatchTable::IntValue(4, 0); in emit() 1912 << MatchTable::IntValue(2, SubReg->EnumValue) in emitRenderOpcodes() 1940 Table << MatchTable::IntValue(2, 0); in emitRenderOpcodes() 1973 Table << MatchTable::IntValue(2, 0); in emitRenderOpcodes() [all …]
|
H A D | GlobalISelMatchTable.h | 210 static MatchTableRecord IntValue(unsigned NumBytes, int64_t IntValue); 211 static MatchTableRecord ULEB128Value(uint64_t IntValue); 315 Table << MatchTable::IntValue(1, Ty.getTempTypeIdx());
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVTargetStreamer.h | 57 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, 75 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
|
H A D | RISCVTargetStreamer.cpp | 44 unsigned IntValue, in emitIntTextAttribute() argument 148 unsigned IntValue, in emitIntTextAttribute() argument
|
H A D | RISCVELFStreamer.cpp | 73 unsigned IntValue, in emitIntTextAttribute() argument 75 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
|
H A D | RISCVELFStreamer.h | 52 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCELFStreamer.cpp | 749 Item->IntValue = Value; in setAttributeItem() 776 void MCELFStreamer::setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument 784 Item->IntValue = IntValue; in setAttributeItems() 791 IntValue, std::string(StringValue)}; in setAttributeItems() 813 Result += getULEB128Size(Item.IntValue); in calculateContentSize() 821 Result += getULEB128Size(Item.IntValue); in calculateContentSize() 875 emitULEB128IntValue(Item.IntValue); in createAttributesSection() 882 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
|
H A D | MCObjectStreamer.cpp | 345 int64_t IntValue; in emitULEB128Value() local 346 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitULEB128Value() 347 emitULEB128IntValue(IntValue); in emitULEB128Value() 354 int64_t IntValue; in emitSLEB128Value() local 355 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitSLEB128Value() 356 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
|
H A D | MCAsmStreamer.cpp | 1335 int64_t IntValue; in emitValueImpl() local 1336 if (!Value->evaluateAsAbsolute(IntValue)) in emitValueImpl() 1353 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitValueImpl() 1379 int64_t IntValue; in emitULEB128Value() local 1380 if (Value->evaluateAsAbsolute(IntValue)) { in emitULEB128Value() 1381 emitULEB128IntValue(IntValue); in emitULEB128Value() 1390 int64_t IntValue; in emitSLEB128Value() local 1391 if (Value->evaluateAsAbsolute(IntValue)) { in emitSLEB128Value() 1392 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCELFStreamer.h | 102 unsigned IntValue; member 112 void setAttributeItems(unsigned Attribute, unsigned IntValue,
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMELFStreamer.cpp | 92 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, 223 unsigned IntValue, in emitIntTextAttribute() argument 228 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute() 414 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, 813 unsigned IntValue, in emitIntTextAttribute() argument 815 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
|
H A D | ARMTargetStreamer.cpp | 109 unsigned IntValue, in emitIntTextAttribute() argument
|
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
H A D | AsmParser.cpp | 3198 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue() 3216 if (!IntValue.isIntN(128)) in parseHexOcta() 3218 if (!IntValue.isIntN(64)) { in parseHexOcta() 3219 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta() 3223 lo = IntValue.getZExtValue(); in parseHexOcta() 4908 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() local 4909 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveDCB() 5818 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local 5819 if (!isUInt<8>(IntValue) && !isInt<8>(IntValue)) in parseDirectiveMSEmit() 5834 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSAlign() local [all …]
|
H A D | MasmParser.cpp | 1749 uint64_t IntValue = 0; in parsePrimaryExpr() local 1751 IntValue = (IntValue << 8) | CharVal; in parsePrimaryExpr() 3645 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in emitIntValue() 3801 if (!IntValue.isIntN(128)) in parseHexOcta() 3803 if (!IntValue.isIntN(64)) { in parseHexOcta() 3804 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta() 3808 lo = IntValue.getZExtValue(); in parseHexOcta() 7147 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local 7148 if (!isUInt<8>(IntValue) && !isInt<8>(IntValue)) in parseDirectiveMSEmit() 7163 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSAlign() local [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | InterpBuiltin.cpp | 933 const Pointer &Ptr, const APSInt &IntValue) { in SetThreeWayComparisonField() argument 944 FieldPtr.deref<T>() = T::from(IntValue.getSExtValue())); in SetThreeWayComparisonField()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
H A D | HexagonAsmParser.cpp | 710 uint64_t IntValue = MCE->getValue(); in ParseDirectiveFalign() local 711 if (!isUIntN(Size, IntValue) && !isIntN(Size, IntValue)) in ParseDirectiveFalign() 713 MaxBytesToFill = IntValue; in ParseDirectiveFalign()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/ |
H A D | PPCAsmParser.cpp | 1764 uint64_t IntValue = MCE->getValue(); in ParseDirectiveWord() local 1765 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in ParseDirectiveWord() 1768 getStreamer().emitIntValue(IntValue, Size); in ParseDirectiveWord()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-matchers-comparisons_test.cc | 401 class IntValue { class 405 explicit IntValue(int a_value) : value_(a_value) {} in IntValue() function in testing::gmock_matchers_test::__anon74f0a33d0111::IntValue 414 bool IsPositiveIntValue(const IntValue& foo) { return foo.value() > 0; } in IsPositiveIntValue() 424 Matcher<IntValue> m3 = Truly(IsPositiveIntValue); in TEST()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | LegalizeDAG.cpp | 70 SDValue IntValue; member 1565 State.IntValue = DAG.getNode(ISD::BITCAST, DL, IVT, Value); in getSignAsIntValue() 1600 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue() 1630 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN() 1632 SDValue SignBit = DAG.getNode(ISD::AND, DL, IntVT, SignAsInt.IntValue, in ExpandFCOPYSIGN() 1649 EVT MagVT = MagAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN() 1651 SDValue ClearedSign = DAG.getNode(ISD::AND, DL, MagVT, MagAsInt.IntValue, in ExpandFCOPYSIGN() 1684 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFNEG() 1689 DAG.getNode(ISD::XOR, DL, IntVT, SignAsInt.IntValue, SignMask); in ExpandFNEG() 1709 EVT IntVT = ValueAsInt.IntValue.getValueType(); in ExpandFABS() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/ |
H A D | FileCheck.cpp | 81 ExpressionFormat::getMatchingString(APInt IntValue) const { in getMatchingString() 82 if (Value != Kind::Signed && IntValue.isNegative()) in getMatchingString() 88 StringRef SignPrefix = IntValue.isNegative() ? "-" : ""; in getMatchingString() 106 IntValue.abs().toString(AbsoluteValueStr, Radix, /*Signed=*/false, in getMatchingString()
|