clang 20.0.0git
|
#include "clang/CodeGen/SwiftCallingConv.h"
#include "ABIInfo.h"
#include "CodeGenModule.h"
#include "TargetInfo.h"
#include "clang/Basic/TargetInfo.h"
Go to the source code of this file.
Functions | |
static const SwiftABIInfo & | getSwiftABIInfo (CodeGenModule &CGM) |
static bool | isPowerOf2 (unsigned n) |
static llvm::Type * | getCommonType (llvm::Type *first, llvm::Type *second) |
Given two types with the same size, try to find a common type. | |
static CharUnits | getTypeStoreSize (CodeGenModule &CGM, llvm::Type *type) |
static CharUnits | getTypeAllocSize (CodeGenModule &CGM, llvm::Type *type) |
static CharUnits | getOffsetAtStartOfUnit (CharUnits offset, CharUnits unitSize) |
Given a power-of-two unit size, return the offset of the aligned unit of that size which contains the given offset. | |
static bool | areBytesInSameUnit (CharUnits first, CharUnits second, CharUnits chunkSize) |
static bool | isMergeableEntryType (llvm::Type *type) |
static ABIArgInfo | classifyExpandedType (SwiftAggLowering &lowering, bool forReturn, CharUnits alignmentForIndirect) |
static ABIArgInfo | classifyType (CodeGenModule &CGM, CanQualType type, bool forReturn) |
Definition at line 429 of file SwiftCallingConv.cpp.
References getOffsetAtStartOfUnit().
|
static |
Definition at line 797 of file SwiftCallingConv.cpp.
References clang::CodeGen::swiftcall::SwiftAggLowering::empty(),