LLVM 19.0.0git
XCore.h
Go to the documentation of this file.
1//===-- XCore.h - Top-level interface for XCore representation --*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains the entry points for global functions defined in the LLVM
10// XCore back-end.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_XCORE_XCORE_H
15#define LLVM_LIB_TARGET_XCORE_XCORE_H
16
18#include "llvm/PassRegistry.h"
20
21namespace llvm {
22 class FunctionPass;
23 class ModulePass;
24 class PassRegistry;
25 class TargetMachine;
26 class XCoreTargetMachine;
27
29
32 CodeGenOptLevel OptLevel);
35
36} // end namespace llvm;
37
38#endif
const char LLVMTargetMachineRef TM
FunctionPass class - This class is used to implement most global optimizations.
Definition: Pass.h:311
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
Definition: Pass.h:251
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
Definition: PassRegistry.h:37
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
FunctionPass * createXCoreFrameToArgsOffsetEliminationPass()
createXCoreFrameToArgsOffsetEliminationPass - returns an instance of the Frame to args offset elimina...
void initializeXCoreDAGToDAGISelPass(PassRegistry &)
void initializeXCoreLowerThreadLocalPass(PassRegistry &p)
CodeGenOptLevel
Code generation optimization level.
Definition: CodeGen.h:54
ModulePass * createXCoreLowerThreadLocalPass()
FunctionPass * createXCoreISelDag(XCoreTargetMachine &TM, CodeGenOptLevel OptLevel)
createXCoreISelDag - This pass converts a legalized DAG into a XCore-specific DAG,...