Get the block at the requested location range.

Synopsis

Declared in <llvm/AsmParser/AsmParserContext.h>

BasicBlock*
getBlockAtLocation(FileLocRange const& Query) const;

Description

If no single block occupies the queried range, or the record is missing, a nullptr is returned.

Return Value

The basic block, or nullptr if none is found.

Parameters

Name

Description

Query

Source range to look up.

Created with MrDocs