Holds options that control how a call to a runtime library function is generated.
Declared in <llvm/CodeGen/TargetLowering.h>
struct MakeLibCallOptions;
| Name | Description |
|---|---|
MakeLibCallOptions [constructor] | Construct default libcall emission options. |
setDiscardResult | Set whether the libcall return value is unused. |
setIsPostTypeLegalization | Set whether emission is after type legalization. |
setIsSigned | Set whether libcall operands are signed. |
setNoReturn | Set whether the libcall does not return. |
setOpsTypeOverrides | Override the argument type for an operand. Leave the type as null to use the type from the operand's node. |
setTypeListBeforeSoften | Record operand and return VTs from before float softening. |
| Name | Description |
|---|---|
DoesNotReturn | Whether the call does not return to its caller. |
IsPostTypeLegalization | Whether call lowering occurs after SelectionDAG type legalization. |
IsReturnValueUsed | Whether the call's return value is used. |
IsSigned | Whether the libcall operands should be treated as signed. |
IsSoften | Whether the call's types were derived from float-softening legalization. |
OpsTypeOverrides | Optional overrides for the IR argument types passed to the libcall. |
OpsVTBeforeSoften | The operand types before float softening, used to recover the original types. |
RetVTBeforeSoften | The return type before float softening. |