Home
last modified time | relevance | path

Searched refs:DstAlignCanChange (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp973 bool DstAlignCanChange = false; in optimizeMemset() local
979 DstAlignCanChange = true; in optimizeMemset()
991 MemOps, Limit, KnownLen, (DstAlignCanChange ? 0 : Align), 0, in optimizeMemset()
998 if (DstAlignCanChange) { in optimizeMemset()
1087 bool DstAlignCanChange = false; in optimizeMemcpy() local
1094 DstAlignCanChange = true; in optimizeMemcpy()
1109 MemOps, Limit, KnownLen, (DstAlignCanChange ? 0 : Alignment), in optimizeMemcpy()
1117 if (DstAlignCanChange) { in optimizeMemcpy()
1195 bool DstAlignCanChange = false; in optimizeMemmove() local
1202 DstAlignCanChange = true; in optimizeMemmove()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h112 bool DstAlignCanChange; // true if destination alignment can satisfy any member
126 static MemOp Copy(uint64_t Size, bool DstAlignCanChange, Align DstAlign,
131 Op.DstAlignCanChange = DstAlignCanChange;
141 static MemOp Set(uint64_t Size, bool DstAlignCanChange, Align DstAlign, in Set()
145 Op.DstAlignCanChange = DstAlignCanChange; in Set()
156 assert(!DstAlignCanChange); in getDstAlign()
159 bool isFixedDstAlign() const { return !DstAlignCanChange; } in isFixedDstAlign()
164 return isMemcpy() && !DstAlignCanChange; in isMemcpyWithFixedDstAlign()
179 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1070 bool DstAlignCanChange = false; in optimizeMemset() local
1076 DstAlignCanChange = true; in optimizeMemset()
1088 MemOp::Set(KnownLen, DstAlignCanChange, in optimizeMemset()
1096 if (DstAlignCanChange) { in optimizeMemset()
1184 bool DstAlignCanChange = false; in optimizeMemcpy() local
1191 DstAlignCanChange = true; in optimizeMemcpy()
1207 MemOp::Copy(KnownLen, DstAlignCanChange, Alignment, SrcAlign, in optimizeMemcpy()
1213 if (DstAlignCanChange) { in optimizeMemcpy()
1290 bool DstAlignCanChange = false; in optimizeMemmove() local
1297 DstAlignCanChange = true; in optimizeMemmove()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp4309 bool DstAlignCanChange = false; in getMemcpyLoadsAndStores() local
4315 DstAlignCanChange = true; in getMemcpyLoadsAndStores()
4325 (DstAlignCanChange ? 0 : Align), in getMemcpyLoadsAndStores()
4333 if (DstAlignCanChange) { in getMemcpyLoadsAndStores()
4425 bool DstAlignCanChange = false; in getMemmoveLoadsAndStores() local
4431 DstAlignCanChange = true; in getMemmoveLoadsAndStores()
4438 (DstAlignCanChange ? 0 : Align), SrcAlign, in getMemmoveLoadsAndStores()
4445 if (DstAlignCanChange) { in getMemmoveLoadsAndStores()
4521 bool DstAlignCanChange = false; in getMemsetStores() local
4527 DstAlignCanChange = true; in getMemsetStores()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp5890 bool DstAlignCanChange = false; in getMemcpyLoadsAndStores() local
5896 DstAlignCanChange = true; in getMemcpyLoadsAndStores()
5906 MemOps, Limit, Size, (DstAlignCanChange ? 0 : Alignment), in getMemcpyLoadsAndStores()
5913 if (DstAlignCanChange) { in getMemcpyLoadsAndStores()
6073 bool DstAlignCanChange = false; in getMemmoveLoadsAndStores() local
6079 DstAlignCanChange = true; in getMemmoveLoadsAndStores()
6089 MemOps, Limit, Size, (DstAlignCanChange ? 0 : Align), SrcAlign, in getMemmoveLoadsAndStores()
6095 if (DstAlignCanChange) { in getMemmoveLoadsAndStores()
6179 bool DstAlignCanChange = false; in getMemsetStores() local
6185 DstAlignCanChange = true; in getMemsetStores()
[all …]
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp6010 bool DstAlignCanChange = false; in getMemcpyLoadsAndStores() local
6016 DstAlignCanChange = true; in getMemcpyLoadsAndStores()
6027 ? MemOp::Set(Size, DstAlignCanChange, Alignment, in getMemcpyLoadsAndStores()
6029 : MemOp::Copy(Size, DstAlignCanChange, Alignment, in getMemcpyLoadsAndStores()
6036 if (DstAlignCanChange) { in getMemcpyLoadsAndStores()
6198 bool DstAlignCanChange = false; in getMemmoveLoadsAndStores() local
6204 DstAlignCanChange = true; in getMemmoveLoadsAndStores()
6212 MemOp::Copy(Size, DstAlignCanChange, Alignment, *SrcAlign, in getMemmoveLoadsAndStores()
6218 if (DstAlignCanChange) { in getMemmoveLoadsAndStores()
6304 bool DstAlignCanChange = false; in getMemsetStores() local
[all …]