[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / include / llvm / Support / CRC.h
blob6ea8e3edcea47a65b00b16a8b701a0c73fe0edc5
1 //===-- llvm/Support/CRC.h - Cyclic Redundancy Check-------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains basic functions for calculating Cyclic Redundancy Check
10 // or CRC.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_SUPPORT_CRC_H
15 #define LLVM_SUPPORT_CRC_H
17 #include "llvm/ADT/StringRef.h"
18 #include "llvm/Support/DataTypes.h"
20 namespace llvm {
21 /// zlib independent CRC32 calculation.
22 uint32_t crc32(uint32_t CRC, StringRef S);
23 } // end namespace llvm
25 #endif