Searched refs:DefInfo (Results 1 – 6 of 6) sorted by relevance
338 class DefInfo {344 DefInfo() = default;345 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function356 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 …]
669 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()1093 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()184 return DefInfo(DefMD, UndefLoc, in getDefinition()197 return DefInfo(nullptr, UndefLoc, in getDefinition()201 const MacroDirective::DefInfo205 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()210 ? Def : DefInfo(); in findDirectiveAtLoc()212 return DefInfo(); in findDirectiveAtLoc()
358 const MacroDirective::DefInfo in getLastMacroWithSpelling()
336 static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo, in handleMiddleInst() argument338 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() local406 if (DefIdx != OpIdx && (DefInfo.OneUser || DefInfo.MultiUsers)) in handleADRP()
9012 for (MacroDirective::DefInfo Def = MD->getDefinition(); Def; in getMacroInfo()