/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 81 Addr.getAlignment().alignmentAtOffset( in createConstGEP2_32() 110 Addr.getAlignment().getAsAlign(), Name); 117 Addr.getAlignment().getAsAlign(), Name); in CreateLoad() 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().alignmentAtOffset(Offset), [all …]
|
H A D | Address.h | 93 CharUnits getAlignment() const { in getAlignment() function 101 return RawAddress(getPointer(), ElemTy, getAlignment(), isKnownNonNull()); in withElementType() 173 Alignment(RawAddr.isValid() ? RawAddr.getAlignment() in Address() 189 CharUnits getAlignment() const { return Alignment; } in getAlignment() function 261 return Address(NewPointer, getElementType(), getAlignment(), in withPointer() 276 return Address(getBasePointer(), ElemTy, getAlignment(), in withElementType() 290 Alignment(Addr.isValid() ? Addr.getAlignment() : CharUnits::Zero()) {} in RawAddress() 311 return ConstantAddress(getPointer(), ElemTy, getAlignment()); in withElementType() 319 addr.getElementType(), addr.getAlignment()); in castImpl()
|
H A D | CGRecordLayoutBuilder.cpp | 164 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 accumulateBitFields() 614 if (Align > Layout.getAlignment()) in accumulateBitFields() 765 if ((uint64_t)(Context.toBits(Layout.getAlignment())) < in computeVolatileBitfields() 982 if (Member->Offset % getAlignment(Member->Data)) in determinePacked() 985 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data)); in determinePacked() 986 Alignment = std::max(Alignment, getAlignment(Member->Data)); in determinePacked() [all …]
|
H A D | CGValue.h | 248 CharUnits Alignment = Addr.getAlignment(); 343 CharUnits getAlignment() const { return Addr.getAlignment(); } 650 CharUnits getAlignment() const { 651 return Addr.getAlignment();
|
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() 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(), getContext()); in callCStructMoveConstructor() [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() 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/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/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() 225 getAlignment()); in write() 232 BinaryDataSize + OffloadingData.Image->getBufferSize(), getAlignment()); in write()
|
/freebsd/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/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/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/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | DebuggerSupportPlugin.cpp |
|
/freebsd/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/contrib/llvm-project/llvm/include/llvm/Object/ |
H A D | ObjectFile.h | 104 Align getAlignment() const; 197 uint32_t getAlignment() const; 472 inline uint32_t SymbolRef::getAlignment() const { in getAlignment() function 541 inline Align SectionRef::getAlignment() const { in getAlignment() function
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCFragment.cpp | 143 OS << " Alignment:" << AF->getAlignment().value() in dump() 234 OS << " BoundarySize:" << BF->getAlignment().value() in dump()
|
/freebsd/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/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
H A D | LoongArchAsmBackend.cpp | 195 Size = AF.getAlignment().value() - MinNopLen; in shouldInsertExtraNopBytesForCodeAlign() 196 return AF.getAlignment() > MinNopLen; in shouldInsertExtraNopBytesForCodeAlign() 239 MaxBytesToEmit << 8 | Log2(AF.getAlignment())); in shouldInsertFixupForCodeAlign()
|
/freebsd/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/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalObject.h | 71 uint64_t getAlignment() const { in getAlignment() 70 uint64_t getAlignment() const { 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/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMBasicBlockInfo.cpp | 130 const Align Align = MF.getBlockNumbered(i)->getAlignment(); in adjustBBOffsetsAfter()
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | LLDMapFile.cpp | 120 writeHeader(os, sc->getRVA(), sc->getSize(), sc->getAlignment()); in writeLLDMapFile()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64CompressJumpTables.cpp | 95 const Align Alignment = MBB.getAlignment(); in scanFunction()
|