Home
last modified time | relevance | path

Searched refs:SrcAlign (Results 1 – 25 of 25) 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.cpp35 unsigned SrcAlign = getKnownAlignment(MI->getArgOperand(1), TD); in SimplifyMemTransfer() local
36 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer()
108 SrcAlign = std::max(SrcAlign, CopyAlign); in SimplifyMemTransfer()
114 L->setAlignment(SrcAlign); in SimplifyMemTransfer()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.h94 unsigned SrcAlign, bool IsMemset,
DSIISelLowering.cpp478 unsigned SrcAlign, bool IsMemset, in getOptimalMemOpType() argument
/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/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()
3438 unsigned SrcAlign = DAG.InferPtrAlignment(Src); in getMemcpyLoadsAndStores() local
3439 if (Align > SrcAlign) in getMemcpyLoadsAndStores()
3440 SrcAlign = Align; in getMemcpyLoadsAndStores()
3448 (isZeroStr ? 0 : SrcAlign), in getMemcpyLoadsAndStores()
3494 MinAlign(SrcAlign, SrcOff)); in getMemcpyLoadsAndStores()
3531 unsigned SrcAlign = DAG.InferPtrAlignment(Src); in getMemmoveLoadsAndStores() local
3532 if (Align > SrcAlign) in getMemmoveLoadsAndStores()
[all …]
DLegalizeDAG.cpp2030 unsigned SrcAlign = in EmitStackConvert() local
2033 SDValue FIPtr = DAG.CreateStackTemporary(SlotVT, SrcAlign); in EmitStackConvert()
2051 PtrInfo, SlotVT, false, false, SrcAlign); in EmitStackConvert()
2055 PtrInfo, false, false, SrcAlign); in EmitStackConvert()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp83 unsigned SrcAlign = getKnownAlignment(MI->getArgOperand(1), DL, MI, AC, DT); in SimplifyMemTransfer() local
84 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer()
156 SrcAlign = std::max(SrcAlign, CopyAlign); in SimplifyMemTransfer()
162 L->setAlignment(SrcAlign); in SimplifyMemTransfer()
/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()
4316 unsigned SrcAlign = DAG.InferPtrAlignment(Src); in getMemcpyLoadsAndStores() local
4317 if (Align > SrcAlign) in getMemcpyLoadsAndStores()
4318 SrcAlign = Align; in getMemcpyLoadsAndStores()
4326 (isZeroStr ? 0 : SrcAlign), in getMemcpyLoadsAndStores()
4395 false, MinAlign(SrcAlign, SrcOff)); in getMemcpyLoadsAndStores()
4432 unsigned SrcAlign = DAG.InferPtrAlignment(Src); in getMemmoveLoadsAndStores() local
4433 if (Align > SrcAlign) in getMemmoveLoadsAndStores()
[all …]
DLegalizeDAG.cpp1670 unsigned SrcAlign = DAG.getDataLayout().getPrefTypeAlignment( in EmitStackConvert() local
1672 SDValue FIPtr = DAG.CreateStackTemporary(SlotVT, SrcAlign); in EmitStackConvert()
1691 PtrInfo, SlotVT, false, false, SrcAlign); in EmitStackConvert()
1695 PtrInfo, false, false, SrcAlign); in EmitStackConvert()
/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
7240 return ((SrcAlign == 0 || SrcAlign % AlignCheck == 0) && in memOpAlign()
7245 unsigned SrcAlign, bool IsMemset, 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/llvm/lib/Target/Mips/
DMipsISelLowering.h557 unsigned SrcAlign,
DMipsISelLowering.cpp3691 unsigned SrcAlign, in getOptimalMemOpType() argument
/external/llvm/lib/Target/ARM/
DARMISelLowering.h277 unsigned DstAlign, unsigned SrcAlign,
DARMISelLowering.cpp11136 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, in memOpAlign() argument
11138 return ((SrcAlign == 0 || SrcAlign % 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/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
1255 (SrcAlign == 0 || SrcAlign >= 16))) && 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,
DX86ISelLowering.cpp1804 unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
1813 (SrcAlign == 0 || SrcAlign >= 16)))) { in getOptimalMemOpType()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp2830 unsigned SrcAlign = OtherAlign; in visitMemTransferInst() local
2835 std::swap(SrcAlign, DstAlign); in visitMemTransferInst()
2849 IRB.CreateAlignedLoad(SrcPtr, SrcAlign, II.isVolatile(), "copyload"); in visitMemTransferInst()
/external/clang/lib/Sema/
DSemaChecking.cpp9517 CharUnits SrcAlign = Context.getTypeAlignInChars(SrcPointee); in CheckCastAlign() local
9518 if (SrcAlign >= DestAlign) return; in CheckCastAlign()
9522 << static_cast<unsigned>(SrcAlign.getQuantity()) in CheckCastAlign()