Home
last modified time | relevance | path

Searched refs:alignTo (Results 1 – 25 of 126) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DR600FrameLowering.cpp38 OffsetBytes = alignTo(OffsetBytes, MFI.getObjectAlignment(i)); in getFrameIndexReference()
42 OffsetBytes = alignTo(OffsetBytes, 4); in getFrameIndexReference()
46 OffsetBytes = alignTo(OffsetBytes, MFI.getObjectAlignment(FI)); in getFrameIndexReference()
DAMDGPULowerKernelArguments.cpp101 uint64_t EltOffset = alignTo(ExplicitArgOffset, ABITypeAlign) + BaseOffset; in runOnFunction()
102 ExplicitArgOffset = alignTo(ExplicitArgOffset, ABITypeAlign) + AllocSize; in runOnFunction()
DAMDGPUMachineFunction.cpp58 unsigned Offset = LDSSize = alignTo(LDSSize, Align); in allocateLDSGlobal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcSubtarget.cpp82 frameSize = alignTo(frameSize, 16); in getAdjustedFrameSize()
95 frameSize = alignTo(frameSize, 8); in getAdjustedFrameSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DStringTableBuilder.cpp154 Size = alignTo(Size, Alignment); in finalizeStringTable()
165 Size = alignTo(Size, 4); // Pad to multiple of 4. in finalizeStringTable()
194 size_t Start = alignTo(Size, Alignment); in add()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DAlignment.h163 inline uint64_t alignTo(uint64_t Size, Align A) { in alignTo() function
179 inline uint64_t alignTo(uint64_t Size, MaybeAlign A) { in alignTo() function
180 return A ? alignTo(Size, A.getValue()) : Size; in alignTo()
188 return alignTo(ArithAddr, Alignment); in alignAddr()
194 return alignTo(Value, Alignment) - Value; in offsetToAlignment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DDebugSubsectionRecord.cpp68 return sizeof(DebugSubsectionHeader) + alignTo(DataSize, 4); in calculateSerializedLength()
81 Header.Length = alignTo(DataSize, alignOf(Container)); in commit()
DDebugChecksumsSubsection.cpp47 Len = alignTo(Header->ChecksumSize + sizeof(FileChecksumEntryHeader), 4); in operator ()()
86 uint32_t Len = alignTo(sizeof(FileChecksumEntryHeader) + Bytes.size(), 4); in addChecksum()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DGsymCreator.cpp99 O.alignTo(Hdr.AddrOffSize); in encode()
111 O.alignTo(4); in encode()
117 O.alignTo(4); in encode()
DGsymReader.cpp141 uint64_t Offset = alignTo(sizeof(Header), Hdr->AddrOffSize); in parse()
173 Offset = alignTo(Offset, 4); in parse()
DFileWriter.cpp71 void FileWriter::alignTo(size_t Align) { in alignTo() function in FileWriter
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp95 TotalSize = alignTo(TotalSize, sys::Process::getPageSizeEstimate()); in allocate()
113 uint64_t SegmentSize = alignTo(Seg.getContentSize() + Seg.getZeroFillSize(), in allocate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWindowsResource.cpp682 SectionOneSize += alignTo(TotalStringTableSize, sizeof(uint32_t)); in performSectionOneLayout()
689 FileSize = alignTo(FileSize, SECTION_ALIGNMENT); in performSectionOneLayout()
699 SectionTwoSize += alignTo(Entry.size(), sizeof(uint64_t)); in performSectionTwoLayout()
702 FileSize = alignTo(FileSize, SECTION_ALIGNMENT); in performSectionTwoLayout()
786 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeFirstSection()
793 CurrentOffset += alignTo(RawDataEntry.size(), sizeof(uint64_t)); in writeSecondSection()
796 CurrentOffset = alignTo(CurrentOffset, SECTION_ALIGNMENT); in writeSecondSection()
967 alignTo(TotalStringTableSize, sizeof(uint32_t)) - TotalStringTableSize; in writeDirectoryStringTable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiFrameLowering.cpp44 MaxCallFrameSize = alignTo(MaxCallFrameSize, StackAlign); in determineFrameLayout()
54 FrameSize = alignTo(FrameSize, StackAlign); in determineFrameLayout()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DDbiModuleDescriptorBuilder.cpp31 Size += alignTo(SymbolByteSize, 4); // Symbol Data in calculateDiSymbolStreamSize()
102 return alignTo(L + M + O, sizeof(uint32_t)); in calculateSerializedLength()
DDbiModuleDescriptor.cpp84 Size = alignTo(Size, 4); in getRecordLength()
DHashTable.cpp51 uint32_t ReqWords = alignTo(ReqBits, BitsPerWord) / BitsPerWord; in writeSparseBitVector()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetFrameLowering.h87 SPAdj = -alignTo(-SPAdj, StackAlignment); in alignSPAdjust()
89 SPAdj = alignTo(SPAdj, StackAlignment); in alignSPAdjust()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/VE/
DVESubtarget.cpp94 frameSize = alignTo(frameSize, 16); // requires 16 bytes alignment in getAdjustedFrameSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFSelectionDAGInfo.cpp30 unsigned StoresNumEstimate = alignTo(CopyLen, Align) >> Log2_32(Align); in EmitTargetCodeForMemcpy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DFileWriter.h104 void alignTo(size_t Align);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DDebugSubsectionRecord.h89 Length = alignTo(Info.getRecordLength(), 4);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp253 CurrentSectionDataOffset = alignTo(CurrentSectionDataOffset, in layoutCOFF()
258 alignTo(S.Header.SizeOfRawData, CP.getFileAlignment()); in layoutCOFF()
359 uint32_t SizeOfHeaders = alignTo(CP.SectionTableStart + CP.SectionTableSize, in initializeOptionalHeader()
361 uint32_t SizeOfImage = alignTo(SizeOfHeaders, Header->SectionAlignment); in initializeOptionalHeader()
375 SizeOfImage += alignTo(S.Header.VirtualSize, Header->SectionAlignment); in initializeOptionalHeader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsFrameLowering.cpp128 Size = alignTo(Size + RegSize, RegSize); in estimateStackSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DPrologEpilogInserter.cpp649 Offset = alignTo(Offset, Align, Skew); in AdjustStackOffset()
732 if (alignTo(ObjStart, ObjAlign) != ObjStart) in scavengeStackSlot()
851 Offset = alignTo(Offset, Align, Skew); in calculateFrameObjectOffsets()
868 Offset = alignTo(Offset, Align, Skew); in calculateFrameObjectOffsets()
905 Offset = alignTo(Offset, Align, Skew); in calculateFrameObjectOffsets()
1081 Offset = alignTo(Offset, StackAlign, Skew); in calculateFrameObjectOffsets()

123456