Home
last modified time | relevance | path

Searched refs:DefInfo (Results 1 – 11 of 11) 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/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/swiftshader/third_party/llvm-16.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()
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/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/
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 …]
/external/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp23 struct DefInfo;
220 struct DefInfo { struct
229 DefInfo(ra_ctx& ctx, aco_ptr<Instruction>& instr, RegClass rc_, int operand) : rc(rc_) in DefInfo() function
636 DefInfo::get_subdword_definition_info(Program* program, const aco_ptr<Instruction>& instr) in get_subdword_definition_info()
935 get_reg_simple(ra_ctx& ctx, const RegisterFile& reg_file, DefInfo info) in get_reg_simple()
943 DefInfo new_info = info; in get_reg_simple()
1066 DefInfo info, unsigned id) in get_reg_for_create_vector_copy()
1125 DefInfo info = DefInfo(ctx, ctx.pseudo_dummy, var.rc, -1); in get_regs_for_copies()
1138 info = DefInfo(ctx, instr, var.rc, i); in get_regs_for_copies()
1268 std::vector<std::pair<Operand, Definition>>& parallelcopies, const DefInfo& info, in get_reg_impl()
[all …]
/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
D24.3.0.rst5069 - aco/ra: use DefInfo for get_reg_specified
5070 - aco: have get_subdword_definition_info update DefInfo
/external/clang/tools/libclang/
DCIndex.cpp7845 for (MacroDirective::DefInfo in getMacroInfo()