Home
last modified time | relevance | path

Searched refs:DstAlign (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Target/BPF/
DBPFISelLowering.h80 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp34 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), TD); in SimplifyMemTransfer() local
36 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer()
109 DstAlign = std::max(DstAlign, CopyAlign); in SimplifyMemTransfer()
116 S->setAlignment(DstAlign); in SimplifyMemTransfer()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.h93 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
DSIISelLowering.cpp477 EVT SITargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign, in getOptimalMemOpType() argument
487 if (Size >= 16 && DstAlign >= 4) // XXX: Should only do for global in getOptimalMemOpType()
490 if (Size >= 8 && DstAlign >= 4) in getOptimalMemOpType()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.h363 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
DPPCISelLowering.cpp5784 unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp82 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), DL, MI, AC, DT); in SimplifyMemTransfer() local
84 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer()
157 DstAlign = std::max(DstAlign, CopyAlign); in SimplifyMemTransfer()
166 S->setAlignment(DstAlign); in SimplifyMemTransfer()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h556 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
DMipsISelLowering.cpp3690 EVT MipsTargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign, in getOptimalMemOpType() argument
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h314 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
DAArch64ISelLowering.cpp7238 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, in memOpAlign() argument
7241 (DstAlign == 0 || DstAlign % AlignCheck == 0)); in memOpAlign()
7244 EVT AArch64TargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign, in getOptimalMemOpType() argument
7256 (memOpAlign(SrcAlign, DstAlign, 16) || in getOptimalMemOpType()
7261 (memOpAlign(SrcAlign, DstAlign, 8) || in getOptimalMemOpType()
7266 (memOpAlign(SrcAlign, DstAlign, 4) || in getOptimalMemOpType()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86ISelLowering.h546 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
DX86ISelLowering.cpp1242 unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
1254 ((DstAlign == 0 || DstAlign >= 16) && in getOptimalMemOpType()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h277 unsigned DstAlign, unsigned SrcAlign,
DARMISelLowering.cpp11136 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, in memOpAlign() argument
11139 (DstAlign == 0 || DstAlign % AlignCheck == 0)); in memOpAlign()
11143 unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
11154 (memOpAlign(SrcAlign, DstAlign, 16) || in getOptimalMemOpType()
11158 (memOpAlign(SrcAlign, DstAlign, 8) || in getOptimalMemOpType()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h689 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
DPPCISelLowering.cpp11890 unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
11899 (!SrcAlign || SrcAlign >= 32) && (!DstAlign || DstAlign >= 32) && in getOptimalMemOpType()
11907 (((!SrcAlign || SrcAlign >= 16) && (!DstAlign || DstAlign >= 16)) || in getOptimalMemOpType()
/external/llvm/lib/Target/X86/
DX86ISelLowering.h699 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4185 unsigned DstAlign, unsigned SrcAlign, in FindOptimalMemOpLowering() argument
4193 assert((SrcAlign == 0 || SrcAlign >= DstAlign) && in FindOptimalMemOpLowering()
4202 EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign, in FindOptimalMemOpLowering()
4207 if (DstAlign >= DAG.getDataLayout().getPointerPrefAlignment(DstAS) || in FindOptimalMemOpLowering()
4208 TLI.allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign)) { in FindOptimalMemOpLowering()
4211 switch (DstAlign & 7) { in FindOptimalMemOpLowering()
4267 TLI.allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign, &Fast) && Fast) in FindOptimalMemOpLowering()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2832 unsigned DstAlign = SliceAlign; in visitMemTransferInst() local
2835 std::swap(SrcAlign, DstAlign); in visitMemTransferInst()
2866 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile())); in visitMemTransferInst()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp3347 unsigned DstAlign, unsigned SrcAlign, in FindOptimalMemOpLowering() argument
3352 assert((SrcAlign == 0 || SrcAlign >= DstAlign) && in FindOptimalMemOpLowering()
3361 EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign, in FindOptimalMemOpLowering()
3366 if (DstAlign >= TLI.getTargetData()->getPointerPrefAlignment() || in FindOptimalMemOpLowering()
3370 switch (DstAlign & 7) { in FindOptimalMemOpLowering()