LLVM: lib/IR/ProfileSummary.cpp File Reference (original) (raw)
Go to the source code of this file.
| Functions | |
|---|---|
| static Metadata * | getKeyValMD (LLVMContext &Context, const char *Key, uint64_t Val) |
| static Metadata * | getKeyFPValMD (LLVMContext &Context, const char *Key, double Val) |
| static Metadata * | getKeyValMD (LLVMContext &Context, const char *Key, const char *Val) |
| static ConstantAsMetadata * | getValMD (MDTuple *MD, const char *Key) |
| static bool | getVal (MDTuple *MD, const char *Key, uint64_t &Val) |
| static bool | getVal (MDTuple *MD, const char *Key, double &Val) |
| static bool | isKeyValuePair (MDTuple *MD, const char *Key, const char *Val) |
| static bool | getSummaryFromMD (MDTuple *MD, SummaryEntryVector &Summary) |
| template<typename ValueType> | |
| static bool | getOptionalVal (MDTuple *Tuple, unsigned &Idx, const char *Key, ValueType &Value) |