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

addBlockLocation

addFunctionLocation

addInstructionOrArgumentLocation

addValueReferenceAtLocation

getBlockAtLocation

getBlockAtLocation overloads

getBlockLocation

getFunctionAtLocation

getFunctionAtLocation overloads

getFunctionLocation

getInstructionOrArgumentAtLocation

getInstructionOrArgumentAtLocation overloads

getInstructionOrArgumentLocation

getValueReferencedAtLocation

getValueReferencedAtLocation overloads

Created with MrDocs