File indexing completed on 2026-05-10 08:43:34
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef LLVM_CODEGEN_REPLACEWITHVECLIB_H
0015 #define LLVM_CODEGEN_REPLACEWITHVECLIB_H
0016
0017 #include "llvm/IR/PassManager.h"
0018 #include "llvm/InitializePasses.h"
0019 #include "llvm/Pass.h"
0020 #include "llvm/PassRegistry.h"
0021
0022 namespace llvm {
0023 class Function;
0024 struct ReplaceWithVeclib : public PassInfoMixin<ReplaceWithVeclib> {
0025 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
0026 };
0027
0028
0029 struct ReplaceWithVeclibLegacy : public FunctionPass {
0030 static char ID;
0031 ReplaceWithVeclibLegacy() : FunctionPass(ID) {
0032 initializeReplaceWithVeclibLegacyPass(*PassRegistry::getPassRegistry());
0033 }
0034 void getAnalysisUsage(AnalysisUsage &AU) const override;
0035 bool runOnFunction(Function &F) override;
0036 };
0037
0038 }
0039 #endif