diff options
Diffstat (limited to 'llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h')
-rw-r--r-- | llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h b/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h index 8e9d7b522c78..8d0956033d9f 100644 --- a/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h +++ b/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h @@ -23,12 +23,13 @@ class MemMoveInst; class MemSetInst; class TargetTransformInfo; class Value; +struct Align; /// Emit a loop implementing the semantics of llvm.memcpy where the size is not /// a compile-time constant. Loop will be insterted at \p InsertBefore. void createMemCpyLoopUnknownSize(Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, Value *CopyLen, - unsigned SrcAlign, unsigned DestAlign, + Align SrcAlign, Align DestAlign, bool SrcIsVolatile, bool DstIsVolatile, const TargetTransformInfo &TTI); @@ -36,11 +37,10 @@ void createMemCpyLoopUnknownSize(Instruction *InsertBefore, Value *SrcAddr, /// compile time constant. Loop is inserted at \p InsertBefore. void createMemCpyLoopKnownSize(Instruction *InsertBefore, Value *SrcAddr, Value *DstAddr, ConstantInt *CopyLen, - unsigned SrcAlign, unsigned DestAlign, + Align SrcAlign, Align DestAlign, bool SrcIsVolatile, bool DstIsVolatile, const TargetTransformInfo &TTI); - /// Expand \p MemCpy as a loop. \p MemCpy is not deleted. void expandMemCpyAsLoop(MemCpyInst *MemCpy, const TargetTransformInfo &TTI); |