forked from OSchip/llvm-project
Move createScalarizeMaskedMemIntrinPass to Scalar.h
This commit is contained in:
parent
10987e30be
commit
5f18e2f31e
|
@ -76,10 +76,6 @@ namespace llvm {
|
||||||
/// matching during instruction selection.
|
/// matching during instruction selection.
|
||||||
FunctionPass *createCodeGenPreparePass();
|
FunctionPass *createCodeGenPreparePass();
|
||||||
|
|
||||||
/// createScalarizeMaskedMemIntrinPass - Replace masked load, store, gather
|
|
||||||
/// and scatter intrinsics with scalar code when target doesn't support them.
|
|
||||||
FunctionPass *createScalarizeMaskedMemIntrinPass();
|
|
||||||
|
|
||||||
/// AtomicExpandID -- Lowers atomic operations in terms of either cmpxchg
|
/// AtomicExpandID -- Lowers atomic operations in terms of either cmpxchg
|
||||||
/// load-linked/store-conditional loops.
|
/// load-linked/store-conditional loops.
|
||||||
extern char &AtomicExpandID;
|
extern char &AtomicExpandID;
|
||||||
|
|
|
@ -545,6 +545,14 @@ Pass *createWarnMissedTransformationsPass();
|
||||||
// instruction in a function.
|
// instruction in a function.
|
||||||
//
|
//
|
||||||
FunctionPass *createInstSimplifyLegacyPass();
|
FunctionPass *createInstSimplifyLegacyPass();
|
||||||
|
|
||||||
|
|
||||||
|
//===----------------------------------------------------------------------===//
|
||||||
|
//
|
||||||
|
// createScalarizeMaskedMemIntrinPass - Replace masked load, store, gather
|
||||||
|
// and scatter intrinsics with scalar code when target doesn't support them.
|
||||||
|
//
|
||||||
|
FunctionPass *createScalarizeMaskedMemIntrinPass();
|
||||||
} // End llvm namespace
|
} // End llvm namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include "llvm/InitializePasses.h"
|
#include "llvm/InitializePasses.h"
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Support/Casting.h"
|
#include "llvm/Support/Casting.h"
|
||||||
|
#include "llvm/Transforms/Scalar.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue