Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DMacroInfo.h352 class DefInfo {
358 DefInfo() : DefDirective(nullptr), IsPublic(true) {} in DefInfo() function
360 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function
370 return const_cast<DefInfo *>(this)->getMacroInfo(); in getMacroInfo()
383 inline DefInfo getPreviousDefinition();
384 const DefInfo getPreviousDefinition() const { in getPreviousDefinition()
385 return const_cast<DefInfo *>(this)->getPreviousDefinition(); in getPreviousDefinition()
392 DefInfo getDefinition();
393 const DefInfo getDefinition() const { in getDefinition()
398 if (const DefInfo Def = getDefinition()) in isDefined()
[all …]
DPreprocessor.h458 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
463 return MacroDirective::DefInfo(); in findDirectiveAtLoc()
836 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/external/llvm-project/clang/include/clang/Lex/
DMacroInfo.h338 class DefInfo {
344 DefInfo() = default;
345 DefInfo(DefMacroDirective *DefDirective, SourceLocation UndefLoc, in DefInfo() function
356 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 …]
DPreprocessor.h669 MacroDirective::DefInfo findDirectiveAtLoc(SourceLocation Loc, in findDirectiveAtLoc()
1093 MacroDirective::DefInfo DI; in getMacroDefinitionAtLoc()
/external/clang/lib/Lex/
DMacroInfo.cpp176 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()
182 return DefInfo(DefMD, UndefLoc, in getDefinition()
195 return DefInfo(nullptr, UndefLoc, in getDefinition()
199 const MacroDirective::DefInfo
202 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
207 ? Def : DefInfo(); in findDirectiveAtLoc()
209 return DefInfo(); in findDirectiveAtLoc()
DPreprocessor.cpp341 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/external/llvm-project/clang/lib/Lex/
DMacroInfo.cpp178 MacroDirective::DefInfo MacroDirective::getDefinition() { in getDefinition()
184 return DefInfo(DefMD, UndefLoc, in getDefinition()
197 return DefInfo(nullptr, UndefLoc, in getDefinition()
201 const MacroDirective::DefInfo
205 for (DefInfo Def = getDefinition(); Def; Def = Def.getPreviousDefinition()) { in findDirectiveAtLoc()
210 ? Def : DefInfo(); in findDirectiveAtLoc()
212 return DefInfo(); in findDirectiveAtLoc()
DPreprocessor.cpp362 const MacroDirective::DefInfo in getLastMacroWithSpelling()
/external/llvm-project/llvm/lib/Target/AArch64/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
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()
/external/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp91 struct DefInfo { struct
98 DefInfo(ra_ctx& ctx, aco_ptr<Instruction>& instr, RegClass rc_, int operand) : rc(rc_) { in DefInfo() argument
606 DefInfo info) in get_reg_simple()
780 DefInfo info = DefInfo(ctx, ctx.pseudo_dummy, var.rc, -1); in get_regs_for_copies()
790 info = DefInfo(ctx, instr, var.rc, i); in get_regs_for_copies()
935 DefInfo info, in get_reg_impl()
1237 DefInfo info(ctx, ctx.pseudo_dummy, vec->definitions[0].regClass(), -1); in get_reg()
1248 DefInfo info(ctx, instr, temp.regClass(), operand_index); in get_reg()
2154 DefInfo info(ctx, instr, definition.regClass(), -1); in register_allocation()
/external/mesa3d/docs/relnotes/
D20.1.0.rst1257 - aco: create and use DefInfo struct in RA
1258 - aco: use DefInfo in more places to simplify RA
/external/clang/tools/libclang/
DCIndex.cpp7845 for (MacroDirective::DefInfo in getMacroInfo()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp8960 for (MacroDirective::DefInfo Def = MD->getDefinition(); Def; in getMacroInfo()