Searched refs:MaybeLoc (Results 1 – 4 of 4) sorted by relevance
242 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(RemarkField)) in parseRemark() local243 TheRemark.Loc = *MaybeLoc; in parseRemark()245 return MaybeLoc.takeError(); in parseRemark()387 if (Expected<RemarkLocation> MaybeLoc = parseDebugLoc(ArgEntry)) { in parseArg() local388 Loc = *MaybeLoc; in parseArg()391 return MaybeLoc.takeError(); in parseArg()
1163 auto MaybeLoc = getLocForWrite(Def->getMemoryInst()); in isWriteAtEndOfFunction() local1164 if (!MaybeLoc) { in isWriteAtEndOfFunction()1189 if (!isGuaranteedLoopInvariant(MaybeLoc->Ptr)) in isWriteAtEndOfFunction()1198 if (isReadClobber(*MaybeLoc, UseInst)) { in isWriteAtEndOfFunction()
631 if (auto MaybeLoc = getFunctionSourceLocation(D.getFunction())) in getBestLocationFromDebugLoc() local632 Loc = *MaybeLoc; in getBestLocationFromDebugLoc()
2878 auto MaybeLoc = getLocOrNone(In); in isSafeToMoveBeforeInBB() local2907 if (!MaybeLoc || !MaybeLocI) in isSafeToMoveBeforeInBB()2909 if (!AA.isNoAlias(*MaybeLoc, *MaybeLocI)) in isSafeToMoveBeforeInBB()