LLVM  6.0.0svn
Functions
ProfileSummary.cpp File Reference
#include "llvm/IR/ProfileSummary.h"
#include "llvm/IR/Attributes.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Type.h"
#include "llvm/Support/Casting.h"
Include dependency graph for ProfileSummary.cpp:

Go to the source code of this file.

Functions

static MetadatagetKeyValMD (LLVMContext &Context, const char *Key, uint64_t Val)
 
static MetadatagetKeyValMD (LLVMContext &Context, const char *Key, const char *Val)
 
static bool getVal (MDTuple *MD, const char *Key, uint64_t &Val)
 
static bool isKeyValuePair (MDTuple *MD, const char *Key, const char *Val)
 
static bool getSummaryFromMD (MDTuple *MD, SummaryEntryVector &Summary)
 

Function Documentation

◆ getKeyValMD() [1/2]

static Metadata* getKeyValMD ( LLVMContext Context,
const char Key,
uint64_t  Val 
)
static

◆ getKeyValMD() [2/2]

static Metadata* getKeyValMD ( LLVMContext Context,
const char Key,
const char Val 
)
static

◆ getSummaryFromMD()

static bool getSummaryFromMD ( MDTuple MD,
SummaryEntryVector Summary 
)
static

◆ getVal()

static bool getVal ( MDTuple MD,
const char Key,
uint64_t &  Val 
)
static

◆ isKeyValuePair()

static bool isKeyValuePair ( MDTuple MD,
const char Key,
const char Val 
)
static