LLVM API Documentation

Public Member Functions | Public Attributes
llvm::TargetLowering::AsmOperandInfo Struct Reference

This contains information for each constraint that we are lowering. More...

#include <TargetLowering.h>

Inheritance diagram for llvm::TargetLowering::AsmOperandInfo:
Inheritance graph
[legend]
Collaboration diagram for llvm::TargetLowering::AsmOperandInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool isMatchingInputConstraint () const
unsigned getMatchedOperand () const
 AsmOperandInfo (const InlineAsm::ConstraintInfo &info)
 Copy constructor for copying from a ConstraintInfo.

Public Attributes

std::string ConstraintCode
TargetLowering::ConstraintType ConstraintType
ValueCallOperandVal
MVT ConstraintVT
 The ValueType for the operand value.

Detailed Description

This contains information for each constraint that we are lowering.

Definition at line 2494 of file TargetLowering.h.


Constructor & Destructor Documentation

Copy constructor for copying from a ConstraintInfo.

Definition at line 2521 of file TargetLowering.h.


Member Function Documentation

If this is an input matching constraint, this method returns the output operand it matches.

getMatchedOperand - If this is an input matching constraint, this method returns the output operand it matches.

Definition at line 2224 of file TargetLowering.cpp.

References llvm::LibFunc::atoi.

Return true of this is an input operand that is a matching constraint like "4".

isMatchingInputConstraint - Return true of this is an input operand that is a matching constraint like "4".

Definition at line 2217 of file TargetLowering.cpp.

References llvm::LibFunc::isdigit.


Member Data Documentation

This contains the actual string for the code, like "m". TargetLowering picks the 'best' code from ConstraintInfo::Codes that most closely matches the operand.

Definition at line 2498 of file TargetLowering.h.

Referenced by ChooseConstraint(), llvm::TargetLowering::ComputeConstraintToUse(), llvm::TargetLowering::ParseConstraints(), and llvm::FunctionLoweringInfo::set().

Information about the constraint code, e.g. Register, RegisterClass, Memory, Other, Unknown.

Definition at line 2502 of file TargetLowering.h.

Referenced by ChooseConstraint(), and llvm::TargetLowering::ComputeConstraintToUse().


The documentation for this struct was generated from the following files: