diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-01 20:42:00 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-07-01 20:42:00 +0000 |
| commit | 20709326a1ae82ae71538e678acc12a0ccabf2bc (patch) | |
| tree | f206e3584044e06bcc8e67c69d9817236067b61d | |
| parent | 80b3aeafc06f3ceff687746f009ebdfc3c8f88b0 (diff) | |
| download | bcm5719-llvm-20709326a1ae82ae71538e678acc12a0ccabf2bc.tar.gz bcm5719-llvm-20709326a1ae82ae71538e678acc12a0ccabf2bc.zip | |
* Doxygenify comments
* Tabs-to-spaces
llvm-svn: 14549
| -rw-r--r-- | llvm/include/llvm/Target/TargetMachine.h | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/llvm/include/llvm/Target/TargetMachine.h b/llvm/include/llvm/Target/TargetMachine.h index 5230acb7595..e252b6aec6a 100644 --- a/llvm/include/llvm/Target/TargetMachine.h +++ b/llvm/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: |

