| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LowerMemIntrinsics.cpp | 26 ConstantInt *CopyLen, Align SrcAlign, Align DstAlign, bool SrcIsVolatile, in createMemCpyLoopKnownSize() argument 48 Ctx, CopyLen, SrcAS, DstAS, SrcAlign, DstAlign, AtomicElementSize); in createMemCpyLoopKnownSize() 68 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopKnownSize() 118 SrcAS, DstAS, SrcAlign, DstAlign, in createMemCpyLoopKnownSize() 123 Align PartDstAlign(commonAlignment(DstAlign, BytesCopied)); in createMemCpyLoopKnownSize() 182 Align SrcAlign, Align DstAlign, bool SrcIsVolatile, bool DstIsVolatile, in createMemCpyLoopUnknownSize() argument 201 Ctx, CopyLen, SrcAS, DstAS, SrcAlign, DstAlign, AtomicElementSize); in createMemCpyLoopUnknownSize() 233 Align PartDstAlign(commonAlignment(DstAlign, LoopOpSize)); in createMemCpyLoopUnknownSize() 405 Align DstAlign, bool SrcIsVolatile, in createMemMoveLoopUnknownSize() argument 417 SrcAlign, DstAlign); in createMemMoveLoopUnknownSize() [all …]
|
| H A D | InlineFunction.cpp | 1720 Align DstAlign = Dst->getPointerAlignment(M->getDataLayout()); in HandleByValArgumentInit() local 1723 CallInst *CI = Builder.CreateMemCpy(Dst, DstAlign, Src, SrcAlign, Size); in HandleByValArgumentInit()
|
| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | IRBuilder.cpp | 179 CallInst *IRBuilderBase::CreateMemSetInline(Value *Dst, MaybeAlign DstAlign, in CreateMemSetInline() argument 188 if (DstAlign) in CreateMemSetInline() 189 cast<MemSetInst>(CI)->setDestAlignment(*DstAlign); in CreateMemSetInline() 210 MaybeAlign DstAlign, Value *Src, in CreateMemTransferInst() argument 223 if (DstAlign) in CreateMemTransferInst() 224 MCI->setDestAlignment(*DstAlign); in CreateMemTransferInst() 232 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemCpy() argument 234 assert(DstAlign >= ElementSize && in CreateElementUnorderedAtomicMemCpy() 246 AMCI->setDestAlignment(DstAlign); in CreateElementUnorderedAtomicMemCpy() 331 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, in CreateElementUnorderedAtomicMemMove() argument [all …]
|
| H A D | Core.cpp | 3879 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemCpy() argument 3882 return wrap(unwrap(B)->CreateMemCpy(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemCpy() 3888 LLVMValueRef Dst, unsigned DstAlign, in LLVMBuildMemMove() argument 3891 return wrap(unwrap(B)->CreateMemMove(unwrap(Dst), MaybeAlign(DstAlign), in LLVMBuildMemMove()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.h | 271 uint64_t KnownLen, Align DstAlign, 274 uint64_t KnownLen, uint64_t Limit, Align DstAlign, 277 uint64_t KnownLen, Align DstAlign, Align SrcAlign,
|
| H A D | CallLowering.h | 320 const MachinePointerInfo &DstPtrInfo, Align DstAlign,
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | IRBuilder.h | 640 LLVM_ABI CallInst *CreateMemSetInline(Value *Dst, MaybeAlign DstAlign, 687 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 691 return CreateMemCpy(Dst, DstAlign, Src, SrcAlign, getInt64(Size), 696 CreateMemTransferInst(Intrinsic::ID IntrID, Value *Dst, MaybeAlign DstAlign, 701 CallInst *CreateMemCpy(Value *Dst, MaybeAlign DstAlign, Value *Src, 705 return CreateMemTransferInst(Intrinsic::memcpy, Dst, DstAlign, Src, 709 CallInst *CreateMemCpyInline(Value *Dst, MaybeAlign DstAlign, Value *Src, 713 return CreateMemTransferInst(Intrinsic::memcpy_inline, Dst, DstAlign, Src, 726 Value *Dst, Align DstAlign, Value *Src, Align SrcAlign, Value *Size, 729 CallInst *CreateMemMove(Value *Dst, MaybeAlign DstAlign, Value *Src, [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 124 Align DstAlign; // Specified alignment of the memory operation. member 136 static MemOp Copy(uint64_t Size, bool DstAlignCanChange, Align DstAlign, 142 Op.DstAlign = DstAlign; 151 static MemOp Set(uint64_t Size, bool DstAlignCanChange, Align DstAlign, in Set() 156 Op.DstAlign = DstAlign; in Set() 167 return DstAlign; in getDstAlign() 189 return DstAlignCanChange || llvm::isAligned(AlignCheck, DstAlign.value()); in isDstAligned()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | CallLowering.cpp | 926 Align DstAlign = std::max(Flags.getNonZeroByValAlign(), in handleAssignments() local 933 DstMPO, DstAlign, SrcMPO, SrcAlign, in handleAssignments() 1270 const MachinePointerInfo &DstPtrInfo, Align DstAlign, in copyArgumentMemory() argument 1282 MemSize, DstAlign); in copyArgumentMemory()
|
| H A D | IRTranslator.cpp | 1726 Align DstAlign; in translateMemFunc() local 1734 DstAlign = MCI->getDestAlign().valueOrOne(); in translateMemFunc() 1738 DstAlign = MMI->getDestAlign().valueOrOne(); in translateMemFunc() 1743 DstAlign = MSI->getDestAlign().valueOrOne(); in translateMemFunc() 1775 StoreFlags, 1, DstAlign, AAInfo)); in translateMemFunc()
|
| H A D | LegalizerHelper.cpp | 9860 Align DstAlign = DstMMO.getBaseAlign(); in lowerMemcpyInline() local 9863 return lowerMemcpyInline(MI, Dst, Src, KnownLen, DstAlign, SrcAlign, in lowerMemcpyInline() 9869 uint64_t KnownLen, Align DstAlign, in lowerMemcpyInline() argument 9873 std::numeric_limits<uint64_t>::max(), DstAlign, SrcAlign, in lowerMemcpyInline() 9879 uint64_t KnownLen, uint64_t Limit, Align DstAlign, in lowerMemcpy() argument 9890 Align Alignment = std::min(DstAlign, SrcAlign); in lowerMemcpy() 9986 uint64_t KnownLen, Align DstAlign, Align SrcAlign, in lowerMemmove() argument 9998 Align Alignment = std::min(DstAlign, SrcAlign); in lowerMemmove() 10102 Align DstAlign = MemOp->getBaseAlign(); in lowerMemCpyFamily() local 10136 return lowerMemcpy(MI, Dst, Src, KnownLen, Limit, DstAlign, SrcAlign, in lowerMemCpyFamily() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 1172 const Align DstAlign = MC->getDestAlign().valueOrOne(); in getNumMemOps() local 1175 MOp = MemOp::Copy(Size, /*DstAlignCanChange*/ false, DstAlign, SrcAlign, in getNumMemOps() 1187 const Align DstAlign = MS->getDestAlign().valueOrOne(); in getNumMemOps() local 1189 MOp = MemOp::Set(Size, /*DstAlignCanChange*/ false, DstAlign, in getNumMemOps()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 4675 unsigned DstAlign, LLVMValueRef Src, 4683 unsigned DstAlign, LLVMValueRef Src,
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCalls.cpp | 117 Align DstAlign = getKnownAlignment(MI->getRawDest(), DL, MI, &AC, &DT); in SimplifyAnyMemTransfer() local 119 if (!CopyDstAlign || *CopyDstAlign < DstAlign) { in SimplifyAnyMemTransfer() 120 MI->setDestAlignment(DstAlign); in SimplifyAnyMemTransfer()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | SROA.cpp | 3539 MaybeAlign DstAlign = SliceAlign; in visitMemTransferInst() local 3541 std::swap(SrcAlign, DstAlign); in visitMemTransferInst() 3590 IRB.CreateAlignedStore(Src, DstPtr, DstAlign, II.isVolatile())); in visitMemTransferInst()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 6574 Align DstAlign = MCI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local 6576 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall() 6598 Align DstAlign = MSII.getDestAlign().valueOrOne(); in visitIntrinsicCall() local 6602 Root, sdl, Dst, Value, Size, DstAlign, isVol, MSII.isForceInlined(), in visitIntrinsicCall() 6613 Align DstAlign = MMI.getDestAlign().valueOrOne(); in visitIntrinsicCall() local 6615 Align Alignment = std::min(DstAlign, SrcAlign); in visitIntrinsicCall() 9183 Align DstAlign = DAG.InferPtrAlign(Dst).valueOrOne(); in visitMemPCpyCall() local 9186 Align Alignment = std::min(DstAlign, SrcAlign); in visitMemPCpyCall()
|