LLVM  8.0.1
Functions
DwarfCompileUnit.cpp File Reference
#include "DwarfCompileUnit.h"
#include "AddressPool.h"
#include "DwarfDebug.h"
#include "DwarfExpression.h"
#include "DwarfUnit.h"
#include "llvm/ADT/None.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/DIE.h"
#include "llvm/CodeGen/LexicalScopes.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineOperand.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MachineLocation.h"
#include "llvm/Support/Casting.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <iterator>
#include <memory>
#include <string>
#include <utility>
Include dependency graph for DwarfCompileUnit.cpp:

Go to the source code of this file.

Functions

static SmallVector< const DIVariable *, 2 > dependencies (DbgVariable *Var)
 Return all DIVariables that appear in count: expressions. More...
 
static SmallVector< DbgVariable *, 8 > sortLocalVars (SmallVectorImpl< DbgVariable *> &Input)
 Sort local variables so that variables appearing inside of helper expressions come first. More...
 

Function Documentation

◆ dependencies()

static SmallVector<const DIVariable *, 2> dependencies ( DbgVariable Var)
static

Return all DIVariables that appear in count: expressions.

Definition at line 631 of file DwarfCompileUnit.cpp.

References llvm::dyn_cast(), llvm::DbgVariable::getType(), and llvm::SmallVectorTemplateBase< T >::push_back().

Referenced by sortLocalVars().

◆ sortLocalVars()

static SmallVector<DbgVariable *, 8> sortLocalVars ( SmallVectorImpl< DbgVariable *> &  Input)
static