Home
last modified time | relevance | path

Searched refs:MaybeLoc (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Remarks/
H A DYAMLRemarkParser.cpp243 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(RemarkField)) in parseRemark() local
244 TheRemark.Loc = *MaybeLoc; in parseRemark()
246 return MaybeLoc.takeError(); in parseRemark()
384 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(ArgEntry)) { in parseArg() local
385 Loc = *MaybeLoc; in parseArg()
388 return MaybeLoc.takeError(); in parseArg()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenAction.cpp661 if (auto MaybeLoc = getFunctionSourceLocation(D.getFunction())) in getBestLocationFromDebugLoc() local
662 Loc = *MaybeLoc; in getBestLocationFromDebugLoc()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1056 auto MaybeLoc = getLocForWrite(Def->getMemoryInst()); in isWriteAtEndOfFunction() local
1057 if (!MaybeLoc) { in isWriteAtEndOfFunction()
1088 if (isReadClobber(*MaybeLoc, UseInst)) { in isWriteAtEndOfFunction()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp1412 auto MaybeLoc = getLocOrNone(In); in isSafeToMoveBeforeInBB() local
1441 if (!MaybeLoc || !MaybeLocI) in isSafeToMoveBeforeInBB()
1443 if (!AA.isNoAlias(*MaybeLoc, *MaybeLocI)) in isSafeToMoveBeforeInBB()