• Home
  • Raw
  • Download

Lines Matching refs:ED

1580 void CGDebugInfo::completeType(const EnumDecl *ED) {  in completeType()  argument
1583 QualType Ty = CGM.getContext().getEnumType(ED); in completeType()
2183 const EnumDecl *ED = Ty->getDecl(); in CreateEnumType() local
2187 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateEnumType()
2188 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateEnumType()
2189 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateEnumType()
2195 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition(); in CreateEnumType()
2199 if (isImportedFromModule || !ED->getDefinition()) { in CreateEnumType()
2206 llvm::DIScope *EDContext = getDeclContextDescriptor(ED); in CreateEnumType()
2207 llvm::DIFile *DefUnit = getOrCreateFile(ED->getLocation()); in CreateEnumType()
2211 unsigned Line = getLineNumber(ED->getLocation()); in CreateEnumType()
2212 StringRef EDName = ED->getName(); in CreateEnumType()
2227 const EnumDecl *ED = Ty->getDecl(); in CreateTypeDefinition() local
2230 if (!ED->getTypeForDecl()->isIncompleteType()) { in CreateTypeDefinition()
2231 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl()); in CreateTypeDefinition()
2232 Align = CGM.getContext().getTypeAlign(ED->getTypeForDecl()); in CreateTypeDefinition()
2239 ED = ED->getDefinition(); in CreateTypeDefinition()
2240 for (const auto *Enum : ED->enumerators()) { in CreateTypeDefinition()
2248 llvm::DIFile *DefUnit = getOrCreateFile(ED->getLocation()); in CreateTypeDefinition()
2249 unsigned Line = getLineNumber(ED->getLocation()); in CreateTypeDefinition()
2250 llvm::DIScope *EnumContext = getDeclContextDescriptor(ED); in CreateTypeDefinition()
2252 ED->isFixed() ? getOrCreateType(ED->getIntegerType(), DefUnit) : nullptr; in CreateTypeDefinition()
2253 return DBuilder.createEnumerationType(EnumContext, ED->getName(), DefUnit, in CreateTypeDefinition()
3587 const EnumDecl *ED = cast<EnumDecl>(ECD->getDeclContext()); in EmitGlobalVariable() local
3588 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?"); in EmitGlobalVariable()
3589 Ty = getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit); in EmitGlobalVariable()