Displaying 1 result from an estimated 1 matches for "omsprofi".
2012 Sep 26
0
[LLVMdev] Error while loading profile information
...ot;llvm/Analysis/ProfileInfo.h"
#include "llvm/Analysis/ProfileInfoLoader.h"
#include "llvm/Transforms/Instrumentation.h"
#include <stdio.h>
#include <cstdio>
#include <fstream>
using namespace llvm;
using namespace std;
namespace llvm{
struct McProfInf oMsProfI[1000];
}
namespace {
class ARMInstrStats : public MachineFunctionPass {
private:
int cnt;
ProfileInfoLoader &PIL;
public:
static char ID;
explicit ARMInstrStats(ProfileInfoLoader &_PIL) :
MachineFunctionPass(ID), PIL(_PIL){
printf("\n%s:%d",__FILE__,__LINE_...