Searched refs:getAlignment (Results 1 - 25 of 172) sorted by relevance

1234567

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h70 Addr.getAlignment().getAsAlign(), Name);
76 Addr.getAlignment().getAsAlign(), Name);
81 Addr.getPointer(), Addr.getAlignment().getAsAlign(), IsVolatile, Name);
105 Addr.getAlignment().getAsAlign(), IsVolatile);
139 Addr.getAlignment());
146 Addr.getAlignment());
162 return Address(Ptr, Addr.getAlignment());
182 Addr.getAlignment().alignmentAtOffset(Offset));
203 Addr.getAlignment().alignmentAtOffset(Index * EltSize));
219 Addr.getAlignment()
[all...]
H A DAddress.h66 CharUnits getAlignment() const { function in class:clang::CodeGen::Address
89 getAlignment());
101 addr.getAlignment());
H A DCGValue.h112 auto align = static_cast<uintptr_t>(addr.getAlignment().getQuantity());
318 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } function in class:clang::CodeGen::LValue
330 return Address(getPointer(CGF), getAlignment());
335 Alignment = address.getAlignment().getQuantity();
340 return Address(getVectorPointer(), getAlignment());
352 return Address(getMatrixPointer(), getAlignment());
365 return Address(getExtVectorPointer(), getAlignment());
378 return Address(getBitFieldPointer(), getAlignment());
398 R.Initialize(type, qs, address.getAlignment(), BaseInfo, TBAAInfo);
409 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(),
623 CharUnits getAlignment() const { function in class:clang::CodeGen::AggValueSlot
[all...]
H A DCGRecordLayoutBuilder.cpp151 CharUnits getAlignment(llvm::Type *Type) { function in struct:__anon1788::CGRecordLowering
328 getAlignment(FieldType) > getAlignment(StorageType) ||
329 (getAlignment(FieldType) == getAlignment(StorageType) &&
343 if (LayoutSize % getAlignment(StorageType))
424 Context.toBits(getAlignment(getIntNType(OffsetInRecord))) !=
631 if (Member->Offset % getAlignment(Member->Data))
634 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data));
635 Alignment = std::max(Alignment, getAlignment(Membe
[all...]
H A DCGNonTrivialStruct.cpp404 PHIs[I], StartAddrs[I].getAlignment().alignmentAtOffset(EltSize));
497 Alignments[I] = Addrs[I].getAlignment();
858 GenDefaultInitializeFuncName GenName(DstPtr.getAlignment(), getContext());
882 GenDestructorFuncName GenName("__destructor_", DstPtr.getAlignment(),
893 GenBinaryFuncName<false> GenName("__copy_constructor_", DstPtr.getAlignment(),
894 SrcPtr.getAlignment(), getContext());
907 GenBinaryFuncName<false> GenName("__copy_assignment_", DstPtr.getAlignment(),
908 SrcPtr.getAlignment(), getContext());
918 GenBinaryFuncName<true> GenName("__move_constructor_", DstPtr.getAlignment(),
919 SrcPtr.getAlignment(), getContex
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionXCOFF.cpp19 OS << "\t.csect " << QualName->getName() << "," << Log2_32(getAlignment())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp87 const Align Alignment = MBB.getAlignment();
91 const Align ParentAlign = MBB.getParent()->getAlignment();
219 MaxAlign = std::max(MaxAlign, Src->getAlignment());
225 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment());
236 MaxAlign = std::max(MaxAlign, Dest->getAlignment());
239 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment());
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h45 uint64_t getAlignment() const { return Alignment; } function in class:llvm::jitlink::JITLinkMemoryManager::SegmentRequest
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp97 << ", align = " << B.getAlignment()
168 B.getAlignment(), B.getAlignmentOffset())
171 B.getAddress(), B.getAlignment(), B.getAlignmentOffset());
177 B.getAlignment());
H A DJITLinkGeneric.h85 uint64_t Delta = (B.getAlignmentOffset() - Addr) % B.getAlignment();
92 uint64_t Delta = (B.getAlignmentOffset() - PAddr) % B.getAlignment();
H A DJITLinkGeneric.cpp237 SegAlign = std::max(SegAlign, B->getAlignment());
246 SegAlign = std::max(SegAlign, B->getAlignment());
372 << " to meet block alignment " << B->getAlignment()
H A DJITLinkMemoryManager.cpp90 if (Seg.getAlignment() > sys::Process::getPageSizeEstimate())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemDerefPrinter.cpp61 PO, LI->getType(), MaybeAlign(LI->getAlignment()), DL))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBranchRelaxation.cpp108 if (B.getAlignment() != Align(1)) {
112 InstOffset = alignTo(InstOffset, B.getAlignment());
H A DHexagonFixupHwLoops.cpp117 if (MBB.getAlignment() != Align(1)) {
121 InstOffset = alignTo(InstOffset, MBB.getAlignment());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZLongBranch.cpp278 BlockPosition Position(Log2(MF->getAlignment()));
284 Block.Alignment = MBB->getAlignment();
342 BlockPosition Position(Log2(MF->getAlignment()));
443 BlockPosition Position(Log2(MF->getAlignment()));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp131 const Align Align = MF.getBlockNumbered(i)->getAlignment();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DAttributes.cpp291 MaybeAlign Attribute::getAlignment() const { function in class:Attribute
729 MaybeAlign AttributeSet::getAlignment() const { function in class:AttributeSet
730 return SetNode ? SetNode->getAlignment() : None;
849 assert(B.getAlignment() && "Alignment must be set");
850 Attr = Attribute::getWithAlignment(C, *B.getAlignment());
913 MaybeAlign AttributeSetNode::getAlignment() const { function in class:AttributeSetNode
915 return A->getAlignment();
1270 const MaybeAlign OldAlign = getAttributes(Index).getAlignment();
1271 const MaybeAlign NewAlign = B.getAlignment();
1444 return getAttributes(ReturnIndex).getAlignment();
[all...]
H A DGlobals.cpp123 assert(MaybeAlign(getAlignment()) == Align &&
129 setAlignment(MaybeAlign(Src->getAlignment()));
252 if (hasSection() && getAlignment() > 0)
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalObject.h74 unsigned getAlignment() const { function in class:llvm::GlobalObject
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h175 /// getAlignment - Get the record alignment in characters.
176 CharUnits getAlignment() const { return Alignment; } function in class:clang::ASTRecordLayout
/freebsd-13-stable/contrib/llvm-project/lld/COFF/
H A DLLDMapFile.cpp116 writeHeader(os, sc->getRVA(), sc->getSize(), sc->getAlignment());
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp119 if (Align(ByteAlignment) > Section.getAlignment())
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCSection.h131 unsigned getAlignment() const { return Alignment.value(); } function in class:llvm::MCSection
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DObjectFile.h103 uint64_t getAlignment() const;
193 uint32_t getAlignment() const;
396 inline uint32_t SymbolRef::getAlignment() const { function in class:llvm::object::SymbolRef
465 inline uint64_t SectionRef::getAlignment() const { function in class:llvm::object::SectionRef

Completed in 234 milliseconds

1234567