diff options
author | Tobias Grosser <tobias@grosser.es> | 2013-07-24 06:10:30 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2013-07-24 06:10:30 +0000 |
commit | ff9bfdfa804120738eb78ed5df0bb9cf93306466 (patch) | |
tree | f997e30e35e662d64d9efa376a219f9b999e27b9 /polly/lib | |
parent | e88204c4ce7eef216aee84f2dbf3c50d9fab20df (diff) | |
download | bcm5719-llvm-ff9bfdfa804120738eb78ed5df0bb9cf93306466.tar.gz bcm5719-llvm-ff9bfdfa804120738eb78ed5df0bb9cf93306466.zip |
ScopInfo/IndependentBlocks: clang-format
llvm-svn: 187023
Diffstat (limited to 'polly/lib')
-rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 4 | ||||
-rw-r--r-- | polly/lib/IndependentBlocks.cpp | 14 |
2 files changed, 10 insertions, 8 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index d2c8b0acb08..aa72f3e84cc 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -486,8 +486,8 @@ void ScopStmt::buildAccesses(TempScop &tempScop, const Region &CurRegion) { E = AccFuncs->end(); I != E; ++I) { MemAccs.push_back(new MemoryAccess(I->first, I->second, this)); - assert(!InstructionToAccess.count(I->second) - && "Unexpected 1-to-N mapping on instruction to access map!"); + assert(!InstructionToAccess.count(I->second) && + "Unexpected 1-to-N mapping on instruction to access map!"); InstructionToAccess[I->second] = MemAccs.back(); } } diff --git a/polly/lib/IndependentBlocks.cpp b/polly/lib/IndependentBlocks.cpp index d7864e50d54..f97a334e9d5 100644 --- a/polly/lib/IndependentBlocks.cpp +++ b/polly/lib/IndependentBlocks.cpp @@ -31,10 +31,10 @@ using namespace polly; using namespace llvm; -static cl::opt<bool> -DisableIntraScopScalarToArray("disable-polly-intra-scop-scalar-to-array", - cl::desc("Do not rewrite scalar to array to generate independent blocks"), - cl::Hidden, cl::init(false), cl::cat(PollyCategory)); +static cl::opt<bool> DisableIntraScopScalarToArray( + "disable-polly-intra-scop-scalar-to-array", + cl::desc("Do not rewrite scalar to array to generate independent blocks"), + cl::Hidden, cl::init(false), cl::cat(PollyCategory)); namespace { struct IndependentBlocks : public FunctionPass { @@ -385,7 +385,8 @@ bool IndependentBlocks::translateScalarToArray(Instruction *Inst, if (isEscapeUse(U, R)) LoadOutside.push_back(U); - if (DisableIntraScopScalarToArray) continue; + if (DisableIntraScopScalarToArray) + continue; if (canSynthesize(U, LI, SE, R)) continue; @@ -473,7 +474,8 @@ bool IndependentBlocks::isIndependentBlock(const Region *R, } } - if (DisableIntraScopScalarToArray) continue; + if (DisableIntraScopScalarToArray) + continue; for (Instruction::op_iterator OI = Inst->op_begin(), OE = Inst->op_end(); OI != OE; ++OI) { |