Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DCombinerHelper.h188 unsigned KnownLen, unsigned DstAlign, unsigned SrcAlign,
191 unsigned KnownLen, unsigned DstAlign, unsigned SrcAlign,
194 unsigned KnownLen, unsigned DstAlign, bool IsVolatile);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp155 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, unsigned DstAlign, Value *Src, in CreateMemCpy() argument
160 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign), in CreateMemCpy()
165 CallInst *IRBuilderBase::CreateMemCpy(Value *Dst, MaybeAlign DstAlign, in CreateMemCpy() argument
181 if (DstAlign) in CreateMemCpy()
182 MCI->setDestAlignment(*DstAlign); in CreateMemCpy()
204 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument
207 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
224 AMCI->setDestAlignment(DstAlign); in CreateElementUnorderedAtomicMemCpy()
244 CallInst *IRBuilderBase::CreateMemMove(Value *Dst, MaybeAlign DstAlign, in CreateMemMove() argument
260 if (DstAlign) in CreateMemMove()
[all …]
DCore.cpp3450 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemCpy() argument
3453 return wrap(unwrap(B)->CreateMemCpy(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemCpy()
3459 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemMove() argument
3462 return wrap(unwrap(B)->CreateMemMove(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemMove()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp858 std::vector<LLT> &MemOps, unsigned Limit, uint64_t Size, unsigned DstAlign, in findGISelOptimalMemOpLowering() argument
869 if (SrcAlign != 0 && SrcAlign < DstAlign) in findGISelOptimalMemOpLowering()
872 LLT Ty = TLI.getOptimalMemOpLLT(Size, DstAlign, SrcAlign, IsMemset, in findGISelOptimalMemOpLowering()
880 while (DstAlign && DstAlign < Ty.getSizeInBytes() && in findGISelOptimalMemOpLowering()
881 !TLI.allowsMisalignedMemoryAccesses(Ty, DstAS, DstAlign)) in findGISelOptimalMemOpLowering()
908 VT, DstAS, DstAlign, MachineMemOperand::MONone, &Fast) && in findGISelOptimalMemOpLowering()
1078 unsigned DstAlign, unsigned SrcAlign, in optimizeMemcpy() argument
1090 unsigned Alignment = MinAlign(DstAlign, SrcAlign); in optimizeMemcpy()
1186 unsigned DstAlign, unsigned SrcAlign, in optimizeMemmove() argument
1198 unsigned Alignment = MinAlign(DstAlign, SrcAlign); in optimizeMemmove()
[all …]
DIRTranslator.cpp1136 unsigned DstAlign = 0, SrcAlign = 0; in translateMemFunc() local
1142 DstAlign = std::max<unsigned>(MCI->getDestAlignment(), 1); in translateMemFunc()
1145 DstAlign = std::max<unsigned>(MMI->getDestAlignment(), 1); in translateMemFunc()
1149 DstAlign = std::max<unsigned>(MSI->getDestAlignment(), 1); in translateMemFunc()
1161 MachineMemOperand::MOStore | VolFlag, 1, DstAlign)); in translateMemFunc()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h523 CallInst *CreateMemCpy(Value *Dst, unsigned DstAlign, Value *Src,
530 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign),
535 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
541 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
549 CallInst *CreateMemCpy(Value *Dst, unsigned DstAlign, Value *Src,
556 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src,
572 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign,
577 Dst, DstAlign, Src, SrcAlign, getInt64(Size), ElementSize, TBAATag,
582 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign, Value *Size,
597 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.h102 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h425 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
429 LLT getOptimalMemOpLLT(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
DAArch64ISelLowering.cpp9368 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, in memOpAlign() argument
9371 (DstAlign == 0 || DstAlign % AlignCheck == 0)); in memOpAlign()
9375 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, in getOptimalMemOpType() argument
9387 if (memOpAlign(SrcAlign, DstAlign, AlignCheck)) in getOptimalMemOpType()
9408 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, in getOptimalMemOpLLT() argument
9420 if (memOpAlign(SrcAlign, DstAlign, AlignCheck)) in getOptimalMemOpLLT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAG.h978 unsigned DstAlign, SDValue Src, unsigned SrcAlign,
984 unsigned DstAlign, SDValue Src, unsigned SrcAlign,
990 unsigned DstAlign, SDValue Value, SDValue Size,
DTargetLowering.h3093 unsigned DstAlign, unsigned SrcAlign,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp555 const unsigned DstAlign = MI->getDestAlignment(); in getMemcpyCost() local
565 MemOps, Limit, Size, DstAlign, SrcAlign, false /*IsMemset*/, in getMemcpyCost()
DARMISelLowering.h349 unsigned DstAlign, unsigned SrcAlign,
DARMISelLowering.cpp14840 static bool memOpAlign(unsigned DstAlign, unsigned SrcAlign, in memOpAlign() argument
14843 (DstAlign == 0 || DstAlign % AlignCheck == 0)); in memOpAlign()
14847 uint64_t Size, unsigned DstAlign, unsigned SrcAlign, bool IsMemset, in getOptimalMemOpType() argument
14855 (memOpAlign(SrcAlign, DstAlign, 16) || in getOptimalMemOpType()
14861 (memOpAlign(SrcAlign, DstAlign, 8) || in getOptimalMemOpType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h304 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
DHexagonISelLowering.cpp3236 unsigned DstAlign, unsigned SrcAlign, bool IsMemset, bool ZeroMemset, in getOptimalMemOpType() argument
3243 if (Size >= 8 && Aligned(DstAlign, 8) && (IsMemset || Aligned(SrcAlign, 8))) in getOptimalMemOpType()
3245 if (Size >= 4 && Aligned(DstAlign, 4) && (IsMemset || Aligned(SrcAlign, 4))) in getOptimalMemOpType()
3247 if (Size >= 2 && Aligned(DstAlign, 2) && (IsMemset || Aligned(SrcAlign, 2))) in getOptimalMemOpType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.h256 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.h672 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.cpp5850 unsigned DstAlign = std::max<unsigned>(MCI.getDestAlignment(), 1); in visitIntrinsicCall() local
5852 unsigned Align = MinAlign(DstAlign, SrcAlign); in visitIntrinsicCall()
5886 unsigned DstAlign = std::max<unsigned>(MMI.getDestAlignment(), 1); in visitIntrinsicCall() local
5888 unsigned Align = MinAlign(DstAlign, SrcAlign); in visitIntrinsicCall()
5906 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local
5911 SDValue MC = DAG.getAtomicMemcpy(getRoot(), sdl, Dst, DstAlign, Src, in visitIntrinsicCall()
5924 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local
5929 SDValue MC = DAG.getAtomicMemmove(getRoot(), sdl, Dst, DstAlign, Src, in visitIntrinsicCall()
5942 unsigned DstAlign = MI.getDestAlignment(); in visitIntrinsicCall() local
5946 SDValue MC = DAG.getAtomicMemset(getRoot(), sdl, Dst, DstAlign, Val, Length, in visitIntrinsicCall()
[all …]
DTargetLowering.cpp182 unsigned DstAlign, unsigned SrcAlign, in findOptimalMemOpLowering() argument
196 if (!(SrcAlign == 0 || SrcAlign >= DstAlign)) in findOptimalMemOpLowering()
199 EVT VT = getOptimalMemOpType(Size, DstAlign, SrcAlign, in findOptimalMemOpLowering()
208 while (DstAlign && DstAlign < VT.getSizeInBits() / 8 && in findOptimalMemOpLowering()
209 !allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign)) in findOptimalMemOpLowering()
261 allowsMisalignedMemoryAccesses(VT, DstAS, DstAlign, in findOptimalMemOpLowering()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h3772 LLVMValueRef Dst, unsigned DstAlign,
3781 LLVMValueRef Dst, unsigned DstAlign,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.h907 getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.h770 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp3026 MaybeAlign DstAlign = SliceAlign; in visitMemTransferInst() local
3029 std::swap(SrcAlign, DstAlign); in visitMemTransferInst()
3065 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile())); in visitMemTransferInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp117 unsigned DstAlign = getKnownAlignment(MI->getRawDest(), DL, MI, &AC, &DT); in SimplifyAnyMemTransfer() local
119 if (CopyDstAlign < DstAlign){ in SimplifyAnyMemTransfer()
120 MI->setDestAlignment(DstAlign); in SimplifyAnyMemTransfer()

12