mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-02 15:51:54 +00:00
Share ProfilingType enum with the C profiling runtime libraries.
llvm-svn: 13346
This commit is contained in:
parent
c30f79d8f4
commit
ae8607e56a
@ -13,19 +13,13 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Analysis/ProfileInfoLoader.h"
|
||||
#include "llvm/Analysis/ProfileInfoTypes.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/InstrTypes.h"
|
||||
#include <cstdio>
|
||||
#include <map>
|
||||
using namespace llvm;
|
||||
|
||||
enum ProfilingType {
|
||||
ArgumentInfo = 1, // The command line argument block
|
||||
FunctionInfo = 2, // Function profiling information
|
||||
BlockInfo = 3, // Block profiling information
|
||||
EdgeInfo = 4, // Edge profiling information
|
||||
};
|
||||
|
||||
// ByteSwap - Byteswap 'Var' if 'Really' is true.
|
||||
//
|
||||
static inline unsigned ByteSwap(unsigned Var, bool Really) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user