LLVM 18.0.0git
Classes | Namespaces | Functions
LegalizerHelper.h File Reference
#include "llvm/CodeGen/GlobalISel/CallLowering.h"
#include "llvm/CodeGen/GlobalISel/GISelKnownBits.h"
#include "llvm/CodeGen/RuntimeLibcalls.h"
#include "llvm/CodeGen/TargetOpcodes.h"

Go to the source code of this file.


class  llvm::LegalizerHelper


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


LegalizerHelper::LegalizeResult llvm::createLibcall (MachineIRBuilder &MIRBuilder, const char *Name, const CallLowering::ArgInfo &Result, ArrayRef< CallLowering::ArgInfo > Args, CallingConv::ID CC)
 Helper function that creates a libcall to the given Name using the given calling convention CC.
LegalizerHelper::LegalizeResult llvm::createLibcall (MachineIRBuilder &MIRBuilder, RTLIB::Libcall Libcall, const CallLowering::ArgInfo &Result, ArrayRef< CallLowering::ArgInfo > Args)
 Helper function that creates the given libcall.
LegalizerHelper::LegalizeResult llvm::createMemLibcall (MachineIRBuilder &MIRBuilder, MachineRegisterInfo &MRI, MachineInstr &MI, LostDebugLocObserver &LocObserver)
 Create a libcall to memcpy et al.