Searched refs:MaybeLoc (Results 1 – 5 of 5) 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()
223 auto *MaybeLoc = Env.getStorageLocation(D, SkipPast::None); in VisitDeclStmt() local224 if (MaybeLoc == nullptr) { in VisitDeclStmt()225 MaybeLoc = &Env.createStorageLocation(D); in VisitDeclStmt()226 Env.setStorageLocation(D, *MaybeLoc); in VisitDeclStmt()228 auto &Loc = *MaybeLoc; in VisitDeclStmt()
1135 auto MaybeLoc = getLocForWrite(Def->getMemoryInst()); in isWriteAtEndOfFunction() local1136 if (!MaybeLoc) { in isWriteAtEndOfFunction()1161 if (!isGuaranteedLoopInvariant(MaybeLoc->Ptr)) in isWriteAtEndOfFunction()1170 if (isReadClobber(*MaybeLoc, UseInst)) { in isWriteAtEndOfFunction()
681 if (auto MaybeLoc = getFunctionSourceLocation(D.getFunction())) in getBestLocationFromDebugLoc() local682 Loc = *MaybeLoc; in getBestLocationFromDebugLoc()
2420 auto MaybeLoc = getLocOrNone(In); in isSafeToMoveBeforeInBB() local2449 if (!MaybeLoc || !MaybeLocI) in isSafeToMoveBeforeInBB()2451 if (!AA.isNoAlias(*MaybeLoc, *MaybeLocI)) in isSafeToMoveBeforeInBB()