[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachine.h
Misha Brukman
brukman at cs.uiuc.edu
Thu Jul 1 15:43:01 PDT 2004
Changes in directory llvm/include/llvm/Target:
TargetMachine.h updated: 1.46 -> 1.47
---
Log message:
* Doxygenify comments
* Tabs-to-spaces
---
Diffs of the changes: (+13 -11)
Index: llvm/include/llvm/Target/TargetMachine.h
diff -u llvm/include/llvm/Target/TargetMachine.h:1.46 llvm/include/llvm/Target/TargetMachine.h:1.47
--- llvm/include/llvm/Target/TargetMachine.h:1.46 Wed Jun 2 21:45:09 2004
+++ llvm/include/llvm/Target/TargetMachine.h Thu Jul 1 15:42:00 2004
@@ -47,15 +47,16 @@
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 @@
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:
More information about the llvm-commits
mailing list