• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/

Lines Matching refs:ED

2180 void CGDebugInfo::completeType(const EnumDecl *ED) {
2183 QualType Ty = CGM.getContext().getEnumType(ED);
2940 const EnumDecl *ED = Ty->getDecl();
2944 if (!ED->getTypeForDecl()->isIncompleteType()) {
2945 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl());
2946 Align = getDeclAlignIfRequired(ED, CGM.getContext());
2952 DebugTypeExtRefs && ED->isFromASTFile() && ED->getDefinition();
2956 if (isImportedFromModule || !ED->getDefinition()) {
2963 llvm::DIScope *EDContext = getDeclContextDescriptor(ED);
2964 llvm::DIFile *DefUnit = getOrCreateFile(ED->getLocation());
2968 unsigned Line = getLineNumber(ED->getLocation());
2969 StringRef EDName = ED->getName();
2984 const EnumDecl *ED = Ty->getDecl();
2987 if (!ED->getTypeForDecl()->isIncompleteType()) {
2988 Size = CGM.getContext().getTypeSize(ED->getTypeForDecl());
2989 Align = getDeclAlignIfRequired(ED, CGM.getContext());
2996 ED = ED->getDefinition();
2997 bool IsSigned = ED->getIntegerType()->isSignedIntegerType();
2998 for (const auto *Enum : ED->enumerators()) {
3008 llvm::DIFile *DefUnit = getOrCreateFile(ED->getLocation());
3009 unsigned Line = getLineNumber(ED->getLocation());
3010 llvm::DIScope *EnumContext = getDeclContextDescriptor(ED);
3011 llvm::DIType *ClassTy = getOrCreateType(ED->getIntegerType(), DefUnit);
3012 return DBuilder.createEnumerationType(EnumContext, ED->getName(), DefUnit,
3014 Identifier, ED->isScoped());
4691 const auto *ED = cast<EnumDecl>(ECD->getDeclContext());
4692 assert(isa<EnumType>(ED->getTypeForDecl()) && "Enum without EnumType?");
4699 if (isa<RecordDecl>(ED->getDeclContext()))
4706 getOrCreateType(QualType(ED->getTypeForDecl(), 0), Unit);