• Home
  • Raw
  • Download

Lines Matching refs:ED

1435 void CGDebugInfo::completeType(const EnumDecl *ED) {  in completeType()  argument
1438 QualType Ty = CGM.getContext().getEnumType(ED); in completeType()
1913 const EnumDecl *ED = Ty->getDecl(); in CreateEnumType() local
1916 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
1917 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
1918 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateEnumType()
1925 if (!ED->getDefinition()) { in CreateEnumType()
1927 EDContext = getContextDescriptor(cast<Decl>(ED->getDeclContext())); in CreateEnumType()
1928 llvm::DIFile DefUnit = getOrCreateFile(ED->getLocation()); in CreateEnumType()
1929 unsigned Line = getLineNumber(ED->getLocation()); in CreateEnumType()
1930 StringRef EDName = ED->getName(); in CreateEnumType()
1942 const EnumDecl *ED = Ty->getDecl(); in CreateTypeDefinition() local
1945 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
1946 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
1947 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateTypeDefinition()
1954 ED = ED->getDefinition(); in CreateTypeDefinition()
1955 for (const auto *Enum : ED->enumerators()) { in CreateTypeDefinition()
1964 llvm::DIFile DefUnit = getOrCreateFile(ED->getLocation()); in CreateTypeDefinition()
1965 unsigned Line = getLineNumber(ED->getLocation()); in CreateTypeDefinition()
1967 getContextDescriptor(cast<Decl>(ED->getDeclContext())); in CreateTypeDefinition()
1968 llvm::DIType ClassTy = ED->isFixed() ? in CreateTypeDefinition()
1969 getOrCreateType(ED->getIntegerType(), DefUnit) : llvm::DIType(); in CreateTypeDefinition()
1971 DBuilder.createEnumerationType(EnumContext, ED->getName(), DefUnit, Line, in CreateTypeDefinition()
3200 const EnumDecl *ED = cast<EnumDecl>(ECD->getDeclContext()); in EmitGlobalVariable() local
3201 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
3202 Ty = getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()