llvm::TargetLowering::ParseConstraints

Split an inline asm constraint string into individual constraints tied to their operands.

Synopsis

Declared in <llvm/CodeGen/TargetLowering.h>

virtual
AsmOperandInfoVector
ParseConstraints(
    DataLayout const& DL,
    TargetRegisterInfo const* TRI,
    CallBase const& Call) const;

Description

Split up the constraint string from the inline assembly value into the specific constraints and their prefixes, and also tie in the associated operand values. If this returns an empty vector, and if the constraint string itself isn't empty, there was an error parsing.

Return Value

Split an inline asm constraint string into individual constraints tied to their operands.

Parameters

NameDescription
DLDebug location or data layout, depending on context.
TRITarget register info.
CallLibcall identifier or call instruction.