/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | LowerMemIntrinsics.cpp | 19 Align SrcAlign, Align DstAlign, in createMemCpyLoopKnownSize() argument 37 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopKnownSize() 62 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopKnownSize() 96 DstAlign.value()); in createMemCpyLoopKnownSize() 100 Align PartDstAlign(commonAlignment(DstAlign, BytesCopied)); in createMemCpyLoopKnownSize() 136 Align DstAlign, bool SrcIsVolatile, in createMemCpyLoopUnknownSize() argument 150 Ctx, CopyLen, SrcAS, DstAS, SrcAlign.value(), DstAlign.value()); in createMemCpyLoopUnknownSize() 180 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopUnknownSize() 293 Align DstAlign, bool SrcIsVolatile, in createMemMoveLoop() argument 328 Align PartDstAlign(commonAlignment(DstAlign, PartSize)); in createMemMoveLoop() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | CombinerHelper.h | 188 unsigned KnownLen, unsigned DstAlign, unsigned SrcAlign, 191 unsigned KnownLen, unsigned DstAlign, unsigned SrcAlign, 194 unsigned KnownLen, unsigned DstAlign, bool IsVolatile);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | IRBuilder.cpp | 155 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 858 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 …]
|
D | IRTranslator.cpp | 1136 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()
|
/external/llvm-project/llvm/lib/IR/ |
D | IRBuilder.cpp | 151 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src, in CreateMemTransferInst() argument 165 if (DstAlign) in CreateMemTransferInst() 166 MCI->setDestAlignment(*DstAlign); in CreateMemTransferInst() 187 CallInst *IRBuilderBase::CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign, in CreateMemCpyInline() argument 203 if (DstAlign) in CreateMemCpyInline() 204 MCI->setDestAlignment(*DstAlign); in CreateMemCpyInline() 212 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument 215 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 232 AMCI->setDestAlignment(DstAlign); in CreateElementUnorderedAtomicMemCpy() 252 CallInst *IRBuilderBase::CreateMemMove(Value *Dst, MaybeAlign DstAlign, in CreateMemMove() argument [all …]
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | CombinerHelper.h | 475 unsigned KnownLen, Align DstAlign, Align SrcAlign, 478 unsigned KnownLen, Align DstAlign, Align SrcAlign, 481 unsigned KnownLen, Align DstAlign, bool IsVolatile);
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | IRBuilder.h | 573 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 579 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size), 585 Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, Value *Src, 590 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 596 return CreateMemTransferInst(Intrinsic::memcpy, Dst, DstAlign, Src, 601 CallInst *CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign, Value *Src, 613 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, 619 Value *Dst, unsigned DstAlign, Value *Src, 627 Dst, Align(DstAlign), Src, Align(SrcAlign), getInt64(Size), ElementSize, 632 Value *Dst, unsigned DstAlign, Value *Src, [all …]
|
/external/llvm/lib/Target/BPF/ |
D | BPFISelLowering.h | 80 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | IRBuilder.h | 523 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelLowering.h | 102 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, in getOptimalMemOpType() argument
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 114 Align DstAlign; // Specified alignment of the memory operation. member 126 static MemOp Copy(uint64_t Size, bool DstAlignCanChange, Align DstAlign, 132 Op.DstAlign = DstAlign; 141 static MemOp Set(uint64_t Size, bool DstAlignCanChange, Align DstAlign, in Set() 146 Op.DstAlign = DstAlign; in Set() 157 return DstAlign; in getDstAlign() 179 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.h | 93 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | CombinerHelper.cpp | 1175 Align DstAlign, Align SrcAlign, in optimizeMemcpy() argument 1187 Align Alignment = commonAlignment(DstAlign, SrcAlign); in optimizeMemcpy() 1281 Align DstAlign, Align SrcAlign, in optimizeMemmove() argument 1293 Align Alignment = commonAlignment(DstAlign, SrcAlign); in optimizeMemmove() 1398 Align DstAlign = MemOp->getBaseAlign(); in tryCombineMemCpyFamily() local 1425 return optimizeMemcpy(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, IsVolatile); in tryCombineMemCpyFamily() 1427 return optimizeMemmove(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, IsVolatile); in tryCombineMemCpyFamily() 1429 return optimizeMemset(MI, Dst, Src, KnownLen, DstAlign, IsVolatile); in tryCombineMemCpyFamily()
|
D | IRTranslator.cpp | 1577 Align DstAlign; in translateMemFunc() local 1584 DstAlign = MCI->getDestAlign().valueOrOne(); in translateMemFunc() 1587 DstAlign = MMI->getDestAlign().valueOrOne(); in translateMemFunc() 1591 DstAlign = MSI->getDestAlign().valueOrOne(); in translateMemFunc() 1603 MachineMemOperand::MOStore | VolFlag, 1, DstAlign)); in translateMemFunc()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 425 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign, 429 LLT getOptimalMemOpLLT(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 974 const Align DstAlign = *MC->getDestAlign(); in getNumMemOps() local 977 MOp = MemOp::Copy(Size, /*DstAlignCanChange*/ false, DstAlign, SrcAlign, in getNumMemOps() 989 const Align DstAlign = *MS->getDestAlign(); in getNumMemOps() local 991 MOp = MemOp::Set(Size, /*DstAlignCanChange*/ false, DstAlign, in getNumMemOps()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 82 unsigned DstAlign = getKnownAlignment(MI->getArgOperand(0), DL, MI, AC, DT); in SimplifyMemTransfer() local 84 unsigned MinAlign = std::min(DstAlign, SrcAlign); in SimplifyMemTransfer() 157 DstAlign = std::max(DstAlign, CopyAlign); in SimplifyMemTransfer() 166 S->setAlignment(DstAlign); in SimplifyMemTransfer()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 314 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign, unsigned SrcAlign,
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.h | 556 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 978 unsigned DstAlign, SDValue Src, unsigned SrcAlign, 984 unsigned DstAlign, SDValue Src, unsigned SrcAlign, 990 unsigned DstAlign, SDValue Value, SDValue Size,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIISelLowering.h | 256 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 277 unsigned DstAlign, unsigned SrcAlign,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonISelLowering.h | 304 EVT getOptimalMemOpType(uint64_t Size, unsigned DstAlign,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMTargetTransformInfo.cpp | 555 const unsigned DstAlign = MI->getDestAlignment(); in getMemcpyCost() local 565 MemOps, Limit, Size, DstAlign, SrcAlign, false /*IsMemset*/, in getMemcpyCost()
|