Searched refs:PtrAlign (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/clang/lib/AST/Interp/ |
D | InterpStack.h | 68 constexpr size_t PtrAlign = alignof(void *); in aligned_size() local 69 return ((sizeof(T) + PtrAlign - 1) / PtrAlign) * PtrAlign; in aligned_size()
|
/external/llvm-project/llvm/lib/Target/AArch64/GISel/ |
D | AArch64LegalizerInfo.cpp | 897 const Align PtrAlign = Align(PtrSize); in legalizeVaArg() local 901 PtrSize, PtrAlign)); in legalizeVaArg() 904 if (Alignment > PtrAlign) { in legalizeVaArg() 917 ValSize, std::max(Alignment, PtrAlign))); in legalizeVaArg() 919 auto Size = MIRBuilder.buildConstant(IntPtrTy, alignTo(ValSize, PtrAlign)); in legalizeVaArg() 926 PtrSize, PtrAlign)); in legalizeVaArg()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 1022 CharUnits PtrAlign = in LayoutNonVirtualBases() local 1024 EnsureVTablePointerAlignment(PtrAlign); in LayoutNonVirtualBases()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 3764 const Align PtrAlign(4); in LowerFormalArguments_32SVR4() local 3773 CCInfo.AllocateStack(LinkageSize, PtrAlign); in LowerFormalArguments_32SVR4() 3876 CCByValInfo.AllocateStack(CCInfo.getNextStackOffset(), PtrAlign); in LowerFormalArguments_32SVR4() 5800 const Align PtrAlign(4); in LowerCall_32SVR4() local 5823 PtrAlign); in LowerCall_32SVR4() 5865 CCByValInfo.AllocateStack(CCInfo.getNextStackOffset(), PtrAlign); in LowerCall_32SVR4() 7010 const Align PtrAlign = IsPPC64 ? Align(8) : Align(4); in CC_AIX() local 7037 if (ArgFlags.getNonZeroByValAlign() > PtrAlign) in CC_AIX() 7052 const unsigned StackSize = alignTo(ByValSize, PtrAlign); in CC_AIX() 7053 unsigned Offset = State.AllocateStack(StackSize, PtrAlign); in CC_AIX() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 1060 CharUnits PtrAlign = in LayoutNonVirtualBases() local 1062 EnsureVTablePointerAlignment(PtrAlign); in LayoutNonVirtualBases()
|
D | ExprConstant.cpp | 9013 CharUnits PtrAlign = BaseAlignment.alignmentAtOffset(Result.Offset); in VisitBuiltinCallExpr() local 9016 if (PtrAlign.getQuantity() >= Alignment) in VisitBuiltinCallExpr() 11514 CharUnits PtrAlign = BaseAlignment.alignmentAtOffset(Ptr.Offset); in VisitBuiltinCallExpr() local 11517 assert(PtrAlign.isPowerOfTwo()); in VisitBuiltinCallExpr() 11519 if (PtrAlign.getQuantity() >= Alignment) in VisitBuiltinCallExpr() 11526 PtrAlign.getQuantity() < Alignment) in VisitBuiltinCallExpr()
|