forked from OSchip/llvm-project
parent
734d52b58b
commit
c98a8fccf7
|
@ -452,7 +452,7 @@ bool Dependences::isValidScattering(StatementToIslMapTy *NewScattering) {
|
|||
isl_space *Space = S.getParamSpace();
|
||||
isl_union_map *Scattering = isl_union_map_empty(Space);
|
||||
|
||||
isl_space *ScatteringSpace = 0;
|
||||
isl_space *ScatteringSpace = nullptr;
|
||||
|
||||
for (ScopStmt *Stmt : S) {
|
||||
isl_map *StmtScat;
|
||||
|
|
|
@ -1800,7 +1800,7 @@ bool ScopInfo::runOnRegion(Region *R, RGPassManager &RGM) {
|
|||
|
||||
// This region is no Scop.
|
||||
if (!tempScop) {
|
||||
scop = 0;
|
||||
scop = nullptr;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ using namespace llvm;
|
|||
using namespace polly;
|
||||
|
||||
bool ScopPass::runOnRegion(Region *R, RGPassManager &RGM) {
|
||||
S = 0;
|
||||
S = nullptr;
|
||||
|
||||
if ((S = getAnalysis<ScopInfo>().getScop()))
|
||||
return runOnScop(*S);
|
||||
|
|
|
@ -762,7 +762,7 @@ void ClastStmtCodeGen::codegenForGPGPU(const clast_for *F) {
|
|||
BasicBlock::iterator AfterLoop = Builder.GetInsertPoint();
|
||||
Builder.SetInsertPoint(LoopBody);
|
||||
|
||||
BasicBlock *AfterBB = 0;
|
||||
BasicBlock *AfterBB = nullptr;
|
||||
if (NonPLoopDepth) {
|
||||
Value *LowerBound, *UpperBound, *IV, *Stride;
|
||||
Type *IntPtrTy = getIntPtrTy();
|
||||
|
|
|
@ -396,7 +396,7 @@ __isl_give isl_ast_expr *IslAst::getRunCondition() {
|
|||
void IslAstInfo::releaseMemory() {
|
||||
if (Ast) {
|
||||
delete Ast;
|
||||
Ast = 0;
|
||||
Ast = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue