/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 997 unsigned NewAlign = getOrEnforceKnownAlignment(S0->getPointerOperand(), in vectorizeStoreChain() local 1000 if (NewAlign < StackAdjustedAlignment) in vectorizeStoreChain() 1138 unsigned NewAlign = getOrEnforceKnownAlignment(L0->getPointerOperand(), in vectorizeLoadChain() local 1141 if (NewAlign < StackAdjustedAlignment) in vectorizeLoadChain() 1144 Alignment = NewAlign; in vectorizeLoadChain()
|
D | LoopVectorize.cpp | 853 bool insertMember(Instruction *Instr, int Index, unsigned NewAlign) { in insertMember() argument 854 assert(NewAlign && "The new member's alignment should be non-zero"); in insertMember() 877 Align = std::min(Align, NewAlign); in insertMember()
|
/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-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 499 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, FieldOffset); in SRAGlobal() local 500 if (NewAlign > DL.getABITypeAlignment(STy->getElementType(i))) in SRAGlobal() 501 NGV->setAlignment(NewAlign); in SRAGlobal() 534 unsigned NewAlign = (unsigned)MinAlign(StartAlignment, EltSize*i); in SRAGlobal() local 535 if (NewAlign > EltAlign) in SRAGlobal() 536 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAG.cpp | 5332 unsigned NewAlign = (unsigned)DL.getABITypeAlignment(Ty); in getMemcpyLoadsAndStores() local 5338 while (NewAlign > Align && in getMemcpyLoadsAndStores() 5339 DL.exceedsNaturalStackAlignment(NewAlign)) in getMemcpyLoadsAndStores() 5340 NewAlign /= 2; in getMemcpyLoadsAndStores() 5342 if (NewAlign > Align) { in getMemcpyLoadsAndStores() 5344 if (MFI.getObjectAlignment(FI->getIndex()) < NewAlign) in getMemcpyLoadsAndStores() 5345 MFI.setObjectAlignment(FI->getIndex(), NewAlign); in getMemcpyLoadsAndStores() 5346 Align = NewAlign; in getMemcpyLoadsAndStores() 5512 unsigned NewAlign = (unsigned)DL.getABITypeAlignment(Ty); in getMemmoveLoadsAndStores() local 5513 if (NewAlign > Align) { in getMemmoveLoadsAndStores() [all …]
|
D | DAGCombiner.cpp | 9163 unsigned NewAlign = MinAlign(LN0->getAlignment(), PtrOff); in ReduceLoadWidth() local 9177 LN0->getPointerInfo().getWithOffset(PtrOff), NewAlign, in ReduceLoadWidth() 9182 NewAlign, LN0->getMemOperand()->getFlags(), in ReduceLoadWidth() 9671 unsigned NewAlign = DAG.getDataLayout().getABITypeAlignment( in CombineConsecutiveLoads() local 9674 if (NewAlign <= Align && in CombineConsecutiveLoads() 13363 unsigned NewAlign = St->getAlignment(); in ShrinkLoadReplaceStoreWithStore() local 13375 NewAlign = MinAlign(NewAlign, StOffset); in ShrinkLoadReplaceStoreWithStore() 13384 St->getPointerInfo().getWithOffset(StOffset), NewAlign) in ShrinkLoadReplaceStoreWithStore() 13481 unsigned NewAlign = MinAlign(LD->getAlignment(), PtrOff); in ReduceLoadOpStoreWidth() local 13483 if (NewAlign < DAG.getDataLayout().getABITypeAlignment(NewVTTy)) in ReduceLoadOpStoreWidth() [all …]
|
D | TargetLowering.cpp | 2150 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC() local 2153 Lod->getPointerInfo().getWithOffset(bestOffset), 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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | Attributes.cpp | 1066 unsigned NewAlign = B.getAlignment(); in addAttributes() local 1067 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 4603 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32() local 4607 Ld->getPointerInfo().getWithOffset(4), NewAlign, in expandf64Toi32()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 26232 unsigned NewAlign = DAG.getDataLayout().getABITypeAlignment( in XFormVExtractWithShuffleIntoLoad() local 26235 if (NewAlign > Align || !TLI.isOperationLegalOrCustom(ISD::LOAD, EltVT)) in XFormVExtractWithShuffleIntoLoad()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 31376 unsigned NewAlign = DAG.getDataLayout().getABITypeAlignment( in XFormVExtractWithShuffleIntoLoad() local 31379 if (NewAlign > Align || !TLI.isOperationLegalOrCustom(ISD::LOAD, EltVT)) in XFormVExtractWithShuffleIntoLoad()
|