• Home
  • Raw
  • Download

Lines Matching refs:StructInfo

128 struct StructInfo {  struct
140 StructInfo() = default;
142 StructInfo(StringRef StructName, bool Union, unsigned AlignmentValue) in StructInfo() function
168 StructInfo Structure;
171 StructFieldInfo(const std::vector<StructInitializer> &V, StructInfo S) { in StructFieldInfo()
175 StructFieldInfo(std::vector<StructInitializer> &&V, StructInfo S) { in StructFieldInfo()
187 StructFieldInfo StructInfo; member
199 StructInfo.~StructFieldInfo(); in ~FieldInitializer()
213 new (&StructInfo) StructFieldInfo(); in FieldInitializer()
227 struct StructInfo Structure) in FieldInitializer()
229 new (&StructInfo) StructFieldInfo(Initializers, Structure); in FieldInitializer()
241 new (&StructInfo) StructFieldInfo(Initializer.StructInfo); in FieldInitializer()
255 new (&StructInfo) StructFieldInfo(Initializer.StructInfo); in FieldInitializer()
270 StructInfo.~StructFieldInfo(); in operator =()
283 StructInfo = Initializer.StructInfo; in operator =()
299 StructInfo.~StructFieldInfo(); in operator =()
312 StructInfo = Initializer.StructInfo; in operator =()
341 FieldInfo &StructInfo::addField(StringRef FieldName, FieldType FT, in addField()
395 SmallVector<StructInfo, 1> StructInProgress;
398 StringMap<StructInfo> Structs;
594 bool lookUpField(const StructInfo &Structure, StringRef Member,
831 bool parseStructInitializer(const StructInfo &Structure,
834 const StructInfo &Structure, std::vector<StructInitializer> &Initializers,
854 bool emitStructInitializer(const StructInfo &Structure,
858 bool emitStructValues(const StructInfo &Structure, unsigned *Count = nullptr);
859 bool addStructField(StringRef Name, const StructInfo &Structure);
860 bool parseDirectiveStructValue(const StructInfo &Structure,
862 bool parseDirectiveNamedStructValue(const StructInfo &Structure,
3516 StructInfo &Struct = StructInProgress.back(); in addIntegralField()
3721 StructInfo &Struct = StructInProgress.back(); in addRealField()
3949 return parseFieldInitializer(Field, Field.Contents.StructInfo, Initializer); in parseFieldInitializer()
3954 bool MasmParser::parseStructInitializer(const StructInfo &Structure, in parseStructInitializer()
4019 const StructInfo &Structure, std::vector<StructInitializer> &Initializers, in parseStructInstList()
4103 return emitFieldValue(Field, Field.Contents.StructInfo); in emitFieldValue()
4168 return emitFieldInitializer(Field, Field.Contents.StructInfo, in emitFieldInitializer()
4169 Initializer.StructInfo); in emitFieldInitializer()
4174 bool MasmParser::emitStructInitializer(const StructInfo &Structure, in emitStructInitializer()
4201 bool MasmParser::emitStructValues(const StructInfo &Structure, in emitStructValues()
4218 bool MasmParser::addStructField(StringRef Name, const StructInfo &Structure) { in addStructField()
4219 StructInfo &OwningStruct = StructInProgress.back(); in addStructField()
4222 StructFieldInfo &StructInfo = Field.Contents.StructInfo; in addStructField() local
4224 StructInfo.Structure = Structure; in addStructField()
4227 if (parseStructInstList(Structure, StructInfo.Initializers)) in addStructField()
4230 Field.LengthOf = StructInfo.Initializers.size(); in addStructField()
4243 bool MasmParser::parseDirectiveStructValue(const StructInfo &Structure, in parseDirectiveStructValue()
4257 bool MasmParser::parseDirectiveNamedStructValue(const StructInfo &Structure, in parseDirectiveNamedStructValue()
4357 StructInfo Structure = StructInProgress.pop_back_val(); in parseDirectiveEnds()
4379 StructInfo Structure = StructInProgress.pop_back_val(); in parseDirectiveNestedEnds()
4383 StructInfo &ParentStruct = StructInProgress.back(); in parseDirectiveNestedEnds()
4408 StructFieldInfo &StructInfo = Field.Contents.StructInfo; in parseDirectiveNestedEnds() local
4418 StructInfo.Structure = Structure; in parseDirectiveNestedEnds()
4419 StructInfo.Initializers.emplace_back(); in parseDirectiveNestedEnds()
4420 auto &FieldInitializers = StructInfo.Initializers.back().FieldInitializers; in parseDirectiveNestedEnds()
6947 bool MasmParser::lookUpField(const StructInfo &Structure, StringRef Member, in lookUpField()
6975 Info.Type.Name = Field.Contents.StructInfo.Structure.Name; in lookUpField()
6983 const StructFieldInfo &StructInfo = Field.Contents.StructInfo; in lookUpField() local
6985 if (lookUpField(StructInfo.Structure, FieldMember, Info)) in lookUpField()
7013 const StructInfo &Structure = StructIt->second; in lookUpType()