Home
last modified time | relevance | path

Searched refs:NewAlign (Results 1 – 25 of 25) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp275 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/
DLoadStoreVectorizer.cpp997 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()
DLoopVectorize.cpp853 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/
DGlobalOpt.cpp470 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/
DGlobalOpt.cpp499 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/
DGlobalOpt.cpp532 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/
DSelectionDAG.cpp4335 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 …]
DDAGCombiner.cpp6891 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 …]
DTargetLowering.cpp1555 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC() local
1558 false, false, false, NewAlign); in SimplifySetCC()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3454 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 …]
DDAGCombiner.cpp4698 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 …]
DTargetLowering.cpp2060 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/
DSelectionDAG.cpp5332 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 …]
DDAGCombiner.cpp9163 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 …]
DTargetLowering.cpp2150 unsigned NewAlign = MinAlign(Lod->getAlignment(), bestOffset); in SimplifySetCC() local
2153 Lod->getPointerInfo().getWithOffset(bestOffset), NewAlign); in SimplifySetCC()
/external/llvm/lib/IR/
DAttributes.cpp903 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/
DAttributes.cpp1066 unsigned NewAlign = B.getAlignment(); in addAttributes() local
1067 assert((!OldAlign || !NewAlign || OldAlign == NewAlign) && in addAttributes()
/external/clang/lib/Sema/
DSemaDecl.cpp2167 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/
DLoopVectorize.cpp745 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/
DARMISelLowering.cpp2872 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32() local
2879 NewAlign); in expandf64Toi32()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp3993 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32() local
4000 Ld->isInvariant(), NewAlign); in expandf64Toi32()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.cpp6255 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/
DARMISelLowering.cpp4603 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4); in expandf64Toi32() local
4607 Ld->getPointerInfo().getWithOffset(4), NewAlign, in expandf64Toi32()
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp26232 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/
DX86ISelLowering.cpp31376 unsigned NewAlign = DAG.getDataLayout().getABITypeAlignment( in XFormVExtractWithShuffleIntoLoad() local
31379 if (NewAlign > Align || !TLI.isOperationLegalOrCustom(ISD::LOAD, EltVT)) in XFormVExtractWithShuffleIntoLoad()