10b57cec5SDimitry Andric //===-- Vectorize.cpp -----------------------------------------------------===// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric // 90b57cec5SDimitry Andric // This file implements common infrastructure for libLLVMVectorizeOpts.a, which 100b57cec5SDimitry Andric // implements several vectorization transformations over the LLVM intermediate 110b57cec5SDimitry Andric // representation, including the C bindings for that library. 120b57cec5SDimitry Andric // 130b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 140b57cec5SDimitry Andric 150b57cec5SDimitry Andric #include "llvm/InitializePasses.h" 16*1fd87a68SDimitry Andric #include "llvm/PassRegistry.h" 170b57cec5SDimitry Andric 180b57cec5SDimitry Andric using namespace llvm; 190b57cec5SDimitry Andric 205ffd83dbSDimitry Andric /// Initialize all passes linked into the Vectorization library. initializeVectorization(PassRegistry & Registry)210b57cec5SDimitry Andricvoid llvm::initializeVectorization(PassRegistry &Registry) { 220b57cec5SDimitry Andric initializeLoadStoreVectorizerLegacyPassPass(Registry); 230b57cec5SDimitry Andric } 24