Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGenTypes/
H A DLowLevelType.h366 static constexpr uint64_t getMask(const BitFieldInfo FieldInfo) {
367 const int FieldSizeInBits = FieldInfo[0];
376 const BitFieldInfo FieldInfo) {
377 return maskAndShift(Val, getMask(FieldInfo), FieldInfo[1]);
380 constexpr uint64_t getFieldValue(const BitFieldInfo FieldInfo) const {
381 return getMask(FieldInfo) & (RawData >> FieldInfo[1]);
/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/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.cpp1114 RL->FieldInfo.swap(Builder.Fields); in ComputeRecordLayout()
H A DCGClass.cpp798 auto FieldInfo = Context.getTypeInfoInChars(D->getType()); in EmitAsanPrologueOrEpilogue() local
799 CharUnits FieldSize = FieldInfo.Width; in EmitAsanPrologueOrEpilogue()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp232 struct FieldInfo { in calculateOptimalPad() struct
236 bool operator<(const FieldInfo &RHS) const { in calculateOptimalPad() argument
249 SmallVector<FieldInfo, 20> Fields; in calculateOptimalPad()
251 FieldInfo RetVal; in calculateOptimalPad()
280 FieldInfo InsertPoint = {CurAlignment, CharUnits::Zero(), nullptr}; in calculateOptimalPad()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.h272 struct FieldInfo { struct
296 FieldInfo() = default; argument
360 FieldInfo const &last_field_info, uint64_t last_field_end,
361 FieldInfo const &this_field_info,
391 const FieldInfo &previous_field, const FieldInfo &current_field);
417 FieldInfo &last_field_info);
H A DDWARFASTParserClang.cpp2943 FieldInfo &last_field_info) { in ParseSingleMember()
3001 FieldInfo this_field_info; in ParseSingleMember()
3064 FieldInfo this_field_info; in ParseSingleMember()
3152 FieldInfo last_field_info; in ParseChildMembers()
3765 FieldInfo const &last_field_info, uint64_t last_field_end, in ShouldCreateUnnamedBitfield()
3766 FieldInfo const &this_field_info, in ShouldCreateUnnamedBitfield()
3798 const CompilerType &class_clang_type, const FieldInfo &previous_field, in AddUnnamedBitfieldToRecordTypeIfNeeded()
3799 const FieldInfo &current_field) { in AddUnnamedBitfieldToRecordTypeIfNeeded()
/freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp119 struct FieldInfo;
128 std::vector<FieldInfo> Fields;
131 FieldInfo &addField(StringRef FieldName, FieldType FT,
194 struct FieldInfo { struct
209 FieldInfo(FieldType FT) : Contents(FT) {} in FieldInfo() function
222 FieldInfo &StructInfo::addField(StringRef FieldName, FieldType FT, in addField()
227 FieldInfo &Field = Fields.back(); in addField()
811 bool parseFieldInitializer(const FieldInfo &Field,
813 bool parseFieldInitializer(const FieldInfo &Field,
816 bool parseFieldInitializer(const FieldInfo &Field,
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesWriter.h94 void addField(ContextID CtxID, llvm::StringRef Name, const FieldInfo &Info,
H A DAPINotesReader.h149 VersionedInfo<FieldInfo> lookupField(ContextID CtxID, llvm::StringRef Name);
H A DTypes.h690 class FieldInfo : public VariableInfo {
692 FieldInfo() {} in FieldInfo() function
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesWriter.cpp69 llvm::SmallVector<std::pair<VersionTuple, FieldInfo>, 1>>
882 : public VersionedTableInfo<FieldTableInfo, SingleDeclTableKey, FieldInfo> {
898 unsigned getUnversionedInfoSize(const FieldInfo &FI) { in getUnversionedInfoSize()
902 void emitUnversionedInfo(raw_ostream &OS, const FieldInfo &FI) { in emitUnversionedInfo()
1524 const FieldInfo &Info, in addField()
H A DAPINotesReader.cpp303 : public VersionedTableInfo<FieldTableInfo, SingleDeclTableKey, FieldInfo> {
315 static FieldInfo readUnversioned(internal_key_type Key, in readUnversioned()
317 FieldInfo Info; in readUnversioned()
2188 -> VersionedInfo<FieldInfo> { in lookupField()
H A DAPINotesYAMLCompiler.cpp1046 FieldInfo FI; in convertTagContext()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp2055 AsmFieldInfo FieldInfo; in ParseIntelExpression() local
2083 else if (SM.onIdentifierExpr(Val, Identifier, Info, FieldInfo.Type, in ParseIntelExpression()
2097 if (!getParser().lookUpType(Identifier, FieldInfo.Type)) { in ParseIntelExpression()
2107 if (getParser().lookUpField(FieldInfo.Type.Name, Identifier, in ParseIntelExpression()
2108 FieldInfo)) { in ParseIntelExpression()
2117 if (SM.onInteger(FieldInfo.Offset, ErrMsg)) in ParseIntelExpression()
2122 if (getParser().parsePrimaryExpr(Val, End, &FieldInfo.Type)) { in ParseIntelExpression()
2124 } else if (SM.onIdentifierExpr(Val, Identifier, Info, FieldInfo.Type, in ParseIntelExpression()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1538 TypeInfo FieldInfo = Context.getTypeInfo(D->getType()); in LayoutBitField() local
1539 uint64_t StorageUnitSize = FieldInfo.Width; in LayoutBitField()
1540 unsigned FieldAlign = FieldInfo.Align; in LayoutBitField()
1541 bool AlignIsRequired = FieldInfo.isAlignRequired(); in LayoutBitField()
H A DExpr.cpp4589 if (FieldInfo.NameOrField & 0x01) in getFieldName()
4590 return reinterpret_cast<IdentifierInfo *>(FieldInfo.NameOrField & ~0x01); in getFieldName()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h5584 struct FieldDesignatorInfo FieldInfo; member
5607 new (&D.FieldInfo) FieldDesignatorInfo(FieldName, DotLoc, FieldLoc); in CreateFieldDesignator()
5615 if (FieldInfo.NameOrField & 0x01) in getFieldDecl()
5617 return reinterpret_cast<FieldDecl *>(FieldInfo.NameOrField); in getFieldDecl()
5622 FieldInfo.NameOrField = reinterpret_cast<uintptr_t>(FD); in setFieldDecl()
5627 return FieldInfo.DotLoc; in getDotLoc()
5632 return FieldInfo.FieldLoc; in getFieldLoc()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp499 const api_notes::FieldInfo &Info, in ProcessAPINotes()