| /llvm-project-15.0.7/llvm/lib/Target/ |
| H A D | Target.cpp | 59 void LLVMDisposeTargetData(LLVMTargetDataRef TD) { in LLVMDisposeTargetData() argument 60 delete unwrap(TD); in LLVMDisposeTargetData() 77 unsigned LLVMPointerSize(LLVMTargetDataRef TD) { in LLVMPointerSize() argument 78 return unwrap(TD)->getPointerSize(0); in LLVMPointerSize() 82 return unwrap(TD)->getPointerSize(AS); in LLVMPointerSizeForAS() 85 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD) { in LLVMIntPtrType() argument 94 return wrap(unwrap(TD)->getIntPtrType(*unwrap(C))); in LLVMIntPtrTypeInContext() 102 return unwrap(TD)->getTypeSizeInBits(unwrap(Ty)); in LLVMSizeOfTypeInBits() 106 return unwrap(TD)->getTypeStoreSize(unwrap(Ty)); in LLVMStoreSizeOfType() 110 return unwrap(TD)->getTypeAllocSize(unwrap(Ty)); in LLVMABISizeOfType() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm-c/ |
| H A D | Target.h | 201 void LLVMDisposeTargetData(LLVMTargetDataRef TD); 212 char *LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD); 217 enum LLVMByteOrdering LLVMByteOrder(LLVMTargetDataRef TD); 221 unsigned LLVMPointerSize(LLVMTargetDataRef TD); 226 unsigned LLVMPointerSizeForAS(LLVMTargetDataRef TD, unsigned AS); 230 LLVMTypeRef LLVMIntPtrType(LLVMTargetDataRef TD); 235 LLVMTypeRef LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS); 261 unsigned LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty); 273 unsigned LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD, 278 unsigned LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, [all …]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 62 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber() argument 81 unsigned getManglingNumber(const TagDecl *TD, in getManglingNumber() argument 90 Diags.Report(TD->getLocation(), DiagID); in getManglingNumber() 164 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl() argument 166 TD = TD->getCanonicalDecl(); in addTypedefNameForUnnamedTagDecl() 168 TypedefNameDecl *&I = UnnamedTagDeclToTypedefNameDecl[TD]; in addTypedefNameForUnnamedTagDecl() 175 const_cast<TagDecl *>(TD->getCanonicalDecl())); in getTypedefNameForUnnamedTagDecl() 178 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl() argument 180 TD = TD->getCanonicalDecl(); in addDeclaratorForUnnamedTagDecl() 182 DeclaratorDecl *&I = UnnamedTagDeclToDeclaratorDecl[TD]; in addDeclaratorForUnnamedTagDecl() [all …]
|
| H A D | QualTypeNames.cpp | 46 const ASTContext &Ctx, const TypeDecl *TD, 203 } else if (const auto *TD = dyn_cast<TagDecl>(DC)) { in createOuterNNS() local 245 const TagDecl *TD = nullptr; in getFullyQualifiedNestedNameSpecifier() local 247 TD = TagDeclType->getDecl(); in getFullyQualifiedNestedNameSpecifier() 249 TD = Type->getAsCXXRecordDecl(); in getFullyQualifiedNestedNameSpecifier() 251 if (TD) { in getFullyQualifiedNestedNameSpecifier() 252 return TypeName::createNestedNameSpecifier(Ctx, TD, in getFullyQualifiedNestedNameSpecifier() 300 } else if (const auto *TD = dyn_cast<TagDecl>(Outer)) { in createNestedNameSpecifierForScopeOf() local 302 Ctx, TD, FullyQualified, WithGlobalNsPrefix); in createNestedNameSpecifierForScopeOf() 360 const TypeDecl *TD, in createNestedNameSpecifier() argument [all …]
|
| H A D | CXXABI.h | 63 virtual void addTypedefNameForUnnamedTagDecl(TagDecl *TD, 67 getTypedefNameForUnnamedTagDecl(const TagDecl *TD) = 0; 69 virtual void addDeclaratorForUnnamedTagDecl(TagDecl *TD, 72 virtual DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) = 0;
|
| H A D | ItaniumCXXABI.cpp | 179 unsigned getManglingNumber(const TagDecl *TD, unsigned) override { in getManglingNumber() argument 180 return ++TagManglingNumbers[TD->getIdentifier()]; in getManglingNumber() 267 void addTypedefNameForUnnamedTagDecl(TagDecl *TD, in addTypedefNameForUnnamedTagDecl() argument 270 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override { in getTypedefNameForUnnamedTagDecl() argument 274 void addDeclaratorForUnnamedTagDecl(TagDecl *TD, in addDeclaratorForUnnamedTagDecl() argument 277 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override { in getDeclaratorForUnnamedTagDecl() argument
|
| H A D | ItaniumMangle.cpp | 929 return GD.getWithDecl(TD); in isTemplate() 1551 writeAbiTags(TD, nullptr); in mangleUnqualifiedName() 1739 mangleTemplatePrefix(TD); in mangleNestedName() 2098 mangleTemplatePrefix(TD); in manglePrefix() 2225 TemplateDecl *TD = nullptr; in mangleType() local 2238 mangleName(TD); in mangleType() 2408 assert(TD && !isa<TemplateTemplateParmDecl>(TD)); in mangleUnresolvedTypeOrSimpleId() 4013 if (mangleSubstitution(TD)) in mangleType() 4016 mangleName(GlobalDecl(TD)); in mangleType() 4017 addSubstitution(TD); in mangleType() [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/ |
| H A D | toc-data.ll | 31 ; TEST32: la 4, i[TD](2) 44 ; TEST64: la 4, i[TD](2) 84 ; TEST32: la 3, f[TD](2) 96 ; TEST64: la 3, f[TD](2) 134 ; TEST32: la 3, i[TD](2) 145 ; TEST64: la 3, i[TD](2) 149 ; TEST32-NOT: .csect ll[TD] 153 ; TEST32-NEXT: .globl i[TD] 157 ; TEST32-NEXT: .globl f[TD] 162 ; TEST64-NOT: .csect ll[TD] [all …]
|
| H A D | toc-data-const.ll | 17 ; CHECK: la 3, i1[TD](2) 20 ; CHECK: la 3, i2[TD](2) 23 ; CHECK: .extern i1[TD] 24 ; CHECK: .csect i2[TD]
|
| H A D | mi-peepholes-trap-opt.mir | 16 TD 8, %2, %3 39 TD 24, %2, %1 406 TD 31, %1, %0 516 TD 8, %1, %0 517 TD 8, %0, %1 533 TD 2, %1, %0 534 TD 2, %0, %1 550 TD 1, %1, %0 551 TD 1, %0, %1 567 TD 4, %1, %0 [all …]
|
| /llvm-project-15.0.7/mlir/test/Transforms/ |
| H A D | canonicalize-td.mlir | 1 …dialect %s -pass-pipeline='func.func(canonicalize{top-down=true})' | FileCheck %s --check-prefix=TD 6 // TD-LABEL: func @default_insertion_position 13 // TD: arith.constant 2 14 // TD-NEXT: scf.if 26 // TD-LABEL: func @custom_insertion_position 31 // TD: test.one_region_op 32 // TD-NEXT: arith.constant 2
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | LLVMConventionsChecker.cpp | 57 const TypedefNameDecl *TD = TT->getDecl(); in IsStdString() local 59 if (!TD->isInStdNamespace()) in IsStdString() 62 return TD->getName() == "string"; in IsStdString() 87 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector() local 89 if (!TD || !InNamespace(TD, "std")) in IsStdVector() 92 return TD->getName() == "vector"; in IsStdVector() 101 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector() local 103 if (!TD || !InNamespace(TD, "llvm")) in IsSmallVector() 106 return TD->getName() == "SmallVector"; in IsSmallVector()
|
| /llvm-project-15.0.7/clang/test/CXX/special/class.dtor/ |
| H A D | p3-0x.cpp | 77 struct TD { struct 78 ~TD() noexcept(false); 83 TD<T> d; 98 TD<T> d; 106 TD<T> d;
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_profile_collector.cpp | 319 for (auto &TD : *TDArray) { in reset() 320 TD.BQ->releaseBuffer(TD.Buffers.NodeBuffer); in reset() 321 TD.BQ->releaseBuffer(TD.Buffers.RootsBuffer); in reset() 322 TD.BQ->releaseBuffer(TD.Buffers.ShadowStackBuffer); in reset() 323 TD.BQ->releaseBuffer(TD.Buffers.NodeIdPairBuffer); in reset()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-query/ |
| H A D | Query.cpp | 116 TextDiagnostic TD(OS, Ctx.getLangOpts(), &Diags.getDiagnosticOptions()); in dumpLocations() local 123 TD.emitDiagnostic(FullSourceLoc(Iter->first, SM), DiagnosticsEngine::Note, in dumpLocations() 140 TD.emitDiagnostic(FullSourceLoc(Iter->first.getBegin(), SM), in dumpLocations() 157 TD.emitDiagnostic( in dumpLocations() 165 TD.emitDiagnostic(FullSourceLoc(Iter->first.getEnd(), SM), in dumpLocations() 230 TextDiagnostic TD(OS, AST->getASTContext().getLangOpts(), in run() local 232 TD.emitDiagnostic( in run()
|
| /llvm-project-15.0.7/polly/www/ |
| H A D | content.css | 31 TD.done {background-color: #88ff99; text-align: center} 32 TD.inprogress{background-color: #ffce00; text-align: center} 33 TD.open{background-color: #e6705f; text-align: center} 34 TD.nice{background-color: #5555df; text-align: center} 35 TD.niceinprogress{background-color: #8888ff; text-align: center}
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTConsumers.cpp | 103 if (auto *TD = dyn_cast<TemplateDecl>(D)) in print() local 104 InnerD = TD->getTemplatedDecl(); in print() 110 if (auto *TD = dyn_cast<TypeDecl>(InnerD)) in print() local 111 TD->getTypeForDecl()->dump(Out, TD->getASTContext()); in print()
|
| H A D | MultiplexConsumer.cpp | 91 void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, 93 void AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, 95 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, 145 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization() argument 147 Listeners[i]->AddedCXXTemplateSpecialization(TD, D); in AddedCXXTemplateSpecialization() 150 const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) { in AddedCXXTemplateSpecialization() argument 152 Listeners[i]->AddedCXXTemplateSpecialization(TD, D); in AddedCXXTemplateSpecialization() 155 const FunctionTemplateDecl *TD, const FunctionDecl *D) { in AddedCXXTemplateSpecialization() argument 157 Listeners[i]->AddedCXXTemplateSpecialization(TD, D); in AddedCXXTemplateSpecialization()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SemanticHighlighting.cpp | 77 if (auto *TD = dyn_cast<TemplateDecl>(D)) { in kindForDecl() local 78 if (auto *Templated = TD->getTemplatedDecl()) in kindForDecl() 81 if (auto *TD = dyn_cast<TypedefNameDecl>(D)) { in kindForDecl() local 160 if (auto *TD = TP->getAsTagDecl()) in kindForType() local 161 return kindForDecl(TD, Resolver); in kindForType() 273 return isDefaultLibrary(TD->getDecl()); in isDefaultLibrary() 274 if (auto *TD = Underlying->getAsTagDecl()) in isDefaultLibrary() local 275 return isDefaultLibrary(TD); in isDefaultLibrary() 516 return scopeModifier(TD->getDecl()); in scopeModifier() 517 if (auto *TD = T->getAsTagDecl()) in scopeModifier() local [all …]
|
| H A D | HeuristicResolver.cpp | 50 const ClassTemplateDecl *TD = dyn_cast_or_null<ClassTemplateDecl>( in resolveTypeToRecordDecl() local 52 if (!TD) in resolveTypeToRecordDecl() 55 return TD->getTemplatedDecl(); in resolveTypeToRecordDecl() 188 if (const auto *TD = dyn_cast<TypeDecl>(Decls[0])) { in resolveDeclsToType() local 189 return TD->getTypeForDecl(); in resolveDeclsToType()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CocoaConventions.cpp | 27 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) { in isRefType() local 28 StringRef TDName = TD->getDecl()->getIdentifier()->getName(); in isRefType() 34 RetTy = TD->getDecl()->getUnderlyingType(); in isRefType()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTMutationListener.h | 61 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, in AddedCXXTemplateSpecialization() argument 67 AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, in AddedCXXTemplateSpecialization() argument 72 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, in AddedCXXTemplateSpecialization() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | UnusedUsingDeclsCheck.cpp | 24 if (const auto *TD = Node.getTemplateName().getAsTemplateDecl()) in AST_MATCHER_P() local 25 return DeclMatcher.matches(*TD, Finder, Builder); in AST_MATCHER_P() 132 if (const auto *TD = Used->getAsTemplate().getAsTemplateDecl()) in check() local 133 removeFromFoundDecls(TD); in check()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | debug-info-explicit-cast.cpp | 29 typedef int(Qux::*TD)(); typedef 34 TD d = &Qux::d; in main()
|
| /llvm-project-15.0.7/llvm/tools/llvm-cxxdump/ |
| H A D | llvm-cxxdump.cpp | 271 TypeDescriptor TD; in dumpCXXData() local 273 TD.AlwaysZero = *reinterpret_cast<const little64_t *>(DataPtr); in dumpCXXData() 275 TD.AlwaysZero = *reinterpret_cast<const little32_t *>(DataPtr); in dumpCXXData() 276 TD.MangledName = SymContents.drop_front(BytesInAddress * 2); in dumpCXXData() 277 StringRef *I = std::begin(TD.Symbols), *E = std::end(TD.Symbols); in dumpCXXData() 279 TDs[SymName] = TD; in dumpCXXData() 396 const TypeDescriptor &TD = TDPair.second; in dumpCXXData() local 397 outs() << TDName << "[VFPtr]: " << TD.Symbols[0] << '\n'; in dumpCXXData() 398 outs() << TDName << "[AlwaysZero]: " << TD.AlwaysZero << '\n'; in dumpCXXData() 400 outs().write_escaped(TD.MangledName.rtrim(StringRef("\0", 1)), in dumpCXXData()
|