/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()
|
D | UniformItemSection.java | 84 int alignment = getAlignment(); in writeTo0()
|
/external/llvm/lib/Transforms/IPO/ |
D | ConstantMerge.cpp | 51 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() 210 if (Replacements[i].first->getAlignment() || in runOnModule() 211 Replacements[i].second->getAlignment()) { in runOnModule() 213 Replacements[i].first->getAlignment(), in runOnModule() 214 Replacements[i].second->getAlignment())); in runOnModule()
|
D | MergeFunctions.cpp | 308 LI->getAlignment() == cast<LoadInst>(I2)->getAlignment() && in isEquivalentOperation() 313 SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() && in isEquivalentOperation() 761 F->setAlignment(std::max(F->getAlignment(), G->getAlignment())); in writeAlias() 786 unsigned MaxAlignment = std::max(G->getAlignment(), H->getAlignment()); in mergeTwoFunctions()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 172 New->setAlignment(AI.getAlignment()); in visitAllocaInst() 201 if (AI.getAlignment() == 0) in visitAllocaInst() 232 if (EntryAI->getAlignment() == 0) in visitAllocaInst() 238 unsigned MaxAlign = std::max(EntryAI->getAlignment(), in visitAllocaInst() 239 AI.getAlignment()); in visitAllocaInst() 248 if (AI.getAlignment()) { in visitAllocaInst() 258 AI.getAlignment(), TD); in visitAllocaInst() 259 if (AI.getAlignment() <= SourceAlign) { in visitAllocaInst() 327 NewLoad->setAlignment(LI.getAlignment()); in InstCombineLoadCast() 344 unsigned LoadAlign = LI.getAlignment(); in visitLoadInst() [all …]
|
/external/llvm/lib/IR/ |
D | Instruction.cpp | 286 LI->getAlignment() == cast<LoadInst>(I)->getAlignment() && in isIdenticalToWhenDefined() 291 SI->getAlignment() == cast<StoreInst>(I)->getAlignment() && in isIdenticalToWhenDefined() 357 (LI->getAlignment() == cast<LoadInst>(I)->getAlignment() || in isSameOperationAs() 363 (SI->getAlignment() == cast<StoreInst>(I)->getAlignment() || in isSameOperationAs()
|
D | DataLayout.cpp | 562 unsigned DataLayout::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in DataLayout 579 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment() 589 return std::max(Align, Layout->getAlignment()); in getAlignment() 617 return getAlignment(Ty, true); in getABITypeAlignment() 636 return getAlignment(Ty, false); in getPrefTypeAlignment() 708 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
|
D | Attributes.cpp | 139 unsigned Attribute::getAlignment() const { in getAlignment() function in Attribute 323 return cast<AlignAttributeEntry>(Entry)->getAlignment(); in getValueAsInt() 467 unsigned AttributeSetNode::getAlignment() const { in getAlignment() function in AttributeSetNode 471 return I->getAlignment(); in getAlignment() 513 Mask |= (Log2_32(ASN->getAlignment()) + 1) << 16; in Raw() 608 getWithAlignment(C, B.getAlignment()))); in get() 836 return ASN ? ASN->getAlignment() : 0; in getParamAlignment() 961 Alignment = Attr.getAlignment(); in addAttribute()
|
D | Globals.cpp | 52 setAlignment(Src->getAlignment()); in copyAttributesFrom() 63 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment()
|
/external/llvm/lib/Analysis/ |
D | Lint.cpp | 278 MCI->getAlignment(), 0, in visitCallSite() 281 MCI->getAlignment(), 0, in visitCallSite() 302 MMI->getAlignment(), 0, in visitCallSite() 305 MMI->getAlignment(), 0, in visitCallSite() 313 MSI->getAlignment(), 0, in visitCallSite() 429 BaseAlign = AI->getAlignment(); in visitMemoryReference() 439 BaseAlign = GV->getAlignment(); in visitMemoryReference() 463 AA->getTypeStoreSize(I.getType()), I.getAlignment(), in visitLoadInst() 470 I.getAlignment(), in visitStoreInst()
|
D | Loads.cpp | 70 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally() 76 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
|
D | CostModel.cpp | 140 SI->getAlignment(), in getInstructionCost() 146 LI->getAlignment(), in getInstructionCost()
|
/external/llvm/lib/Transforms/Scalar/ |
D | MemCpyOptimizer.cpp | 215 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore() 220 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet() 512 unsigned storeAlign = SI->getAlignment(); in processStore() 515 unsigned loadAlign = LI->getAlignment(); in processStore() 638 unsigned srcAlign = srcAlloca->getAlignment(); in performCallSlotOptzn() 786 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence() 827 M->getAlignment(), false); in processMemCpy() 841 CopySize->getZExtValue(), M->getAlignment(), in processMemCpy() 926 if (MDep->getAlignment() < ByValAlign && in processByValArgument()
|
D | SROA.cpp | 1452 MaxAlign = std::max(MaxAlign, LI->getAlignment()); in isSafePHIToSpeculate() 1505 unsigned Align = SomeLoad->getAlignment(); in visitPHINode() 1582 LI->getAlignment(), &TD)) in isSafeSelectToSpeculate() 1585 LI->getAlignment(), &TD)) in isSafeSelectToSpeculate() 1633 TL->setAlignment(LI->getAlignment()); in visitSelectInst() 1634 FL->setAlignment(LI->getAlignment()); in visitSelectInst() 2413 unsigned NewAIAlign = NewAI.getAlignment(); in getOffsetAlign() 2463 Value *V = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), in rewriteVectorizedLoadInst() 2471 Value *V = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), in rewriteIntegerLoad() 2500 V = IRB.CreateAlignedLoad(&NewAI, NewAI.getAlignment(), in visitLoadInst() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86InstrFragmentsSIMD.td | 265 return cast<StoreSDNode>(N)->getAlignment() >= 16; 271 return cast<StoreSDNode>(N)->getAlignment() >= 32; 276 return cast<LoadSDNode>(N)->getAlignment() >= 16; 281 return cast<MemSDNode>(N)->getAlignment() >= 16; 286 return cast<LoadSDNode>(N)->getAlignment() >= 32; 320 || cast<LoadSDNode>(N)->getAlignment() >= 16; 342 return cast<LoadSDNode>(N)->getAlignment() >= 8; 361 ST->getAlignment() >= 16; 369 ST->getAlignment() < 16;
|
/external/clang/lib/Sema/ |
D | SemaAttr.cpp | 53 unsigned getAlignment() { return Alignment; } in getAlignment() function in __anoncc8687780111::PragmaPackStack 122 if (unsigned Alignment = Stack->getAlignment()) { in AddAlignmentAttributesForRecord() 221 AlignmentVal = Context->getAlignment(); in ActOnPragmaPack()
|
/external/llvm/lib/Target/ARM/ |
D | ARMConstantPoolValue.cpp | 170 (Constants[i].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue() 223 (Constants[i].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue() 278 (Constants[i].getAlignment() & AlignMask) == 0) { in getExistingMachineCPValue()
|
/external/llvm/lib/MC/ |
D | MCPureStreamer.cpp | 173 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitValueToAlignment() 188 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitCodeAlignment()
|
/external/clang/lib/CodeGen/ |
D | CGValue.h | 243 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() function 431 return forAddr(LV.getAddress(), LV.getAlignment(), 475 CharUnits getAlignment() const { in getAlignment() function
|
D | CGAtomic.cpp | 68 if (lvalue.getAlignment().isZero()) in AtomicInfo() 72 (AtomicSizeInBits > uint64_t(C.toBits(lvalue.getAlignment())) || in AtomicInfo() 119 return LValue::MakeAddr(addr, getValueType(), lvalue.getAlignment(), in projectValue() 180 dest.getAlignment().getQuantity()); in emitMemSetZeroIfNecessary() 711 load->setAlignment(src.getAlignment().getQuantity()); in EmitAtomicLoad() 783 dest.getAlignment()); in emitCopyIntoMemory() 898 store->setAlignment(dest.getAlignment().getQuantity()); in EmitAtomicStore()
|
/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 134 unsigned getAlignment(Type *Ty, bool abi_or_pref) const; 403 unsigned getAlignment() const { in getAlignment() function
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 773 if (AI->getAlignment() >= PrefAlign) in enforceKnownAlignment() 774 return AI->getAlignment(); in enforceKnownAlignment() 788 if (GV->getAlignment() >= PrefAlign) in enforceKnownAlignment() 789 return GV->getAlignment(); in enforceKnownAlignment() 794 if (!GV->hasSection() || GV->getAlignment() == 0) in enforceKnownAlignment() 796 return GV->getAlignment(); in enforceKnownAlignment()
|
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
D | BitmapText.java | 233 public BitmapFont.Align getAlignment() { in getAlignment() method in BitmapText 234 return block.getAlignment(); in getAlignment()
|
/external/llvm/lib/Target/Mips/ |
D | MipsMachineFunction.cpp | 66 RC->getAlignment(), false); in createEhDataRegsFI()
|