r246024 - Group some of the inline assembly related function prototypes near
Eric Christopher via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 26 00:29:58 PDT 2015
Author: echristo
Date: Wed Aug 26 02:29:58 2015
New Revision: 246024
URL: http://llvm.org/viewvc/llvm-project?rev=246024&view=rev
Log:
Group some of the inline assembly related function prototypes near
each other.
Modified:
cfe/trunk/include/clang/Basic/TargetInfo.h
Modified: cfe/trunk/include/clang/Basic/TargetInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/TargetInfo.h?rev=246024&r1=246023&r2=246024&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/TargetInfo.h (original)
+++ cfe/trunk/include/clang/Basic/TargetInfo.h Wed Aug 26 02:29:58 2015
@@ -660,6 +660,10 @@ public:
std::string &/*SuggestedModifier*/) const {
return true;
}
+ virtual bool
+ validateAsmConstraint(const char *&Name,
+ TargetInfo::ConstraintInfo &info) const = 0;
+
bool resolveSymbolicName(const char *&Name,
ConstraintInfo *OutputConstraints,
unsigned NumOutputs, unsigned &Index) const;
@@ -674,16 +678,15 @@ public:
return std::string(1, *Constraint);
}
+ /// \brief Returns a string of target-specific clobbers, in LLVM format.
+ virtual const char *getClobbers() const = 0;
+
/// \brief Returns true if NaN encoding is IEEE 754-2008.
/// Only MIPS allows a different encoding.
virtual bool isNan2008() const {
return true;
}
- /// \brief Returns a string of target-specific clobbers, in LLVM format.
- virtual const char *getClobbers() const = 0;
-
-
/// \brief Returns the target triple of the primary target.
const llvm::Triple &getTriple() const {
return Triple;
@@ -939,8 +942,6 @@ protected:
Addl = nullptr;
NumAddl = 0;
}
- virtual bool validateAsmConstraint(const char *&Name,
- TargetInfo::ConstraintInfo &info) const= 0;
};
} // end namespace clang
More information about the cfe-commits
mailing list