Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:42

0001 //===- ScalarizeMaskedMemIntrin.h - Scalarize unsupported masked mem ----===//
0002 //                                    intrinsics
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 //
0010 // This pass replaces masked memory intrinsics - when unsupported by the target
0011 // - with a chain of basic blocks, that deal with the elements one-by-one if the
0012 // appropriate mask bit is set.
0013 //
0014 //===----------------------------------------------------------------------===//
0015 //
0016 #ifndef LLVM_TRANSFORMS_SCALAR_SCALARIZEMASKEDMEMINTRIN_H
0017 #define LLVM_TRANSFORMS_SCALAR_SCALARIZEMASKEDMEMINTRIN_H
0018 
0019 #include "llvm/IR/PassManager.h"
0020 
0021 namespace llvm {
0022 
0023 struct ScalarizeMaskedMemIntrinPass
0024     : public PassInfoMixin<ScalarizeMaskedMemIntrinPass> {
0025   PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
0026 };
0027 } // end namespace llvm
0028 
0029 #endif