Home
last modified time | relevance | path

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

12345678910>>...15

/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/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DConstantMerge.cpp51 unsigned getAlignment(GlobalVariable *GV) const;
91 return TD || GV->getAlignment() != 0; in hasKnownAlignment()
94 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { in getAlignment() function in ConstantMerge
97 return GV->getAlignment(); in getAlignment()
204 if (Replacements[i].first->getAlignment() || in runOnModule()
205 Replacements[i].second->getAlignment()) { in runOnModule()
207 Replacements[i].first->getAlignment(), in runOnModule()
208 Replacements[i].second->getAlignment())); in runOnModule()
DMergeFunctions.cpp308 LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() && in isEquivalentOperation()
313 SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() && in isEquivalentOperation()
763 F->setAlignment(std::max(F->getAlignment(), G->getAlignment())); in writeAlias()
788 unsigned MaxAlignment = std::max(G->getAlignment(), H->getAlignment()); in mergeTwoFunctions()
/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/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/swiftshader/third_party/LLVM/lib/VMCore/
DInstruction.cpp199 LI->getAlignment() == cast<LoadInst>(I)->getAlignment() && in isIdenticalToWhenDefined()
204 SI->getAlignment() == cast<StoreInst>(I)->getAlignment() && in isIdenticalToWhenDefined()
254 LI->getAlignment() == cast<LoadInst>(I)->getAlignment() && in isSameOperationAs()
259 SI->getAlignment() == cast<StoreInst>(I)->getAlignment() && in isSameOperationAs()
/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/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/llvm/include/llvm/CodeGen/
DMachineMemOperand.h165 uint64_t getAlignment() const;
223 LHS.getAlignment() == RHS.getAlignment() &&
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp45 New->setAlignment(AI.getAlignment()); in visitAllocaInst()
80 if (AI.getAlignment() == 0) in visitAllocaInst()
134 NewLoad->setAlignment(LI.getAlignment()); in InstCombineLoadCast()
151 unsigned LoadAlign = LI.getAlignment(); in visitLoadInst()
223 unsigned Align = LI.getAlignment(); in visitLoadInst()
378 unsigned StoreAlign = SI.getAlignment(); in visitStoreInst()
606 SI.getAlignment(), in SimplifyStoreAtEndOfBlock()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetData.cpp446 unsigned TargetData::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in TargetData
458 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment()
468 return std::max(Align, Layout->getAlignment()); in getAlignment()
497 return getAlignment(Ty, true); in getABITypeAlignment()
516 return getAlignment(Ty, false); in getPrefTypeAlignment()
575 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
/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/lib/Analysis/
DLint.cpp273 MCI->getAlignment(), 0, in visitCallSite()
276 MCI->getAlignment(), 0, in visitCallSite()
297 MMI->getAlignment(), 0, in visitCallSite()
300 MMI->getAlignment(), 0, in visitCallSite()
308 MSI->getAlignment(), 0, in visitCallSite()
425 AA->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst()
432 I.getAlignment(), in visitStoreInst()
/external/llvm/lib/Target/Hexagon/
DHexagonFixupHwLoops.cpp118 if (MBB.getAlignment()) { in fixupLoopInstrs()
122 int ByteAlign = (1u << MBB.getAlignment()) - 1; in fixupLoopInstrs()

12345678910>>...15