LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
MipsIncomingValueAssigner Struct Reference
Inheritance diagram for MipsIncomingValueAssigner:
Inheritance graph
Collaboration diagram for MipsIncomingValueAssigner:
Collaboration graph

Public Member Functions

 MipsIncomingValueAssigner (CCAssignFn *AssignFn_, const char *Func, bool IsReturn)
bool assignArg (unsigned ValNo, EVT OrigVT, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, const CallLowering::ArgInfo &Info, ISD::ArgFlagsTy Flags, CCState &State_) override
 Wrap call to (typically tablegenerated CCAssignFn). More...
- Public Member Functions inherited from llvm::CallLowering::IncomingValueAssigner
 IncomingValueAssigner (CCAssignFn *AssignFn_, CCAssignFn *AssignFnVarArg_=nullptr)
- Public Member Functions inherited from llvm::CallLowering::ValueAssigner
 ValueAssigner (bool IsIncoming, CCAssignFn *AssignFn_, CCAssignFn *AssignFnVarArg_=nullptr)
virtual ~ValueAssigner ()=default
bool isIncomingArgumentHandler () const
 Returns true if the handler is dealing with incoming arguments, i.e. More...
CCAssignFngetAssignFn (bool IsVarArg) const
 Select the appropriate assignment function depending on whether this is a variadic call. More...

Public Attributes

const char * Func = nullptr
 This is the name of the function being called FIXME: Relying on this is unsound. More...
bool IsReturn
 Is this a call return value, or an incoming function argument. More...
- Public Attributes inherited from llvm::CallLowering::ValueAssigner
 Assignment function to use for a general call. More...
 Assignment function to use for a variadic call. More...
uint64_t StackOffset = 0
 Stack offset for next argument. More...

Detailed Description

Definition at line 55 of file MipsCallLowering.cpp.

Constructor & Destructor Documentation

◆ MipsIncomingValueAssigner()

MipsIncomingValueAssigner::MipsIncomingValueAssigner ( CCAssignFn *  AssignFn_,
const char *  Func,
bool  IsReturn 

Definition at line 63 of file MipsCallLowering.cpp.

Member Function Documentation

◆ assignArg()

bool MipsIncomingValueAssigner::assignArg ( unsigned  ValNo,
EVT  OrigVT,
CCValAssign::LocInfo  LocInfo,
const CallLowering::ArgInfo Info,
ISD::ArgFlagsTy  Flags,
CCState State 

Wrap call to (typically tablegenerated CCAssignFn).

This may be overridden to track additional state information as arguments are assigned or apply target specific hacks around the legacy infrastructure.

Reimplemented from llvm::CallLowering::ValueAssigner.

Definition at line 67 of file MipsCallLowering.cpp.

References llvm::CallLowering::ValueAssigner::assignArg(), Info, llvm::MipsCCState::PreAnalyzeCallResult(), and llvm::MipsCCState::PreAnalyzeFormalArgument().

Member Data Documentation

◆ Func

const char* MipsIncomingValueAssigner::Func = nullptr

This is the name of the function being called FIXME: Relying on this is unsound.

Definition at line 58 of file MipsCallLowering.cpp.

◆ IsReturn

bool MipsIncomingValueAssigner::IsReturn

Is this a call return value, or an incoming function argument.

Definition at line 61 of file MipsCallLowering.cpp.

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