Home
last modified time | relevance | path

Searched refs:MDK (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp149 ModuleDeclKind MDK, ModuleIdPath Path, in ActOnModuleDecl() argument
162 switch (MDK) { in ActOnModuleDecl()
164 MDK = ModuleDeclKind::PartitionImplementation; in ActOnModuleDecl()
167 MDK = ModuleDeclKind::PartitionInterface; in ActOnModuleDecl()
184 if (MDK != ModuleDeclKind::Implementation) in ActOnModuleDecl()
191 MDK = ModuleDeclKind::Interface; in ActOnModuleDecl()
266 switch (MDK) { in ActOnModuleDecl()
285 if (MDK == ModuleDeclKind::PartitionInterface) in ActOnModuleDecl()
330 ModuleScopes.back().ModuleInterface = MDK != ModuleDeclKind::Implementation; in ActOnModuleDecl()
349 if (MDK == ModuleDeclKind::Implementation) { in ActOnModuleDecl()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParser.cpp2349 Sema::ModuleDeclKind MDK = TryConsumeToken(tok::kw_export) in ParseModuleDecl() local
2371 if (MDK == Sema::ModuleDeclKind::Interface) { in ParseModuleDecl()
2382 if (MDK == Sema::ModuleDeclKind::Interface) { in ParseModuleDecl()
2419 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
/llvm-project-15.0.7/llvm/lib/AsmParser/
H A DLLParser.cpp545 unsigned MDK; in parseDeclare() local
547 if (parseMetadataAttachment(MDK, N)) in parseDeclare()
549 MDs.push_back({MDK, N}); in parseDeclare()
1988 unsigned MDK; in parseInstructionMetadata() local
1990 if (parseMetadataAttachment(MDK, N)) in parseInstructionMetadata()
1993 Inst.setMetadata(MDK, N); in parseInstructionMetadata()
1994 if (MDK == LLVMContext::MD_tbaa) in parseInstructionMetadata()
2005 unsigned MDK; in parseGlobalObjectMetadataAttachment() local
2007 if (parseMetadataAttachment(MDK, N)) in parseGlobalObjectMetadataAttachment()
2010 GO.addMetadata(MDK, *N); in parseGlobalObjectMetadataAttachment()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h3097 SourceLocation ModuleLoc, ModuleDeclKind MDK,