Home
last modified time | relevance | path

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

12345

/external/llvm/lib/VMCore/
DInstruction.cpp194 LI->getAlignment() == cast<LoadInst>(I)->getAlignment(); in isIdenticalToWhenDefined()
197 SI->getAlignment() == cast<StoreInst>(I)->getAlignment(); in isIdenticalToWhenDefined()
233 LI->getAlignment() == cast<LoadInst>(I)->getAlignment(); in isSameOperationAs()
236 SI->getAlignment() == cast<StoreInst>(I)->getAlignment(); in isSameOperationAs()
DGlobals.cpp51 setAlignment(Src->getAlignment()); in copyAttributesFrom()
62 assert(getAlignment() == Align && "Alignment representation error!"); in setAlignment()
DAsmWriter.cpp1331 if (GV->getAlignment()) in printGlobal()
1332 Out << ", align " << GV->getAlignment(); in printGlobal()
1514 if (F->getAlignment()) in printFunction()
1515 Out << " align " << F->getAlignment(); in printFunction()
1828 if (AI->getAlignment()) { in printInstruction()
1829 Out << ", align " << AI->getAlignment(); in printInstruction()
1882 if (isa<LoadInst>(I) && cast<LoadInst>(I).getAlignment()) { in printInstruction()
1883 Out << ", align " << cast<LoadInst>(I).getAlignment(); in printInstruction()
1884 } else if (isa<StoreInst>(I) && cast<StoreInst>(I).getAlignment()) { in printInstruction()
1885 Out << ", align " << cast<StoreInst>(I).getAlignment(); in printInstruction()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp45 New->setAlignment(AI.getAlignment()); in visitAllocaInst()
81 if (AI.getAlignment() == 0) in visitAllocaInst()
135 NewLoad->setAlignment(LI.getAlignment()); in InstCombineLoadCast()
151 unsigned LoadAlign = LI.getAlignment(); in visitLoadInst()
222 unsigned Align = LI.getAlignment(); in visitLoadInst()
393 unsigned StoreAlign = SI.getAlignment(); in visitStoreInst()
556 OtherStore->getAlignment() != SI.getAlignment()) in SimplifyStoreAtEndOfBlock()
572 OtherStore->getAlignment() != SI.getAlignment()) in SimplifyStoreAtEndOfBlock()
607 SI.getAlignment()); in SimplifyStoreAtEndOfBlock()
/external/llvm/lib/Target/
DTargetData.cpp438 unsigned TargetData::getAlignment(Type *Ty, bool abi_or_pref) const { in getAlignment() function in TargetData
450 return getAlignment(cast<ArrayType>(Ty)->getElementType(), abi_or_pref); in getAlignment()
460 return std::max(Align, Layout->getAlignment()); in getAlignment()
489 return getAlignment(Ty, true); in getABITypeAlignment()
508 return getAlignment(Ty, false); in getPrefTypeAlignment()
567 unsigned GVAlignment = GV->getAlignment(); in getPreferredAlignment()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp308 LI->getAlignment() == cast<LoadInst>(I2)->getAlignment(); in isEquivalentOperation()
311 SI->getAlignment() == cast<StoreInst>(I2)->getAlignment(); in isEquivalentOperation()
759 F->setAlignment(std::max(F->getAlignment(), G->getAlignment())); in writeAlias()
784 unsigned MaxAlignment = std::max(G->getAlignment(), H->getAlignment()); in mergeTwoFunctions()
/external/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()
DLoads.cpp98 BaseAlign = AI->getAlignment(); in isSafeToLoadUnconditionally()
104 BaseAlign = GV->getAlignment(); in isSafeToLoadUnconditionally()
/external/clang/lib/Sema/
DSemaAttr.cpp53 unsigned getAlignment() { return Alignment; } in getAlignment() function in __anondecc86d50111::PragmaPackStack
122 if (unsigned Alignment = Stack->getAlignment()) { in AddAlignmentAttributesForRecord()
228 AlignmentVal = Context->getAlignment(); in ActOnPragmaPack()
/external/llvm/include/llvm/Target/
DTargetData.h97 unsigned getAlignment(Type *Ty, bool abi_or_pref) const;
317 unsigned getAlignment() const { in getAlignment() function
/external/llvm/lib/Transforms/Utils/
DLocal.cpp720 if (AI->getAlignment() >= PrefAlign) in enforceKnownAlignment()
721 return AI->getAlignment(); in enforceKnownAlignment()
731 if (GV->getAlignment() >= PrefAlign) in enforceKnownAlignment()
732 return GV->getAlignment(); in enforceKnownAlignment()
737 if (!GV->hasSection() || GV->getAlignment() == 0) in enforceKnownAlignment()
739 return GV->getAlignment(); in enforceKnownAlignment()
/external/llvm/lib/MC/
DWinCOFFStreamer.cpp155 if (SectionData.getAlignment() < ByteAlignment) in AddCommonSymbol()
342 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitValueToAlignment()
357 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitCodeAlignment()
DMCMachOStreamer.cpp313 if (ByteAlignment > SectData.getAlignment()) in EmitZerofill()
342 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitValueToAlignment()
357 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitCodeAlignment()
DMCELFStreamer.cpp249 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitValueToAlignment()
264 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitCodeAlignment()
370 if (ByteAlignment > SectData.getAlignment()) in Finish()
DMCPureStreamer.cpp167 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitValueToAlignment()
182 if (ByteAlignment > getCurrentSectionData()->getAlignment()) in EmitCodeAlignment()
DMachObjectWriter.cpp107 return OffsetToAlignment(EndAddr, NextSD.getAlignment()); in getPaddingSize()
218 assert(isPowerOf2_32(SD.getAlignment()) && "Invalid alignment!"); in WriteSection()
219 Write32(Log2_32(SD.getAlignment())); in WriteSection()
535 StartAddress = RoundUpToAlignment(StartAddress, SD->getAlignment()); in computeSectionAddresses()
/external/collada/src/dae/
DdaeMetaAttribute.cpp91 daeMetaAttribute::getAlignment() in getAlignment() function in daeMetaAttribute
93 return _type->getAlignment(); in getAlignment()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp306 if (processLoopStridedStore(StorePtr, StoreSize, SI->getAlignment(), in processLoopStore()
360 MSI->getAlignment(), MSI->getValue(), in processLoopMemSet()
621 std::min(SI->getAlignment(), LI->getAlignment())); in processLoopStoreOfLoopLoad()
DMemCpyOptimizer.cpp215 SI->getPointerOperand(), SI->getAlignment(), SI); in addStore()
220 addRange(OffsetFromFirst, Size, MSI->getDest(), MSI->getAlignment(), MSI); in addMemSet()
757 unsigned Align = std::min(MDep->getAlignment(), M->getAlignment()); in processMemCpyMemCpyDependence()
798 M->getAlignment(), false); in processMemCpy()
892 if (MDep->getAlignment() < ByValAlign && in processByValArgument()
/external/llvm/include/llvm/CodeGen/
DMachineConstantPool.h103 int getAlignment() const { in getAlignment() function
DMachineMemOperand.h131 uint64_t getAlignment() const;
/external/llvm/lib/Target/XCore/
DXCoreFrameLowering.cpp355 FrameIdx = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), in processFunctionBeforeCalleeSavedScan()
364 RC->getAlignment(), in processFunctionBeforeCalleeSavedScan()
371 RC->getAlignment(), in processFunctionBeforeCalleeSavedScan()
/external/llvm/lib/Target/X86/
DX86InstrFragmentsSIMD.td199 return cast<StoreSDNode>(N)->getAlignment() >= 16;
204 return cast<LoadSDNode>(N)->getAlignment() >= 16;
240 || cast<LoadSDNode>(N)->getAlignment() >= 16;
265 return cast<LoadSDNode>(N)->getAlignment() >= 8;
284 ST->getAlignment() >= 16;
292 ST->getAlignment() < 16;
/external/clang/include/clang/AST/
DRecordLayout.h110 CharUnits getAlignment() const { return Alignment; } in getAlignment() function
/external/collada/include/dae/
DdaeMetaAttribute.h191 virtual daeInt getAlignment();

12345