12#ifndef LLVM_TRANSFORMS_COROUTINES_MATERIALIZATIONUTILS_H
13#define LLVM_TRANSFORMS_COROUTINES_MATERIALIZATIONUTILS_H
25 std::function<
bool(Instruction &)> IsMaterializable);
LLVM_ABI bool isTriviallyMaterializable(Instruction &I)
LLVM_ABI void doRematerializations(Function &F, SuspendCrossingInfo &Checker, std::function< bool(Instruction &)> IsMaterializable)
This is an optimization pass for GlobalISel generic memory operations.