Searched refs:MaybeLoc (Results 1 – 4 of 4) sorted by relevance
243 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(RemarkField)) in parseRemark() local244 TheRemark.Loc = *MaybeLoc; in parseRemark()246 return MaybeLoc.takeError(); in parseRemark()384 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(ArgEntry)) { in parseArg() local385 Loc = *MaybeLoc; in parseArg()388 return MaybeLoc.takeError(); in parseArg()
661 if (auto MaybeLoc = getFunctionSourceLocation(D.getFunction())) in getBestLocationFromDebugLoc() local662 Loc = *MaybeLoc; in getBestLocationFromDebugLoc()
1056 auto MaybeLoc = getLocForWrite(Def->getMemoryInst()); in isWriteAtEndOfFunction() local1057 if (!MaybeLoc) { in isWriteAtEndOfFunction()1088 if (isReadClobber(*MaybeLoc, UseInst)) { in isWriteAtEndOfFunction()
1412 auto MaybeLoc = getLocOrNone(In); in isSafeToMoveBeforeInBB() local1441 if (!MaybeLoc || !MaybeLocI) in isSafeToMoveBeforeInBB()1443 if (!AA.isNoAlias(*MaybeLoc, *MaybeLocI)) in isSafeToMoveBeforeInBB()