Searched refs:DstAlign (Results 1 - 16 of 16) sorted by relevance

/external/llvm/lib/Target/BPF/
H A DBPFISelLowering.h77 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
/external/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.h77 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
H A DSIISelLowering.cpp476 EVT SITargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign, argument
486 if (Size >= 16 && DstAlign >= 4) // XXX: Should only do for global
489 if (Size >= 8 && DstAlign >= 4)
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp64 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), DL, MI, AC, DT); local
66 unsigned MinAlign = std::min(DstAlign, SrcAlign);
139 DstAlign = std::max(DstAlign, CopyAlign);
148 S->setAlignment(DstAlign);
/external/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h310 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
H A DAArch64ISelLowering.cpp7149 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, argument
7152 (DstAlign == 0 || DstAlign % AlignCheck == 0));
7155 EVT AArch64TargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign, argument
7167 (memOpAlign(SrcAlign, DstAlign, 16) ||
7172 (memOpAlign(SrcAlign, DstAlign, 8) ||
7177 (memOpAlign(SrcAlign, DstAlign, 4) ||
/external/llvm/lib/Target/ARM/
H A DARMISelLowering.h274 unsigned DstAlign, unsigned SrcAlign,
H A DARMISelLowering.cpp10670 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, argument
10673 (DstAlign == 0 || DstAlign % AlignCheck == 0));
10677 unsigned DstAlign, unsigned SrcAlign,
10688 (memOpAlign(SrcAlign, DstAlign, 16) ||
10692 (memOpAlign(SrcAlign, DstAlign, 8) ||
10676 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, bool ZeroMemset, bool MemcpyStrSrc, MachineFunction &MF) const argument
/external/llvm/lib/Target/Mips/
H A DMipsISelLowering.h551 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
H A DMipsISelLowering.cpp3612 EVT MipsTargetLowering::getOptimalMemOpType(uint64_t Size, unsigned DstAlign, argument
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h612 /// lowering. If DstAlign is zero that means it's safe to destination
622 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
H A DPPCISelLowering.cpp11391 /// lowering. If DstAlign is zero that means it's safe to destination
11401 unsigned DstAlign, unsigned SrcAlign,
11410 (!SrcAlign || SrcAlign >= 32) && (!DstAlign || DstAlign >= 32) &&
11418 (((!SrcAlign || SrcAlign >= 16) && (!DstAlign || DstAlign >= 16)) ||
11400 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, bool ZeroMemset, bool MemcpyStrSrc, MachineFunction &MF) const argument
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.h655 /// lowering. If DstAlign is zero that means it's safe to destination
664 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
H A DX86ISelLowering.cpp1957 /// lowering. If DstAlign is zero that means it's safe to destination
1968 unsigned DstAlign, unsigned SrcAlign,
1977 ((DstAlign == 0 || DstAlign >= 16) &&
1967 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, bool ZeroMemset, bool MemcpyStrSrc, MachineFunction &MF) const argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp2848 unsigned DstAlign = SliceAlign;
2851 std::swap(SrcAlign, DstAlign);
2882 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile()));
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4158 unsigned DstAlign, unsigned SrcAlign,
4165 assert((SrcAlign == 0 || SrcAlign >= DstAlign) &&
4169 // it's the inferred alignment of the source. 'DstAlign', on the other hand,
4174 EVT VT = TLI.getOptimalMemOpType(Size, DstAlign, SrcAlign,
4180 if (DstAlign >= DAG.getDataLayout().getPointerPrefAlignment(AS) ||
4181 TLI.allowsMisalignedMemoryAccesses(VT, AS, DstAlign)) {
4184 switch (DstAlign & 7) {
4241 TLI.allowsMisalignedMemoryAccesses(VT, AS, DstAlign, &Fast) && Fast)
4156 FindOptimalMemOpLowering(std::vector<EVT> &MemOps, unsigned Limit, uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, bool ZeroMemset, bool MemcpyStrSrc, bool AllowOverlap, SelectionDAG &DAG, const TargetLowering &TLI) argument

Completed in 1112 milliseconds