|
LLVM
10.0.0
|
#include "AArch64CallingConvention.h"#include "AArch64.h"#include "AArch64InstrInfo.h"#include "AArch64Subtarget.h"#include "llvm/CodeGen/CallingConvLower.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include "llvm/IR/CallingConv.h"#include "AArch64GenCallingConv.inc"Go to the source code of this file.
Functions | |
| static bool | finishStackBlock (SmallVectorImpl< CCValAssign > &PendingMembers, MVT LocVT, ISD::ArgFlagsTy &ArgFlags, CCState &State, unsigned SlotAlign) |
| static bool | CC_AArch64_Custom_Stack_Block (unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) |
| The Darwin variadic PCS places anonymous arguments in 8-byte stack slots. More... | |
| static bool | CC_AArch64_Custom_Block (unsigned &ValNo, MVT &ValVT, MVT &LocVT, CCValAssign::LocInfo &LocInfo, ISD::ArgFlagsTy &ArgFlags, CCState &State) |
| Given an [N x Ty] block, it should be passed in a consecutive sequence of registers. More... | |
Variables | |
| static const MCPhysReg | XRegList [] |
| static const MCPhysReg | HRegList [] |
| static const MCPhysReg | SRegList [] |
| static const MCPhysReg | DRegList [] |
| static const MCPhysReg | QRegList [] |
|
static |
Given an [N x Ty] block, it should be passed in a consecutive sequence of registers.
If no such sequence is available, mark the rest of the registers of that type as used and place the argument on the stack.
Definition at line 81 of file AArch64CallingConvention.cpp.
References llvm::CCState::addLoc(), llvm::CCValAssign::AExtUpper, llvm::alignTo(), llvm::CCState::AllocateReg(), llvm::CCState::AllocateRegBlock(), assert(), DRegList, llvm::MVT::f128, llvm::MVT::f16, llvm::MVT::f32, llvm::MVT::f64, finishStackBlock(), llvm::CCState::getMachineFunction(), llvm::CCValAssign::getPending(), llvm::CCState::getPendingLocs(), llvm::CCValAssign::getReg(), llvm::MachineFunction::getSubtarget(), HRegList, llvm::MVT::i32, llvm::MVT::i64, Info, llvm::MVT::is128BitVector(), llvm::MVT::is32BitVector(), llvm::MVT::is64BitVector(), llvm::ISD::ArgFlagsTy::isInConsecutiveRegsLast(), llvm::AArch64Subtarget::isTargetDarwin(), llvm::AArch64Subtarget::isTargetILP32(), llvm::AArch64Subtarget::isTargetMachO(), llvm::SmallVectorTemplateBase< T >::push_back(), QRegList, Reg, llvm::MVT::SimpleTy, llvm::SmallVectorBase::size(), SRegList, XRegList, and llvm::CCValAssign::ZExt.
|
static |
The Darwin variadic PCS places anonymous arguments in 8-byte stack slots.
An [N x Ty] type must still be contiguous in memory though.
Definition at line 62 of file AArch64CallingConvention.cpp.
References finishStackBlock(), llvm::CCValAssign::getPending(), llvm::CCState::getPendingLocs(), llvm::ISD::ArgFlagsTy::isInConsecutiveRegsLast(), and llvm::SmallVectorTemplateBase< T >::push_back().
|
static |
Definition at line 39 of file AArch64CallingConvention.cpp.
References llvm::CCState::addLoc(), llvm::CCState::AllocateStack(), llvm::MachineFunction::getDataLayout(), llvm::CCState::getMachineFunction(), llvm::ISD::ArgFlagsTy::getOrigAlign(), llvm::MVT::getSizeInBits(), llvm::DataLayout::getStackAlignment(), llvm::max(), and Size.
Referenced by CC_AArch64_Custom_Block(), and CC_AArch64_Custom_Stack_Block().
|
static |
Definition at line 32 of file AArch64CallingConvention.cpp.
Referenced by CC_AArch64_Custom_Block().
|
static |
Definition at line 26 of file AArch64CallingConvention.cpp.
Referenced by CC_AArch64_Custom_Block().
|
static |
Definition at line 35 of file AArch64CallingConvention.cpp.
Referenced by CC_AArch64_Custom_Block().
|
static |
Definition at line 29 of file AArch64CallingConvention.cpp.
Referenced by CC_AArch64_Custom_Block().
|
static |
Definition at line 23 of file AArch64CallingConvention.cpp.
Referenced by CC_AArch64_Custom_Block().
1.8.13