Registry of file location information for LLVM IR constructs.
LLVM_ABI BasicBlock * getBlockAtLocation(const FileLocRange &) const
Get the block at the requested location range.
LLVM_ABI bool addValueReferenceAtLocation(Value *, const FileLocRange &)
LLVM_ABI bool addInstructionOrArgumentLocation(Value *, const FileLocRange &)
LLVM_ABI Value * getInstructionOrArgumentAtLocation(const FileLocRange &) const
Get the instruction or function argument at the requested location range.
LLVM_ABI bool addBlockLocation(BasicBlock *, const FileLocRange &)
LLVM_ABI std::optional< FileLocRange > getFunctionLocation(const Function *) const
LLVM_ABI Function * getFunctionAtLocation(const FileLocRange &) const
Get the function at the requested location range.
LLVM_ABI Value * getValueReferencedAtLocation(const FileLoc &) const
Get value referenced at the requested location.
LLVM_ABI std::optional< FileLocRange > getInstructionOrArgumentLocation(const Value *) const
LLVM_ABI std::optional< FileLocRange > getBlockLocation(const BasicBlock *) const
LLVM_ABI bool addFunctionLocation(Function *, const FileLocRange &)