/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Attributes.cpp | 275 Attributes NewAlign = Attrs & Attribute::Alignment; in addAttr() local 276 assert((!OldAlign || !NewAlign || OldAlign == NewAlign) && in addAttr()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 470 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, FieldOffset); in SRAGlobal() local 471 if (NewAlign > DL.getABITypeAlignment(STy->getElementType(i))) in SRAGlobal() 472 NGV->setAlignment(NewAlign); in SRAGlobal() 504 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i); in SRAGlobal() local 505 if (NewAlign > EltAlign) in SRAGlobal() 506 NGV->setAlignment(NewAlign); in SRAGlobal()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 532 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, FieldOffset); in SRAGlobal() local 533 if (NewAlign > TD.getABITypeAlignment(STy->getElementType(i))) in SRAGlobal() 534 NGV->setAlignment(NewAlign); in SRAGlobal() 565 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i); in SRAGlobal() local 566 if (NewAlign > EltAlign) in SRAGlobal() 567 NGV->setAlignment(NewAlign); in SRAGlobal()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 4335 unsigned NewAlign = (unsigned)DAG.getDataLayout().getABITypeAlignment(Ty); in getMemcpyLoadsAndStores() local 4341 while (NewAlign > Align && in getMemcpyLoadsAndStores() 4342 DAG.getDataLayout().exceedsNaturalStackAlignment(NewAlign)) in getMemcpyLoadsAndStores() 4343 NewAlign /= 2; in getMemcpyLoadsAndStores() 4345 if (NewAlign > Align) { in getMemcpyLoadsAndStores() 4347 if (MFI->getObjectAlignment(FI->getIndex()) < NewAlign) in getMemcpyLoadsAndStores() 4348 MFI->setObjectAlignment(FI->getIndex(), NewAlign); in getMemcpyLoadsAndStores() 4349 Align = NewAlign; in getMemcpyLoadsAndStores() 4447 unsigned NewAlign = (unsigned)DAG.getDataLayout().getABITypeAlignment(Ty); in getMemmoveLoadsAndStores() local 4448 if (NewAlign > Align) { in getMemmoveLoadsAndStores() [all …]
|
D | DAGCombiner.cpp | 6891 unsigned NewAlign = MinAlign(LN0->getAlignment(), PtrOff); in ReduceLoadWidth() local 6907 LN0->isInvariant(), NewAlign, LN0->getAAInfo()); in ReduceLoadWidth() 6912 LN0->isInvariant(), NewAlign, LN0->getAAInfo()); in ReduceLoadWidth() 7325 unsigned NewAlign = DAG.getDataLayout().getABITypeAlignment( in CombineConsecutiveLoads() local 7328 if (NewAlign <= Align && in CombineConsecutiveLoads() 10826 unsigned NewAlign = St->getAlignment(); in ShrinkLoadReplaceStoreWithStore() local 10838 NewAlign = MinAlign(NewAlign, StOffset); in ShrinkLoadReplaceStoreWithStore() 10847 false, false, NewAlign).getNode(); in ShrinkLoadReplaceStoreWithStore() 10944 unsigned NewAlign = MinAlign(LD->getAlignment(), PtrOff); in ReduceLoadOpStoreWidth() local 10946 if (NewAlign < DAG.getDataLayout().getABITypeAlignment(NewVTTy)) in ReduceLoadOpStoreWidth() [all …]
|
D | TargetLowering.cpp | 1555 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC() local 1558 false, false, false, NewAlign); in SimplifySetCC()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 3454 unsigned NewAlign = (unsigned) TLI.getTargetData()->getABITypeAlignment(Ty); in getMemcpyLoadsAndStores() local 3455 if (NewAlign > Align) { in getMemcpyLoadsAndStores() 3457 if (MFI->getObjectAlignment(FI->getIndex()) < NewAlign) in getMemcpyLoadsAndStores() 3458 MFI->setObjectAlignment(FI->getIndex(), NewAlign); in getMemcpyLoadsAndStores() 3459 Align = NewAlign; in getMemcpyLoadsAndStores() 3543 unsigned NewAlign = (unsigned) TLI.getTargetData()->getABITypeAlignment(Ty); in getMemmoveLoadsAndStores() local 3544 if (NewAlign > Align) { in getMemmoveLoadsAndStores() 3546 if (MFI->getObjectAlignment(FI->getIndex()) < NewAlign) in getMemmoveLoadsAndStores() 3547 MFI->setObjectAlignment(FI->getIndex(), NewAlign); in getMemmoveLoadsAndStores() 3548 Align = NewAlign; in getMemmoveLoadsAndStores() [all …]
|
D | DAGCombiner.cpp | 4698 unsigned NewAlign = MinAlign(LN0->getAlignment(), PtrOff); in ReduceLoadWidth() local 4708 LN0->isVolatile(), LN0->isNonTemporal(), NewAlign); in ReduceLoadWidth() 4713 NewAlign); in ReduceLoadWidth() 4930 unsigned NewAlign = TLI.getTargetData()-> in CombineConsecutiveLoads() local 4933 if (NewAlign <= Align && in CombineConsecutiveLoads() 6364 unsigned NewAlign = St->getAlignment(); in ShrinkLoadReplaceStoreWithStore() local 6375 NewAlign = MinAlign(NewAlign, StOffset); in ShrinkLoadReplaceStoreWithStore() 6384 false, false, NewAlign).getNode(); in ShrinkLoadReplaceStoreWithStore() 6477 unsigned NewAlign = MinAlign(LD->getAlignment(), PtrOff); in ReduceLoadOpStoreWidth() local 6479 if (NewAlign < TLI.getTargetData()->getABITypeAlignment(NewVTTy)) in ReduceLoadOpStoreWidth() [all …]
|
D | TargetLowering.cpp | 2060 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC() local 2063 false, false, NewAlign); in SimplifySetCC()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 903 unsigned NewAlign = Attrs.getParamAlignment(Index); in addAttributes() local 904 assert((!OldAlign || !NewAlign || OldAlign == NewAlign) && in addAttributes()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 2167 unsigned NewAlign = 0; in mergeAlignedAttrs() local 2176 if (Align > NewAlign) in mergeAlignedAttrs() 2177 NewAlign = Align; in mergeAlignedAttrs() 2180 if (OldAlignasAttr && NewAlignasAttr && OldAlign != NewAlign) { in mergeAlignedAttrs() 2188 if (OldAlign == 0 || NewAlign == 0) { in mergeAlignedAttrs() 2197 if (NewAlign == 0) in mergeAlignedAttrs() 2198 NewAlign = S.Context.getTypeAlign(Ty); in mergeAlignedAttrs() 2201 if (OldAlign != NewAlign) { in mergeAlignedAttrs() 2204 << (unsigned)S.Context.toCharUnitsFromBits(NewAlign).getQuantity(); in mergeAlignedAttrs() 2227 if (OldAlign > NewAlign) { in mergeAlignedAttrs()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 745 bool insertMember(Instruction *Instr, int Index, unsigned NewAlign) { in insertMember() argument 746 assert(NewAlign && "The new member's alignment should be non-zero"); in insertMember() 769 Align = std::min(Align, NewAlign); in insertMember()
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 2872 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32() local 2879 NewAlign); in expandf64Toi32()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 3993 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32() local 4000 Ld->isInvariant(), NewAlign); in expandf64Toi32()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 6255 unsigned NewAlign = in CanXFormVExtractWithShuffleIntoLoad() local 6259 if (NewAlign > Align || !TLI.isOperationLegalOrCustom(ISD::LOAD, VT)) in CanXFormVExtractWithShuffleIntoLoad()
|