Home
last modified time | relevance | path

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

12

/freebsd/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()
/freebsd/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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp136 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 DBugReporterVisitors.cpp3267 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 DGlobalISelMatchTable.cpp250 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 DGlobalISelMatchTable.h210 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 DRISCVTargetStreamer.h57 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
75 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVTargetStreamer.cpp44 unsigned IntValue, in emitIntTextAttribute() argument
148 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.h52 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCELFStreamer.cpp749 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 DMCObjectStreamer.cpp345 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 DMCAsmStreamer.cpp1335 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 DMCELFStreamer.h102 unsigned IntValue; member
112 void setAttributeItems(unsigned Attribute, unsigned IntValue,
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp92 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 DARMTargetStreamer.cpp109 unsigned IntValue, in emitIntTextAttribute() argument
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3198 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 DMasmParser.cpp1749 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 DInterpBuiltin.cpp933 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 DHexagonAsmParser.cpp710 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 DPPCAsmParser.cpp1764 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 Dgmock-matchers-comparisons_test.cc401 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 DLegalizeDAG.cpp70 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 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()

12