Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h364 class DefInfo {
370 DefInfo() = default;
371 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function
382 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo()
395 inline DefInfo getPreviousDefinition();
397 const DefInfo getPreviousDefinition() const { in getPreviousDefinition()
398 return const_cast<DefInfo *>(this)->getPreviousDefinition(); in getPreviousDefinition()
405 DefInfo getDefinition();
406 const DefInfo getDefinition() const { in getDefinition()
411 if (const DefInfo Def = getDefinition()) in isDefined()
[all …]
H A DPreprocessor.h916 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
1386 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroInfo.cpp198 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()
204 return DefInfo(DefMD, UndefLoc, !isPublic || *isPublic); in getDefinition()
216 return DefInfo(nullptr, UndefLoc, !isPublic || *isPublic); in getDefinition()
219 const MacroDirective::DefInfo
223 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
228 ? Def : DefInfo(); in findDirectiveAtLoc()
230 return DefInfo(); in findDirectiveAtLoc()
H A DPreprocessor.cpp367 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp332 static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo, in handleClobber()
334 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser))
337 if (&DefInfo != &OpInfo) { in handleMiddleInst()
338 OpInfo = DefInfo; in handleMiddleInst()
339 // Invalidate \p DefInfo because we track it in \p OpInfo now. in handleMiddleInst()
340 handleClobber(DefInfo); in handleMiddleInst()
342 DefInfo.LastADRP = nullptr; in handleMiddleInst()
401 LOHInfo DefInfo = LOHInfos[OpIdx]; in handleADRP()
402 if (DefIdx != OpIdx && (DefInfo in handleADRP()
336 handleMiddleInst(const MachineInstr & MI,LOHInfo & DefInfo,LOHInfo & OpInfo) handleMiddleInst() argument
405 LOHInfo DefInfo = LOHInfos[OpIdx]; handleADRP() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp1100 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in insertVSETVLI() local
1101 if (DefInfo.hasSameAVL(PrevInfo) && DefInfo.hasSameVLMAX(PrevInfo)) { in insertVSETVLI()
1394 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in needVSETVLIPHI() local
1395 if (DefInfo != PBBExit) in needVSETVLIPHI()