Home
last modified time | relevance | path

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

1234567

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DUniformListItem.java56 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()
DMixedItemSection.java173 if (item.getAlignment() > getAlignment()) { in add()
346 int alignMask = one.getAlignment() - 1; in writeTo0()
DUniformItemSection.java84 int alignment = getAlignment(); in writeTo0()
/external/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()
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()
DMergeFunctions.cpp308 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/
DInstCombineLoadStoreAlloca.cpp172 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/
DInstruction.cpp286 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()
DDataLayout.cpp562 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()
DAttributes.cpp139 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()
DGlobals.cpp52 setAlignment(Src->getAlignment()); in copyAttributesFrom()
63 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment()
/external/llvm/lib/Analysis/
DLint.cpp278 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()
DLoads.cpp70 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally()
76 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
DCostModel.cpp140 SI->getAlignment(), in getInstructionCost()
146 LI->getAlignment(), in getInstructionCost()
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp215 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()
DSROA.cpp1452 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/
DX86InstrFragmentsSIMD.td265 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/
DSemaAttr.cpp53 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/
DARMConstantPoolValue.cpp170 (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/
DMCPureStreamer.cpp173 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitValueToAlignment()
188 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitCodeAlignment()
/external/clang/lib/CodeGen/
DCGValue.h243 CharUnits getAlignment() const { return CharUnits::fromQuantity(Alignment); } in getAlignment() function
431 return forAddr(LV.getAddress(), LV.getAlignment(),
475 CharUnits getAlignment() const { in getAlignment() function
DCGAtomic.cpp68 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/
DDataLayout.h134 unsigned getAlignment(Type *Ty, bool abi_or_pref) const;
403 unsigned getAlignment() const { in getAlignment() function
/external/llvm/lib/Transforms/Utils/
DLocal.cpp773 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/
DBitmapText.java233 public BitmapFont.Align getAlignment() { in getAlignment() method in BitmapText
234 return block.getAlignment(); in getAlignment()
/external/llvm/lib/Target/Mips/
DMipsMachineFunction.cpp66 RC->getAlignment(), false); in createEhDataRegsFI()

1234567