Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp223 auto *MaybeLoc = Env.getStorageLocation(D, SkipPast::None); in VisitDeclStmt() local
224 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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DDeadStoreElimination.cpp1135 auto MaybeLoc = getLocForWrite(Def->getMemoryInst()); in isWriteAtEndOfFunction() local
1136 if (!MaybeLoc) { in isWriteAtEndOfFunction()
1161 if (!isGuaranteedLoopInvariant(MaybeLoc->Ptr)) in isWriteAtEndOfFunction()
1170 if (isReadClobber(*MaybeLoc, UseInst)) { in isWriteAtEndOfFunction()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenAction.cpp681 if (auto MaybeLoc = getFunctionSourceLocation(D.getFunction())) in getBestLocationFromDebugLoc() local
682 Loc = *MaybeLoc; in getBestLocationFromDebugLoc()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonVectorCombine.cpp2420 auto MaybeLoc = getLocOrNone(In); in isSafeToMoveBeforeInBB() local
2449 if (!MaybeLoc || !MaybeLocI) in isSafeToMoveBeforeInBB()
2451 if (!AA.isNoAlias(*MaybeLoc, *MaybeLocI)) in isSafeToMoveBeforeInBB()