LLVM 22.0.0git
LongestCommonSequence.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include <cstdint>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.

Functions

template<typename Loc, typename Function, typename AnchorList = ArrayRef<std::pair<Loc, Function>>>
void llvm::longestCommonSequence (AnchorList AnchorList1, AnchorList AnchorList2, llvm::function_ref< bool(const Function &, const Function &)> FunctionMatchesProfile, llvm::function_ref< void(Loc, Loc)> InsertMatching)