Home
last modified time | relevance | path

Searched refs:FieldDecl (Results 1 – 25 of 127) 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.cpp683 FieldDecl *Field = MemberInit->getAnyMember(); in EmitLValueForAnyFieldInitialization()
688 LHS = CGF.EmitLValueForFieldInitialization(LHS, cast<FieldDecl>(I)); in EmitLValueForAnyFieldInitialization()
705 FieldDecl *Field = MemberInit->getAnyMember(); in EmitMemberInitializer()
752 void CodeGenFunction::EmitInitializerForField(FieldDecl *Field, LValue LHS, in EmitInitializerForField()
876 const FieldDecl *D = Field; in EmitAsanPrologueOrEpilogue()
1001 bool isMemcpyableField(FieldDecl *F) const { in isMemcpyableField()
1011 void addMemcpyableField(FieldDecl *F) { in addMemcpyableField()
1089 void addInitialField(FieldDecl *F) { in addInitialField()
1098 void addNextField(FieldDecl *F) { in addNextField()
1122 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,
217 FieldDecl *, llvm::SmallVector<std::pair<SourceLocation, bool>, 4>> &
/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}
Dgetcursor-preamble.m20 // CHECK: FieldDecl=x:3:9
/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.cpp633 assert(!isa<FieldDecl>(D) && "Didn't expect a FieldDecl!"); in getLVForNamespaceScopeDecl()
859 isa<FieldDecl>(D) || in getLVForClassMember()
1621 if (isa<FieldDecl>(D) || isa<IndirectFieldDecl>(D) || isa<MSPropertyDecl>(D)) in isCXXInstanceMember()
3332 FieldDecl *FieldDecl::Create(const ASTContext &C, DeclContext *DC, in Create()
3337 return new (C, DC) FieldDecl(Decl::Field, DC, StartLoc, IdLoc, Id, T, TInfo, in Create()
3341 FieldDecl *FieldDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3342 return new (C, ID) FieldDecl(Field, nullptr, SourceLocation(), in CreateDeserialized()
3347 bool FieldDecl::isAnonymousStructOrUnion() const { in isAnonymousStructOrUnion()
3357 unsigned FieldDecl::getBitWidthValue(const ASTContext &Ctx) const { in getBitWidthValue()
3363 unsigned FieldDecl::getFieldIndex() const { in getFieldIndex()
[all …]
DDeclCXX.cpp420 !isa<FieldDecl>(D) && in addedMember()
625 if (FieldDecl *Field = dyn_cast<FieldDecl>(D)) { in addedMember()
1017 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, in getCaptureFields()
1018 FieldDecl *&ThisCapture) const { in getCaptureFields()
1636 FieldDecl *Member, in CXXCtorInitializer()
1668 FieldDecl *Member, in CXXCtorInitializer()
1683 FieldDecl *Member, in Create()
1725 FieldDecl *D = getAnyMember(); in getSourceRange()
/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()
DDeadStoresChecker.cpp424 llvm::DenseMap<const VarDecl *, FieldDecl *> CaptureFields; in findLambdaReferenceCaptures()
425 FieldDecl *ThisCaptureField; in findLambdaReferenceCaptures()
433 const FieldDecl *FD = CaptureFields[VD]; in findLambdaReferenceCaptures()
DPaddingChecker.cpp149 auto IsTrickyField = [](const FieldDecl *FD) -> bool { in shouldSkipDecl()
216 auto GatherSizesAndAlignments = [](const FieldDecl *FD) { in calculateOptimalPad()
/external/clang/tools/libclang/
DCXType.cpp310 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) { in clang_getFieldDeclBitWidth()
828 if (const FieldDecl *FD = dyn_cast<FieldDecl>(Res.front())) in clang_Type_getOffsetOf()
847 if (const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(D)) in clang_Cursor_getOffsetOfField()
876 const FieldDecl *FD = dyn_cast_or_null<FieldDecl>(cxcursor::getCursorDecl(C)); in clang_Cursor_isBitField()
960 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.h1064 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1065 FieldDecl *&ThisCapture) const;
1895 llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
1934 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
1947 CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
1964 static CXXCtorInitializer *Create(ASTContext &Context, FieldDecl *Member,
1976 bool isMemberInitializer() const { return Initializee.is<FieldDecl*>(); } in isMemberInitializer()
2037 FieldDecl *getMember() const { in getMember()
2039 return Initializee.get<FieldDecl*>(); in getMember()
2042 FieldDecl *getAnyMember() const { in getAnyMember()
[all …]
DASTContext.h374 llvm::DenseMap<FieldDecl *, FieldDecl *> InstantiatedFromUnnamedFieldDecl;
805 FieldDecl *getInstantiatedFromUnnamedFieldDecl(FieldDecl *Field);
807 void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
1528 const FieldDecl *Field=nullptr,
2486 const FieldDecl *Field,
2497 const FieldDecl *Field,
/external/clang/include/clang/Frontend/
DLayoutOverrideSource.h53 llvm::DenseMap<const FieldDecl *, uint64_t> &FieldOffsets,
/external/clang/lib/Sema/
DSemaStmtAsm.cpp645 else if (FieldDecl *TD = dyn_cast<FieldDecl>(FoundDecl)) in LookupInlineAsmField()
661 FieldDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmField()
694 ValueDecl *FD = dyn_cast<FieldDecl>(FieldResult.getFoundDecl()); in LookupInlineAsmVarDeclField()
DSemaExprMember.cpp110 isField |= isa<FieldDecl>(D) || isa<MSPropertyDecl>(D) || in ClassifyImplicitMemberAccess()
212 bool IsField = isa<FieldDecl>(Rep) || isa<IndirectFieldDecl>(Rep); in diagnoseInstanceReference()
763 FieldDecl *Field, DeclAccessPair FoundDecl,
846 FieldDecl *field = cast<FieldDecl>(*FI); in BuildAnonymousStructUnionMemberReference()
864 FieldDecl *field = cast<FieldDecl>(*FI++); in BuildAnonymousStructUnionMemberReference()
1101 if (FieldDecl *FD = dyn_cast<FieldDecl>(MemberDecl)) in BuildMemberReferenceExpr()
1698 FieldDecl *Field, DeclAccessPair FoundDecl, in BuildFieldReferenceExpr()
DSemaDeclCXX.cpp978 FieldDecl *Field, in CheckConstexprCtorInitializer()
1208 if (FieldDecl *FD = I->getMember()) in CheckConstexprFunctionBody()
1979 static bool InitializationHasSideEffects(const FieldDecl &FD) { in InitializationHasSideEffects()
2251 FieldDecl *FD = cast<FieldDecl>(Member); in ActOnCXXMemberDeclarator()
2288 FieldDecl *InitListFieldDecl;
2302 llvm::SmallVector<FieldDecl*, 4> Fields; in IsInitListMemberExprInitialized()
2305 FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()); in IsInitListMemberExprInitialized()
2358 if (FieldDecl *FD = dyn_cast<FieldDecl>(SubME->getMemberDecl())) in HandleMemberExpr()
2479 FieldDecl *Field, const Type *BaseClass) { in CheckInitializer()
2577 if (FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) in VisitBinaryOperator()
[all …]
/external/javassist/src/main/javassist/compiler/
DJavac.java91 if (mem instanceof FieldDecl) in compile()
92 return compileField((FieldDecl)mem); in compile()
127 private CtField compileField(FieldDecl fd) in compileField()

123456