Searched refs:TD (Results 1 - 25 of 137) sorted by relevance

123456

/openbsd-current/gnu/llvm/llvm/lib/Target/
H A DTarget.cpp59 void LLVMDisposeTargetData(LLVMTargetDataRef TD) { argument
60 delete unwrap(TD);
68 char *LLVMCopyStringRepOfTargetData(LLVMTargetDataRef TD) { argument
69 std::string StringRep = unwrap(TD)->getStringRepresentation();
73 LLVMByteOrdering LLVMByteOrder(LLVMTargetDataRef TD) { argument
74 return unwrap(TD)->isLittleEndian() ? LLVMLittleEndian : LLVMBigEndian;
77 unsigned LLVMPointerSize(LLVMTargetDataRef TD) { argument
78 return unwrap(TD)->getPointerSize(0);
81 unsigned LLVMPointerSizeForAS(LLVMTargetDataRef TD, unsigned AS) { argument
82 return unwrap(TD)
85 LLVMIntPtrType(LLVMTargetDataRef TD) argument
89 LLVMIntPtrTypeForAS(LLVMTargetDataRef TD, unsigned AS) argument
93 LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD) argument
97 LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD, unsigned AS) argument
101 LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
105 LLVMStoreSizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
109 LLVMABISizeOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
113 LLVMABIAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
117 LLVMCallFrameAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
121 LLVMPreferredAlignmentOfType(LLVMTargetDataRef TD, LLVMTypeRef Ty) argument
125 LLVMPreferredAlignmentOfGlobal(LLVMTargetDataRef TD, LLVMValueRef GlobalVar) argument
132 LLVMElementAtOffset(LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned long long Offset) argument
138 LLVMOffsetOfElement(LLVMTargetDataRef TD, LLVMTypeRef StructTy, unsigned Element) argument
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm-c/
H A DTarget.h201 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);
239 LLVMTypeRef LLVMIntPtrTypeInContext(LLVMContextRef C, LLVMTargetDataRef TD);
244 LLVMTypeRef LLVMIntPtrTypeForASInContext(LLVMContextRef C, LLVMTargetDataRef TD,
249 unsigned long long LLVMSizeOfTypeInBits(LLVMTargetDataRef TD, LLVMTypeRe
[all...]
/openbsd-current/usr.bin/tic/
H A Dtparm_type.c46 #define TD(code, longname, ti, tc) \ macro
50 #define XD(code, onlyname) TD(code, onlyname, onlyname, onlyname)
57 TD(Num_Str, "pkey_key", "pfkey", "pk"),
58 TD(Num_Str, "pkey_local", "pfloc", "pl"),
59 TD(Num_Str, "pkey_xmit", "pfx", "px"),
60 TD(Num_Str, "plab_norm", "pln", "pn"),
61 TD(Num_Str_Str, "pkey_plab", "pfxl", "xl"),
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DMicrosoftCXXABI.cpp62 unsigned getManglingNumber(const TagDecl *TD,
81 unsigned getManglingNumber(const TagDecl *TD,
83 unsigned DeviceN = DeviceCtx->getManglingNumber(TD, MSLocalManglingNumber);
85 MicrosoftNumberingContext::getManglingNumber(TD, MSLocalManglingNumber);
87 DiagnosticsEngine &Diags = TD->getASTContext().getDiagnostics();
90 Diags.Report(TD->getLocation(), DiagID);
164 void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
166 TD = TD->getCanonicalDecl();
168 TypedefNameDecl *&I = UnnamedTagDeclToTypedefNameDecl[TD];
[all...]
H A DCXXABI.h63 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 DQualTypeNames.cpp39 /// \param[in] TD - the TagDecl for which a NestedNameSpecifier is
46 const ASTContext &Ctx, const TypeDecl *TD,
201 } else if (const auto *TD = dyn_cast<TagDecl>(DC)) {
202 return createNestedNameSpecifier(Ctx, TD, FullyQualify, WithGlobalNsPrefix);
243 const TagDecl *TD = nullptr; local
245 TD = TagDeclType->getDecl();
247 TD = Type->getAsCXXRecordDecl();
249 if (TD) {
250 return TypeName::createNestedNameSpecifier(Ctx, TD,
298 } else if (const auto *TD
357 createNestedNameSpecifier(const ASTContext &Ctx, const TypeDecl *TD, bool FullyQualify, bool WithGlobalNsPrefix) argument
[all...]
H A DStmtIterator.cpp84 else if (TypedefNameDecl* TD = dyn_cast<TypedefNameDecl>(D)) {
86 FindVA(TD->getUnderlyingType().getTypePtr())) {
H A DItaniumCXXABI.cpp180 unsigned getManglingNumber(const TagDecl *TD, unsigned) override {
181 return ++TagManglingNumbers[TD->getIdentifier()];
268 void addTypedefNameForUnnamedTagDecl(TagDecl *TD,
271 TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD) override {
275 void addDeclaratorForUnnamedTagDecl(TagDecl *TD,
278 DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD) override {
H A DItaniumMangle.cpp487 void mangleTemplateName(const TemplateDecl *TD,
515 void mangleNestedName(const TemplateDecl *TD,
925 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) {
927 return GD.getWithDecl(TD);
949 const TemplateDecl *TD = dyn_cast_or_null<TemplateDecl>(GD.getDecl()); local
950 return TemplateName(const_cast<TemplateDecl*>(TD));
1037 if (GlobalDecl TD = isTemplate(GD, TemplateArgs)) {
1038 mangleUnscopedTemplateName(TD, DC, AdditionalAbiTags);
1039 mangleTemplateArgs(asTemplateName(TD), *TemplateArgs);
1087 void CXXNameMangler::mangleTemplateName(const TemplateDecl *TD, argument
1537 const TagDecl *TD = cast<TagDecl>(ND); local
1730 mangleNestedName(const TemplateDecl *TD, ArrayRef<TemplateArgument> Args) argument
2371 TemplateDecl *TD = TN.getAsTemplateDecl(); local
2404 TemplateDecl *TD = TN.getAsTemplateDecl(); local
[all...]
/openbsd-current/regress/sys/kern/execve/
H A DMakefile7 TD= ${.CURDIR}/tests macro
22 empty: ${TD}/empty.in
28 nonexist: ${TD}/nonexist.in
34 nonexistshell: ${TD}/nonexistshell.in
40 devnullscript: ${TD}/devnullscript.in
46 badinterplen: ${TD}/badinterplen.in
52 goodscript: ${TD}/goodscript.in
58 scriptarg: ${TD}/scriptarg.in
64 scriptarg-nospace: ${TD}/scriptarg-nospace.in
70 goodaout: ${TD}/goodaou
[all...]
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFTypeUnit.cpp19 DWARFDie TD = getDIEForOffset(getTypeOffset() + getOffset()); local
20 const char *Name = TD.getName(DINameKind::ShortName);
/openbsd-current/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.h107 static bool classof(const SpecialTypeDescriptor *TD) { argument
108 return TD->Kind == SpecialTypeKind::STK_Image;
116 ImageTypeDescriptor TD(
121 Hash = TD.getHash() ^ Kind;
124 static bool classof(const SpecialTypeDescriptor *TD) { argument
125 return TD->Kind == SpecialTypeKind::STK_SampledImage;
135 static bool classof(const SpecialTypeDescriptor *TD) { argument
136 return TD->Kind == SpecialTypeKind::STK_Sampler;
147 static bool classof(const SpecialTypeDescriptor *TD) { argument
148 return TD
159 classof(const SpecialTypeDescriptor *TD) argument
285 add(const SPIRV::SpecialTypeDescriptor &TD, const MachineFunction *MF, Register R) argument
310 find(const SPIRV::SpecialTypeDescriptor &TD, const MachineFunction *MF) argument
[all...]
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp57 const TypedefNameDecl *TD = TT->getDecl(); local
59 if (!TD->isInStdNamespace())
62 return TD->getName() == "string";
87 TemplateDecl *TD = TM.getAsTemplateDecl(); local
89 if (!TD || !InNamespace(TD, "std"))
92 return TD->getName() == "vector";
101 TemplateDecl *TD = TM.getAsTemplateDecl(); local
103 if (!TD || !InNamespace(TD, "llv
[all...]
/openbsd-current/gnu/llvm/clang/lib/Analysis/
H A DCocoaConventions.cpp27 while (const TypedefType *TD = RetTy->getAs<TypedefType>()) {
28 StringRef TDName = TD->getDecl()->getIdentifier()->getName();
34 RetTy = TD->getDecl()->getUnderlyingType();
/openbsd-current/gnu/llvm/clang/include/clang/AST/
H A DMangleNumberingContext.h51 virtual unsigned getManglingNumber(const TagDecl *TD,
H A DASTMutationListener.h61 virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD, argument
67 AddedCXXTemplateSpecialization(const VarTemplateDecl *TD, argument
72 virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD, argument
H A DJSONNodeDumper.h237 void VisitTypedefDecl(const TypedefDecl *TD);
408 void writeTemplateDecl(const TemplateDecl *TD, bool DumpExplicitInst) { argument
415 dumpTemplateParameters(TD->getTemplateParameters());
417 Visit(TD->getTemplatedDecl());
419 for (const auto *Child : TD->specializations())
421 !TD->isCanonicalDecl());
/openbsd-current/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineJumpTableInfo.h87 unsigned getEntrySize(const DataLayout &TD) const;
89 unsigned getEntryAlignment(const DataLayout &TD) const;
/openbsd-current/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_profile_collector.cpp319 for (auto &TD : *TDArray) {
320 TD.BQ->releaseBuffer(TD.Buffers.NodeBuffer);
321 TD.BQ->releaseBuffer(TD.Buffers.RootsBuffer);
322 TD.BQ->releaseBuffer(TD.Buffers.ShadowStackBuffer);
323 TD.BQ->releaseBuffer(TD.Buffers.NodeIdPairBuffer);
/openbsd-current/gnu/llvm/clang/lib/Frontend/
H A DMultiplexConsumer.cpp91 void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD,
93 void AddedCXXTemplateSpecialization(const VarTemplateDecl *TD,
95 void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
145 const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) {
147 Listeners[i]->AddedCXXTemplateSpecialization(TD, D);
150 const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) {
152 Listeners[i]->AddedCXXTemplateSpecialization(TD, D);
155 const FunctionTemplateDecl *TD, const FunctionDecl *D) {
157 Listeners[i]->AddedCXXTemplateSpecialization(TD, D);
144 AddedCXXTemplateSpecialization( const ClassTemplateDecl *TD, const ClassTemplateSpecializationDecl *D) argument
149 AddedCXXTemplateSpecialization( const VarTemplateDecl *TD, const VarTemplateSpecializationDecl *D) argument
154 AddedCXXTemplateSpecialization( const FunctionTemplateDecl *TD, const FunctionDecl *D) argument
H A DASTConsumers.cpp103 if (auto *TD = dyn_cast<TemplateDecl>(D))
104 InnerD = TD->getTemplatedDecl();
110 if (auto *TD = dyn_cast<TypeDecl>(InnerD))
111 TD->getTypeForDecl()->dump(Out, TD->getASTContext());
/openbsd-current/gnu/llvm/clang/tools/libclang/
H A DCXType.cpp242 if (const TypeDecl *TD = dyn_cast<TypeDecl>(D))
243 return MakeCXType(Context.getTypeDeclType(TD), TU);
321 if (const TypedefNameDecl *TD = dyn_cast_or_null<TypedefNameDecl>(D)) {
322 QualType T = TD->getUnderlyingType();
339 if (const EnumDecl *TD = dyn_cast_or_null<EnumDecl>(D)) {
340 QualType T = TD->getIntegerType();
356 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) {
357 return TD->getInitVal().getSExtValue();
372 if (const EnumConstantDecl *TD = dyn_cast_or_null<EnumConstantDecl>(D)) {
373 return TD
444 TypedefNameDecl *TD = TT->getDecl(); local
[all...]
/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp347 if (const TypedefNameDecl *TD = dyn_cast<TypedefNameDecl>(SD)) {
348 if (TD->getUnderlyingType()->isRecordType())
350 if (TD->getUnderlyingType()->isEnumeralType()) {
716 if (auto *TD = dyn_cast_or_null<TypedefNameDecl>(SD))
717 MarkAnyDeclReferenced(TD->getLocation(), TD, /*OdrUse=*/false);
831 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) {
833 << Context.getTypeDeclType(TD) << getLangOpts().CPlusPlus;
962 TemplateDecl *TD = Template.getAsTemplateDecl();
964 isa<FunctionTemplateDecl>(TD) || is
[all...]
H A DSemaAvailability.cpp71 while (const auto *TD = dyn_cast<TypedefNameDecl>(D)) {
73 if (const auto *TT = TD->getUnderlyingType()->getAs<TagType>()) {
293 if (const auto *TD = dyn_cast<TagDecl>(D)) {
295 Lexer::getLocForEndOfToken(TD->getInnerLocStart(), 0, SM, LangOpts);
388 if (const auto *TD = dyn_cast<TagDecl>(Enclosing))
389 if (TD->getDeclName().isEmpty()) {
390 S.Diag(TD->getLocation(),
392 << /*Anonymous*/ 1 << TD->getKindName();
854 TagDecl *TD = TT->getDecl(); local
855 DiagnoseDeclAvailability(TD, Rang
[all...]
/openbsd-current/gnu/llvm/llvm/lib/MC/MCDisassembler/
H A DMCDisassembler.cpp68 SMC_PCASE(TD, 1)

Completed in 224 milliseconds

123456