/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 | 340 CP->getAlignment(), CP->getOffset()); in LowerConstantPool() 343 CP->getAlignment(), CP->getOffset()); in LowerConstantPool() 434 LD->getAlignment())) in LowerLOAD() 440 if (LD->getAlignment() >= ABIAlignment) in LowerLOAD() 458 MinAlign(GV->getAlignment(), 4) == 4) { in LowerLOAD() 466 if (LD->getAlignment() == 2) { in LowerLOAD() 515 ST->getAlignment())) { in LowerSTORE() 521 if (ST->getAlignment() >= ABIAlignment) { in LowerSTORE() 529 if (ST->getAlignment() == 2) { in LowerSTORE() 974 if (N->getAlignment() < 4) in LowerATOMIC_LOAD() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 184 New->setAlignment(AI.getAlignment()); in simplifyAllocaArraySize() 229 if (AI.getAlignment() == 0) in visitAllocaInst() 260 if (EntryAI->getAlignment() == 0) in visitAllocaInst() 266 unsigned MaxAlign = std::max(EntryAI->getAlignment(), in visitAllocaInst() 267 AI.getAlignment()); in visitAllocaInst() 276 if (AI.getAlignment()) { in visitAllocaInst() 286 Copy->getSource(), AI.getAlignment(), DL, &AI, AC, DT); in visitAllocaInst() 287 if (AI.getAlignment() <= SourceAlign) { in visitAllocaInst() 325 LI.getAlignment(), LI.getName()); in combineLoadToNewType() 391 SI.getAlignment()); in combineStoreToNewValue() [all …]
|
/external/llvm/lib/IR/ |
D | Globals.cpp | 59 unsigned GlobalValue::getAlignment() const { in getAlignment() function in GlobalValue 63 return GO->getAlignment(); in getAlignment() 70 return cast<GlobalObject>(this)->getAlignment(); in getAlignment() 80 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment() 98 setAlignment(GV->getAlignment()); in copyAttributesFrom()
|
D | DataLayout.cpp | 620 unsigned DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in DataLayout 637 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment() 647 return std::max(Align, Layout->getAlignment()); in getAlignment() 675 return getAlignment(Ty, true); in getABITypeAlignment() 685 return getAlignment(Ty, false); in getPrefTypeAlignment() 764 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
|
D | Instruction.cpp | 268 (LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() || in haveSameSpecialState() 274 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() || in haveSameSpecialState()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineMemOperand.h | 160 uint64_t getAlignment() const; 212 LHS.getAlignment() == RHS.getAlignment() &&
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 136 CharUnits getAlignment(llvm::Type *Type) { in getAlignment() function 224 Layout.getAlignment().alignmentAtOffset(StartOffset).getQuantity(); in setBitFieldInfo() 319 getAlignment(FieldType) > getAlignment(StorageType) || in lowerUnion() 320 (getAlignment(FieldType) == getAlignment(StorageType) && in lowerUnion() 334 if (LayoutSize % getAlignment(StorageType)) in lowerUnion() 565 if (Member->Offset % getAlignment(Member->Data)) in determinePacked() 568 NVAlignment = std::max(NVAlignment, getAlignment(Member->Data)); in determinePacked() 569 Alignment = std::max(Alignment, getAlignment(Member->Data)); in determinePacked() 597 getAlignment(Member->Data))) in insertPadding()
|
D | CGAtomic.cpp | 71 if (lvalue.getAlignment().isZero()) in AtomicInfo() 79 auto Offset = OrigBFI.Offset % C.toBits(lvalue.getAlignment()); in AtomicInfo() 82 .RoundUpToAlignment(lvalue.getAlignment())); in AtomicInfo() 85 (C.toCharUnitsFromBits(OrigBFI.Offset) / lvalue.getAlignment()) * in AtomicInfo() 86 lvalue.getAlignment(); in AtomicInfo() 97 lvalue.getAlignment()); in AtomicInfo() 107 AtomicAlign = ValueAlign = lvalue.getAlignment(); in AtomicInfo() 113 AtomicAlign = ValueAlign = lvalue.getAlignment(); in AtomicInfo() 125 AtomicAlign = ValueAlign = lvalue.getAlignment(); in AtomicInfo() 129 AtomicSizeInBits, C.toBits(lvalue.getAlignment())); in AtomicInfo() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrFragmentsSIMD.td | 396 return cast<StoreSDNode>(N)->getAlignment() >= 16; 402 return cast<StoreSDNode>(N)->getAlignment() >= 32; 408 return cast<StoreSDNode>(N)->getAlignment() >= 64; 413 return cast<LoadSDNode>(N)->getAlignment() >= 16; 418 return cast<MemSDNode>(N)->getAlignment() >= 16; 423 return cast<LoadSDNode>(N)->getAlignment() >= 32; 428 return cast<LoadSDNode>(N)->getAlignment() >= 64; 472 || cast<LoadSDNode>(N)->getAlignment() >= 16; 498 return cast<LoadSDNode>(N)->getAlignment() >= 8; 517 ST->getAlignment() >= 16; [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() 523 unsigned storeAlign = SI->getAlignment(); in processStore() 526 unsigned loadAlign = LI->getAlignment(); in processStore() 655 unsigned srcAlign = srcAlloca->getAlignment(); in performCallSlotOptzn() 825 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence() 865 M->getAlignment(), false); in processMemCpy() 886 CopySize->getZExtValue(), M->getAlignment(), in processMemCpy() 993 if (MDep->getAlignment() < ByValAlign && in processByValArgument()
|
D | AlignmentFromAssumptions.cpp | 329 if (NewAlignment > LI->getAlignment()) { in processAssumption() 337 if (NewAlignment > SI->getAlignment()) { in processAssumption() 379 if (NewAlignment > MI->getAlignment()) { in processAssumption() 387 } else if (NewDestAlignment > MI->getAlignment()) { in processAssumption()
|
D | LoadCombine.cpp | 145 if (L.Load->getAlignment() > BaseLoad->getAlignment()) in aggregateLoads() 207 Loads[0].Load->getAlignment(), FirstLP.Load); in combineLoads()
|
D | SROA.cpp | 1379 MaxAlign = std::max(MaxAlign, LI->getAlignment()); in isSafePHIToSpeculate() 1433 unsigned Align = SomeLoad->getAlignment(); in speculatePHINodeLoads() 1491 !isSafeToLoadUnconditionally(TValue, LI, LI->getAlignment())) in isSafeSelectToSpeculate() 1494 !isSafeToLoadUnconditionally(FValue, LI, LI->getAlignment())) in isSafeSelectToSpeculate() 1520 TL->setAlignment(LI->getAlignment()); in speculateSelectInstLoads() 1521 FL->setAlignment(LI->getAlignment()); in speculateSelectInstLoads() 1825 Alignment = LI->getAlignment(); in getAdjustedAlignment() 1828 Alignment = SI->getAlignment(); in getAdjustedAlignment() 2535 unsigned NewAIAlign = NewAI.getAlignment(); in getSliceAlign() 2563 Value *V = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), "load"); in rewriteVectorizedLoadInst() [all …]
|
/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/Mips/ |
D | MipsMachineFunction.cpp | 110 RC->getAlignment(), false); in createEhDataRegsFI() 140 RC->getSize(), RC->getAlignment(), false); in getMoveF64ViaSpillFI()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 286 MCI->getAlignment(), nullptr, in visitCallSite() 289 MCI->getAlignment(), nullptr, in visitCallSite() 310 MMI->getAlignment(), nullptr, in visitCallSite() 313 MMI->getAlignment(), nullptr, in visitCallSite() 321 MSI->getAlignment(), nullptr, in visitCallSite() 445 BaseAlign = AI->getAlignment(); in visitMemoryReference() 455 BaseAlign = GV->getAlignment(); in visitMemoryReference() 479 AA->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst() 486 I.getAlignment(), in visitStoreInst()
|
D | Loads.cpp | 80 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally() 87 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
|
/external/llvm/include/llvm/Object/ |
D | ObjectFile.h | 103 uint64_t getAlignment() const; 148 std::error_code getAlignment(uint32_t &Result) const; 335 inline std::error_code SymbolRef::getAlignment(uint32_t &Result) const { in getAlignment() function 399 inline uint64_t SectionRef::getAlignment() const { in getAlignment() function
|