aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-07-01 20:42:00 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-07-01 20:42:00 +0000
commit992dce13ece1748aef8a6fdeef0f4e271165258c (patch)
treed11311a4ff32a3a9fcf63fcb3e10309925acd8f5 /include
parent5706f25694ac2042e6d6a2542771dff37d9bcc45 (diff)
downloadexternal_llvm-992dce13ece1748aef8a6fdeef0f4e271165258c.zip
external_llvm-992dce13ece1748aef8a6fdeef0f4e271165258c.tar.gz
external_llvm-992dce13ece1748aef8a6fdeef0f4e271165258c.tar.bz2
* Doxygenify comments
* Tabs-to-spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetMachine.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetMachine.h b/include/llvm/Target/TargetMachine.h
index 5230acb..e252b6a 100644
--- a/include/llvm/Target/TargetMachine.h
+++ b/include/llvm/Target/TargetMachine.h
@@ -47,15 +47,16 @@ class TargetMachine {
void operator=(const TargetMachine&); // DO NOT IMPLEMENT
protected: // Can only create subclasses...
TargetMachine(const std::string &name, IntrinsicLowering *IL,
- bool LittleEndian = false,
- unsigned char PtrSize = 8, unsigned char PtrAl = 8,
- unsigned char DoubleAl = 8, unsigned char FloatAl = 4,
- unsigned char LongAl = 8, unsigned char IntAl = 4,
- unsigned char ShortAl = 2, unsigned char ByteAl = 1);
+ bool LittleEndian = false,
+ unsigned char PtrSize = 8, unsigned char PtrAl = 8,
+ unsigned char DoubleAl = 8, unsigned char FloatAl = 4,
+ unsigned char LongAl = 8, unsigned char IntAl = 4,
+ unsigned char ShortAl = 2, unsigned char ByteAl = 1);
- // This constructor is used for targets that support arbitrary TargetData
- // layouts, like the C backend. It initializes the TargetData to match that
- // of the specified module.
+ /// This constructor is used for targets that support arbitrary TargetData
+ /// layouts, like the C backend. It initializes the TargetData to match that
+ /// of the specified module.
+ ///
TargetMachine(const std::string &name, IntrinsicLowering *IL,
const Module &M);
public:
@@ -63,9 +64,10 @@ public:
const std::string &getName() const { return Name; }
- // getIntrinsicLowering - This method returns a reference to an
- // IntrinsicLowering instance which should be used by the code generator to
- // lower unknown intrinsic functions to the equivalent LLVM expansion.
+ /// getIntrinsicLowering - This method returns a reference to an
+ /// IntrinsicLowering instance which should be used by the code generator to
+ /// lower unknown intrinsic functions to the equivalent LLVM expansion.
+ ///
IntrinsicLowering &getIntrinsicLowering() const { return *IL; }
// Interfaces to the major aspects of target machine information: