LLVM 23.0.0git
DXILDebugInfo.cpp
Go to the documentation of this file.
1//===--- DXILDebugInfo.cpp - analysis&lowering for Debug info -*- 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#include "DXILDebugInfo.h"
10#include "llvm/IR/DebugInfo.h"
11#include "llvm/IR/Module.h"
12
13#define DEBUG_TYPE "dx-debug-info"
14
15using namespace llvm;
16using namespace llvm::dxil;
17
21 DIF.processModule(M);
22
23 return Res;
24}
Module.h This file contains the declarations for the Module class.
Utility to find all debug info in a module.
Definition DebugInfo.h:105
LLVM_ABI void processModule(const Module &M)
Process entire module and collect debug info anchors.
A Module instance is used to store all the information related to an LLVM module.
Definition Module.h:67
DXILDebugInfoMap run(Module &M)
This is an optimization pass for GlobalISel generic memory operations.