sun::codegen::abi::sysv

sun::codegen::abi::sysv

namespace · Source (opens in a new tab)

Lowers C calls and values using the System V x86-64 calling convention.

Functions

lowerArgument

public · function · Source (opens in a new tab)

ArgLowering sun::codegen::abi::sysv::lowerArgument(llvm::Type *type, const llvm::DataLayout &dl)

Classify one type as it would be passed as a parameter.

Classifies an LLVM argument using the target C calling convention.

Related: sun::codegen::abi::ArgLowering

lowerCSignature

public · function · Source (opens in a new tab)

sun::codegen::abi::SignatureLowering sun::codegen::abi::sysv::lowerCSignature(llvm::Type *returnType, llvm::ArrayRef< llvm::Type * > paramTypes, const llvm::DataLayout &dl)

Classify a whole signature.

Classifies every parameter and the result of a C function signature.

Related: sun::codegen::abi::SignatureLowering

lowerReturn

public · function · Source (opens in a new tab)

ArgLowering sun::codegen::abi::sysv::lowerReturn(llvm::Type *type, const llvm::DataLayout &dl)

Classify one type as it would be returned.

Classifies an LLVM return value using the target C calling convention.

Related: sun::codegen::abi::ArgLowering