Home
last modified time | relevance | path

Searched refs:getAlignment (Results 1 – 25 of 120) sorted by relevance

12345

/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h81 Addr.getAlignment().alignmentAtOffset(
110 Addr.getAlignment().getAsAlign(), Name);
117 Addr.getAlignment().getAsAlign(), Name);
123 Addr.getAlignment().getAsAlign(), IsVolatile, Name);
138 Addr.getAlignment().getAsAlign(), IsVolatile);
174 Addr.getAlignment().getAsAlign(), SuccessOrdering, FailureOrdering,
184 Addr.getAlignment().getAsAlign(), Ordering, SSID);
193 ElementTy, Addr.getAlignment(), Addr.getPointerAuthInfo(),
198 ElementTy, Addr.getAlignment(), Addr.isKnownNonNull());
228 Addr.getAlignment()
[all...]
H A DCGValue.h248 CharUnits Alignment = Addr.getAlignment(); in Initialize()
343 CharUnits getAlignment() const { return Addr.getAlignment(); } in setKnownNonNull()
650 CharUnits getAlignment() const { in getAddress()
651 return Addr.getAlignment(); in getAddress()
331 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } getAlignment() function
658 CharUnits getAlignment() const { getAlignment() function
H A DAddress.h93 CharUnits getAlignment() const { in withAlignment()
101 return RawAddress(getPointer(), ElemTy, getAlignment(), isKnownNonNull()); in withElementType()
173 Alignment(RawAddr.isValid() ? RawAddr.getAlignment()
189 CharUnits getAlignment() const { return Alignment; }
261 return Address(NewPointer, getElementType(), getAlignment(),
276 return Address(getBasePointer(), ElemTy, getAlignment(),
290 Alignment(Addr.isValid() ? Addr.getAlignment() : CharUnits::Zero()) {}
311 return ConstantAddress(getPointer(), ElemTy, getAlignment());
319 addr.getElementType(), addr.getAlignment());
78 CharUnits getAlignment() const { getAlignment() function
H A DCGRecordLayoutBuilder.cpp164 CharUnits getAlignment(llvm::Type *Type) const { in getAlignment() function
356 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion()
357 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion()
371 const auto StorageAlignment = getAlignment(StorageType); in lowerUnion()
613 CharUnits Align = getAlignment(Type); in computeVolatileBitfields()
614 if (Align > Layout.getAlignment()) in computeVolatileBitfields()
765 if ((uint64_t)(Context.toBits(Layout.getAlignment())) < in clipTailPadding()
982 if (Member->Offset % getAlignment(Membe in ComputeRecordLayout()
[all...]
H A DCGNonTrivialStruct.cpp401 StartAddrs[I].getAlignment().alignmentAtOffset(EltSize)); in visitArray()
490 Alignments[I] = Addrs[I].getAlignment(); in callFunc()
847 GenDefaultInitializeFuncName GenName(DstPtr.getAlignment(), getContext()); in callCStructDefaultConstructor()
871 GenDestructorFuncName GenName("__destructor_", DstPtr.getAlignment(), in callCStructDestructor()
882 GenBinaryFuncName<false> GenName("__copy_constructor_", DstPtr.getAlignment(), in callCStructCopyConstructor()
883 SrcPtr.getAlignment(), getContext()); in callCStructCopyConstructor()
896 GenBinaryFuncName<false> GenName("__copy_assignment_", DstPtr.getAlignment(), in callCStructCopyAssignmentOperator()
897 SrcPtr.getAlignment(), getContext()); in callCStructCopyAssignmentOperator()
907 GenBinaryFuncName<true> GenName("__move_constructor_", DstPtr.getAlignment(), in callCStructMoveConstructor()
908 SrcPtr.getAlignment(), getContex in callCStructMoveConstructor()
[all...]
H A DCGAtomic.cpp71 if (lvalue.getAlignment().isZero()) in AtomicInfo()
79 auto Offset = OrigBFI.Offset % C.toBits(lvalue.getAlignment()); in AtomicInfo()
82 .alignTo(lvalue.getAlignment())); in AtomicInfo()
85 (C.toCharUnitsFromBits(OrigBFI.Offset) / lvalue.getAlignment()) * in AtomicInfo()
86 lvalue.getAlignment(); in AtomicInfo()
97 Address(StoragePtr, StorageTy, lvalue.getAlignment()), BFI, in AtomicInfo()
108 AtomicAlign = ValueAlign = lvalue.getAlignment(); in AtomicInfo()
114 AtomicAlign = ValueAlign = lvalue.getAlignment(); in AtomicInfo()
125 AtomicAlign = ValueAlign = lvalue.getAlignment(); in AtomicInfo()
129 AtomicSizeInBits, C.toBits(lvalue.getAlignment())); in AtomicInfo()
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp87 const Align Alignment = MBB.getAlignment(); in GetAlignmentAdjustment()
91 const Align ParentAlign = MBB.getParent()->getAlignment(); in GetAlignmentAdjustment()
213 MaxAlign = std::max(MaxAlign, Src->getAlignment()); in computeBranchSize()
219 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
230 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize()
233 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DOffloadBinary.cpp45 if (!isAddrAligned(Align(OffloadBinary::getAlignment()), in extractOffloadFiles()
156 if (!isAddrAligned(Align(OffloadBinary::getAlignment()), in extractFromArchive()
183 if (!isAddrAligned(Align(getAlignment()), Buf.getBufferStart())) in create()
225 getAlignment()); in write()
232 BinaryDataSize + OffloadingData.Image->getBufferSize(), getAlignment()); in write()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp294 BlockPosition Position(Log2(MF->getAlignment())); in initMBBInfo()
300 Block.Alignment = MBB->getAlignment(); in initMBBInfo()
358 BlockPosition Position(Log2(MF->getAlignment())); in setWorstCaseAddresses()
459 BlockPosition Position(Log2(MF->getAlignment())); in relaxBranches()
H A DSystemZSubtarget.cpp85 if (GO->getAlignment() & 0x1) { in isAddressedViaADA()
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp116 << ", align = " << B.getAlignment() in operator <<()
185 B.getAlignment(), B.getAlignmentOffset()) in splitBlock()
188 B.getAddress(), B.getAlignment(), B.getAlignmentOffset()); in splitBlock()
194 B.getAlignment()); in splitBlock()
287 << ", align = " << B->getAlignment() in dump()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonFixupHwLoops.cpp117 if (MBB.getAlignment() != Align(1)) { in fixupLoopInstrs()
121 InstOffset = alignTo(InstOffset, MBB.getAlignment()); in fixupLoopInstrs()
H A DHexagonBranchRelaxation.cpp109 if (B.getAlignment() != Align(1)) { in computeOffset()
113 InstOffset = alignTo(InstOffset, B.getAlignment()); in computeOffset()
/freebsd-src/contrib/llvm-project/llvm/lib/IR/
H A DDataLayout.cpp789 Align DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in DataLayout
801 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment()
812 return std::max(Align, Layout->getAlignment()); in getAlignment()
858 return getAlignment(LayoutTy, abi_or_pref); in getAlignment()
861 llvm_unreachable("Bad type for getAlignment!!!"); in getAlignment()
866 return getAlignment(Ty, true); in getABITypeAlign()
875 return getAlignment(Ty, false); in getPrefTypeAlign()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h104 Align getAlignment() const;
197 uint32_t getAlignment() const;
472 inline uint32_t SymbolRef::getAlignment() const { in getAlignment()
541 inline Align SectionRef::getAlignment() const { in getAlignment()
471 inline uint32_t SymbolRef::getAlignment() const { getAlignment() function
540 inline Align SectionRef::getAlignment() const { getAlignment() function
/freebsd-src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp92 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity())); in visitRecord()
305 CharUnits NewSize = NewOffset.alignTo(RL.getAlignment()); in calculateOptimalPad()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h71 uint64_t getAlignment() const { in getAlignment() function
H A DDataLayout.h182 Align getAlignment(Type *Ty, bool abi_or_pref) const;
633 Align getAlignment() const { return StructAlignment; } in getAlignment() function
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyld.cpp288 uint32_t Align = I->getAlignment(); in loadObjectImpl()
555 Align Alignment = Section.getAlignment(); in computeTotalAllocSize()
619 Align Alignment = Align(I->getAlignment()); in computeTotalAllocSize()
700 Align Alignment = Section.getAlignment(); in computeSectionStubBufSize()
769 uint32_t Alignment = Sym.getAlignment(); in emitCommonSymbols()
805 Align Alignment = Section.getAlignment(); in emitSection()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp130 const Align Align = MF.getBlockNumbered(i)->getAlignment(); in adjustBBOffsetsAfter()
/freebsd-src/contrib/llvm-project/llvm/lib/MC/
H A DMCFragment.cpp143 OS << " Alignment:" << AF->getAlignment().value() in getSymbolOffsetImpl()
234 OS << " BoundarySize:" << BF->getAlignment().value() in computeBundlePadding()
/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp95 const Align Alignment = MBB.getAlignment(); in scanFunction()
/freebsd-src/contrib/llvm-project/lld/COFF/
H A DLLDMapFile.cpp120 writeHeader(os, sc->getRVA(), sc->getSize(), sc->getAlignment()); in writeLLDMapFile()
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp148 DSec.BuilderSec->align = Log2_64(SR.getFirstBlock()->getAlignment()); in startSynthesis()
205 NDSP.BuilderSec->align = Log2_64(SR.getFirstBlock()->getAlignment()); in startSynthesis()
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h182 CharUnits getAlignment() const { return Alignment; } in getAlignment() function

12345