Home
last modified time | relevance | path

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

/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.h917 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
1376 MacroDirective::DefInfo DI; in getMacroDefinition()
/llvm-project/clang/lib/Lex/
H A DMacroInfo.cpp196 MacroDirective::DefInfo MacroDirective::getDefinition() { in dump()
202 return DefInfo(DefMD, UndefLoc, !isPublic || *isPublic); in getDefinition()
214 return DefInfo(nullptr, UndefLoc, !isPublic || *isPublic); in getDefinition()
217 const MacroDirective::DefInfo in getDefinition()
221 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
226 ? Def : DefInfo(); in findDirectiveAtLoc()
228 return DefInfo(); in findDirectiveAtLoc()
H A DPreprocessor.cpp364 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp330 static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo,
332 if (!DefInfo.IsCandidate || (&DefInfo != &OpInfo && OpInfo.OneUser)) in handleMiddleInst() argument
335 if (&DefInfo != &OpInfo) { in handleMiddleInst()
336 OpInfo = DefInfo; in handleMiddleInst()
337 // Invalidate \p DefInfo because we track it in \p OpInfo now. in handleMiddleInst()
338 handleClobber(DefInfo); in handleMiddleInst()
340 DefInfo.LastADRP = nullptr; in handleMiddleInst()
399 LOHInfo DefInfo = LOHInfos[OpIdx]; in handleADRP()
400 if (DefIdx != OpIdx && (DefInfo in handleADRP()
401 LOHInfo DefInfo = LOHInfos[OpIdx]; handleADRP() local
[all...]
/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp1134 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in insertVSETVLI()
1135 if (DefInfo.hasSameAVL(PrevInfo) && DefInfo.hasSameVLMAX(PrevInfo)) { in insertVSETVLI()
1442 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in emitVSETVLIs()
1443 if (DefInfo != PBBExit) in emitVSETVLIs()
1119 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); insertVSETVLI() local
1396 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); needVSETVLIPHI() local
/llvm-project/clang/tools/libclang/
H A DCIndex.cpp9878 for (MacroDirective::DefInfo Def = MD->getDefinition(); Def;