Home
last modified time | relevance | path

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

12

/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()
/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()
/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()
/llvm-project/clang-tools-extra/clang-tidy/bugprone/
H A DBadSignalToKillThreadCheck.cpp45 llvm::APInt IntValue; in check() local
47 if (ValueStr.getAsInteger(AutoSenseRadix, IntValue)) in check()
49 return IntValue.getZExtValue(); in check()
H A DNotNullTerminatedResultCheck.cpp808 llvm::APInt IntValue; in check() local
809 ValueStr.getAsInteger(10, IntValue); in check()
810 AreSafeFunctionsWanted = IntValue.getZExtValue(); in check()
/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
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()
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( in emit()
[all...]
/llvm-project/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
29 double test_index_placeholders(double4x4 m, IntValue *iv) {
56 double test_base_and_index_placeholders(MatrixValue *m, IntValue *iv) {
/llvm-project/llvm/lib/MC/
H A DMCELFStreamer.cpp645 Item->IntValue = Value; in emitTBSSSymbol()
672 void MCELFStreamer::setAttributeItems(unsigned Attribute, unsigned IntValue, in setAttributeItem()
680 Item->IntValue = IntValue;
687 IntValue, std::string(StringValue)}; in setAttributeItems()
708 Result += getULEB128Size(Item.IntValue);
716 Result += getULEB128Size(Item.IntValue); in calculateContentSize()
769 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
776 emitULEB128IntValue(Item.IntValue); in createAttributesSection()
830 emitULEB128IntValue(Item.IntValue);
681 setAttributeItems(unsigned Attribute,unsigned IntValue,StringRef StringValue,bool OverwriteExisting) setAttributeItems() argument
[all...]
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.cpp1381 int64_t IntValue; in emitULEB128Value()
1382 if (!Value->evaluateAsAbsolute(IntValue)) in emitULEB128Value()
1399 uint64_t ValueToEmit = IntValue >> (ByteOffset * 8); in emitDTPRel64Value()
1425 int64_t IntValue; in emitTPRel32Value()
1426 if (Value->evaluateAsAbsolute(IntValue)) {
1427 emitULEB128IntValue(IntValue); in emitGPRel64Value()
1436 int64_t IntValue; in emitGPRel32Value()
1437 if (Value->evaluateAsAbsolute(IntValue)) { in emitGPRel32Value()
1438 emitSLEB128IntValue(IntValue); in emitGPRel32Value()
1334 int64_t IntValue; emitValueImpl() local
1378 int64_t IntValue; emitULEB128Value() local
1389 int64_t IntValue; emitSLEB128Value() local
/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.cpp69 unsigned IntValue, in emitTextAttribute()
71 getStreamer().setAttributeItems(Attribute, IntValue, StringValue,
73 emitIntTextAttribute(unsigned Attribute,unsigned IntValue,StringRef StringValue) emitIntTextAttribute() argument
H A DRISCVELFStreamer.h49 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
/llvm-project/clang-tools-extra/clang-tidy/readability/
H A DMagicNumbersCheck.cpp197 const llvm::APInt IntValue = Literal->getValue(); in isIgnoredValue() local
198 const int64_t Value = IntValue.getZExtValue(); in isIgnoredValue()
202 if (IgnorePowersOf2IntegerValues && IntValue.isPowerOf2()) in isIgnoredValue()
/llvm-project/llvm/unittests/Support/
H A DCSKYAttributeParserTest.cpp19 unsigned IntValue; member
24 Value.IntValue = value; in CSKYAttributeSection()
48 // IntValue in writeInt()
49 << (uint8_t)Value.IntValue; in writeInt()
/llvm-project/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/llvm/include/llvm/MC/
H A DMCELFStreamer.h106 unsigned IntValue;
109 : Type(Ty), Tag(Tg), IntValue(IV), StringValue(SV) {}
127 void setAttributeItems(unsigned Attribute, unsigned IntValue,
103 unsigned IntValue; global() member
/llvm-project/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp124 int64_t IntValue = 0; in deserializeMCOperand()
126 if (tryDeserializeIntegerOperand(String, IntValue)) in deserializeMCOperand()
127 return MCOperand::createImm(IntValue); in deserializeMCOperand()
125 int64_t IntValue = 0; deserializeMCOperand() local
/llvm-project/clang-tools-extra/clang-tidy/abseil/
H A DDurationRewriter.cpp211 if (std::optional<llvm::APSInt> IntValue = truncateIfIntegral(*LitFloat)) in stripFloatLiteralFraction() local
212 return toString(*IntValue, /*radix=*/10); in stripFloatLiteralFraction()
/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp93 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
223 unsigned IntValue, in emitIntTextAttribute() argument
228 OS << "\t.eabi_attribute\t" << Attribute << ", " << IntValue; in emitIntTextAttribute()
415 void emitIntTextAttribute(unsigned Attribute, unsigned IntValue,
806 unsigned IntValue,
808 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute() argument
/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp3217 uint64_t IntValue = MCE->getValue(); in parseHexOcta()
3218 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in parseHexOcta()
3220 getStreamer().emitIntValue(IntValue, Size);
3234 APInt IntValue = Asm.getTok().getAPIntVal(); in parseDirectiveOctaValue()
3236 if (!IntValue.isIntN(128)) in parseDirectiveOctaValue()
3238 if (!IntValue.isIntN(64)) { in parseDirectiveOctaValue()
3239 hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue(); in parseDirectiveOctaValue()
3240 lo = IntValue in parseDirectiveOctaValue()
3190 uint64_t IntValue = MCE->getValue(); parseDirectiveValue() local
3207 APInt IntValue = Asm.getTok().getAPIntVal(); parseHexOcta() local
4914 uint64_t IntValue = MCE->getValue(); parseDirectiveDCB() local
5819 uint64_t IntValue = MCE->getValue(); parseDirectiveMSEmit() local
5835 uint64_t IntValue = MCE->getValue(); parseDirectiveMSAlign() local
[all...]
H A DMasmParser.cpp1749 uint64_t IntValue = 0; in parsePrimaryExpr()
1751 IntValue = (IntValue << 8) | CharVal; in parsePrimaryExpr()
1752 Res = MCConstantExpr::create(IntValue, getContext()); in parsePrimaryExpr()
3644 int64_t IntValue = MCE->getValue(); in emitIntValue()
3645 if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) in emitIntValue() local
3647 getStreamer().emitIntValue(IntValue, Size); in emitIntValue()
3799 APInt IntValue = Asm.getTok().getAPIntVal(); in parseHexOcta()
3801 if (!IntValue in parseHexOcta()
1750 uint64_t IntValue = 0; parsePrimaryExpr() local
3800 APInt IntValue = Asm.getTok().getAPIntVal(); parseHexOcta() local
7148 uint64_t IntValue = MCE->getValue(); parseDirectiveMSEmit() local
7164 uint64_t IntValue = MCE->getValue(); parseDirectiveMSAlign() local
[all...]

12