16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYUTILITIES_H
17 #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYUTILITIES_H
22 class WebAssemblyFunctionInfo;
24 namespace WebAssembly {
28 bool isTee(
const MachineInstr &
MI);
29 bool isChild(
const MachineInstr &
MI,
const WebAssemblyFunctionInfo &MFI);
bool isCopy(const MachineInstr &MI)
bool isTee(const MachineInstr &MI)
bool isArgument(const MachineInstr &MI)
bool isChild(const MachineInstr &MI, const WebAssemblyFunctionInfo &MFI)
Test whether MI is a child of some other node in an expression tree.