Home
last modified time | relevance | path

Searched refs:IntValue (Results 1 – 25 of 33) 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.cpp119 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection()
126 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection()
144 Result += getULEB128Size(item.IntValue); in calculateContentSize()
152 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.cpp145 llvm::APInt IntValue; in tryExpandAsInteger() local
147 if (ValueStr.getAsInteger(AutoSenseRadix, IntValue)) in tryExpandAsInteger()
154 IntValue = -IntValue; in tryExpandAsInteger()
157 return IntValue.getSExtValue(); in tryExpandAsInteger()
H A DBugReporterVisitors.cpp3238 std::optional<const llvm::APSInt *> IntValue; in printValue() local
3240 IntValue = getConcreteIntegerValue(CondVarExpr, N); in printValue()
3242 if (IsAssuming || !IntValue) { in printValue()
3249 Out << ((*IntValue)->getBoolValue() ? "true" : "false"); in printValue()
3251 Out << **IntValue; in printValue()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCELFStreamer.cpp530 Item->IntValue = Value; in setAttributeItem()
557 void MCELFStreamer::setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
565 Item->IntValue = IntValue; in setAttributeItems()
572 IntValue, std::string(StringValue)}; in setAttributeItems()
593 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
601 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
654 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
661 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
715 emitULEB128IntValue(Item.IntValue); in createAttributesWithSubsection()
722 emitULEB128IntValue(Item.IntValue); in createAttributesWithSubsection()
H A DMCObjectStreamer.cpp254 int64_t IntValue; in emitULEB128Value() local
255 if (Value->evaluateAsAbsolute(IntValue, getAssembler())) { in emitULEB128Value()
256 emitULEB128IntValue(IntValue); in emitULEB128Value()
263 int64_t IntValue; in emitSLEB128Value() local
264 if (Value->evaluateAsAbsolute(IntValue, getAssembler())) { in emitSLEB128Value()
265 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
H A DMCAsmStreamer.cpp1356 int64_t IntValue; in emitValueImpl() local
1357 if (!Value->evaluateAsAbsolute(IntValue)) in emitValueImpl()
1374 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitValueImpl()
1400 int64_t IntValue; in emitULEB128Value() local
1401 if (Value->evaluateAsAbsolute(IntValue)) { in emitULEB128Value()
1402 emitULEB128IntValue(IntValue); in emitULEB128Value()
1411 int64_t IntValue; in emitSLEB128Value() local
1412 if (Value->evaluateAsAbsolute(IntValue)) { in emitSLEB128Value()
1413 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DGlobalISelMatchTable.cpp238 MatchTableRecord MatchTable::IntValue(unsigned NumBytes, int64_t IntValue) { in IntValue() argument
239 assert(isUIntN(NumBytes * 8, IntValue) || isIntN(NumBytes * 8, IntValue)); in IntValue()
240 auto Str = llvm::to_string(IntValue); in IntValue()
241 if (NumBytes == 1 && IntValue < 0) in IntValue()
249 MatchTableRecord MatchTable::ULEB128Value(uint64_t IntValue) { in ULEB128Value() argument
251 unsigned Len = encodeULEB128(IntValue, Buffer); in ULEB128Value()
262 OS << "/* " << llvm::to_string(IntValue) << "(*/"; in ULEB128Value()
667 Table << MatchTable::Comment("[") << MatchTable::IntValue(2, LowerBound) in emit()
668 << MatchTable::IntValue(2, UpperBound) << MatchTable::Comment(")") in emit()
676 Table << MatchTable::IntValue(4, 0); in emit()
[all …]
H A DGlobalISelMatchTable.h197 static MatchTableRecord IntValue(unsigned NumBytes, int64_t IntValue);
198 static MatchTableRecord ULEB128Value(uint64_t IntValue);
302 Table << MatchTable::IntValue(1, Ty.getTempTypeIdx());
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DELFAttributes.h34 unsigned IntValue; member
37 : Type(Ty), Tag(Tg), IntValue(IV), StringValue(std::move(SV)) {} in BuildAttributeItem()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFStreamer.h98 unsigned IntValue; member
101 : Type(Ty), Tag(Tg), IntValue(IV), StringValue(std::move(SV)) {} in AttributeItem()
119 void setAttributeItems(unsigned Attribute, unsigned IntValue,
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVTargetStreamer.h59 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
78 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVELFStreamer.cpp64 unsigned IntValue, in emitIntTextAttribute() argument
66 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
H A DRISCVTargetStreamer.cpp61 unsigned IntValue, in emitIntTextAttribute() argument
235 unsigned IntValue, in emitIntTextAttribute() argument
H A DRISCVELFStreamer.h49 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3144 uint64_t IntValue = MCE->getValue(); in parseDirectiveValue() local
3145 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue()
3147 getStreamer().emitIntValue(IntValue, Size); in parseDirectiveValue()
3161 APInt IntValue = Asm.getTok().getAPIntVal(); in parseHexOcta() local
3163 if (!IntValue.isIntN(128)) in parseHexOcta()
3165 if (!IntValue.isIntN(64)) { in parseHexOcta()
3166 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
3167 lo = IntValue.getLoBits(64).getZExtValue(); in parseHexOcta()
3170 lo = IntValue.getZExtValue(); in parseHexOcta()
4864 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() local
[all …]
H A DMasmParser.cpp1538 uint64_t IntValue = 0; in parsePrimaryExpr() local
1540 IntValue = (IntValue << 8) | CharVal; in parsePrimaryExpr()
1541 Res = MCConstantExpr::create(IntValue, getContext()); in parsePrimaryExpr()
3189 int64_t IntValue = MCE->getValue(); in emitIntValue() local
3190 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in emitIntValue()
3192 getStreamer().emitIntValue(IntValue, Size); in emitIntValue()
5684 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local
5685 if (!isUInt<8>(IntValue) && !isInt<8>(IntValue)) in parseDirectiveMSEmit()
5700 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSAlign() local
5701 if (!isPowerOf2_64(IntValue)) in parseDirectiveMSAlign()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp93 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
227 unsigned IntValue, in emitIntTextAttribute() argument
232 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute()
436 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
808 unsigned IntValue, in emitIntTextAttribute() argument
810 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
H A DARMTargetStreamer.cpp109 unsigned IntValue, in emitIntTextAttribute() argument
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DELFAttrParserExtended.cpp38 return std::optional<unsigned>(BAItem.IntValue); in getAttributeValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp222 Item.IntValue = unsigned(-1) != Value ? Value : unsigned(-1); in emitAttribute()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1678 uint64_t IntValue = MCE->getValue(); in parseDirectiveWord() local
1679 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveWord()
1682 getStreamer().emitIntValue(IntValue, Size); in parseDirectiveWord()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp769 uint64_t IntValue = MCE->getValue(); in ParseDirectiveFalign() local
770 if (!isUIntN(Size, IntValue) && !isIntN(Size, IntValue)) in ParseDirectiveFalign()
772 MaxBytesToFill = IntValue; in ParseDirectiveFalign()
/freebsd/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::__anonbdf523750111::IntValue
431 bool IsPositiveIntValue(const IntValue& foo) { return foo.value() > 0; } in IsPositiveIntValue()
444 Matcher<IntValue> m3 = Truly(IsPositiveIntValue); in TEST()

12