/external/clang/lib/CodeGen/ |
D | CGBuilder.h | 80 Addr.getAlignment().getQuantity(), 87 Addr.getAlignment().getQuantity(), in CreateLoad() 93 Addr.getAlignment().getQuantity(), 124 Addr.getAlignment().getQuantity(), IsVolatile); 171 Addr.getAlignment()); 187 return Address(Ptr, Addr.getAlignment()); 195 Addr.getAlignment().alignmentAtOffset(Offset)); 214 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); 229 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); 243 Addr.getAlignment().alignmentAtOffset(Index * EltSize)); [all …]
|
D | CGValue.h | 111 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 …]
|
D | Address.h | 67 CharUnits getAlignment() const { in getAlignment() function 90 getAlignment()); in getBitCast() 102 addr.getAlignment()); in castImpl()
|
D | CGRecordLayoutBuilder.cpp | 152 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 getAlignment(Member->Data))) in insertPadding()
|
/external/deqp/modules/glshared/ |
D | glsBufferTestUtil.hpp | 122 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
|
D | glsBufferTestUtil.cpp | 287 DE_ASSERT(offset%getAlignment() == 0); in write() 288 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in write() 295 DE_ASSERT(offset%getAlignment() == 0); in write() 296 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in write() 375 DE_ASSERT(offset%getAlignment() == 0); in verify() 376 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in verify() 383 DE_ASSERT(offset%getAlignment() == 0); in verify() 384 DE_ASSERT((offset+numBytes)%getAlignment() == 0); in verify()
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | UniformListItem.java | 56 super(getAlignment(items), writeSize(items)); in UniformListItem() 74 private static int getAlignment(List<? extends OffsettedItem> items) { in getAlignment() method in UniformListItem 77 return Math.max(HEADER_SIZE, items.get(0).getAlignment()); in getAlignment() 99 return (items.size() * first.writeSize()) + getAlignment(items); in writeSize() 170 theAlignment = i.getAlignment(); in place0() 177 if (i.getAlignment() != theAlignment) { in place0() 214 return getAlignment(); in headerSize()
|
D | MixedItemSection.java | 173 if (item.getAlignment() > getAlignment()) { in add() 346 int alignMask = one.getAlignment() - 1; in writeTo0()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 53 unsigned getAlignment(GlobalVariable *GV) const; 91 unsigned ConstantMerge::getAlignment(GlobalVariable *GV) const { in getAlignment() function in ConstantMerge 92 unsigned Align = GV->getAlignment(); in getAlignment() 203 if (Replacements[i].first->getAlignment() || in runOnModule() 204 Replacements[i].second->getAlignment()) { in runOnModule() 206 std::max(getAlignment(Replacements[i].first), in runOnModule() 207 getAlignment(Replacements[i].second))); in runOnModule()
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferTestUtil.hpp | 111 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/ |
D | XCoreMachineFunctionInfo.cpp | 44 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()
|
D | XCoreISelLowering.cpp | 338 CP->getAlignment(), CP->getOffset()); in LowerConstantPool() 341 CP->getAlignment(), CP->getOffset()); in LowerConstantPool() 431 LD->getAlignment())) in LowerLOAD() 438 if (LD->getAlignment() >= ABIAlignment) in LowerLOAD() 456 MinAlign(GV->getAlignment(), 4) == 4) { in LowerLOAD() 464 if (LD->getAlignment() == 2) { in LowerLOAD() 514 ST->getAlignment())) { in LowerSTORE() 520 if (ST->getAlignment() >= ABIAlignment) { in LowerSTORE() 528 if (ST->getAlignment() == 2) { in LowerSTORE() 979 if (N->getAlignment() < 4) in LowerATOMIC_LOAD() [all …]
|
/external/llvm/lib/Target/Mips/ |
D | MipsMachineFunction.cpp | 74 RC->getAlignment(), false); in createEhDataRegsFI() 87 RC->getSize(), RC->getAlignment(), false); in createISRRegFI() 109 RC->getSize(), RC->getAlignment(), false); in getMoveF64ViaSpillFI()
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 57 unsigned GlobalValue::getAlignment() const { in getAlignment() function in GlobalValue 61 return GO->getAlignment(); in getAlignment() 68 return cast<GlobalObject>(this)->getAlignment(); in getAlignment() 78 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment() 96 setAlignment(GV->getAlignment()); in copyAttributesFrom()
|
D | DataLayout.cpp | 625 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() 769 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
|
/external/llvm/lib/Analysis/ |
D | Loads.cpp | 86 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally() 93 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally() 141 AccessedAlign = LI->getAlignment(); in isSafeToLoadUnconditionally() 144 AccessedAlign = SI->getAlignment(); in isSafeToLoadUnconditionally()
|
D | Lint.cpp | 287 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()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 185 New->setAlignment(AI.getAlignment()); in simplifyAllocaArraySize() 230 if (AI.getAlignment() == 0) in visitAllocaInst() 261 if (EntryAI->getAlignment() == 0) in visitAllocaInst() 267 unsigned MaxAlign = std::max(EntryAI->getAlignment(), in visitAllocaInst() 268 AI.getAlignment()); in visitAllocaInst() 277 if (AI.getAlignment()) { in visitAllocaInst() 287 Copy->getSource(), AI.getAlignment(), DL, &AI, AC, DT); in visitAllocaInst() 288 if (AI.getAlignment() <= SourceAlign) { in visitAllocaInst() 327 LI.getAlignment(), LI.getName() + Suffix); in combineLoadToNewType() 399 SI.getAlignment()); in combineStoreToNewValue() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 227 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore() 232 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet() 525 unsigned storeAlign = SI->getAlignment(); in processStore() 528 unsigned loadAlign = LI->getAlignment(); in processStore() 657 unsigned srcAlign = srcAlloca->getAlignment(); in performCallSlotOptzn() 823 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence() 877 std::max(MemSet->getAlignment(), MemCpy->getAlignment()); in processMemSetMemCpyDependence() 934 CopySize, MemCpy->getAlignment()); in performMemCpyToMemSetOptzn() 960 M->getAlignment(), false); in processMemCpy() 990 CopySize->getZExtValue(), M->getAlignment(), in processMemCpy() [all …]
|
D | AlignmentFromAssumptions.cpp | 332 if (NewAlignment > LI->getAlignment()) { in processAssumption() 340 if (NewAlignment > SI->getAlignment()) { in processAssumption() 382 if (NewAlignment > MI->getAlignment()) { in processAssumption() 390 } else if (NewDestAlignment > MI->getAlignment()) { in processAssumption()
|
D | LoadCombine.cpp | 146 if (L.Load->getAlignment() > BaseLoad->getAlignment()) in aggregateLoads() 208 Loads[0].Load->getAlignment(), FirstLP.Load); in combineLoads()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineMemOperand.h | 163 uint64_t getAlignment() const; 221 LHS.getAlignment() == RHS.getAlignment() &&
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZLongBranch.cpp | 271 BlockPosition Position(MF->getAlignment()); in initMBBInfo() 277 Block.Alignment = MBB->getAlignment(); in initMBBInfo() 335 BlockPosition Position(MF->getAlignment()); in setWorstCaseAddresses() 436 BlockPosition Position(MF->getAlignment()); in relaxBranches()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonFixupHwLoops.cpp | 111 if (MBB.getAlignment()) { in fixupLoopInstrs() 115 int ByteAlign = (1u << MBB.getAlignment()) - 1; in fixupLoopInstrs()
|
/external/llvm/include/llvm/Object/ |
D | ObjectFile.h | 91 uint64_t getAlignment() const; 143 uint32_t getAlignment() const; 317 inline uint32_t SymbolRef::getAlignment() const { in getAlignment() function 377 inline uint64_t SectionRef::getAlignment() const { in getAlignment() function
|