Home
last modified time | relevance | path

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

12345678910>>...19

/external/clang/lib/CodeGen/
DCGBuilder.h72 Addr.getAlignment().getQuantity(),
79 Addr.getAlignment().getQuantity(), in CreateLoad()
85 Addr.getAlignment().getQuantity(),
116 Addr.getAlignment().getQuantity(), IsVolatile);
163 Addr.getAlignment());
179 return Address(Ptr, Addr.getAlignment());
187 Addr.getAlignment().alignmentAtOffset(Offset));
212 Addr.getAlignment().alignmentAtOffset(Index * EltSize));
227 Addr.getAlignment().alignmentAtOffset(Index * EltSize));
241 Addr.getAlignment().alignmentAtOffset(Index * EltSize));
[all …]
DCGValue.h111 auto align = static_cast<uintptr_t>(addr.getAlignment().getQuantity());
316 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() function
331 Address getAddress() const { return Address(getPointer(), getAlignment()); } in getAddress()
335 Alignment = address.getAlignment().getQuantity(); in setAddress()
340 return Address(getVectorPointer(), getAlignment()); in getVectorAddress()
347 return Address(getExtVectorPointer(), getAlignment()); in getExtVectorAddress()
360 return Address(getBitFieldPointer(), getAlignment()); in getBitFieldAddress()
382 R.Initialize(type, qs, address.getAlignment(), alignSource, TBAAInfo);
392 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeVectorElt()
403 R.Initialize(type, type.getQualifiers(), vecAddress.getAlignment(), in MakeExtVectorElt()
[all …]
DAddress.h67 CharUnits getAlignment() const { in getAlignment() function
90 getAlignment()); in getBitCast()
102 addr.getAlignment()); in castImpl()
DCGRecordLayoutBuilder.cpp152 CharUnits getAlignment(llvm::Type *Type) { in getAlignment() function
330 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion()
331 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion()
345 if (LayoutSize % getAlignment(StorageType)) in lowerUnion()
581 if (Member->Offset % getAlignment(Member->Data)) in determinePacked()
584 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data)); in determinePacked()
585 Alignment = std::max(Alignment, getAlignment(Member->Data)); in determinePacked()
613 Size.alignTo(Packed ? CharUnits::One() : getAlignment(Member->Data))) in insertPadding()
/external/deqp/modules/glshared/
DglsBufferTestUtil.hpp122 virtual int getAlignment (void) const = DE_NULL;
141 int getAlignment (void) const { return m_writer->getAlignment(); } in getAlignment() function in deqp::gls::BufferTestUtil::BufferWriter
159 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::BufferSubDataWriter
171 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::BufferWriteMapWriter
198 virtual int getAlignment (void) const = DE_NULL;
218 int getAlignment (void) const { return m_verifier->getAlignment(); } in getAlignment() function in deqp::gls::BufferTestUtil::BufferVerifier
238 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::BufferMapVerifier
250 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::VertexArrayVerifier
270 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gls::BufferTestUtil::IndexArrayVerifier
/external/deqp/modules/gles2/functional/
Des2fBufferTestUtil.hpp111 virtual int getAlignment (void) const = DE_NULL;
129 int getAlignment (void) const { return m_verifier->getAlignment(); } in getAlignment() function in deqp::gles2::Functional::BufferTestUtil::BufferVerifier
148 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gles2::Functional::BufferTestUtil::VertexArrayVerifier
164 int getAlignment (void) const { return 1; } in getAlignment() function in deqp::gles2::Functional::BufferTestUtil::IndexArrayVerifier
/external/llvm/lib/Target/XCore/
DXCoreMachineFunctionInfo.cpp44 LRSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createLRSpillSlot()
56 FPSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createFPSpillSlot()
67 EHSpillSlot[0] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot()
68 EHSpillSlot[1] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot()
/external/llvm/lib/Transforms/IPO/
DConstantMerge.cpp63 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment() function
64 unsigned Align = GV->getAlignment(); in getAlignment()
174 if (Replacements[i].first->getAlignment() || in mergeConstants()
175 Replacements[i].second->getAlignment()) { in mergeConstants()
177 std::max(getAlignment(Replacements[i].first), in mergeConstants()
178 getAlignment(Replacements[i].second))); in mergeConstants()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DConstantMerge.cpp87 static unsigned getAlignment(GlobalVariable *GV) { in getAlignment() function
88 unsigned Align = GV->getAlignment(); in getAlignment()
123 if (Old->getAlignment() || New->getAlignment()) in replace()
124 New->setAlignment(Align(std::max(getAlignment(Old), getAlignment(New)))); in replace()
/external/llvm/lib/Target/Mips/
DMipsMachineFunction.cpp64 RC->getAlignment(), false); in createEhDataRegsFI()
77 RC->getSize(), RC->getAlignment(), false); in createISRRegFI()
99 RC->getSize(), RC->getAlignment(), false); in getMoveF64ViaSpillFI()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp187 New->setAlignment(AI.getAlignment()); in simplifyAllocaArraySize()
232 if (AI.getAlignment() == 0) in visitAllocaInst()
263 if (EntryAI->getAlignment() == 0) in visitAllocaInst()
269 unsigned MaxAlign = std::max(EntryAI->getAlignment(), in visitAllocaInst()
270 AI.getAlignment()); in visitAllocaInst()
279 if (AI.getAlignment()) { in visitAllocaInst()
289 Copy->getSource(), AI.getAlignment(), DL, &AI, AC, DT); in visitAllocaInst()
290 if (AI.getAlignment() <= SourceAlign) { in visitAllocaInst()
329 LI.getAlignment(), LI.isVolatile(), LI.getName() + Suffix); in combineLoadToNewType()
402 SI.getAlignment(), SI.isVolatile()); in combineStoreToNewValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp178 return isDereferenceableAndAlignedPointer(V, Align(AI->getAlignment()), in isDereferenceableForAllocaSize()
200 New->setAlignment(MaybeAlign(AI.getAlignment())); in simplifyAllocaArraySize()
347 if (AI.getAlignment() == 0) in visitAllocaInst()
379 if (EntryAI->getAlignment() == 0) in visitAllocaInst()
386 std::max(EntryAI->getAlignment(), AI.getAlignment())); in visitAllocaInst()
395 if (AI.getAlignment()) { in visitAllocaInst()
405 Copy->getSource(), AI.getAlignment(), DL, &AI, &AC, &DT); in visitAllocaInst()
406 if (AI.getAlignment() <= SourceAlign && in visitAllocaInst()
465 unsigned Align = LI.getAlignment(); in combineLoadToNewType()
493 SI.getAlignment(), SI.isVolatile()); in combineStoreToNewValue()
[all …]
/external/llvm/lib/IR/
DGlobals.cpp58 unsigned GlobalValue::getAlignment() const { in getAlignment() function in GlobalValue
62 return GO->getAlignment(); in getAlignment()
69 return cast<GlobalObject>(this)->getAlignment(); in getAlignment()
79 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment()
97 setAlignment(GV->getAlignment()); in copyAttributesFrom()
185 if (hasSection() && getAlignment() > 0) in canIncreaseAlignment()
DInstruction.cpp348 (AI->getAlignment() == cast<AllocaInst>(I2)->getAlignment() || in haveSameSpecialState()
352 (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() || in haveSameSpecialState()
358 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() || in haveSameSpecialState()
DDataLayout.cpp625 unsigned DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in DataLayout
642 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment()
652 return std::max(Align, Layout->getAlignment()); in getAlignment()
680 return getAlignment(Ty, true); in getABITypeAlignment()
690 return getAlignment(Ty, false); in getPrefTypeAlignment()
763 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp84 const Align Alignment = MBB.getAlignment(); in GetAlignmentAdjustment()
88 const Align ParentAlign = MBB.getParent()->getAlignment(); in GetAlignmentAdjustment()
188 MaxAlign = std::max(MaxAlign, Src->getAlignment()); in computeBranchSize()
194 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
205 MaxAlign = std::max(MaxAlign, Dest->getAlignment()); in computeBranchSize()
208 MaxAlign = std::max(MaxAlign, Fn.getBlockNumbered(i)->getAlignment()); in computeBranchSize()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DGlobals.cpp97 unsigned GlobalValue::getAlignment() const { in getAlignment() function in GlobalValue
101 return GO->getAlignment(); in getAlignment()
108 return cast<GlobalObject>(this)->getAlignment(); in getAlignment()
126 assert(MaybeAlign(getAlignment()) == Align && in setAlignment()
132 setAlignment(MaybeAlign(Src->getAlignment())); in copyAttributesFrom()
255 if (hasSection() && getAlignment() > 0) in canIncreaseAlignment()
/external/llvm/include/llvm/CodeGen/
DMachineMemOperand.h165 uint64_t getAlignment() const;
223 LHS.getAlignment() == RHS.getAlignment() &&
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLink.cpp96 << ", align = " << B.getAlignment() in operator <<()
167 B.getAlignment(), B.getAlignmentOffset()) in splitBlock()
170 B.getAddress(), B.getAlignment(), B.getAlignmentOffset()); in splitBlock()
176 B.getAlignment()); in splitBlock()
DJITLinkGeneric.h85 uint64_t Delta = (B.getAlignmentOffset() - Addr) % B.getAlignment(); in alignToBlock()
92 uint64_t Delta = (B.getAlignmentOffset() - PAddr) % B.getAlignment(); in alignToBlock()
177 << B->getAlignment() << " and alignment offset " in copyAndFixUpBlocks()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp221 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore()
226 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet()
478 unsigned StoreAlign = SI->getAlignment(); in findCommonAlignment()
481 unsigned LoadAlign = LI->getAlignment(); in findCommonAlignment()
726 unsigned Align = SI->getAlignment(); in processStore()
848 unsigned srcAlign = srcAlloca->getAlignment(); in performCallSlotOptzn()
1015 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence()
1069 std::max(MemSet->getAlignment(), MemCpy->getAlignment()); in processMemSetMemCpyDependence()
1126 CopySize, MemCpy->getAlignment()); in performMemCpyToMemSetOptzn()
1152 M->getAlignment(), false); in processMemCpy()
[all …]
/external/llvm/lib/Analysis/
DLint.cpp287 MCI->getAlignment(), nullptr, MemRef::Write); in visitCallSite()
289 MCI->getAlignment(), nullptr, MemRef::Read); in visitCallSite()
309 MMI->getAlignment(), nullptr, MemRef::Write); in visitCallSite()
311 MMI->getAlignment(), nullptr, MemRef::Read); in visitCallSite()
318 MSI->getAlignment(), nullptr, MemRef::Write); in visitCallSite()
431 BaseAlign = AI->getAlignment(); in visitMemoryReference()
441 BaseAlign = GV->getAlignment(); in visitMemoryReference()
465 DL->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst()
472 I.getAlignment(), in visitStoreInst()
DLoads.cpp211 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally()
218 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
269 AccessedAlign = LI->getAlignment(); in isSafeToLoadUnconditionally()
272 AccessedAlign = SI->getAlignment(); in isSafeToLoadUnconditionally()
/external/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp274 BlockPosition Position(MF->getAlignment()); in initMBBInfo()
280 Block.Alignment = MBB->getAlignment(); in initMBBInfo()
338 BlockPosition Position(MF->getAlignment()); in setWorstCaseAddresses()
439 BlockPosition Position(MF->getAlignment()); in relaxBranches()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZLongBranch.cpp278 BlockPosition Position(Log2(MF->getAlignment())); in initMBBInfo()
284 Block.Alignment = MBB->getAlignment(); in initMBBInfo()
342 BlockPosition Position(Log2(MF->getAlignment())); in setWorstCaseAddresses()
443 BlockPosition Position(Log2(MF->getAlignment())); in relaxBranches()

12345678910>>...19