[polly] r261478 - [Refactor] Add missing newline after functions
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 21 08:37:58 PST 2016
Author: jdoerfert
Date: Sun Feb 21 10:37:58 2016
New Revision: 261478
URL: http://llvm.org/viewvc/llvm-project?rev=261478&view=rev
Log:
[Refactor] Add missing newline after functions
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=261478&r1=261477&r2=261478&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Sun Feb 21 10:37:58 2016
@@ -3107,9 +3107,11 @@ const ScopArrayInfo *Scop::getScopArrayI
}
std::string Scop::getContextStr() const { return stringFromIslObj(Context); }
+
std::string Scop::getAssumedContextStr() const {
return stringFromIslObj(AssumedContext);
}
+
std::string Scop::getBoundaryContextStr() const {
return stringFromIslObj(BoundaryContext);
}
@@ -4055,6 +4057,7 @@ void ScopInfo::addArrayAccess(MemAccInst
ElemBytes, IsAffine, AccessValue, Subscripts, Sizes,
ScopArrayInfo::MK_Array);
}
+
void ScopInfo::ensureValueWrite(Instruction *Inst) {
ScopStmt *Stmt = scop->getStmtForBasicBlock(Inst->getParent());
@@ -4070,6 +4073,7 @@ void ScopInfo::ensureValueWrite(Instruct
true, Inst, ArrayRef<const SCEV *>(),
ArrayRef<const SCEV *>(), ScopArrayInfo::MK_Value);
}
+
void ScopInfo::ensureValueRead(Value *V, BasicBlock *UserBB) {
// There cannot be an "access" for literal constants. BasicBlock references
@@ -4121,6 +4125,7 @@ void ScopInfo::ensureValueRead(Value *V,
if (ValueInst)
ensureValueWrite(ValueInst);
}
+
void ScopInfo::ensurePHIWrite(PHINode *PHI, BasicBlock *IncomingBlock,
Value *IncomingValue, bool IsExitBlock) {
ScopStmt *IncomingStmt = scop->getStmtForBasicBlock(IncomingBlock);
@@ -4150,6 +4155,7 @@ void ScopInfo::ensurePHIWrite(PHINode *P
assert(Acc);
Acc->addIncoming(IncomingBlock, IncomingValue);
}
+
void ScopInfo::addPHIReadAccess(PHINode *PHI) {
addMemoryAccess(PHI->getParent(), PHI, MemoryAccess::READ, PHI, 1, true, PHI,
ArrayRef<const SCEV *>(), ArrayRef<const SCEV *>(),
More information about the llvm-commits
mailing list