MLIR
20.0.0git
|
#include "DebugTranslation.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/Path.h"
Go to the source code of this file.
Functions | |
static WalkResult | interruptIfValidLocation (Operation *op) |
A utility walker that interrupts if the operation has valid debug information. More... | |
template<class DINodeT , class... Ts> | |
static DINodeT * | getDistinctOrUnique (bool isDistinct, Ts &&...args) |
Returns a new DINodeT that is either distinct or not, depending on isDistinct . More... | |
|
static |
Returns a new DINodeT
that is either distinct or not, depending on isDistinct
.
Definition at line 140 of file DebugTranslation.cpp.
References mlir::get().
|
static |
A utility walker that interrupts if the operation has valid debug information.
Definition at line 23 of file DebugTranslation.cpp.
References mlir::WalkResult::advance(), mlir::Operation::getLoc(), and mlir::WalkResult::interrupt().
Referenced by mlir::LLVM::detail::DebugTranslation::DebugTranslation().