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

12345678910

/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuilder.h71 Addr.getAlignment().getQuantity(),
78 Addr.getAlignment().getQuantity(),
84 Addr.getAlignment().getQuantity(),
110 Addr.getAlignment().getAsAlign(), IsVolatile);
144 Addr.getAlignment());
151 Addr.getAlignment());
167 return Address(Ptr, Addr.getAlignment());
187 Addr.getAlignment().alignmentAtOffset(Offset));
208 Addr.getAlignment().alignmentAtOffset(Index * EltSize));
224 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());
316 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } function in class:clang::CodeGen::LValue
328 return Address(getPointer(CGF), getAlignment());
333 Alignment = address.getAlignment().getQuantity();
338 return Address(getVectorPointer(), getAlignment());
345 return Address(getExtVectorPointer(), getAlignment());
358 return Address(getBitFieldPointer(), getAlignment());
378 R.Initialize(type, qs, address.getAlignment(), BaseInfo, TBAAInfo);
389 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(),
401 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(),
591 CharUnits getAlignment() const { function in class:clang::CodeGen::AggValueSlot
[all...]
H A DCGRecordLayoutBuilder.cpp151 CharUnits getAlignment(llvm::Type *Type) { function in struct:__anon2928::CGRecordLowering
328 getAlignment(FieldType) > getAlignment(StorageType) ||
329 (getAlignment(FieldType) == getAlignment(StorageType) &&
343 if (LayoutSize % getAlignment(StorageType))
421 Context.toBits(getAlignment(getIntNType(OffsetInRecord))) !=
628 if (Member->Offset % getAlignment(Member->Data))
631 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data));
632 Alignment = std::max(Alignment, getAlignment(Membe
[all...]
H A DCGNonTrivialStruct.cpp390 PHIs[I], StartAddrs[I].getAlignment().alignmentAtOffset(EltSize));
487 Alignments[I] = Addrs[I].getAlignment();
856 GenDefaultInitializeFuncName GenName(DstPtr.getAlignment(), getContext());
880 GenDestructorFuncName GenName("__destructor_", DstPtr.getAlignment(),
891 GenBinaryFuncName<false> GenName("__copy_constructor_", DstPtr.getAlignment(),
892 SrcPtr.getAlignment(), getContext());
905 GenBinaryFuncName<false> GenName("__copy_assignment_", DstPtr.getAlignment(),
906 SrcPtr.getAlignment(), getContext());
916 GenBinaryFuncName<true> GenName("__move_constructor_", DstPtr.getAlignment(),
917 SrcPtr.getAlignment(), getContex
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DConstantMerge.cpp87 static unsigned getAlignment(GlobalVariable *GV) { function
88 unsigned Align = GV->getAlignment();
123 if (Old->getAlignment() || New->getAlignment())
124 New->setAlignment(Align(std::max(getAlignment(Old), getAlignment(New))));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchSelector.cpp84 const Align Alignment = MBB.getAlignment();
88 const Align ParentAlign = MBB.getParent()->getAlignment();
188 MaxAlign = std::max(MaxAlign, Src->getAlignment());
194 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment());
205 MaxAlign = std::max(MaxAlign, Dest->getAlignment());
208 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerAggrCopies.cpp116 /* SrcAlign */ LI->getAlignment(),
117 /* DestAlign */ SI->getAlignment(),
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLink.cpp96 << ", align = " << B.getAlignment()
167 B.getAlignment(), B.getAlignmentOffset())
170 B.getAddress(), B.getAlignment(), B.getAlignmentOffset());
176 B.getAlignment());
H A DJITLinkGeneric.h85 uint64_t Delta = (B.getAlignmentOffset() - Addr) % B.getAlignment();
92 uint64_t Delta = (B.getAlignmentOffset() - PAddr) % B.getAlignment();
177 << B->getAlignment() << " and alignment offset "
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.h42 uint64_t getAlignment() const { return Alignment; } function in class:llvm::jitlink::JITLinkMemoryManager::SegmentRequest
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DMemDerefPrinter.cpp60 PO, LI->getType(), MaybeAlign(LI->getAlignment()), DL))
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineFunction.cpp51 unsigned Align = GV.getAlignment();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZConstantPoolValue.cpp34 (Constants[I].getAlignment() & AlignMask) == 0) {
H A DSystemZSubtarget.cpp73 if (GV->getAlignment() == 1)
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-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySetP2AlignOperands.cpp68 uint64_t P2Align = Log2_64((*MI.memoperands_begin())->getAlignment());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp97 unsigned GlobalValue::getAlignment() const { function in class:GlobalValue
101 return GO->getAlignment();
108 return cast<GlobalObject>(this)->getAlignment();
126 assert(MaybeAlign(getAlignment()) == Align &&
132 setAlignment(MaybeAlign(Src->getAlignment()));
255 if (hasSection() && getAlignment() > 0)
H A DAttributes.cpp244 MaybeAlign Attribute::getAlignment() const { function in class:Attribute
670 MaybeAlign AttributeSet::getAlignment() const { function in class:AttributeSet
671 return SetNode ? SetNode->getAlignment() : None;
782 assert(B.getAlignment() && "Alignment must be set");
783 Attr = Attribute::getWithAlignment(C, *B.getAlignment());
838 MaybeAlign AttributeSetNode::getAlignment() const { function in class:AttributeSetNode
841 return I.getAlignment();
1166 const MaybeAlign OldAlign = getAttributes(Index).getAlignment();
1167 const MaybeAlign NewAlign = B.getAlignment();
1352 return getAttributes(ReturnIndex).getAlignment();
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBranchRelaxation.cpp108 if (B.getAlignment() != Align::None()) {
112 InstOffset = alignTo(InstOffset, B.getAlignment());
H A DHexagonFixupHwLoops.cpp117 if (MBB.getAlignment() != Align::None()) {
121 InstOffset = alignTo(InstOffset, MBB.getAlignment());
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineConstantPool.h96 int getAlignment() const { function in class:llvm::MachineConstantPoolEntry
H A DMachineMemOperand.h228 uint64_t getAlignment() const;
310 LHS.getAlignment() == RHS.getAlignment() &&
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp178 return isDereferenceableAndAlignedPointer(V, Align(AI->getAlignment()),
200 New->setAlignment(MaybeAlign(AI.getAlignment()));
347 if (AI.getAlignment() == 0)
379 if (EntryAI->getAlignment() == 0)
386 std::max(EntryAI->getAlignment(), AI.getAlignment()));
395 if (AI.getAlignment()) {
405 Copy->getSource(), AI.getAlignment(), DL, &AI, &AC, &DT);
406 if (AI.getAlignment() <= SourceAlign &&
465 unsigned Align = LI.getAlignment();
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp131 const Align Align = MF.getBlockNumbered(i)->getAlignment();

Completed in 391 milliseconds

12345678910