Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.h41 unsigned IntValue; member
65 Item->IntValue = Value; in setAttributeItem()
88 void setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
95 Item->IntValue = IntValue; in setAttributeItems()
101 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
107 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVELFStreamer.cpp65 unsigned IntValue, in emitIntTextAttribute() argument
67 setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
109 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection()
116 Streamer.emitULEB128IntValue(item.IntValue); in finishAttributeSection()
134 Result += getULEB128Size(item.IntValue); in calculateContentSize()
142 Result += getULEB128Size(item.IntValue); in calculateContentSize()
H A DRISCVTargetStreamer.h40 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
55 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVTargetStreamer.cpp42 unsigned IntValue, in emitIntTextAttribute() argument
116 unsigned IntValue, in emitIntTextAttribute() argument
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp552 static MatchTableRecord IntValue(int64_t IntValue) { in IntValue() argument
1850 << MatchTable::IntValue(InsnVarID); in emitPredicateOpcodes()
2502 << MatchTable::IntValue(getInsnVarID()) in emitCaptureOpcodes()
2734 << MatchTable::IntValue(OldInsnVarID) in emitRenderOpcodes()
2764 << MatchTable::IntValue(OldInsnVarID) in emitRenderOpcodes()
2845 Table << MatchTable::IntValue(0); in emitRenderOpcodes()
2890 Table << MatchTable::IntValue(0); in emitRenderOpcodes()
2977 << MatchTable::IntValue(RendererID); in emitRenderOpcodes()
3008 << MatchTable::IntValue(OldInsnVarID) in emitRenderOpcodes()
3542 << MatchTable::IntValue(OtherInsnVarID) in emitPredicateOpcodes()
[all …]
/openbsd/gnu/llvm/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()
/openbsd/gnu/llvm/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.cpp3249 std::optional<const llvm::APSInt *> IntValue; in printValue() local
3251 IntValue = getConcreteIntegerValue(CondVarExpr, N); in printValue()
3253 if (IsAssuming || !IntValue) { in printValue()
3260 Out << ((*IntValue)->getBoolValue() ? "true" : "false"); in printValue()
3262 Out << **IntValue; in printValue()
/openbsd/gnu/llvm/llvm/lib/MC/
H A DMCELFStreamer.cpp750 Item->IntValue = Value; in setAttributeItem()
777 void MCELFStreamer::setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
785 Item->IntValue = IntValue; in setAttributeItems()
792 IntValue, std::string(StringValue)}; in setAttributeItems()
814 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
822 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
876 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
883 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
H A DMCObjectStreamer.cpp343 int64_t IntValue; in emitULEB128Value() local
344 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitULEB128Value()
345 emitULEB128IntValue(IntValue); in emitULEB128Value()
352 int64_t IntValue; in emitSLEB128Value() local
353 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitSLEB128Value()
354 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
H A DMCAsmStreamer.cpp1267 int64_t IntValue; in emitValueImpl() local
1268 if (!Value->evaluateAsAbsolute(IntValue)) in emitValueImpl()
1285 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitValueImpl()
1311 int64_t IntValue; in emitULEB128Value() local
1312 if (Value->evaluateAsAbsolute(IntValue)) { in emitULEB128Value()
1313 emitULEB128IntValue(IntValue); in emitULEB128Value()
1322 int64_t IntValue; in emitSLEB128Value() local
1323 if (Value->evaluateAsAbsolute(IntValue)) { in emitSLEB128Value()
1324 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
/openbsd/gnu/llvm/llvm/include/llvm/MC/
H A DMCELFStreamer.h102 unsigned IntValue; member
112 void setAttributeItems(unsigned Attribute, unsigned IntValue,
H A DMCStreamer.h158 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp124 int64_t IntValue = 0; in deserializeMCOperand() local
126 if (tryDeserializeIntegerOperand(String, IntValue)) in deserializeMCOperand()
127 return MCOperand::createImm(IntValue); in deserializeMCOperand()
/openbsd/gnu/llvm/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.cpp110 unsigned IntValue, in emitIntTextAttribute() argument
/openbsd/gnu/llvm/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3202 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue()
3220 if (!IntValue.isIntN(128)) in parseHexOcta()
3222 if (!IntValue.isIntN(64)) { in parseHexOcta()
3223 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
3227 lo = IntValue.getZExtValue(); in parseHexOcta()
4894 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() local
4895 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveDCB()
5804 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local
5805 if (!isUInt<8>(IntValue) && !isInt<8>(IntValue)) in parseDirectiveMSEmit()
5820 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSAlign() local
[all …]
H A DMasmParser.cpp1761 uint64_t IntValue = 0; in parsePrimaryExpr() local
1763 IntValue = (IntValue << 8) | CharVal; in parsePrimaryExpr()
3677 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in emitIntValue()
3833 if (!IntValue.isIntN(128)) in parseHexOcta()
3835 if (!IntValue.isIntN(64)) { in parseHexOcta()
3836 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
3840 lo = IntValue.getZExtValue(); in parseHexOcta()
7179 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local
7180 if (!isUInt<8>(IntValue) && !isInt<8>(IntValue)) in parseDirectiveMSEmit()
7195 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSAlign() local
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/AsmParser/
H A DPPCAsmParser.cpp1695 uint64_t IntValue = MCE->getValue(); in ParseDirectiveWord() local
1696 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in ParseDirectiveWord()
1699 getStreamer().emitIntValue(IntValue, Size); in ParseDirectiveWord()
/openbsd/gnu/llvm/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp711 uint64_t IntValue = MCE->getValue(); in ParseDirectiveFalign() local
712 if (!isUIntN(Size, IntValue) && !isIntN(Size, IntValue)) in ParseDirectiveFalign()
714 MaxBytesToFill = IntValue; in ParseDirectiveFalign()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp69 SDValue IntValue; member
1541 State.IntValue = DAG.getNode(ISD::BITCAST, DL, IVT, Value); in getSignAsIntValue()
1576 State.IntValue = DAG.getExtLoad(ISD::EXTLOAD, DL, LoadTy, State.Chain, IntPtr, in getSignAsIntValue()
1606 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN()
1608 SDValue SignBit = DAG.getNode(ISD::AND, DL, IntVT, SignAsInt.IntValue, in ExpandFCOPYSIGN()
1625 EVT MagVT = MagAsInt.IntValue.getValueType(); in ExpandFCOPYSIGN()
1627 SDValue ClearedSign = DAG.getNode(ISD::AND, DL, MagVT, MagAsInt.IntValue, in ExpandFCOPYSIGN()
1660 EVT IntVT = SignAsInt.IntValue.getValueType(); in ExpandFNEG()
1665 DAG.getNode(ISD::XOR, DL, IntVT, SignAsInt.IntValue, SignMask); in ExpandFNEG()
1685 EVT IntVT = ValueAsInt.IntValue.getValueType(); in ExpandFABS()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp85 APInt IntValue(ConstInt->getValue()); in canSafelyConvertTo16Bit() local
86 return IntValue.getActiveBits() <= 16; in canSafelyConvertTo16Bit()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1889 Value *IntValue = in expandAtomicOpToLibcall() local
1891 Args.push_back(IntValue); in expandAtomicOpToLibcall()

12