| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuilder.h | 73 Addr.getAlignment().getAsAlign(), Name); 79 Addr.getAlignment().getAsAlign(), Name); in CreateLoad() 135 Addr.getPointer(), Cmp, New, Addr.getAlignment().getAsAlign(), 204 Addr.getAlignment().alignmentAtOffset(Index * EltSize), 265 Addr.getAlignment().alignmentAtOffset(Offset), 274 Addr.getAlignment().alignmentAtOffset(Offset), 291 Addr.getAlignment().alignmentAtOffset( 314 Src.getAlignment().getAsAlign(), getInt64(Size)); in CreateMemCpyInline() 329 Dest.getAlignment().getAsAlign(), IsVolatile); 336 Dest.getAlignment().getAsAlign(), Value, in CreateMemSetInline() [all …]
|
| H A D | CGValue.h | 351 return Address(getPointer(CGF), ElementType, getAlignment(), in getAddress() 358 Alignment = address.getAlignment().getQuantity(); in setAddress() 364 return Address(getVectorPointer(), ElementType, getAlignment(), in getVectorAddress() 377 return Address(getMatrixPointer(), ElementType, getAlignment(), in getMatrixAddress() 391 return Address(getExtVectorPointer(), ElementType, getAlignment(), in getExtVectorAddress() 405 return Address(getBitFieldPointer(), ElementType, getAlignment(), in getBitFieldAddress() 428 R.Initialize(type, qs, address.getAlignment(), BaseInfo, TBAAInfo); in MakeAddr() 441 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeVectorElt() 455 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeExtVectorElt() 658 CharUnits getAlignment() const { in getAlignment() function [all …]
|
| H A D | Address.h | 78 CharUnits getAlignment() const { in getAlignment() function 87 return Address(NewPointer, getElementType(), getAlignment(), in withPointer() 101 return Address(getPointer(), ElemTy, getAlignment(), isKnownNonNull()); in withElementType() 137 return ConstantAddress(getPointer(), ElemTy, getAlignment()); in withElementType() 145 addr.getElementType(), addr.getAlignment()); in castImpl()
|
| H A D | CGRecordLayoutBuilder.cpp | 164 CharUnits getAlignment(llvm::Type *Type) { in getAlignment() function 354 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion() 355 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion() 369 const auto StorageAlignment = getAlignment(StorageType); in lowerUnion() 460 Context.toBits(getAlignment(getIntNType(OffsetInRecord))) != in accumulateBitFields() 565 if ((uint64_t)(Context.toBits(Layout.getAlignment())) < in computeVolatileBitfields() 785 if (Member->Offset % getAlignment(Member->Data)) in determinePacked() 788 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data)); in determinePacked() 789 Alignment = std::max(Alignment, getAlignment(Member->Data)); in determinePacked() 817 Size.alignTo(Packed ? CharUnits::One() : getAlignment(Member->Data))) in insertPadding()
|
| H A D | CGNonTrivialStruct.cpp | 401 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() 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(), getContext()); in callCStructMoveConstructor() 921 GenBinaryFuncName<true> GenName("__move_assignment_", DstPtr.getAlignment(), in callCStructMoveAssignmentOperator() [all …]
|
| H A D | CGAtomic.cpp | 71 if (lvalue.getAlignment().isZero()) in AtomicInfo() 79 auto Offset = OrigBFI.Offset % C.toBits(lvalue.getAlignment()); in AtomicInfo() 82 .alignTo(lvalue.getAlignment())); in AtomicInfo() 86 lvalue.getAlignment(); 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() 370 LVal.getAlignment().getAsAlign()); in emitMemSetZeroIfNecessary() 861 bool Misaligned = (Ptr.getAlignment() % TInfo.Width) != 0; in EmitAtomicExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCBranchSelector.cpp | 87 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-14.2/contrib/llvm-project/llvm/lib/Object/ |
| H A D | OffloadBinary.cpp | 45 if (!isAddrAligned(Align(OffloadBinary::getAlignment()), in extractOffloadFiles() 156 if (!isAddrAligned(Align(OffloadBinary::getAlignment()), in extractFromArchive() 183 if (!isAddrAligned(Align(getAlignment()), Buf.getBufferStart())) in create() 222 getAlignment()); in write() 229 BinaryDataSize + OffloadingData.Image->getBufferSize(), getAlignment()); in write()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZLongBranch.cpp | 294 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 D | SystemZSubtarget.cpp | 85 if (GO->getAlignment() & 0x1) { in isAddressedViaADA()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | JITLink.cpp | 116 << ", 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-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonFixupHwLoops.cpp | 117 if (MBB.getAlignment() != Align(1)) { in fixupLoopInstrs() 121 InstOffset = alignTo(InstOffset, MBB.getAlignment()); in fixupLoopInstrs()
|
| H A D | HexagonBranchRelaxation.cpp | 109 if (B.getAlignment() != Align(1)) { in computeOffset() 113 InstOffset = alignTo(InstOffset, B.getAlignment()); in computeOffset()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/IR/ |
| H A D | DataLayout.cpp | 789 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() 866 return getAlignment(Ty, true); in getABITypeAlign() 875 return getAlignment(Ty, false); in getPrefTypeAlign()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/ |
| H A D | ObjectFile.h | 104 Align getAlignment() const; 197 uint32_t getAlignment() const; 471 inline uint32_t SymbolRef::getAlignment() const { in getAlignment() function 540 inline Align SectionRef::getAlignment() const { in getAlignment() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PaddingChecker.cpp | 92 assert(llvm::isPowerOf2_64(RL.getAlignment().getQuantity())); in visitRecord() 305 CharUnits NewSize = NewOffset.alignTo(RL.getAlignment()); in calculateOptimalPad()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | GlobalObject.h | 71 uint64_t getAlignment() const { in getAlignment() function
|
| H A D | DataLayout.h | 182 Align getAlignment(Type *Ty, bool abi_or_pref) const; 633 Align getAlignment() const { return StructAlignment; } in getAlignment() function
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyld.cpp | 288 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-14.2/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBasicBlockInfo.cpp | 130 const Align Align = MF.getBlockNumbered(i)->getAlignment(); in adjustBBOffsetsAfter()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCFragment.cpp | 379 OS << " Alignment:" << AF->getAlignment().value() in dump() 470 OS << " BoundarySize:" << BF->getAlignment().value() in dump()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64CompressJumpTables.cpp | 95 const Align Alignment = MBB.getAlignment(); in scanFunction()
|
| /freebsd-14.2/contrib/llvm-project/lld/COFF/ |
| H A D | LLDMapFile.cpp | 120 writeHeader(os, sc->getRVA(), sc->getSize(), sc->getAlignment()); in writeLLDMapFile()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| H A D | DebuggerSupportPlugin.cpp | 148 DSec.BuilderSec->align = Log2_64(SR.getFirstBlock()->getAlignment()); in startSynthesis() 205 NDSP.BuilderSec->align = Log2_64(SR.getFirstBlock()->getAlignment()); in startSynthesis()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | RecordLayout.h | 182 CharUnits getAlignment() const { return Alignment; } in getAlignment() function
|