| /src/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()
|
| /src/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()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 137 llvm::APInt IntValue; in tryExpandAsInteger() local 139 if (ValueStr.getAsInteger(AutoSenseRadix, IntValue)) in tryExpandAsInteger() 146 IntValue = -IntValue; in tryExpandAsInteger() 149 return IntValue.getSExtValue(); in tryExpandAsInteger()
|
| H A D | BugReporterVisitors.cpp | 3281 std::optional<const llvm::APSInt *> IntValue; in printValue() local 3283 IntValue = getConcreteIntegerValue(CondVarExpr, N); in printValue() 3285 if (IsAssuming || !IntValue) { in printValue() 3292 Out << ((*IntValue)->getBoolValue() ? "true" : "false"); in printValue() 3294 Out << **IntValue; in printValue()
|
| /src/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
| H A D | GlobalISelMatchTable.cpp | 250 MatchTableRecord MatchTable::IntValue(unsigned NumBytes, int64_t IntValue) { in IntValue() function in llvm::gi::MatchTable 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() 261 MatchTableRecord MatchTable::ULEB128Value(uint64_t IntValue) { in ULEB128Value() argument 263 unsigned Len = encodeULEB128(IntValue, Buffer); in ULEB128Value() 274 OS << "/* " << llvm::to_string(IntValue) << "(*/"; in ULEB128Value() 659 Table << MatchTable::Comment("[") << MatchTable::IntValue(2, LowerBound) in emit() 660 << MatchTable::IntValue(2, UpperBound) << MatchTable::Comment(")") in emit() 668 Table << MatchTable::IntValue(4, 0); in emit() [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());
|
| /src/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCELFStreamer.cpp | 646 Item->IntValue = Value; in setAttributeItem() 673 void MCELFStreamer::setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument 681 Item->IntValue = IntValue; in setAttributeItems() 688 IntValue, std::string(StringValue)}; in setAttributeItems() 709 Result += getULEB128Size(Item.IntValue); in calculateContentSize() 717 Result += getULEB128Size(Item.IntValue); in calculateContentSize() 770 emitULEB128IntValue(Item.IntValue); in createAttributesSection() 777 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
|
| H A D | MCObjectStreamer.cpp | 262 int64_t IntValue; in emitULEB128Value() local 263 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitULEB128Value() 264 emitULEB128IntValue(IntValue); in emitULEB128Value() 271 int64_t IntValue; in emitSLEB128Value() local 272 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitSLEB128Value() 273 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
|
| H A D | MCAsmStreamer.cpp | 1350 int64_t IntValue; in emitValueImpl() local 1351 if (!Value->evaluateAsAbsolute(IntValue)) in emitValueImpl() 1368 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitValueImpl() 1394 int64_t IntValue; in emitULEB128Value() local 1395 if (Value->evaluateAsAbsolute(IntValue)) { in emitULEB128Value() 1396 emitULEB128IntValue(IntValue); in emitULEB128Value() 1405 int64_t IntValue; in emitSLEB128Value() local 1406 if (Value->evaluateAsAbsolute(IntValue)) { in emitSLEB128Value() 1407 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
|
| /src/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 | 52 unsigned IntValue, in emitIntTextAttribute() argument 167 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 | 51 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
|
| /src/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCELFStreamer.h | 106 unsigned IntValue; member 116 void setAttributeItems(unsigned Attribute, unsigned IntValue,
|
| /src/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMELFStreamer.cpp | 92 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, 222 unsigned IntValue, in emitIntTextAttribute() argument 227 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute() 413 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue, 804 unsigned IntValue, in emitIntTextAttribute() argument 806 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
|
| H A D | ARMTargetStreamer.cpp | 109 unsigned IntValue, in emitIntTextAttribute() argument
|
| /src/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 3199 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() local 3200 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue() 3202 getStreamer().emitIntValue(IntValue, Size); in parseDirectiveValue() 3216 APInt IntValue = Asm.getTok().getAPIntVal(); in parseHexOcta() local 3218 if (!IntValue.isIntN(128)) in parseHexOcta() 3220 if (!IntValue.isIntN(64)) { in parseHexOcta() 3221 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta() 3222 lo = IntValue.getLoBits(64).getZExtValue(); in parseHexOcta() 3225 lo = IntValue.getZExtValue(); in parseHexOcta() 4923 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() local [all …]
|
| H A D | MasmParser.cpp | 1750 uint64_t IntValue = 0; in parsePrimaryExpr() local 1752 IntValue = (IntValue << 8) | CharVal; in parsePrimaryExpr() 1753 Res = MCConstantExpr::create(IntValue, getContext()); in parsePrimaryExpr() 3645 int64_t IntValue = MCE->getValue(); in emitIntValue() local 3646 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in emitIntValue() 3648 getStreamer().emitIntValue(IntValue, Size); in emitIntValue() 3800 APInt IntValue = Asm.getTok().getAPIntVal(); in parseHexOcta() local 3802 if (!IntValue.isIntN(128)) in parseHexOcta() 3804 if (!IntValue.isIntN(64)) { in parseHexOcta() 3805 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/ |
| H A D | PPCAsmParser.cpp | 1766 uint64_t IntValue = MCE->getValue(); in ParseDirectiveWord() local 1767 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in ParseDirectiveWord() 1770 getStreamer().emitIntValue(IntValue, Size); in ParseDirectiveWord()
|
| /src/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 767 uint64_t IntValue = MCE->getValue(); in ParseDirectiveFalign() local 768 if (!isUIntN(Size, IntValue) && !isIntN(Size, IntValue)) in ParseDirectiveFalign() 770 MaxBytesToFill = IntValue; in ParseDirectiveFalign()
|
| /src/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers-comparisons_test.cc | 403 class IntValue { class 407 explicit IntValue(int a_value) : value_(a_value) {} in IntValue() function in testing::gmock_matchers_test::__anon1ca75fea0111::IntValue 431 bool IsPositiveIntValue(const IntValue& foo) { return foo.value() > 0; } in IsPositiveIntValue() 444 Matcher<IntValue> m3 = Truly(IsPositiveIntValue); in TEST()
|
| /src/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()
|
| /src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | LegalizeDAG.cpp | 71 SDValue IntValue; member 1575 State.IntValue = DAG.getNode(ISD::BITCAST, DL, IVT, Value); in getSignAsIntValue() 1610 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue() 1640 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN() 1642 SDValue SignBit = DAG.getNode(ISD::AND, DL, IntVT, SignAsInt.IntValue, in ExpandFCOPYSIGN() 1659 EVT MagVT = MagAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN() 1661 SDValue ClearedSign = DAG.getNode(ISD::AND, DL, MagVT, MagAsInt.IntValue, in ExpandFCOPYSIGN() 1699 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFNEG() 1704 DAG.getNode(ISD::XOR, DL, IntVT, SignAsInt.IntValue, SignMask); in ExpandFNEG() 1724 EVT IntVT = ValueAsInt.IntValue.getValueType(); in ExpandFABS() [all …]
|
| /src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 86 APInt IntValue(ConstInt->getValue()); in canSafelyConvertTo16Bit() local 87 return IntValue.getActiveBits() <= 16; in canSafelyConvertTo16Bit()
|