LLVM  6.0.0svn
Classes | Namespaces | Functions
DiagnosticInfo.cpp File Reference
#include "llvm/IR/DiagnosticInfo.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/raw_ostream.h"
#include <atomic>
#include <cassert>
#include <memory>
#include <string>
Include dependency graph for DiagnosticInfo.cpp:

Go to the source code of this file.

Classes

struct  llvm::yaml::MappingTraits< DiagnosticLocation >
 
struct  llvm::yaml::MappingTraits< DiagnosticInfoOptimizationBase::Argument >
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 
 llvm::yaml
 

Functions

static const BasicBlockgetFirstFunctionBlock (const Function *Func)
 

Function Documentation

◆ getFirstFunctionBlock()

static const BasicBlock& getFirstFunctionBlock ( const Function Func)
static

Definition at line 220 of file DiagnosticInfo.cpp.

References assert(), llvm::Function::empty(), and llvm::Function::front().