Get the recorded source range of an instruction or argument.

Synopsis

Declared in <llvm/AsmParser/AsmParserContext.h>

std::optional<FileLocRange>
getInstructionOrArgumentLocation(Value const* IA) const;

Description

IA must be an Instruction or Argument.

Return Value

The range, or std::nullopt if none is stored.

Parameters

Name

Description

IA

Instruction or function argument whose location is requested.

Created with MrDocs