/external/llvm/lib/IR/ |
D | DataLayout.cpp | 108 retval.PrefAlign = pref_align; in get() 117 && PrefAlign == rhs.PrefAlign in operator ==() 130 unsigned PrefAlign, uint32_t TypeByteWidth) { in get() argument 131 assert(ABIAlign <= PrefAlign && "Preferred alignment worse than ABI!"); in get() 135 retval.PrefAlign = PrefAlign; in get() 144 && PrefAlign == rhs.PrefAlign in operator ==() 188 setAlignment((AlignTypeEnum)E.AlignType, E.ABIAlign, E.PrefAlign, in reset() 321 unsigned PrefAlign = ABIAlign; in parseSpecifier() local 324 PrefAlign = inBytes(getInt(Tok)); in parseSpecifier() 327 setAlignment(AlignType, ABIAlign, PrefAlign, Size); in parseSpecifier() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetData.cpp | 107 retval.PrefAlign = pref_align; in get() 116 && PrefAlign == rhs.PrefAlign in operator ==() 206 unsigned PrefAlign = getInt(Split.first) / 8; in init() local 207 if (PrefAlign == 0) in init() 208 PrefAlign = ABIAlign; in init() 209 setAlignment(AlignType, ABIAlign, PrefAlign, Size); in init() 257 Alignments[i].PrefAlign = pref_align; in setAlignment() 277 return ABIInfo ? Alignments[i].ABIAlign : Alignments[i].PrefAlign; in getAlignmentInfo() 318 : Alignments[BestMatchIdx].PrefAlign; in getAlignmentInfo() 387 << AI.ABIAlign*8 << ':' << AI.PrefAlign*8; in getStringRepresentation()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | Local.cpp | 724 unsigned PrefAlign, const TargetData *TD) { in enforceKnownAlignment() argument 730 if (TD && TD->exceedsNaturalStackAlignment(PrefAlign)) in enforceKnownAlignment() 733 if (AI->getAlignment() >= PrefAlign) in enforceKnownAlignment() 735 AI->setAlignment(PrefAlign); in enforceKnownAlignment() 736 return PrefAlign; in enforceKnownAlignment() 744 if (GV->getAlignment() >= PrefAlign) in enforceKnownAlignment() 751 GV->setAlignment(PrefAlign); in enforceKnownAlignment() 762 unsigned llvm::getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign, in getOrEnforceKnownAlignment() argument 781 if (PrefAlign > Align) in getOrEnforceKnownAlignment() 782 Align = enforceKnownAlignment(V, Align, PrefAlign, TD); in getOrEnforceKnownAlignment()
|
/external/llvm/include/llvm/IR/ |
D | DataLayout.h | 70 unsigned PrefAlign : 16; member 85 unsigned PrefAlign; member 91 unsigned PrefAlign, uint32_t TypeByteWidth); 152 unsigned PrefAlign, uint32_t TypeByteWidth);
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 959 unsigned PrefAlign, in enforceKnownAlignment() argument 961 assert(PrefAlign > Align); in enforceKnownAlignment() 973 if (PrefAlign <= Align) in enforceKnownAlignment() 978 if (DL.exceedsNaturalStackAlignment(PrefAlign)) in enforceKnownAlignment() 980 AI->setAlignment(PrefAlign); in enforceKnownAlignment() 981 return PrefAlign; in enforceKnownAlignment() 987 if (PrefAlign <= Align) in enforceKnownAlignment() 997 GO->setAlignment(PrefAlign); in enforceKnownAlignment() 998 return PrefAlign; in enforceKnownAlignment() 1008 unsigned llvm::getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign, in getOrEnforceKnownAlignment() argument [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | Local.h | 155 unsigned getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign,
|
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
D | TargetData.h | 58 unsigned PrefAlign; //< Pref. alignment for this type/bitw member
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 168 unsigned getOrEnforceKnownAlignment(Value *V, unsigned PrefAlign,
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1757 unsigned MinSize, PrefAlign; in optimizeCallInst() local 1758 if (TLI && TLI->shouldAlignPointerArgs(CI, MinSize, PrefAlign)) { in optimizeCallInst() 1771 if ((Offset2 & (PrefAlign-1)) != 0) in optimizeCallInst() 1774 if ((AI = dyn_cast<AllocaInst>(Val)) && AI->getAlignment() < PrefAlign && in optimizeCallInst() 1776 AI->setAlignment(PrefAlign); in optimizeCallInst() 1783 GV->getAlignment() < PrefAlign && in optimizeCallInst() 1786 GV->setAlignment(PrefAlign); in optimizeCallInst()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 397 unsigned &PrefAlign) const override;
|
D | ARMISelLowering.cpp | 1277 unsigned &PrefAlign) const { in shouldAlignPointerArgs() 1283 PrefAlign = (Subtarget->hasV6Ops() && !Subtarget->isMClass() ? 8 : 4); in shouldAlignPointerArgs()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 1945 unsigned PrefAlign = in LowerSTOREVector() local 1947 if (Align < PrefAlign) { in LowerSTOREVector() 4319 unsigned PrefAlign = in ReplaceLoadVector() local 4321 if (Align < PrefAlign) { in ReplaceLoadVector()
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 1039 auto PrefAlign = CGF.CGM.getDataLayout().getPrefTypeAlignment(Ty); in CreateTempAllocaForCoercion() local 1040 CharUnits Align = std::max(MinAlign, CharUnits::fromQuantity(PrefAlign)); in CreateTempAllocaForCoercion()
|