parent
e91c53d2a9
commit
2aec339d28
|
@ -53,7 +53,7 @@ namespace polly {
|
|||
void pprint(llvm::raw_ostream &OS);
|
||||
|
||||
/// Create the CLooG AST from this program.
|
||||
const struct clast_stmt *getClast();
|
||||
const struct clast_root *getClast();
|
||||
|
||||
bool runOnScop(Scop &S);
|
||||
void printScop(llvm::raw_ostream &OS) const;
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
void pprint(llvm::raw_ostream &OS);
|
||||
|
||||
/// Create the Cloog AST from this program.
|
||||
struct clast_stmt *getClast();
|
||||
struct clast_root *getClast();
|
||||
};
|
||||
|
||||
Cloog::Cloog(Scop *Scop) : S(Scop) {
|
||||
|
@ -137,8 +137,8 @@ void Cloog::pprint(raw_ostream &OS) {
|
|||
}
|
||||
|
||||
/// Create the Cloog AST from this program.
|
||||
struct clast_stmt *Cloog::getClast() {
|
||||
return ClastRoot;
|
||||
struct clast_root *Cloog::getClast() {
|
||||
return (clast_root*)ClastRoot;
|
||||
}
|
||||
|
||||
void Cloog::buildCloogOptions() {
|
||||
|
@ -261,7 +261,7 @@ void CloogInfo::pprint(llvm::raw_ostream &OS) {
|
|||
}
|
||||
|
||||
/// Create the Cloog AST from this program.
|
||||
const struct clast_stmt *CloogInfo::getClast() {
|
||||
const struct clast_root *CloogInfo::getClast() {
|
||||
return C->getClast();
|
||||
}
|
||||
|
||||
|
|
|
@ -1462,7 +1462,7 @@ class CodeGeneration : public ScopPass {
|
|||
addOpenMPDefinitions(builder);
|
||||
|
||||
ClastStmtCodeGen CodeGen(S, *SE, DT, SD, DP, TD, builder);
|
||||
CodeGen.codegen((const clast_root *) C->getClast());
|
||||
CodeGen.codegen(C->getClast());
|
||||
|
||||
parallelLoops.insert(parallelLoops.begin(),
|
||||
CodeGen.getParallelLoops().begin(),
|
||||
|
|
Loading…
Reference in New Issue