Home
last modified time | relevance | path

Searched refs:PrefAlign (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/IR/
DDataLayout.cpp103 retval.PrefAlign = pref_align; in get()
112 && PrefAlign == rhs.PrefAlign in operator ==()
125 unsigned PrefAlign, uint32_t TypeByteWidth) { in get() argument
126 assert(ABIAlign <= PrefAlign && "Preferred alignment worse than ABI!"); in get()
130 retval.PrefAlign = PrefAlign; in get()
139 && PrefAlign == rhs.PrefAlign in operator ==()
183 setAlignment((AlignTypeEnum)E.AlignType, E.ABIAlign, E.PrefAlign, in reset()
316 unsigned PrefAlign = ABIAlign; in parseSpecifier() local
319 PrefAlign = inBytes(getInt(Tok)); in parseSpecifier()
322 setAlignment(AlignType, ABIAlign, PrefAlign, Size); in parseSpecifier()
[all …]
/external/llvm/include/llvm/IR/
DDataLayout.h73 unsigned PrefAlign : 16; member
88 unsigned PrefAlign; member
94 unsigned PrefAlign, uint32_t TypeByteWidth);
155 unsigned PrefAlign, uint32_t TypeByteWidth);
/external/llvm/lib/Transforms/Utils/
DLocal.cpp902 unsigned PrefAlign, in enforceKnownAlignment() argument
909 if (DL.exceedsNaturalStackAlignment(PrefAlign)) in enforceKnownAlignment()
912 if (AI->getAlignment() >= PrefAlign) in enforceKnownAlignment()
914 AI->setAlignment(PrefAlign); in enforceKnownAlignment()
915 return PrefAlign; in enforceKnownAlignment()
929 if (GO->getAlignment() >= PrefAlign) in enforceKnownAlignment()
936 GO->setAlignment(PrefAlign); in enforceKnownAlignment()
947 unsigned llvm::getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign, in getOrEnforceKnownAlignment() argument
969 if (PrefAlign > Align) in getOrEnforceKnownAlignment()
970 Align = enforceKnownAlignment(V, Align, PrefAlign, DL); in getOrEnforceKnownAlignment()
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h172 unsigned getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign,
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1278 unsigned MinSize, PrefAlign; in OptimizeCallInst() local
1279 if (TLI && TD && TLI->shouldAlignPointerArgs(CI, MinSize, PrefAlign)) { in OptimizeCallInst()
1291 if ((Offset2 & (PrefAlign-1)) != 0) in OptimizeCallInst()
1295 AI->getAlignment() < PrefAlign && in OptimizeCallInst()
1297 AI->setAlignment(PrefAlign); in OptimizeCallInst()
1306 GV->getAlignment() < PrefAlign && in OptimizeCallInst()
1309 GV->setAlignment(PrefAlign); in OptimizeCallInst()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h367 unsigned &PrefAlign) const override;
DARMISelLowering.cpp1165 unsigned &PrefAlign) const { in shouldAlignPointerArgs()
1171 PrefAlign = (Subtarget->hasV6Ops() && !Subtarget->isMClass() ? 8 : 4); in shouldAlignPointerArgs()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1894 unsigned PrefAlign = in LowerSTOREVector() local
1896 if (Align < PrefAlign) { in LowerSTOREVector()
4251 unsigned PrefAlign = in ReplaceLoadVector() local
4253 if (Align < PrefAlign) { in ReplaceLoadVector()