Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h364 class DefInfo {
370 DefInfo() = default;
382 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo()
395 inline DefInfo getPreviousDefinition();
397 const DefInfo getPreviousDefinition() const { in getPreviousDefinition()
405 DefInfo getDefinition();
406 const DefInfo getDefinition() const { in getDefinition()
411 if (const DefInfo Def = getDefinition()) in isDefined()
423 const DefInfo findDirectiveAtLoc(SourceLocation L,
500 inline MacroDirective::DefInfo
[all …]
H A DPreprocessor.h896 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
1366 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/freebsd-14.2/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.cpp363 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp332 static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo, in handleMiddleInst() argument
334 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser)) in handleMiddleInst()
337 if (&DefInfo != &OpInfo) { in handleMiddleInst()
338 OpInfo = DefInfo; in handleMiddleInst()
340 handleClobber(DefInfo); in handleMiddleInst()
342 DefInfo.LastADRP = nullptr; in handleMiddleInst()
401 LOHInfo DefInfo = LOHInfos[OpIdx]; in handleADRP() local
402 if (DefIdx != OpIdx && (DefInfo.OneUser || DefInfo.MultiUsers)) in handleADRP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp938 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in insertVSETVLI() local
939 if (DefInfo.hasSameAVL(PrevInfo) && DefInfo.hasSameVLMAX(PrevInfo)) { in insertVSETVLI()
1060 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in needVSETVLI() local
1061 if (DefInfo.hasSameAVL(CurInfo) && DefInfo.hasSameVLMAX(CurInfo)) in needVSETVLI()
1272 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in needVSETVLIPHI() local
1273 if (!DefInfo.hasSameAVL(PBBInfo.Exit) || in needVSETVLIPHI()
1274 !DefInfo.hasSameVTYPE(PBBInfo.Exit)) in needVSETVLIPHI()