LLVM API Documentation

llvm::SDISelAsmOperandInfo Struct Reference

Inheritance diagram for llvm::SDISelAsmOperandInfo:
[legend]
Collaboration diagram for llvm::SDISelAsmOperandInfo:
[legend]

List of all members.

Public Member Functions

 SDISelAsmOperandInfo (const InlineAsm::ConstraintInfo &info)
void MarkAllocatedRegs (bool isOutReg, bool isInReg, std::set< unsigned > &OutputRegs, std::set< unsigned > &InputRegs, const TargetRegisterInfo &TRI) const
MVT getCallOperandValMVT (const TargetLowering &TLI, const TargetData *TD) const

Public Attributes

SDValue CallOperand
RegsForValue AssignedRegs


Detailed Description

AsmOperandInfo - This contains information for each constraint that we are lowering.

Definition at line 4695 of file SelectionDAGBuild.cpp.


Constructor & Destructor Documentation

llvm::SDISelAsmOperandInfo::SDISelAsmOperandInfo ( const InlineAsm::ConstraintInfo &  info  )  [inline, explicit]

Definition at line 4706 of file SelectionDAGBuild.cpp.


Member Function Documentation

void llvm::SDISelAsmOperandInfo::MarkAllocatedRegs ( bool  isOutReg,
bool  isInReg,
std::set< unsigned > &  OutputRegs,
std::set< unsigned > &  InputRegs,
const TargetRegisterInfo &  TRI 
) const [inline]

MarkAllocatedRegs - Once AssignedRegs is set, mark the assigned registers busy in OutputRegs/InputRegs.

Definition at line 4712 of file SelectionDAGBuild.cpp.

Referenced by llvm::SelectionDAGLowering::GetRegistersForValue().

MVT llvm::SDISelAsmOperandInfo::getCallOperandValMVT ( const TargetLowering &  TLI,
const TargetData *  TD 
) const [inline]

getCallOperandValMVT - Return the MVT of the Value* that this operand corresponds to. If there is no Value* for this operand, it returns MVT::Other.

Definition at line 4729 of file SelectionDAGBuild.cpp.

References llvm::IntegerType::get(), llvm::TargetLowering::getPointerTy(), llvm::TargetData::getTypeSizeInBits(), llvm::TargetLowering::getValueType(), llvm::Type::isSingleValueType(), llvm::Type::isSized(), and llvm::MVT::Other.


Member Data Documentation

CallOperand - If this is the result output operand or a clobber this is null, otherwise it is the incoming operand to the CallInst. This gets modified as the asm is processed.

Definition at line 4700 of file SelectionDAGBuild.cpp.

Referenced by llvm::SelectionDAGLowering::GetRegistersForValue().

AssignedRegs - If this is a register or register class operand, this contains the set of register corresponding to the operand.

Definition at line 4704 of file SelectionDAGBuild.cpp.

Referenced by llvm::SelectionDAGLowering::GetRegistersForValue().


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