Home
last modified time | relevance | path

Searched refs:IntValue (Results 1 – 25 of 30) sorted by relevance

12

/src/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.h26 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 DCSKYELFStreamer.cpp118 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 DPatternInit.cpp24 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 DCheckerHelpers.cpp137 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 DBugReporterVisitors.cpp3281 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 DGlobalISelMatchTable.cpp250 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 DGlobalISelMatchTable.h210 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 DMCELFStreamer.cpp646 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 DMCObjectStreamer.cpp262 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 DMCAsmStreamer.cpp1350 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 DRISCVTargetStreamer.h57 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
75 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVTargetStreamer.cpp52 unsigned IntValue, in emitIntTextAttribute() argument
167 unsigned IntValue, in emitIntTextAttribute() argument
H A DRISCVELFStreamer.cpp73 unsigned IntValue, in emitIntTextAttribute() argument
75 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
H A DRISCVELFStreamer.h51 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
/src/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFStreamer.h106 unsigned IntValue; member
116 void setAttributeItems(unsigned Attribute, unsigned IntValue,
/src/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp92 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 DARMTargetStreamer.cpp109 unsigned IntValue, in emitIntTextAttribute() argument
/src/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3199 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 DMasmParser.cpp1750 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 DPPCAsmParser.cpp1766 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 DHexagonAsmParser.cpp767 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 Dgmock-matchers-comparisons_test.cc403 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 DFileCheck.cpp81 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 DLegalizeDAG.cpp71 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 DAMDGPUInstCombineIntrinsic.cpp86 APInt IntValue(ConstInt->getValue()); in canSafelyConvertTo16Bit() local
87 return IntValue.getActiveBits() <= 16; in canSafelyConvertTo16Bit()

12