Lines Matching refs:uint32_t

43   uint32_t Id;
49 void setId(uint32_t Id) { this->Id = Id; } in setId()
50 uint32_t getId() { return Id; } in getId()
51 uint32_t roundupToBytes(uint32_t NumBits) { return (NumBits + 7) >> 3; } in roundupToBytes()
53 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize()
74 void setPointeeType(uint32_t PointeeType);
90 uint32_t IntVal; ///< Encoding, offset, bits
93 BTFTypeInt(uint32_t Encoding, uint32_t SizeInBits, uint32_t OffsetInBits,
95 uint32_t getSize() override { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize()
106 BTFTypeEnum(const DICompositeType *ETy, uint32_t NumValues, bool IsSigned);
107 uint32_t getSize() override { in getSize()
119 BTFTypeArray(uint32_t ElemTypeId, uint32_t NumElems);
120 uint32_t getSize() override { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize()
133 uint32_t NumMembers);
134 uint32_t getSize() override { in getSize()
145 std::unordered_map<uint32_t, StringRef> FuncArgNames;
149 BTFTypeFuncProto(const DISubroutineType *STy, uint32_t NumParams,
150 const std::unordered_map<uint32_t, StringRef> &FuncArgNames);
151 uint32_t getSize() override { in getSize()
163 BTFTypeFunc(StringRef FuncName, uint32_t ProtoTypeId, uint32_t Scope);
164 uint32_t getSize() override { return BTFTypeBase::getSize(); } in getSize()
172 uint32_t Info;
175 BTFKindVar(StringRef VarName, uint32_t TypeId, uint32_t VarInfo);
176 uint32_t getSize() override { return BTFTypeBase::getSize() + 4; } in getSize()
185 std::vector<std::tuple<uint32_t, const MCSymbol *, uint32_t>> Vars;
189 uint32_t getSize() override { in getSize()
192 void addDataSecEntry(uint32_t Id, const MCSymbol *Sym, uint32_t Size) { in addDataSecEntry()
205 BTFTypeFloat(uint32_t SizeInBits, StringRef TypeName);
211 uint32_t Info;
215 BTFTypeDeclTag(uint32_t BaseTypeId, int ComponentId, StringRef Tag);
216 uint32_t getSize() override { return BTFTypeBase::getSize() + 4; } in getSize()
227 BTFTypeEnum64(const DICompositeType *ETy, uint32_t NumValues, bool IsSigned);
228 uint32_t getSize() override { in getSize()
240 BTFTypeTypeTag(uint32_t NextTypeId, StringRef Tag);
248 uint32_t Size;
252 std::map<uint32_t, uint32_t> OffsetToIdMap;
258 uint32_t getSize() { return Size; } in getSize()
262 uint32_t addString(StringRef S);
268 uint32_t TypeId; ///< Type id referring to .BTF type section
274 uint32_t FileNameOff; ///< file name offset in the .BTF string table
275 uint32_t LineOff; ///< line offset in the .BTF string table
276 uint32_t LineNum; ///< the line number
277 uint32_t ColumnNum; ///< the column number
283 uint32_t TypeID; ///< Type ID
284 uint32_t OffsetNameOff; ///< The string to traverse types
285 uint32_t RelocKind; ///< What to patch the instruction
293 uint32_t SecNameOff;
294 uint32_t ArrayIndexTypeId;
298 std::unordered_map<const DIType *, uint32_t> DIToIdMap;
299 std::map<uint32_t, std::vector<BTFFuncInfo>> FuncInfoTable;
300 std::map<uint32_t, std::vector<BTFLineInfo>> LineInfoTable;
301 std::map<uint32_t, std::vector<BTFFieldReloc>> FieldRelocTable;
305 std::map<const GlobalVariable *, std::pair<int64_t, uint32_t>> PatchImms;
314 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty);
316 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry);
322 void visitTypeEntry(const DIType *Ty, uint32_t &TypeId, bool CheckPointer,
324 void visitBasicType(const DIBasicType *BTy, uint32_t &TypeId);
327 const std::unordered_map<uint32_t, StringRef> &FuncArgNames,
328 uint32_t &TypeId);
330 uint32_t &TypeId);
331 void visitCompositeType(const DICompositeType *CTy, uint32_t &TypeId);
333 uint32_t &TypeId);
334 void visitArrayType(const DICompositeType *ATy, uint32_t &TypeId);
335 void visitEnumType(const DICompositeType *ETy, uint32_t &TypeId);
336 void visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId,
338 void visitMapDefType(const DIType *Ty, uint32_t &TypeId);
346 void constructLineInfo(const DISubprogram *SP, MCSymbol *Label, uint32_t Line,
347 uint32_t Column);
356 void processDeclAnnotations(DINodeArray Annotations, uint32_t BaseTypeId,
367 void generatePatchImmReloc(const MCSymbol *ORSym, uint32_t RootId,
400 uint32_t getArrayIndexTypeId() { in getArrayIndexTypeId()
409 uint32_t getTypeId(const DIType *Ty) { in getTypeId()