Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFStreamer.h24 unsigned IntValue; member
48 Item->IntValue = Value; in setAttributeItem()
71 void setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
78 Item->IntValue = IntValue; in setAttributeItems()
84 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
90 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.h39 virtual void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
54 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
H A DRISCVTargetStreamer.cpp40 unsigned IntValue, in emitIntTextAttribute() argument
110 unsigned IntValue, in emitIntTextAttribute() argument
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DGlobalISelEmitter.cpp551 static MatchTableRecord IntValue(int64_t IntValue) { in IntValue() argument
1849 << MatchTable::IntValue(InsnVarID); in emitPredicateOpcodes()
2501 << MatchTable::IntValue(getInsnVarID()) in emitCaptureOpcodes()
2727 << MatchTable::IntValue(OldInsnVarID) in emitRenderOpcodes()
2757 << MatchTable::IntValue(OldInsnVarID) in emitRenderOpcodes()
2838 Table << MatchTable::IntValue(0); in emitRenderOpcodes()
2883 Table << MatchTable::IntValue(0); in emitRenderOpcodes()
2970 << MatchTable::IntValue(RendererID); in emitRenderOpcodes()
3001 << MatchTable::IntValue(OldInsnVarID) in emitRenderOpcodes()
3535 << MatchTable::IntValue(OtherInsnVarID) in emitPredicateOpcodes()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DBadSignalToKillThreadCheck.cpp46 llvm::APInt IntValue; in check() local
48 if (ValueStr.getAsInteger(AutoSenseRadix, IntValue)) in check()
50 return IntValue.getZExtValue(); in check()
H A DNotNullTerminatedResultCheck.cpp810 llvm::APInt IntValue; in check() local
811 ValueStr.getAsInteger(10, IntValue); in check()
812 AreSafeFunctionsWanted = IntValue.getZExtValue(); in check()
/llvm-project-15.0.7/clang/test/CodeGenObjC/
H A Dmatrix-type-builtins.m38 @interface IntValue interface
42 void test_column_major_load(PtrValue *Ptr, IntValue *Stride) {
52 void test_column_major_store(UnsignedMatrixValue *M, PtrValue *Ptr, IntValue *Stride) {
H A Dmatrix-type-operators.m5 @interface IntValue interface
31 double test_index_placeholders(double4x4 m, IntValue *iv) {
61 double test_base_and_index_placeholders(MatrixValue *m, IntValue *iv) {
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCELFStreamer.cpp743 Item->IntValue = Value; in setAttributeItem()
770 void MCELFStreamer::setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItems() argument
778 Item->IntValue = IntValue; in setAttributeItems()
785 IntValue, std::string(StringValue)}; in setAttributeItems()
807 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
815 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
869 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
876 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
H A DMCObjectStreamer.cpp341 int64_t IntValue; in emitULEB128Value() local
342 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitULEB128Value()
343 emitULEB128IntValue(IntValue); in emitULEB128Value()
350 int64_t IntValue; in emitSLEB128Value() local
351 if (Value->evaluateAsAbsolute(IntValue, getAssemblerPtr())) { in emitSLEB128Value()
352 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
H A DMCAsmStreamer.cpp1252 int64_t IntValue; in emitValueImpl() local
1253 if (!Value->evaluateAsAbsolute(IntValue)) in emitValueImpl()
1270 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitValueImpl()
1296 int64_t IntValue; in emitULEB128Value() local
1297 if (Value->evaluateAsAbsolute(IntValue)) { in emitULEB128Value()
1298 emitULEB128IntValue(IntValue); in emitULEB128Value()
1307 int64_t IntValue; in emitSLEB128Value() local
1308 if (Value->evaluateAsAbsolute(IntValue)) { in emitSLEB128Value()
1309 emitSLEB128IntValue(IntValue); in emitSLEB128Value()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DMagicNumbersCheck.cpp173 const llvm::APInt IntValue = Literal->getValue(); in isIgnoredValue() local
174 const int64_t Value = IntValue.getZExtValue(); in isIgnoredValue()
178 if (IgnorePowersOf2IntegerValues && IntValue.isPowerOf2()) in isIgnoredValue()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DCSKYAttributeParserTest.cpp19 unsigned IntValue; member
24 Value.IntValue = value; in CSKYAttributeSection()
49 << (uint8_t)Value.IntValue; in writeInt()
/llvm-project-15.0.7/clang/unittests/CodeGen/
H A DIRMatchers.h210 uint64_t IntValue; variable
213 ConstantIntMatcher(uint64_t V, unsigned W = 0) : IntValue(V), Width(W) {} in IntValue() function
218 CI->getLimitedValue() == IntValue; in match()
224 C->getLimitedValue() == IntValue; in match()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCELFStreamer.h102 unsigned IntValue; member
112 void setAttributeItems(unsigned Attribute, unsigned IntValue,
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp146 int64_t IntValue = 0; in deserializeMCOperand() local
148 if (tryDeserializeIntegerOperand(String, IntValue)) in deserializeMCOperand()
149 return MCOperand::createImm(IntValue); in deserializeMCOperand()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DDurationRewriter.cpp210 if (llvm::Optional<llvm::APSInt> IntValue = truncateIfIntegral(*LitFloat)) in stripFloatLiteralFraction() local
211 return toString(*IntValue, /*radix=*/10); in stripFloatLiteralFraction()
/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp92 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
218 unsigned IntValue, in emitIntTextAttribute() argument
223 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute()
409 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
808 unsigned IntValue, in emitIntTextAttribute() argument
810 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3201 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveValue()
3219 if (!IntValue.isIntN(128)) in parseHexOcta()
3221 if (!IntValue.isIntN(64)) { in parseHexOcta()
3222 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
3226 lo = IntValue.getZExtValue(); in parseHexOcta()
4895 uint64_t IntValue = MCE->getValue(); in parseDirectiveDCB() local
4896 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseDirectiveDCB()
5801 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local
5802 if (!isUInt<8>(IntValue) && !isInt<8>(IntValue)) in parseDirectiveMSEmit()
5817 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSAlign() local
[all …]
H A DMasmParser.cpp1741 uint64_t IntValue = 0; in parsePrimaryExpr() local
1743 IntValue = (IntValue << 8) | CharVal; in parsePrimaryExpr()
3662 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in emitIntValue()
3818 if (!IntValue.isIntN(128)) in parseHexOcta()
3820 if (!IntValue.isIntN(64)) { in parseHexOcta()
3821 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseHexOcta()
3825 lo = IntValue.getZExtValue(); in parseHexOcta()
7160 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSEmit() local
7161 if (!isUInt<8>(IntValue) && !isInt<8>(IntValue)) in parseDirectiveMSEmit()
7176 uint64_t IntValue = MCE->getValue(); in parseDirectiveMSAlign() local
[all …]

12