Home
last modified time | relevance | path

Searched refs:RoundUpToAlignment (Results 1 – 25 of 56) sorted by relevance

123

/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDStmt.cpp1078 llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in getStoredCaptures()
1135 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in Create()
1148 Size = llvm::RoundUpToAlignment(Size, llvm::alignOf<Capture>()); in CreateDeserialized()
1197 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPPrivateClause), in Create()
1209 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPPrivateClause), in CreateEmpty()
1232 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPFirstprivateClause), in Create()
1245 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPFirstprivateClause), in CreateEmpty()
1283 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPLastprivateClause), in Create()
1297 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPLastprivateClause), in CreateEmpty()
1308 void *Mem = C.Allocate(llvm::RoundUpToAlignment(sizeof(OMPSharedClause), in Create()
[all …]
HDRecordLayoutBuilder.cpp980 setSize(getSize().RoundUpToAlignment(BaseAlign)); in EnsureVTablePointerAlignment()
1200 Offset = getDataSize().RoundUpToAlignment(BaseAlign); in LayoutBase()
1210 if (InferAlignment && Offset < getDataSize().RoundUpToAlignment(BaseAlign)){ in LayoutBase()
1298 llvm::RoundUpToAlignment(getSizeInBits(), in Layout()
1370 return llvm::RoundUpToAlignment(Size, CharAlignment); in roundUpSizeToCharAlignment()
1417 FieldOffset = llvm::RoundUpToAlignment(getDataSizeInBits(), in LayoutWideBitField()
1422 setDataSize(llvm::RoundUpToAlignment(NewSizeInBits, in LayoutWideBitField()
1586 FieldOffset = llvm::RoundUpToAlignment(FieldOffset, FieldAlign); in LayoutBitField()
1587 UnpackedFieldOffset = llvm::RoundUpToAlignment(UnpackedFieldOffset, in LayoutBitField()
1600 FieldOffset = llvm::RoundUpToAlignment(FieldOffset, FieldAlign); in LayoutBitField()
[all …]
HDTypeLoc.cpp83 Total = llvm::RoundUpToAlignment(Total, Align); in getFullDataSizeForType()
87 Total = llvm::RoundUpToAlignment(Total, MaxAlign); in getFullDataSizeForType()
153 == llvm::RoundUpToAlignment(reinterpret_cast<uintptr_t>(Data), in copy()
156 == llvm::RoundUpToAlignment(reinterpret_cast<uintptr_t>(other.Data), in copy()
HDMicrosoftCXXABI.cpp242 Width = llvm::RoundUpToAlignment(Width, Align); in getMemberPointerWidthAndAlign()
HDMangle.cpp180 ArgWords += llvm::RoundUpToAlignment(ASTContext.getTypeSize(AT), in mangleName()
/NextBSD/contrib/llvm/lib/Target/Mips/
HDMipsFrameLowering.cpp125 Offset = RoundUpToAlignment(Offset + Size, Size); in estimateStackSize()
136 Offset = RoundUpToAlignment(Offset + MFI->getObjectSize(I), MaxAlign); in estimateStackSize()
140 Offset = RoundUpToAlignment(Offset + MFI->getMaxCallFrameSize(), in estimateStackSize()
143 return RoundUpToAlignment(Offset, getStackAlignment()); in estimateStackSize()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUFrameLowering.cpp84 OffsetBytes = RoundUpToAlignment(OffsetBytes, MFI->getObjectAlignment(i)); in getFrameIndexOffset()
88 OffsetBytes = RoundUpToAlignment(OffsetBytes, 4); in getFrameIndexOffset()
92 OffsetBytes = RoundUpToAlignment(OffsetBytes, MFI->getObjectAlignment(FI)); in getFrameIndexOffset()
HDAMDGPUAsmPrinter.cpp248 OutStreamer->EmitIntValue(RoundUpToAlignment(MFI->LDSSize, 4) >> 2, 4); in EmitProgramInfoR600()
404 RoundUpToAlignment(ProgInfo.LDSSize, 1 << LDSAlignShift) >> LDSAlignShift; in getSIProgramInfo()
412 RoundUpToAlignment(ProgInfo.ScratchSize * STM.getWavefrontSize(), in getSIProgramInfo()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDCharUnits.h168 CharUnits RoundUpToAlignment(const CharUnits &Align) const { in RoundUpToAlignment() function
169 return CharUnits(llvm::RoundUpToAlignment(Quantity, in RoundUpToAlignment()
HDTypeLoc.h249 dataInt = llvm::RoundUpToAlignment(dataInt, align); in getUnqualifiedLoc()
348 size = llvm::RoundUpToAlignment(size, extraAlign); in getLocalDataSize()
394 size = llvm::RoundUpToAlignment(size, extraAlign); in getExtraLocalData()
401 data = llvm::RoundUpToAlignment(data, getNextTypeAlign()); in getNonLocalData()
/NextBSD/contrib/llvm/lib/Target/Sparc/
HDSparcSubtarget.cpp80 frameSize = RoundUpToAlignment(frameSize, 8); in getAdjustedFrameSize()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprConstant.cpp114 NextFieldOffsetInChars.RoundUpToAlignment(FieldAlignment); in AppendBytes()
124 NextFieldOffsetInChars.RoundUpToAlignment(FieldAlignment); in AppendBytes()
165 llvm::RoundUpToAlignment(FieldOffset - NextFieldOffsetInBits, in AppendBitField()
337 ElementOffsetInChars.RoundUpToAlignment(ElementAlign); in ConvertStructToPacked()
511 NextFieldOffsetInChars.RoundUpToAlignment(LLVMStructAlignment); in Finalize()
517 NextFieldOffsetInChars.RoundUpToAlignment(LLVMStructAlignment); in Finalize()
530 NextFieldOffsetInChars.RoundUpToAlignment(LLVMStructAlignment); in Finalize()
549 assert(NextFieldOffsetInChars.RoundUpToAlignment(getAlignment(Result)) == in Finalize()
HDCGRecordLayoutBuilder.cpp124 (unsigned)llvm::RoundUpToAlignment(NumBits, 8)); in getIntNType()
558 Prior->Data = getByteArrayType(bitsToCharUnits(llvm::RoundUpToAlignment( in clipTailPadding()
612 if (Offset != Size.RoundUpToAlignment(Packed ? CharUnits::One() : in insertPadding()
HDTargetInfo.cpp1196 StackOffset = llvm::RoundUpToAlignment(StackOffset, 4U); in addFieldToArgStruct()
1297 llvm::RoundUpToAlignment(CGF.getContext().getTypeSize(Ty) / 8, Align); in EmitVAArg()
2505 unsigned HiStart = llvm::RoundUpToAlignment(LoSize, HiAlign); in GetX86_64ByValArgumentPair()
3157 llvm::RoundUpToAlignment(CGF.getContext().getTypeSize(Ty) / 8, 8); in EmitVAArg()
3713 llvm::RoundUpToAlignment(Bits, 8)); in classifyArgumentType()
3718 uint64_t NumRegs = llvm::RoundUpToAlignment(Bits, RegBits) / RegBits; in classifyArgumentType()
3778 llvm::RoundUpToAlignment(Bits, 8)); in classifyReturnType()
3827 unsigned Offset = llvm::RoundUpToAlignment(SizeInBytes, 8); in EmitVAArg()
4204 RegSize = llvm::RoundUpToAlignment(RegSize, 8); in EmitAAPCSVAArg()
4365 StackSize = llvm::RoundUpToAlignment(StackSize, 8); in EmitAAPCSVAArg()
[all …]
/NextBSD/contrib/llvm/lib/CodeGen/
HDPrologEpilogInserter.cpp596 Offset = RoundUpToAlignment(Offset, Align); in calculateFrameObjectOffsets()
605 Offset = RoundUpToAlignment(Offset, Align); in calculateFrameObjectOffsets()
638 Offset = RoundUpToAlignment(Offset, Align); in calculateFrameObjectOffsets()
757 Offset = RoundUpToAlignment(Offset, StackAlign); in calculateFrameObjectOffsets()
HDCallingConvLower.cpp55 Size = unsigned(RoundUpToAlignment(Size, MinAlign)); in HandleByVal()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDASanStackFrameLayout.cpp47 return RoundUpToAlignment(Res, Alignment); in VarAndRedzoneSize()
/NextBSD/contrib/llvm/lib/IR/
HDMangler.cpp102 ArgWords += RoundUpToAlignment(DL.getTypeAllocSize(Ty), PtrSize); in addByteCountSuffix()
HDDataLayout.cpp53 StructSize = RoundUpToAlignment(StructSize, TyAlign); in StructLayout()
68 StructSize = RoundUpToAlignment(StructSize, StructAlignment); in StructLayout()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDSafeStack.cpp417 StaticOffset = RoundUpToAlignment(StaticOffset, Align); in moveStaticAllocasToUnsafeStack()
434 StaticOffset = RoundUpToAlignment(StaticOffset, StackAlignment); in moveStaticAllocasToUnsafeStack()
/NextBSD/contrib/llvm/include/llvm/Support/
HDMathExtras.h609 inline uint64_t RoundUpToAlignment(uint64_t Value, uint64_t Align) {
617 return RoundUpToAlignment(Value, Align) - Value;
/NextBSD/contrib/llvm/include/llvm/ADT/
HDBitVector.h247 I = RoundUpToAlignment(I, BITWORD_SIZE); in set()
286 I = RoundUpToAlignment(I, BITWORD_SIZE); in reset()
/NextBSD/contrib/llvm/lib/MC/
HDMachObjectWriter.cpp409 return RoundUpToAlignment(Size, is64Bit ? 8 : 4); in ComputeLinkerOptionsLoadCommandSize()
611 StartAddress = RoundUpToAlignment(StartAddress, Sec->getAlignment()); in computeSectionAddresses()
729 uint64_t LOHSize = RoundUpToAlignment(LOHRawSize, is64Bit() ? 8 : 4); in writeObject()
/NextBSD/contrib/llvm/include/llvm/IR/
HDDataLayout.h390 return RoundUpToAlignment(getTypeStoreSize(Ty), getABITypeAlignment(Ty)); in getTypeAllocSize()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMCallingConv.h212 unsigned RegAlign = RoundUpToAlignment(Align, 4) / 4; in CC_ARM_AAPCS_Custom_Aggregate()

123