Home
last modified time | relevance | path

Searched refs:FieldInfo (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDesignator.h99 FieldDesignatorInfo FieldInfo; member
119 new (&D.FieldInfo) FieldDesignatorInfo(FieldName, DotLoc, FieldLoc); in CreateFieldDesignator()
125 return FieldInfo.FieldName; in getFieldDecl()
130 return FieldInfo.DotLoc; in getDotLoc()
135 return FieldInfo.FieldLoc; in getFieldLoc()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h399 static constexpr uint64_t getMask(const BitFieldInfo FieldInfo) {
400 const int FieldSizeInBits = FieldInfo[0];
409 const BitFieldInfo FieldInfo) {
410 return maskAndShift(Val, getMask(FieldInfo), FieldInfo[1]);
413 constexpr uint64_t getFieldValue(const BitFieldInfo FieldInfo) const {
414 return getMask(FieldInfo) & (RawData >> FieldInfo[1]);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGRecordLayout.h139 llvm::DenseMap<const FieldDecl *, unsigned> FieldInfo; variable
197 return FieldInfo.count(FD) != 0; in containsFieldDecl()
204 assert(FieldInfo.count(FD) && "Invalid field for record!"); in getLLVMFieldNo()
205 return FieldInfo.lookup(FD); in getLLVMFieldNo()
H A DCGRecordLayoutBuilder.cpp1122 RL->FieldInfo.swap(Builder.Fields); in ComputeRecordLayout()
H A DCGClass.cpp802 auto FieldInfo = Context.getTypeInfoInChars(D->getType()); in EmitAsanPrologueOrEpilogue() local
803 CharUnits FieldSize = FieldInfo.Width; in EmitAsanPrologueOrEpilogue()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp234 struct FieldInfo { in calculateOptimalPad() struct
238 bool operator<(const FieldInfo &RHS) const { in calculateOptimalPad() argument
251 SmallVector<FieldInfo, 20> Fields; in calculateOptimalPad()
253 FieldInfo RetVal; in calculateOptimalPad()
282 FieldInfo InsertPoint = {CurAlignment, CharUnits::Zero(), nullptr}; in calculateOptimalPad()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.h260 struct FieldInfo { struct
266 FieldInfo() = default; argument
317 FieldInfo const &last_field_info, uint64_t last_field_end,
318 FieldInfo const &this_field_info,
345 FieldInfo &last_field_info);
H A DDWARFASTParserClang.cpp2837 FieldInfo &last_field_info) { in ParseSingleMember()
2896 FieldInfo this_field_info; in ParseSingleMember()
2953 std::optional<FieldInfo> unnamed_field_info; in ParseSingleMember()
2968 unnamed_field_info = FieldInfo{}; in ParseSingleMember()
3070 FieldInfo last_field_info; in ParseChildMembers()
3759 FieldInfo const &last_field_info, uint64_t last_field_end, in ShouldCreateUnnamedBitfield()
3760 FieldInfo const &this_field_info, in ShouldCreateUnnamedBitfield()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp124 struct FieldInfo;
133 std::vector<FieldInfo> Fields;
136 FieldInfo &addField(StringRef FieldName, FieldType FT,
199 struct FieldInfo { struct
214 FieldInfo(FieldType FT) : Contents(FT) {} in FieldInfo() function
227 FieldInfo &StructInfo::addField(StringRef FieldName, FieldType FT, in addField()
232 FieldInfo &Field = Fields.back(); in addField()
885 bool parseFieldInitializer(const FieldInfo &Field,
887 bool parseFieldInitializer(const FieldInfo &Field,
890 bool parseFieldInitializer(const FieldInfo &Field,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2034 AsmFieldInfo FieldInfo; in ParseIntelExpression() local
2062 else if (SM.onIdentifierExpr(Val, Identifier, Info, FieldInfo.Type, in ParseIntelExpression()
2076 if (!getParser().lookUpType(Identifier, FieldInfo.Type)) { in ParseIntelExpression()
2086 if (getParser().lookUpField(FieldInfo.Type.Name, Identifier, in ParseIntelExpression()
2087 FieldInfo)) { in ParseIntelExpression()
2096 if (SM.onInteger(FieldInfo.Offset, ErrMsg)) in ParseIntelExpression()
2101 if (getParser().parsePrimaryExpr(Val, End, &FieldInfo.Type)) { in ParseIntelExpression()
2103 } else if (SM.onIdentifierExpr(Val, Identifier, Info, FieldInfo.Type, in ParseIntelExpression()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1547 TypeInfo FieldInfo = Context.getTypeInfo(D->getType()); in LayoutBitField() local
1548 uint64_t StorageUnitSize = FieldInfo.Width; in LayoutBitField()
1549 unsigned FieldAlign = FieldInfo.Align; in LayoutBitField()
1550 bool AlignIsRequired = FieldInfo.isAlignRequired(); in LayoutBitField()
H A DExpr.cpp4565 if (FieldInfo.NameOrField & 0x01) in getFieldName()
4566 return reinterpret_cast<IdentifierInfo *>(FieldInfo.NameOrField & ~0x01); in getFieldName()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5379 struct FieldDesignatorInfo FieldInfo; member
5402 new (&D.FieldInfo) FieldDesignatorInfo(FieldName, DotLoc, FieldLoc); in CreateFieldDesignator()
5410 if (FieldInfo.NameOrField & 0x01) in getFieldDecl()
5412 return reinterpret_cast<FieldDecl *>(FieldInfo.NameOrField); in getFieldDecl()
5417 FieldInfo.NameOrField = reinterpret_cast<uintptr_t>(FD); in setFieldDecl()
5422 return FieldInfo.DotLoc; in getDotLoc()
5427 return FieldInfo.FieldLoc; in getFieldLoc()