diff options
author | Tobias Grosser <tobias@grosser.es> | 2016-09-02 06:33:33 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2016-09-02 06:33:33 +0000 |
commit | c80d6979bd940077355beae115808d7e4f85b39c (patch) | |
tree | f3c10311d75ce5dc8438d3702d0ef545f84905d7 /polly/lib/Support/SCEVAffinator.cpp | |
parent | ad79bf4712ded9f70c1437a47660b04c61ba82ce (diff) | |
download | bcm5719-llvm-c80d6979bd940077355beae115808d7e4f85b39c.tar.gz bcm5719-llvm-c80d6979bd940077355beae115808d7e4f85b39c.zip |
Drop '@brief' from doxygen comments
LLVM's coding guideline suggests to not use @brief for one-sentence doxygen
comments to improve readability. Switch this once and for all to ensure people
do not copy @brief comments from other parts of Polly, when writing new code.
llvm-svn: 280468
Diffstat (limited to 'polly/lib/Support/SCEVAffinator.cpp')
-rw-r--r-- | polly/lib/Support/SCEVAffinator.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/polly/lib/Support/SCEVAffinator.cpp b/polly/lib/Support/SCEVAffinator.cpp index cccfaf9ac8a..3f71b3994a1 100644 --- a/polly/lib/Support/SCEVAffinator.cpp +++ b/polly/lib/Support/SCEVAffinator.cpp @@ -42,17 +42,17 @@ static unsigned const MaxZextSmallBitWidth = 7; // The maximal number of bits for which a truncate is modeled precisely. static unsigned const MaxTruncateSmallBitWidth = 31; -/// @brief Return true if a zero-extend from @p Width bits is precisely modeled. +/// Return true if a zero-extend from @p Width bits is precisely modeled. static bool isPreciseZeroExtend(unsigned Width) { return Width <= MaxZextSmallBitWidth; } -/// @brief Return true if a truncate from @p Width bits is precisely modeled. +/// Return true if a truncate from @p Width bits is precisely modeled. static bool isPreciseTruncate(unsigned Width) { return Width <= MaxTruncateSmallBitWidth; } -/// @brief Add the number of basic sets in @p Domain to @p User +/// Add the number of basic sets in @p Domain to @p User static isl_stat addNumBasicSets(isl_set *Domain, isl_aff *Aff, void *User) { auto *NumBasicSets = static_cast<unsigned *>(User); *NumBasicSets += isl_set_n_basic_set(Domain); @@ -61,18 +61,18 @@ static isl_stat addNumBasicSets(isl_set *Domain, isl_aff *Aff, void *User) { return isl_stat_ok; } -/// @brief Helper to free a PWACtx object. +/// Helper to free a PWACtx object. static void freePWACtx(__isl_take PWACtx &PWAC) { isl_pw_aff_free(PWAC.first); isl_set_free(PWAC.second); } -/// @brief Helper to copy a PWACtx object. +/// Helper to copy a PWACtx object. static __isl_give PWACtx copyPWACtx(const __isl_keep PWACtx &PWAC) { return std::make_pair(isl_pw_aff_copy(PWAC.first), isl_set_copy(PWAC.second)); } -/// @brief Determine if @p PWAC is too complex to continue. +/// Determine if @p PWAC is too complex to continue. /// /// Note that @p PWAC will be "free" (deallocated) if this function returns /// true, but not if this function returns false. @@ -85,7 +85,7 @@ static bool isTooComplex(PWACtx &PWAC) { return true; } -/// @brief Return the flag describing the possible wrapping of @p Expr. +/// Return the flag describing the possible wrapping of @p Expr. static SCEV::NoWrapFlags getNoWrapFlags(const SCEV *Expr) { if (auto *NAry = dyn_cast<SCEVNAryExpr>(Expr)) return NAry->getNoWrapFlags(); @@ -98,7 +98,7 @@ static void combine(__isl_keep PWACtx &PWAC0, const __isl_take PWACtx &PWAC1, PWAC0.second = isl_set_union(PWAC0.second, PWAC1.second); } -/// @brief Set the possible wrapping of @p Expr to @p Flags. +/// Set the possible wrapping of @p Expr to @p Flags. static const SCEV *setNoWrapFlags(ScalarEvolution &SE, const SCEV *Expr, SCEV::NoWrapFlags Flags) { auto *NAry = dyn_cast<SCEVNAryExpr>(Expr); |