Compute the return value EVTs, flags, and offsets for a given LLVM IR return type.
Declared in <llvm/CodeGen/TargetLowering.h>
void
GetReturnInfo(
CallingConv::ID CC,
Type* ReturnType,
AttributeList attr,
SmallVectorImpl<ISD::OutputArg>& Outs,
TargetLowering const& TLI,
DataLayout const& DL);
Given an LLVM IR type and return type attributes, compute the return value EVTs and flags, and optionally also the offsets, if the return value is being lowered to memory.
| Name | Description |
|---|---|
| CC | Calling convention of the function. |
| ReturnType | LLVM IR return type. |
| attr | Return-type attribute list. |
| Outs | Filled with return-value output descriptors. |
| TLI | TargetLowering providing ABI rules. |
| DL | Data layout of the module. |