Registry of file location information for LLVM IR constructs.
Synopsis
Declared in <llvm/AsmParser/AsmParserContext.h>
class AsmParserContext;
Description
This class provides access to the file location information for various LLVM IR constructs. Currently, it supports Function, BasicBlock and Instruction locations.
When available, it can answer queries about what is at a given file location, as well as where in a file a given IR construct is.
This information is optionally emitted by the LLParser while it reads LLVM textual IR.
Member Functions
Name |
Description |
Record the source range of a basic block. |
|
Record the source range of a function. |
|
Record the source range of an instruction or function argument. |
|
Record a source range at which a value is referenced. |
|
|
|
Get the recorded source range of a basic block. |
|
|
|
Get the recorded source range of a function. |
|
|
|
Get the recorded source range of an instruction or argument. |
|
|
Created with MrDocs