Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DMacroInfo.h361 class DefInfo {
367 DefInfo() = default;
368 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function
379 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo()
392 inline DefInfo getPreviousDefinition();
394 const DefInfo getPreviousDefinition() const { in getPreviousDefinition()
395 return const_cast<DefInfo *>(this)->getPreviousDefinition(); in getPreviousDefinition()
402 DefInfo getDefinition();
403 const DefInfo getDefinition() const { in getDefinition()
408 if (const DefInfo Def = getDefinition()) in isDefined()
[all …]
H A DPreprocessor.h898 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
1367 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/openbsd-src/gnu/llvm/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.cpp359 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64CollectLOH.cpp336 static bool handleMiddleInst(const MachineInstr &MI, LOHInfo &DefInfo, in handleMiddleInst() argument
338 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() local
406 if (DefIdx != OpIdx && (DefInfo.OneUser || DefInfo.MultiUsers)) in handleADRP()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInsertVSETVLI.cpp838 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in needVSETVLI() local
839 if (DefInfo.hasSameAVL(CurInfo) && DefInfo.hasSameVLMAX(CurInfo)) in needVSETVLI()
894 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in transferBefore() local
895 if (DefInfo.hasSameVLMAX(Info) && in transferBefore()
896 (DefInfo.hasAVLImm() || DefInfo.getAVLReg() == RISCV::X0)) { in transferBefore()
897 if (DefInfo.hasAVLImm()) in transferBefore()
898 Info.setAVLImm(DefInfo.getAVLImm()); in transferBefore()
900 Info.setAVLReg(DefInfo.getAVLReg()); in transferBefore()
1035 VSETVLIInfo DefInfo = getInfoForVSETVLI(*DefMI); in needVSETVLIPHI() local
1036 if (!DefInfo.hasSameAVL(PBBInfo.Exit) || in needVSETVLIPHI()
[all …]
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp9339 for (MacroDirective::DefInfo Def = MD->getDefinition(); Def; in getMacroInfo()