/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-7.0/llvm/lib/IR/ |
D | DataLayout.cpp | 113 retval.PrefAlign = pref_align; in get() 122 && PrefAlign == rhs.PrefAlign in operator ==() 132 unsigned PrefAlign, uint32_t TypeByteWidth, in get() argument 134 assert(ABIAlign <= PrefAlign && "Preferred alignment worse than ABI!"); in get() 138 retval.PrefAlign = PrefAlign; in get() 148 && PrefAlign == rhs.PrefAlign in operator ==() 193 setAlignment((AlignTypeEnum)E.AlignType, E.ABIAlign, E.PrefAlign, in reset() 357 unsigned PrefAlign = ABIAlign; in parseSpecifier() local 360 PrefAlign = inBytes(getInt(Tok)); in parseSpecifier() 363 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | DataLayout.h | 76 unsigned PrefAlign : 16; member 92 unsigned PrefAlign; member 99 unsigned PrefAlign, uint32_t TypeByteWidth, 171 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-7.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1120 unsigned PrefAlign, in enforceKnownAlignment() argument 1122 assert(PrefAlign > Align); in enforceKnownAlignment() 1134 if (PrefAlign <= Align) in enforceKnownAlignment() 1139 if (DL.exceedsNaturalStackAlignment(PrefAlign)) in enforceKnownAlignment() 1141 AI->setAlignment(PrefAlign); in enforceKnownAlignment() 1142 return PrefAlign; in enforceKnownAlignment() 1148 if (PrefAlign <= Align) in enforceKnownAlignment() 1158 GO->setAlignment(PrefAlign); in enforceKnownAlignment() 1159 return PrefAlign; in enforceKnownAlignment() 1165 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 253 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1620 unsigned MinSize, PrefAlign; in optimizeCallInst() local 1621 if (TLI && TLI->shouldAlignPointerArgs(CI, MinSize, PrefAlign)) { in optimizeCallInst() 1634 if ((Offset2 & (PrefAlign-1)) != 0) in optimizeCallInst() 1637 if ((AI = dyn_cast<AllocaInst>(Val)) && AI->getAlignment() < PrefAlign && in optimizeCallInst() 1639 AI->setAlignment(PrefAlign); in optimizeCallInst() 1646 GV->getPointerAlignment(*DL) < PrefAlign && in optimizeCallInst() 1649 GV->setAlignment(PrefAlign); in optimizeCallInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 462 unsigned &PrefAlign) const override;
|
D | ARMISelLowering.cpp | 1420 unsigned &PrefAlign) const { in shouldAlignPointerArgs() 1426 PrefAlign = (Subtarget->hasV6Ops() && !Subtarget->isMClass() ? 8 : 4); in shouldAlignPointerArgs()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXISelLowering.cpp | 2164 unsigned PrefAlign = in LowerSTOREVector() local 2166 if (Align < PrefAlign) { in LowerSTOREVector() 4491 unsigned PrefAlign = in ReplaceLoadVector() local 4493 if (Align < PrefAlign) { in ReplaceLoadVector()
|
/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()
|