mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-08 10:30:09 +00:00
Add CloogInfo debug output.
llvm-svn: 142745
This commit is contained in:
parent
008442631b
commit
cf1a26838c
@ -26,8 +26,10 @@
|
||||
#include "polly/LinkAllPasses.h"
|
||||
#include "polly/ScopInfo.h"
|
||||
|
||||
#define DEBUG_TYPE "polly-cloog"
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "llvm/Module.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
|
||||
#include "cloog/isl/domain.h"
|
||||
#include "cloog/isl/cloog.h"
|
||||
@ -280,6 +282,12 @@ bool CloogInfo::runOnScop(Scop &S) {
|
||||
|
||||
C = new Cloog(&S);
|
||||
|
||||
Function *F = S.getRegion().getEntry()->getParent();
|
||||
|
||||
DEBUG(dbgs() << ":: " << F->getNameStr());
|
||||
DEBUG(dbgs() << " : " << S.getRegion().getNameStr() << "\n");;
|
||||
DEBUG(C->pprint(dbgs()));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user