summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-26 07:29:58 +0000
committerEric Christopher <echristo@gmail.com>2015-08-26 07:29:58 +0000
commitc6adfa1f3ad0c6f00c41e70a0363b6b5ad8b5548 (patch)
tree3d7150a9b099ea5d29ae953047d45fa5733277ec
parent2caf40710728564b011872393f86e28c89bf4e7d (diff)
downloadbcm5719-llvm-c6adfa1f3ad0c6f00c41e70a0363b6b5ad8b5548.tar.gz
bcm5719-llvm-c6adfa1f3ad0c6f00c41e70a0363b6b5ad8b5548.zip
Group some of the inline assembly related function prototypes near
each other. llvm-svn: 246024
-rw-r--r--clang/include/clang/Basic/TargetInfo.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/clang/include/clang/Basic/TargetInfo.h b/clang/include/clang/Basic/TargetInfo.h
index 67d2fdf6f34..89c9f456e58 100644
--- a/clang/include/clang/Basic/TargetInfo.h
+++ b/clang/include/clang/Basic/TargetInfo.h
@@ -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
OpenPOWER on IntegriCloud