Home
last modified time | relevance | path

Searched refs:FieldDecl (Results 1 – 25 of 142) 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/v8/tools/clang/blink_gc_plugin/
DCheckTraceVisitor.cpp31 if (FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl())) in VisitMemberExpr()
125 FieldDecl* field() const;
130 FieldDecl* field_;
142 FieldDecl* FindFieldVisitor::field() const { in field()
147 if (FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl())) { in TraverseMemberExpr()
370 void CheckTraceVisitor::FoundField(FieldDecl* field) { in FoundField()
DRecordInfo.h55 FieldPoint(clang::FieldDecl* field, Edge* edge) in FieldPoint()
60 clang::FieldDecl* field() { return field_; } in field()
64 clang::FieldDecl* field_;
77 bool operator()(clang::FieldDecl* a, clang::FieldDecl *b) const { in operator()
81 typedef std::map<clang::FieldDecl*, FieldPoint, FieldDeclCmp> Fields;
DDiagnosticsReporter.h68 void NoteFieldRequiresTracing(RecordInfo* holder, clang::FieldDecl* field);
69 void NoteFieldShouldNotBeTraced(RecordInfo* holder, clang::FieldDecl* field);
77 void NoteField(clang::FieldDecl* field, unsigned note);
DCheckFinalizerVisitor.cpp102 FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl()); in VisitMemberExpr()
DDiagnosticsReporter.cpp516 FieldDecl* field) { in NoteFieldRequiresTracing()
522 FieldDecl* field) { in NoteFieldShouldNotBeTraced()
527 FieldDecl* field = point->field(); in NotePartObjectContainsGCRoot()
559 void DiagnosticsReporter::NoteField(FieldDecl* field, unsigned note) { in NoteField()
DCheckTraceVisitor.h50 void FoundField(clang::FieldDecl* field);
/external/javassist/src/main/javassist/compiler/ast/
DFieldDecl.java20 public class FieldDecl extends ASTList { class
21 public FieldDecl(ASTree _head, ASTList _tail) { in FieldDecl() method in FieldDecl
DVisitor.java29 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}
/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 …]
/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()
/external/clang/include/clang/CodeGen/
DSwiftCallingConv.h33 class FieldDecl; variable
113 void addBitFieldData(const FieldDecl *field, CharUnits begin,
/external/clang/include/clang/Frontend/
DLayoutOverrideSource.h53 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp142 clang::ast_matchers::internal::Matcher<clang::FieldDecl>, in AST_MATCHER_P() argument
144 const clang::FieldDecl* NodeAsDecl = Node.getAnyMember(); in AST_MATCHER_P()
659 bool GetNameForDecl(const clang::FieldDecl& decl, in GetNameForDecl()
765 if (auto* field = clang::dyn_cast<clang::FieldDecl>(&decl)) in GetNameForDecl()
1005 using FieldDeclRewriter = DeclRewriterBase<clang::FieldDecl, clang::NamedDecl>;
1007 using MemberRewriter = DeclRewriterBase<clang::FieldDecl, clang::MemberExpr>;
1010 DeclRewriterBase<clang::FieldDecl, clang::DeclRefExpr>;
1016 DeclRewriterBase<clang::FieldDecl, clang::CXXCtorInitializer>;
/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()

123456