[#llvm-AAResults-callCapturesBefore-05] = xref:llvm.adoc[llvm]::xref:llvm/AAResults.adoc[AAResults]::callCapturesBefore :relfileprefix: ../../ :mrdocs: Return information about whether a particular call site modifies or reads the specified memory location `MemLoc` before instruction `I` in a BasicBlock. == Synopsis Declared in `<llvm/Analysis/AliasAnalysis.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/ModRefInfo.adoc[ModRefInfo] callCapturesBefore( xref:llvm/Instruction.adoc[Instruction] const* I, xref:llvm/MemoryLocation.adoc[MemoryLocation] const& MemLoc, xref:llvm/DominatorTree.adoc[DominatorTree]* DT); ---- == Return Value ModRef info describing capture‐based access before `I.` == Parameters [cols="1,4"] |=== | Name| Description | *I* | Instruction providing the query context. | *MemLoc* | Memory location that may be captured. | *DT* | Dominator tree used for capture analysis. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#