MLIR  19.0.0git
Functions
DebugImporter.cpp File Reference
#include "DebugImporter.h"
#include "mlir/Dialect/LLVMIR/LLVMAttrs.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Location.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/SetOperations.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/Metadata.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"

Go to the source code of this file.

Functions

static function_ref< DIRecursiveTypeAttrInterface(DistinctAttr)> getRecSelfConstructor (llvm::DINode *node)
 Get the getRecSelf constructor for the translated type of node if its translated DITypeAttr supports recursion. More...
 

Function Documentation

◆ getRecSelfConstructor()

static function_ref<DIRecursiveTypeAttrInterface(DistinctAttr)> getRecSelfConstructor ( llvm::DINode *  node)
static

Get the getRecSelf constructor for the translated type of node if its translated DITypeAttr supports recursion.

Otherwise, returns nullptr.

Definition at line 325 of file DebugImporter.cpp.