Enzyme main
Loading...
Searching...
No Matches
RustDebugInfo.cpp File Reference
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/Support/CommandLine.h"
#include "RustDebugInfo.h"
Include dependency graph for RustDebugInfo.cpp:

Go to the source code of this file.

Functions

TypeTree parseDIType (DIType &Type, Instruction &I, DataLayout &DL)
 
TypeTree parseDIType (DIBasicType &Type, Instruction &I, DataLayout &DL)
 
TypeTree parseDIType (DICompositeType &Type, Instruction &I, DataLayout &DL)
 
TypeTree parseDIType (DIDerivedType &Type, Instruction &I, DataLayout &DL)
 
bool isU8PointerType (DIType &type)
 
TypeTree parseDIType (DbgDeclareInst &I, DataLayout &DL)
 

Function Documentation

◆ isU8PointerType()

bool isU8PointerType ( DIType & type)

Definition at line 157 of file RustDebugInfo.cpp.

Referenced by parseDIType().

◆ parseDIType() [1/5]

TypeTree parseDIType ( DbgDeclareInst & I,
DataLayout & DL )

Definition at line 171 of file RustDebugInfo.cpp.

References isU8PointerType(), and parseDIType().

◆ parseDIType() [2/5]

TypeTree parseDIType ( DIBasicType & Type,
Instruction & I,
DataLayout & DL )

Definition at line 38 of file RustDebugInfo.cpp.

References Integer, TypeTree::Only(), and Unknown.

◆ parseDIType() [3/5]

TypeTree parseDIType ( DICompositeType & Type,
Instruction & I,
DataLayout & DL )

Definition at line 56 of file RustDebugInfo.cpp.

References Count, parseDIType(), and TypeTree::ShiftIndices().

◆ parseDIType() [4/5]

TypeTree parseDIType ( DIDerivedType & Type,
Instruction & I,
DataLayout & DL )

Definition at line 117 of file RustDebugInfo.cpp.

References TypeTree::Only(), parseDIType(), Pointer, and TypeTree::ShiftIndices().

◆ parseDIType() [5/5]

TypeTree parseDIType ( DIType & Type,
Instruction & I,
DataLayout & DL )