Home
last modified time | relevance | path

Searched refs:FieldDecl (Results 1 – 25 of 137) sorted by relevance

123456

/external/clang/lib/CodeGen/
DCGRecordLayout.h99 const FieldDecl *FD,
126 llvm::DenseMap<const FieldDecl *, unsigned> FieldInfo;
130 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo> BitFields;
185 unsigned getLLVMFieldNo(const FieldDecl *FD) const { in getLLVMFieldNo()
204 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { in getBitFieldInfo()
207 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo>::const_iterator in getBitFieldInfo()
DCGRecordLayoutBuilder.cpp83 const FieldDecl *FD;
87 const FieldDecl *FD = nullptr) in MemberInfo()
135 llvm::Type *getStorageType(const FieldDecl *FD) { in getStorageType()
155 bool isZeroInitializable(const FieldDecl *FD) { in isZeroInitializable()
165 uint64_t getFieldBitOffset(const FieldDecl *FD) { in getFieldBitOffset()
169 void setBitFieldInfo(const FieldDecl *FD, CharUnits StartOffset,
204 llvm::DenseMap<const FieldDecl *, unsigned> Fields;
205 llvm::DenseMap<const FieldDecl *, CGBitFieldInfo> BitFields;
225 const FieldDecl *FD, CharUnits StartOffset, llvm::Type *StorageType) { in setBitFieldInfo()
647 const FieldDecl *FD, in MakeInfo()
[all …]
DCGClass.cpp684 FieldDecl *Field = MemberInit->getAnyMember(); in EmitLValueForAnyFieldInitialization()
689 LHS = CGF.EmitLValueForFieldInitialization(LHS, cast<FieldDecl>(I)); in EmitLValueForAnyFieldInitialization()
706 FieldDecl *Field = MemberInit->getAnyMember(); in EmitMemberInitializer()
753 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, LValue LHS, in EmitInitializerForField()
877 const FieldDecl *D = Field; in EmitAsanPrologueOrEpilogue()
1002 bool isMemcpyableField(FieldDecl *F) const { in isMemcpyableField()
1012 void addMemcpyableField(FieldDecl *F) { in addMemcpyableField()
1089 void addInitialField(FieldDecl *F) { in addInitialField()
1097 void addNextField(FieldDecl *F) { in addNextField()
1121 FieldDecl *FirstField;
[all …]
/external/clang/include/clang/Sema/
DCXXFieldCollector.h22 class FieldDecl; variable
30 SmallVector<FieldDecl*, 32> Fields;
56 void Add(FieldDecl *D) { in Add()
69 FieldDecl **getCurFields() { return &*(Fields.end() - getCurNumFields()); } in getCurFields()
DMultiplexExternalSemaSource.h181 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
221 FieldDecl *, llvm::SmallVector<std::pair<SourceLocation, bool>, 4>> &
/external/bcc/src/cc/
Djson_map_decl_visitor.cc40 bool VisitFieldDecl(clang::FieldDecl *Decl);
50 void genJSONForField(FieldDecl *F);
73 void BMapDeclVisitor::genJSONForField(FieldDecl *F) { in genJSONForField()
93 bool BMapDeclVisitor::VisitFieldDecl(FieldDecl *D) { in VisitFieldDecl()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp70 llvm::DenseMap<const FieldDecl *, uint64_t> FieldOffsets;
80 uint64_t getExternalFieldOffset(const FieldDecl *FD) { in getExternalFieldOffset()
133 void UpdateEmptyFieldSubobjects(const FieldDecl *FD, CharUnits Offset);
160 bool CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD,
183 bool CanPlaceFieldAtOffset(const FieldDecl *FD, CharUnits Offset);
206 for (const FieldDecl *FD : Class->fields()) { in ComputeEmptySubobjectSizes()
429 EmptySubobjectMap::CanPlaceFieldSubobjectAtOffset(const FieldDecl *FD, in CanPlaceFieldSubobjectAtOffset()
469 EmptySubobjectMap::CanPlaceFieldAtOffset(const FieldDecl *FD, in CanPlaceFieldAtOffset()
529 void EmptySubobjectMap::UpdateEmptyFieldSubobjects(const FieldDecl *FD, in UpdateEmptyFieldSubobjects()
676 void LayoutField(const FieldDecl *D, bool InsertExtraPadding);
[all …]
DDecl.cpp636 assert(!isa<FieldDecl>(D) && "Didn't expect a FieldDecl!"); in getLVForNamespaceScopeDecl()
862 isa<FieldDecl>(D) || in getLVForClassMember()
1624 if (isa<FieldDecl>(D) || isa<IndirectFieldDecl>(D) || isa<MSPropertyDecl>(D)) in isCXXInstanceMember()
3443 FieldDecl *FieldDecl::Create(const ASTContext &C, DeclContext *DC, in Create()
3448 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3452 FieldDecl *FieldDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3453 return new (C, ID) FieldDecl(Field, nullptr, SourceLocation(), in CreateDeserialized()
3458 bool FieldDecl::isAnonymousStructOrUnion() const { in isAnonymousStructOrUnion()
3468 unsigned FieldDecl::getBitWidthValue(const ASTContext &Ctx) const { in getBitWidthValue()
3474 unsigned FieldDecl::getFieldIndex() const { in getFieldIndex()
[all …]
/external/javassist/src/main/javassist/compiler/ast/
DFieldDecl.java21 public class FieldDecl extends ASTList { class
25 public FieldDecl(ASTree _head, ASTList _tail) { in FieldDecl() method in FieldDecl
DVisitor.java30 public void atFieldDecl(FieldDecl n) throws CompileError {} in atFieldDecl()
/external/clang/test/Index/
Dcomplete-in-invalid-method.m18 // CHECK: FieldDecl:{ResultType int}{TypedText x}
19 // CHECK: FieldDecl:{ResultType int}{TypedText y}
Dgetcursor-preamble.m20 // CHECK: FieldDecl=x:3:9
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp217 SmallVector<FieldDecl*, 10> FieldChain;
227 void Visit(FieldDecl *D);
243 void ASTFieldVisitor::Visit(FieldDecl *D) { in Visit()
269 for (SmallVectorImpl<FieldDecl*>::iterator I=FieldChain.begin(), in ReportError()
DPaddingChecker.cpp149 auto IsTrickyField = [](const FieldDecl *FD) -> bool { in shouldSkipDecl()
171 for (const FieldDecl *FD : RD->fields()) { in calculateBaselinePad()
216 auto GatherSizesAndAlignments = [](const FieldDecl *FD) { in calculateOptimalPad()
DDeadStoresChecker.cpp426 llvm::DenseMap<const VarDecl *, FieldDecl *> CaptureFields; in findLambdaReferenceCaptures()
427 FieldDecl *ThisCaptureField; in findLambdaReferenceCaptures()
435 const FieldDecl *FD = CaptureFields[VD]; in findLambdaReferenceCaptures()
/external/clang/tools/libclang/
DCXType.cpp312 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) { in clang_getFieldDeclBitWidth()
841 if (const FieldDecl *FD = dyn_cast<FieldDecl>(Res.front())) in clang_Type_getOffsetOf()
860 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) in clang_Cursor_getOffsetOfField()
889 const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(cxcursor::getCursorDecl(C)); in clang_Cursor_isBitField()
973 const FieldDecl *FD = dyn_cast_or_null<FieldDecl>((*I)); in clang_Type_visitFields()
DCXCursor.h30 class FieldDecl; variable
126 CXCursor MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc,
131 std::pair<const FieldDecl *, SourceLocation> getCursorMemberRef(CXCursor C);
/external/clang/include/clang/AST/
DAPValue.h29 class FieldDecl; variable
100 const FieldDecl *Field;
153 explicit APValue(const FieldDecl *D, const APValue &V = APValue())
322 const FieldDecl *getUnionField() const { in getUnionField()
381 void setUnion(const FieldDecl *Field, const APValue &Value) { in setUnion()
DDeclCXX.h1069 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1070 FieldDecl *&ThisCapture) const;
1927 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
1966 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
1979 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
1996 static CXXCtorInitializer *Create(ASTContext &Context, FieldDecl *Member,
2008 bool isMemberInitializer() const { return Initializee.is<FieldDecl*>(); } in isMemberInitializer()
2069 FieldDecl *getMember() const { in getMember()
2071 return Initializee.get<FieldDecl*>(); in getMember()
2074 FieldDecl *getAnyMember() const { in getAnyMember()
[all …]
DASTContext.h383 llvm::DenseMap<FieldDecl *, FieldDecl *> InstantiatedFromUnnamedFieldDecl;
815 FieldDecl *getInstantiatedFromUnnamedFieldDecl(FieldDecl *Field);
817 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
1553 const FieldDecl *Field=nullptr,
2508 const FieldDecl *Field,
2519 const FieldDecl *Field,
/external/clang/include/clang/CodeGen/
DSwiftCallingConv.h33 class FieldDecl; variable
113 void addBitFieldData(const FieldDecl *field, CharUnits begin,
/external/javassist/src/main/javassist/compiler/
DJavac.java39 import javassist.compiler.ast.FieldDecl;
100 if (mem instanceof FieldDecl) in compile()
101 return compileField((FieldDecl)mem); in compile()
135 private CtField compileField(FieldDecl fd) in compileField()
/external/clang/include/clang/Frontend/
DLayoutOverrideSource.h53 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
/external/clang/lib/Sema/
DSemaExprMember.cpp110 isField |= isa<FieldDecl>(D) || isa<MSPropertyDecl>(D) || in ClassifyImplicitMemberAccess()
213 bool IsField = isa<FieldDecl>(Rep) || isa<IndirectFieldDecl>(Rep); in diagnoseInstanceReference()
777 FieldDecl *Field, DeclAccessPair FoundDecl,
860 FieldDecl *field = cast<FieldDecl>(*FI); in BuildAnonymousStructUnionMemberReference()
878 FieldDecl *field = cast<FieldDecl>(*FI++); in BuildAnonymousStructUnionMemberReference()
1155 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
1763 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr()
DSemaStmtAsm.cpp639 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField()
659 FieldDecl *FD = dyn_cast<FieldDecl>(FoundDecl); in LookupInlineAsmField()
701 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()

123456