LLVM 20.0.0git
|
This file defines an instruction selector for the WebAssembly target. More...
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "WebAssembly.h"
#include "WebAssemblyISelLowering.h"
#include "WebAssemblyTargetMachine.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/CodeGen/WasmEHFuncInfo.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/IntrinsicsWebAssembly.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/KnownBits.h"
#include "llvm/Support/raw_ostream.h"
#include "WebAssemblyGenDAGISel.inc"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "wasm-isel" |
#define | PASS_NAME "WebAssembly Instruction Selection" |
Functions | |
INITIALIZE_PASS (WebAssemblyDAGToDAGISelLegacy, DEBUG_TYPE, PASS_NAME, false, false) void WebAssemblyDAGToDAGISel | |
static SDValue | getTagSymNode (int Tag, SelectionDAG *DAG) |
This file defines an instruction selector for the WebAssembly target.
Definition in file WebAssemblyISelDAGToDAG.cpp.
#define DEBUG_TYPE "wasm-isel" |
Definition at line 30 of file WebAssemblyISelDAGToDAG.cpp.
#define PASS_NAME "WebAssembly Instruction Selection" |
Definition at line 31 of file WebAssemblyISelDAGToDAG.cpp.
|
static |
Definition at line 110 of file WebAssemblyISelDAGToDAG.cpp.
References assert(), llvm::WebAssembly::C_LONGJMP, llvm::WebAssembly::CPP_EXCEPTION, llvm::SelectionDAG::getDataLayout(), llvm::SelectionDAG::getMachineFunction(), llvm::SelectionDAG::getTargetExternalSymbol(), and llvm::SelectionDAG::getTargetLoweringInfo().
INITIALIZE_PASS | ( | WebAssemblyDAGToDAGISelLegacy | , |
DEBUG_TYPE | , | ||
PASS_NAME | , | ||
false | , | ||
false | |||
) |
Definition at line 95 of file WebAssemblyISelDAGToDAG.cpp.
References llvm::WebAssemblyFrameLowering::getLocalForStackObject(), llvm::MachineFrameInfo::getObjectIndexEnd(), Idx, and llvm::SelectionDAGISel::PreprocessISelDAG().