diff options
| author | Dan Gohman <gohman@apple.com> | 2009-03-03 02:55:14 +0000 | 
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-03-03 02:55:14 +0000 | 
| commit | 92b551bc2b7efb14811ef01aa52f807fb5fb6ef1 (patch) | |
| tree | 10f3d1d182346afc3163e36cac000510cb859541 /llvm | |
| parent | 4c8a5817a5a79658797894d996ec1d53573a59c9 (diff) | |
| download | bcm5719-llvm-92b551bc2b7efb14811ef01aa52f807fb5fb6ef1.tar.gz bcm5719-llvm-92b551bc2b7efb14811ef01aa52f807fb5fb6ef1.zip  | |
Fix a bunch of Doxygen syntax issues. Escape special characters,
and put @file directives on their own comment line.
llvm-svn: 65920
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineConstantPool.h | 3 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineFrameInfo.h | 4 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/RegisterCoalescer.h | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 2 | ||||
| -rw-r--r-- | llvm/include/llvm/Constants.h | 3 | ||||
| -rw-r--r-- | llvm/include/llvm/Module.h | 3 | ||||
| -rw-r--r-- | llvm/include/llvm/System/IncludeFile.h | 3 | ||||
| -rw-r--r-- | llvm/include/llvm/Target/TargetLowering.h | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/VMCore/Constants.cpp | 18 | 
16 files changed, 34 insertions, 30 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineConstantPool.h b/llvm/include/llvm/CodeGen/MachineConstantPool.h index cfa192aca6b..d042258f5e2 100644 --- a/llvm/include/llvm/CodeGen/MachineConstantPool.h +++ b/llvm/include/llvm/CodeGen/MachineConstantPool.h @@ -7,7 +7,8 @@  //  //===----------------------------------------------------------------------===//  // -/// @file This file declares the MachineConstantPool class which is an abstract +/// @file +/// This file declares the MachineConstantPool class which is an abstract  /// constant pool to keep track of constants referenced by a function.  //  //===----------------------------------------------------------------------===// diff --git a/llvm/include/llvm/CodeGen/MachineFrameInfo.h b/llvm/include/llvm/CodeGen/MachineFrameInfo.h index e8cddad86ff..4c981f7caf0 100644 --- a/llvm/include/llvm/CodeGen/MachineFrameInfo.h +++ b/llvm/include/llvm/CodeGen/MachineFrameInfo.h @@ -119,7 +119,7 @@ class MachineFrameInfo {    bool HasVarSizedObjects;    /// FrameAddressTaken - This boolean keeps track of whether there is a call -  /// to builtin @llvm.frameaddress. +  /// to builtin \@llvm.frameaddress.    bool FrameAddressTaken;    /// StackSize - The prolog/epilog code inserter calculates the final stack @@ -207,7 +207,7 @@ public:    /// isFrameAddressTaken - This method may be called any time after instruction    /// selection is complete to determine if there is a call to -  /// @llvm.frameaddress in this function. +  /// \@llvm.frameaddress in this function.    bool isFrameAddressTaken() const { return FrameAddressTaken; }    void setFrameAddressIsTaken(bool T) { FrameAddressTaken = T; } diff --git a/llvm/include/llvm/CodeGen/RegisterCoalescer.h b/llvm/include/llvm/CodeGen/RegisterCoalescer.h index b2e09b5a0c4..79dd9db0f11 100644 --- a/llvm/include/llvm/CodeGen/RegisterCoalescer.h +++ b/llvm/include/llvm/CodeGen/RegisterCoalescer.h @@ -64,7 +64,7 @@ namespace llvm {    ///    ///   class LinearScanRegallocQuery : public RegallocQuery {    ///   private: -  ///     const LiveIntervals &li; +  ///     const LiveIntervals \&li;    ///    ///   public:    ///     LinearScanRegallocQuery(LiveIntervals &intervals)  diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index e945b983ef2..e95ce390f4b 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1125,7 +1125,7 @@ public:    unsigned getOpcode()  const { return (unsigned short)NodeType; }    /// isTargetOpcode - Test if this node has a target-specific opcode (in the -  /// <target>ISD namespace). +  /// \<target\>ISD namespace).    bool isTargetOpcode() const { return NodeType >= ISD::BUILTIN_OP_END; }    /// isMachineOpcode - Test if this node has a post-isel opcode, directly diff --git a/llvm/include/llvm/Constants.h b/llvm/include/llvm/Constants.h index 0088d68f59a..f25d010f4ac 100644 --- a/llvm/include/llvm/Constants.h +++ b/llvm/include/llvm/Constants.h @@ -7,7 +7,8 @@  //  //===----------------------------------------------------------------------===//  // -/// @file This file contains the declarations for the subclasses of Constant,  +/// @file +/// This file contains the declarations for the subclasses of Constant,   /// which represent the different flavors of constant values that live in LLVM.  /// Note that Constants are immutable (once created they never change) and are   /// fully shared by structural equivalence.  This means that two structurally diff --git a/llvm/include/llvm/Module.h b/llvm/include/llvm/Module.h index aa2c449a023..2bbf01a667e 100644 --- a/llvm/include/llvm/Module.h +++ b/llvm/include/llvm/Module.h @@ -7,7 +7,8 @@  //  //===----------------------------------------------------------------------===//  // -/// @file This file contains the declarations for the Module class. +/// @file +/// Module.h This file contains the declarations for the Module class.  //  //===----------------------------------------------------------------------===// diff --git a/llvm/include/llvm/System/IncludeFile.h b/llvm/include/llvm/System/IncludeFile.h index 6103e44e4cf..3268ea225f5 100644 --- a/llvm/include/llvm/System/IncludeFile.h +++ b/llvm/include/llvm/System/IncludeFile.h @@ -64,7 +64,8 @@ namespace llvm {  /// helps to resolve that problem. The basic strategy is to use this class in  /// a header file and pass the address of a variable to the constructor. If the  /// variable is defined in the header file's corresponding .cpp file then all -/// tools/libraries that #include the header file will require the .cpp as well. +/// tools/libraries that \#include the header file will require the .cpp as +/// well.  /// For example:<br/>  /// <tt>extern int LinkMyCodeStub;</tt><br/>  /// <tt>static IncludeFile LinkMyModule(&LinkMyCodeStub);</tt><br/> diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h index 8ec7f7a75f1..d0721d3985e 100644 --- a/llvm/include/llvm/Target/TargetLowering.h +++ b/llvm/include/llvm/Target/TargetLowering.h @@ -1597,7 +1597,7 @@ private:    ISD::CondCode CmpLibcallCCs[RTLIB::UNKNOWN_LIBCALL];  protected: -  /// When lowering @llvm.memset this field specifies the maximum number of +  /// When lowering \@llvm.memset this field specifies the maximum number of    /// store operations that may be substituted for the call to memset. Targets    /// must set this value based on the cost threshold for that target. Targets    /// should assume that the memset will be done using as many of the largest @@ -1608,7 +1608,7 @@ protected:    /// @brief Specify maximum number of store instructions per memset call.    unsigned maxStoresPerMemset; -  /// When lowering @llvm.memcpy this field specifies the maximum number of +  /// When lowering \@llvm.memcpy this field specifies the maximum number of    /// store operations that may be substituted for a call to memcpy. Targets    /// must set this value based on the cost threshold for that target. Targets    /// should assume that the memcpy will be done using as many of the largest @@ -1620,7 +1620,7 @@ protected:    /// @brief Specify maximum bytes of store instructions per memcpy call.    unsigned maxStoresPerMemcpy; -  /// When lowering @llvm.memmove this field specifies the maximum number of +  /// When lowering \@llvm.memmove this field specifies the maximum number of    /// store instructions that may be substituted for a call to memmove. Targets    /// must set this value based on the cost threshold for that target. Targets    /// should assume that the memmove will be done using as many of the largest diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 2f1da52f2d2..969b8face44 100644 --- a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -799,7 +799,7 @@ bool ARMAsmPrinter::doInitialization(Module &M) {  }  /// PrintUnmangledNameSafely - Print out the printable characters in the name. -/// Don't print things like \n or \0. +/// Don't print things like \\n or \\0.  static void PrintUnmangledNameSafely(const Value *V, raw_ostream &OS) {    for (const char *Name = V->getNameStart(), *E = Name+V->getNameLen();         Name != E; ++Name) diff --git a/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp b/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp index 474a8ad3a4c..f784d70f444 100644 --- a/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp +++ b/llvm/lib/Target/CellSPU/AsmPrinter/SPUAsmPrinter.cpp @@ -496,7 +496,7 @@ bool LinuxAsmPrinter::doInitialization(Module &M) {  }  /// PrintUnmangledNameSafely - Print out the printable characters in the name. -/// Don't print things like \n or \0. +/// Don't print things like \\n or \\0.  static void PrintUnmangledNameSafely(const Value *V, raw_ostream &OS) {    for (const char *Name = V->getNameStart(), *E = Name+V->getNameLen();         Name != E; ++Name) diff --git a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp index cc0efa8fd31..57a2697112a 100644 --- a/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp @@ -657,7 +657,7 @@ bool PPCLinuxAsmPrinter::doInitialization(Module &M) {  }  /// PrintUnmangledNameSafely - Print out the printable characters in the name. -/// Don't print things like \n or \0. +/// Don't print things like \\n or \\0.  static void PrintUnmangledNameSafely(const Value *V, raw_ostream &OS) {    for (const char *Name = V->getNameStart(), *E = Name+V->getNameLen();         Name != E; ++Name) diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp b/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp index 01f175b5c12..6647d79c2da 100644 --- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp +++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp @@ -467,9 +467,9 @@ unsigned findScratchRegister(MachineBasicBlock::iterator II, RegScavenger *RS,  /// lowerDynamicAlloc - Generate the code for allocating an object in the  /// current frame.  The sequence of code with be in the general form  /// -///   addi   R0, SP, #frameSize ; get the address of the previous frame +///   addi   R0, SP, \#frameSize ; get the address of the previous frame  ///   stwxu  R0, SP, Rnegsize   ; add and update the SP with the negated size -///   addi   Rnew, SP, #maxCalFrameSize ; get the top of the allocation +///   addi   Rnew, SP, \#maxCalFrameSize ; get the top of the allocation  ///  void PPCRegisterInfo::lowerDynamicAlloc(MachineBasicBlock::iterator II,                                          int SPAdj, RegScavenger *RS) const { diff --git a/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp b/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp index e0bd6a3e344..5fff5b9a0f3 100644 --- a/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp +++ b/llvm/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp @@ -85,7 +85,7 @@ static X86MachineFunctionInfo calculateFunctionInfo(const Function *F,  }  /// PrintUnmangledNameSafely - Print out the printable characters in the name. -/// Don't print things like \n or \0. +/// Don't print things like \\n or \\0.  static void PrintUnmangledNameSafely(const Value *V, raw_ostream &OS) {    for (const char *Name = V->getNameStart(), *E = Name+V->getNameLen();         Name != E; ++Name) diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index f3fb4fb7f48..ad94aaa0593 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -11381,9 +11381,9 @@ static Instruction *InstCombineStoreToCast(InstCombiner &IC, StoreInst &SI) {  /// equivalentAddressValues - Test if A and B will obviously have the same  /// value. This includes recognizing that %t0 and %t1 will have the same  /// value in code like this: -///   %t0 = getelementptr @a, 0, 3 +///   %t0 = getelementptr \@a, 0, 3  ///   store i32 0, i32* %t0 -///   %t1 = getelementptr @a, 0, 3 +///   %t1 = getelementptr \@a, 0, 3  ///   %t2 = load i32* %t1  ///  static bool equivalentAddressValues(Value *A, Value *B) { diff --git a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp index 875de559b76..5f9a8b5c421 100644 --- a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp +++ b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp @@ -425,9 +425,9 @@ BasicBlock *llvm::SplitBlockPredecessors(BasicBlock *BB,  /// AreEquivalentAddressValues - Test if A and B will obviously have the same  /// value. This includes recognizing that %t0 and %t1 will have the same  /// value in code like this: -///   %t0 = getelementptr @a, 0, 3 +///   %t0 = getelementptr \@a, 0, 3  ///   store i32 0, i32* %t0 -///   %t1 = getelementptr @a, 0, 3 +///   %t1 = getelementptr \@a, 0, 3  ///   %t2 = load i32* %t1  ///  static bool AreEquivalentAddressValues(const Value *A, const Value *B) { diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index 450d014a7ed..f75fb63d7cb 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/lib/VMCore/Constants.cpp @@ -1277,8 +1277,8 @@ ConstantAggregateZero *ConstantAggregateZero::get(const Type *Ty) {    return AggZeroConstants->getOrCreate(Ty, 0);  } -// destroyConstant - Remove the constant from the constant table... -// +/// destroyConstant - Remove the constant from the constant table... +///  void ConstantAggregateZero::destroyConstant() {    AggZeroConstants->remove(this);    destroyConstantImpl(); @@ -1328,8 +1328,8 @@ Constant *ConstantArray::get(const ArrayType *Ty,    return ConstantAggregateZero::get(Ty);  } -// destroyConstant - Remove the constant from the constant table... -// +/// destroyConstant - Remove the constant from the constant table... +///  void ConstantArray::destroyConstant() {    ArrayConstants->remove(this);    destroyConstantImpl(); @@ -1370,7 +1370,7 @@ bool ConstantArray::isString() const {  }  /// isCString - This method returns true if the array is a string (see -/// isString) and it ends in a null byte \0 and does not contains any other +/// isString) and it ends in a null byte \\0 and does not contains any other  /// null bytes except its terminator.  bool ConstantArray::isCString() const {    // Check the element type for i8... @@ -1391,10 +1391,10 @@ bool ConstantArray::isCString() const {  } -// getAsString - If the sub-element type of this array is i8 -// then this method converts the array to an std::string and returns it. -// Otherwise, it asserts out. -// +/// getAsString - If the sub-element type of this array is i8 +/// then this method converts the array to an std::string and returns it. +/// Otherwise, it asserts out. +///  std::string ConstantArray::getAsString() const {    assert(isString() && "Not a string!");    std::string Result;  | 

