Home
last modified time | relevance | path

Searched refs:DefInfo (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DMacroInfo.h338 class DefInfo {
344 DefInfo() = default;
345 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function
356 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo()
369 inline DefInfo getPreviousDefinition();
371 const DefInfo getPreviousDefinition() const { in getPreviousDefinition()
372 return const_cast<DefInfo *>(this)->getPreviousDefinition(); in getPreviousDefinition()
379 DefInfo getDefinition();
380 const DefInfo getDefinition() const { in getDefinition()
385 if (const DefInfo Def = getDefinition()) in isDefined()
[all …]
H A DPreprocessor.h669 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
1093 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DMacroInfo.cpp178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()
184 return DefInfo(DefMD, UndefLoc, in getDefinition()
197 return DefInfo(nullptr, UndefLoc, in getDefinition()
201 const MacroDirective::DefInfo
205 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
210 ? Def : DefInfo(); in findDirectiveAtLoc()
212 return DefInfo(); in findDirectiveAtLoc()
H A DPreprocessor.cpp358 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp336 static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo, in handleMiddleInst() argument
338 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser)) in handleMiddleInst()
341 if (&DefInfo != &OpInfo) { in handleMiddleInst()
342 OpInfo = DefInfo; in handleMiddleInst()
344 handleClobber(DefInfo); in handleMiddleInst()
346 DefInfo.LastADRP = nullptr; in handleMiddleInst()
405 LOHInfo DefInfo = LOHInfos[OpIdx]; in handleADRP() local
406 if (DefIdx != OpIdx && (DefInfo.OneUser || DefInfo.MultiUsers)) in handleADRP()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp9012 for (MacroDirective::DefInfo Def = MD->getDefinition(); Def; in getMacroInfo()