return I.get();
}
+MachineFunctionInfo *LoongArchTargetMachine::createMachineFunctionInfo(
+ BumpPtrAllocator &Allocator, const Function &F,
+ const TargetSubtargetInfo *STI) const {
+ return LoongArchMachineFunctionInfo::create<LoongArchMachineFunctionInfo>(
+ Allocator, F, STI);
+}
+
namespace {
class LoongArchPassConfig : public TargetPassConfig {
public:
TargetLoweringObjectFile *getObjFileLowering() const override {
return TLOF.get();
}
+
+ MachineFunctionInfo *
+ createMachineFunctionInfo(BumpPtrAllocator &Allocator, const Function &F,
+ const TargetSubtargetInfo *STI) const override;
};
} // end namespace llvm