Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DMacroInfo.h352 class DefInfo {
358 DefInfo() : DefDirective(nullptr), IsPublic(true) {} in DefInfo() function
360 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function
370 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo()
383 inline DefInfo getPreviousDefinition();
384 const DefInfo getPreviousDefinition() const { in getPreviousDefinition()
385 return const_cast<DefInfo *>(this)->getPreviousDefinition(); in getPreviousDefinition()
392 DefInfo getDefinition();
393 const DefInfo getDefinition() const { in getDefinition()
398 if (const DefInfo Def = getDefinition()) in isDefined()
[all …]
DPreprocessor.h458 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
463 return MacroDirective::DefInfo(); in findDirectiveAtLoc()
836 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/external/clang/lib/Lex/
DMacroInfo.cpp176 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()
182 return DefInfo(DefMD, UndefLoc, in getDefinition()
195 return DefInfo(nullptr, UndefLoc, in getDefinition()
199 const MacroDirective::DefInfo
202 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
207 ? Def : DefInfo(); in findDirectiveAtLoc()
209 return DefInfo(); in findDirectiveAtLoc()
DPreprocessor.cpp341 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64CollectLOH.cpp334 static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo, in handleMiddleInst() argument
336 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser)) in handleMiddleInst()
339 if (&DefInfo != &OpInfo) { in handleMiddleInst()
340 OpInfo = DefInfo; in handleMiddleInst()
342 handleClobber(DefInfo); in handleMiddleInst()
344 DefInfo.LastADRP = nullptr; in handleMiddleInst()
/external/clang/tools/libclang/
DCIndex.cpp7845 for (MacroDirective::DefInfo in getMacroInfo()