search for: initializetarget

Displaying 4 results from an estimated 4 matches for "initializetarget".

2012 Sep 26
0
[LLVMdev] Error while loading profile information
...InstrStats::ID = 0; namespace llvm { FunctionPass *createARMInstrStatsPass(ProfileInfoLoader &PIL) { PassRegistry &Registry=*PassRegistry::getPassRegistry(); initializeAnalysis(Registry); initializeInstrumentation(Registry); initializeCodeGen(Registry); initializeTarget(Registry); printf("\n%s:%d",__FILE__,__LINE__); fflush(stdout); return new ARMInstrStats(PIL); } } The following changes have been made to the file ARMTargetMachine.cpp in the function bool ARMPassConfig::addPreEmitPass(): bool ARMPassConfig::addPreEmitPass() { if (getA...
2011 Dec 06
0
[LLVMdev] Assertion `PI && "Expected required passes to be initialized"' failed for AliasAnalysis.
...y = *PassRegistry::getPassRegistry(); initializeCore(Registry); initializeScalarOpts(Registry); initializeIPO(Registry); initializeAnalysis(Registry); initializeIPA(Registry); initializeTransformUtils(Registry); initializeInstCombine(Registry); initializeInstrumentation(Registry); initializeTarget(Registry); before creating passes. Maybe it could help you to track down the issue. - D. 2011/12/6 Alexander Potapenko <glider at google.com>: > Dear lazydev, > > I'm writing an instrumentation pass that depends on AliasAnalysis. My > getAnalysisUsage() looks as follows: &g...
2011 Dec 06
2
[LLVMdev] Assertion `PI && "Expected required passes to be initialized"' failed for AliasAnalysis.
Dear lazydev, I'm writing an instrumentation pass that depends on AliasAnalysis. My getAnalysisUsage() looks as follows: 2453 void ThreadSanitizer::getAnalysisUsage(AnalysisUsage &AU) const { 2454 AU.addRequired<TargetData>(); 2455 AU.addRequired<AliasAnalysis>(); 2456 } and the pass initialization: 2668 char ThreadSanitizer::ID = 0; 2669
2011 Apr 05
3
[LLVMdev] Building LLVM on Solaris/Sparc
...ert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::initializeTransformUtils(llvm::PassRegistry&) /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o vtable for llvm::cl::alias /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::initializeTarget(llvm::PassRegistry&) /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o vtable for llvm::BasicBlockPass /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/tools/opt/Debug+Asserts/opt.o llvm::cl::Option::anchor() /n/fs/scratch/tpondich/ParallelAssert/llvm-objects/...