Home
last modified time | relevance | path

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

1234

/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp19 Align SrcAlign, Align DstAlign, in createMemCpyLoopKnownSize() argument
37 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopKnownSize()
63 Align PartSrcAlign(commonAlignment(SrcAlign, LoopOpSize)); in createMemCpyLoopKnownSize()
95 SrcAS, DstAS, SrcAlign.value(), in createMemCpyLoopKnownSize()
99 Align PartSrcAlign(commonAlignment(SrcAlign, BytesCopied)); in createMemCpyLoopKnownSize()
135 Value *CopyLen, Align SrcAlign, in createMemCpyLoopUnknownSize() argument
150 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopUnknownSize()
179 Align PartSrcAlign(commonAlignment(SrcAlign, LoopOpSize)); in createMemCpyLoopUnknownSize()
292 Value *DstAddr, Value *CopyLen, Align SrcAlign, in createMemMoveLoop() argument
327 Align PartSrcAlign(commonAlignment(SrcAlign, PartSize)); in createMemMoveLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLowerMemIntrinsics.h31 unsigned SrcAlign, unsigned DestAlign,
39 unsigned SrcAlign, unsigned DestAlign,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DLowerMemIntrinsics.h32 Align SrcAlign, Align DestAlign,
40 Align SrcAlign, Align DestAlign,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp156 unsigned SrcAlign, Value *Size, in CreateMemCpy() argument
160 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign), in CreateMemCpy()
166 Value *Src, MaybeAlign SrcAlign, in CreateMemCpy() argument
183 if (SrcAlign) in CreateMemCpy()
184 MCI->setSourceAlignment(*SrcAlign); in CreateMemCpy()
204 Value *Dst, unsigned DstAlign, Value *Src, unsigned SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument
209 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
225 AMCI->setSourceAlignment(SrcAlign); in CreateElementUnorderedAtomicMemCpy()
245 Value *Src, MaybeAlign SrcAlign, in CreateMemMove() argument
262 if (SrcAlign) in CreateMemMove()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp27 unsigned SrcAlign, unsigned DestAlign, in createMemCpyLoopKnownSize() argument
41 TTI.getMemcpyLoopLoweringType(Ctx, CopyLen, SrcAlign, DestAlign); in createMemCpyLoopKnownSize()
97 SrcAlign = std::min(SrcAlign, LoopOpSize); in createMemCpyLoopKnownSize()
102 SrcAlign, DestAlign); in createMemCpyLoopKnownSize()
137 Value *CopyLen, unsigned SrcAlign, in createMemCpyLoopUnknownSize() argument
149 TTI.getMemcpyLoopLoweringType(Ctx, CopyLen, SrcAlign, DestAlign); in createMemCpyLoopUnknownSize()
289 unsigned SrcAlign, unsigned DestAlign, in createMemMoveLoop() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp859 unsigned SrcAlign, bool IsMemset, bool ZeroMemset, bool MemcpyStrSrc, in findGISelOptimalMemOpLowering() argument
869 if (SrcAlign != 0 && SrcAlign < DstAlign) in findGISelOptimalMemOpLowering()
872 LLT Ty = TLI.getOptimalMemOpLLT(Size, DstAlign, SrcAlign, IsMemset, in findGISelOptimalMemOpLowering()
1078 unsigned DstAlign, unsigned SrcAlign, in optimizeMemcpy() argument
1090 unsigned Alignment = MinAlign(DstAlign, SrcAlign); in optimizeMemcpy()
1110 SrcAlign, in optimizeMemcpy()
1186 unsigned DstAlign, unsigned SrcAlign, in optimizeMemmove() argument
1198 unsigned Alignment = MinAlign(DstAlign, SrcAlign); in optimizeMemmove()
1217 SrcAlign, in optimizeMemmove()
1308 unsigned SrcAlign = 0; in tryCombineMemCpyFamily() local
[all …]
/external/llvm-project/llvm/lib/IR/
DIRBuilder.cpp152 MaybeAlign SrcAlign, Value *Size, bool isVolatile, MDNode *TBAATag, in CreateMemTransferInst() argument
167 if (SrcAlign) in CreateMemTransferInst()
168 MCI->setSourceAlignment(*SrcAlign); in CreateMemTransferInst()
188 Value *Src, MaybeAlign SrcAlign, in CreateMemCpyInline() argument
205 if (SrcAlign) in CreateMemCpyInline()
206 MCI->setSourceAlignment(*SrcAlign); in CreateMemCpyInline()
212 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument
217 assert(SrcAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy()
233 AMCI->setSourceAlignment(SrcAlign); in CreateElementUnorderedAtomicMemCpy()
253 Value *Src, MaybeAlign SrcAlign, in CreateMemMove() argument
[all …]
/external/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,
/external/llvm-project/llvm/include/llvm/IR/
DIRBuilder.h574 MaybeAlign SrcAlign, uint64_t Size,
579 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
586 MaybeAlign SrcAlign, Value *Size, bool isVolatile = false,
591 MaybeAlign SrcAlign, Value *Size,
597 SrcAlign, Size, isVolatile, TBAATag,
602 MaybeAlign SrcAlign, Value *Size);
613 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size,
620 unsigned SrcAlign, uint64_t Size,
627 Dst, Align(DstAlign), Src, Align(SrcAlign), getInt64(Size), ElementSize,
633 unsigned SrcAlign, Value *Size,
[all …]
/external/llvm/lib/Target/BPF/
DBPFISelLowering.h80 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.h189 unsigned SrcAlign, unsigned DestAlign) const;
196 unsigned SrcAlign,
DAMDGPUTargetTransformInfo.cpp362 unsigned SrcAlign, in getMemcpyLoopLoweringType() argument
364 unsigned MinAlign = std::min(SrcAlign, DestAlign); in getMemcpyLoopLoweringType()
390 unsigned SrcAlign, unsigned DestAlign) const { in getMemcpyLoopResidualLoweringType() argument
393 unsigned MinAlign = std::min(SrcAlign, DestAlign); in getMemcpyLoopResidualLoweringType()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DTargetTransformInfo.h1057 unsigned SrcAlign, unsigned DestAlign) const;
1068 unsigned SrcAlign,
1367 unsigned SrcAlign,
1371 unsigned RemainingBytes, unsigned SrcAlign, unsigned DestAlign) const = 0;
1811 unsigned SrcAlign, in getMemcpyLoopLoweringType() argument
1813 return Impl.getMemcpyLoopLoweringType(Context, Length, SrcAlign, DestAlign); in getMemcpyLoopLoweringType()
1818 unsigned SrcAlign, in getMemcpyLoopResidualLoweringType() argument
1821 SrcAlign, DestAlign); in getMemcpyLoopResidualLoweringType()
DTargetTransformInfoImpl.h537 unsigned SrcAlign, unsigned DestAlign) const { in getMemcpyLoopLoweringType() argument
544 unsigned SrcAlign, in getMemcpyLoopResidualLoweringType() argument
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h524 unsigned SrcAlign, uint64_t Size,
530 return CreateMemCpy(Dst, MaybeAlign(DstAlign), Src, MaybeAlign(SrcAlign),
536 MaybeAlign SrcAlign, uint64_t Size,
541 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size),
550 unsigned SrcAlign, Value *Size,
557 MaybeAlign SrcAlign, Value *Size,
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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.h102 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DCombinerHelper.h475 unsigned KnownLen, Align DstAlign, Align SrcAlign,
478 unsigned KnownLen, Align DstAlign, Align SrcAlign,
/external/llvm-project/llvm/include/llvm/Analysis/
DTargetTransformInfo.h1222 unsigned SrcAlign, unsigned DestAlign) const;
1233 unsigned SrcAlign, unsigned DestAlign) const;
1589 unsigned SrcAlign,
1594 unsigned SrcAlign, unsigned DestAlign) const = 0;
2074 unsigned SrcAlign, in getMemcpyLoopLoweringType() argument
2077 DestAddrSpace, SrcAlign, DestAlign); in getMemcpyLoopLoweringType()
2082 unsigned SrcAlign, unsigned DestAlign) const override { in getMemcpyLoopResidualLoweringType() argument
2085 SrcAlign, DestAlign); in getMemcpyLoopResidualLoweringType()
DTargetTransformInfoImpl.h600 unsigned SrcAlign, unsigned DestAlign) const { in getMemcpyLoopLoweringType() argument
607 unsigned SrcAlign, unsigned DestAlign) const { in getMemcpyLoopResidualLoweringType() argument
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1175 Align DstAlign, Align SrcAlign, in optimizeMemcpy() argument
1187 Align Alignment = commonAlignment(DstAlign, SrcAlign); in optimizeMemcpy()
1207 MemOp::Copy(KnownLen, DstAlignCanChange, Alignment, SrcAlign, in optimizeMemcpy()
1281 Align DstAlign, Align SrcAlign, in optimizeMemmove() argument
1293 Align Alignment = commonAlignment(DstAlign, SrcAlign); in optimizeMemmove()
1312 MemOp::Copy(KnownLen, DstAlignCanChange, Alignment, SrcAlign, in optimizeMemmove()
1399 Align SrcAlign; in tryCombineMemCpyFamily() local
1407 SrcAlign = MemOp->getBaseAlign(); in tryCombineMemCpyFamily()
1425 return optimizeMemcpy(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, IsVolatile); in tryCombineMemCpyFamily()
1427 return optimizeMemmove(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, IsVolatile); in tryCombineMemCpyFamily()
/external/llvm/lib/Target/AMDGPU/
DSIISelLowering.h94 unsigned SrcAlign, bool IsMemset,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp770 unsigned SrcAlign, in getMemcpyLoopLoweringType() argument
772 return TTIImpl->getMemcpyLoopLoweringType(Context, Length, SrcAlign, in getMemcpyLoopLoweringType()
778 unsigned RemainingBytes, unsigned SrcAlign, unsigned DestAlign) const { in getMemcpyLoopResidualLoweringType() argument
780 SrcAlign, DestAlign); in getMemcpyLoopResidualLoweringType()
/external/llvm-project/llvm/lib/Analysis/
DTargetTransformInfo.cpp958 unsigned DestAddrSpace, unsigned SrcAlign, unsigned DestAlign) const { in getMemcpyLoopLoweringType() argument
960 DestAddrSpace, SrcAlign, DestAlign); in getMemcpyLoopLoweringType()
966 unsigned SrcAlign, unsigned DestAlign) const { in getMemcpyLoopResidualLoweringType() argument
969 SrcAlign, DestAlign); in getMemcpyLoopResidualLoweringType()
/external/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,
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h123 Align SrcAlign; // Inferred alignment of the source or default value if the member
127 Align SrcAlign, bool IsVolatile,
137 Op.SrcAlign = SrcAlign;
173 return SrcAlign; in getSrcAlign()
176 return isMemset() || llvm::isAligned(AlignCheck, SrcAlign.value()); in isSrcAligned()

1234