diff options
author | Jia Liu <proljc@gmail.com> | 2012-02-18 12:03:15 +0000 |
---|---|---|
committer | Jia Liu <proljc@gmail.com> | 2012-02-18 12:03:15 +0000 |
commit | 31d157ae1ac2cd9c787dc3c1d28e64c682803844 (patch) | |
tree | f26bc6f243960a904162b8ef10f0687800a41191 /lib/Target/Hexagon | |
parent | 107506f814f42af4a905156e7ce5dd9a2ca6c0c7 (diff) |
Emacs-tag and some comment fix for all ARM, CellSPU, Hexagon, MBlaze, MSP430, PPC, PTX, Sparc, X86, XCore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon')
28 files changed, 40 insertions, 39 deletions
diff --git a/lib/Target/Hexagon/Hexagon.td b/lib/Target/Hexagon/Hexagon.td index 72939e6f1f..ab5093dbfc 100644 --- a/lib/Target/Hexagon/Hexagon.td +++ b/lib/Target/Hexagon/Hexagon.td @@ -1,4 +1,4 @@ -//===- Hexagon.td - Describe the Hexagon Target Machine ---------*- C++ -*-===// +//===-- Hexagon.td - Describe the Hexagon Target Machine --*- tablegen -*--===// // // The LLVM Compiler Infrastructure // @@ -7,6 +7,7 @@ // //===----------------------------------------------------------------------===// // +// This is the top level entry point for the Hexagon target. // //===----------------------------------------------------------------------===// @@ -18,8 +19,7 @@ include "llvm/Target/Target.td" //===----------------------------------------------------------------------===// // Hexagon Subtarget features. -// - +//===----------------------------------------------------------------------===// // Hexagon Archtectures def ArchV2 : SubtargetFeature<"v2", "HexagonArchVersion", "V2", diff --git a/lib/Target/Hexagon/HexagonAsmPrinter.cpp b/lib/Target/Hexagon/HexagonAsmPrinter.cpp index 4d0c5fa63c..1de9af2d53 100644 --- a/lib/Target/Hexagon/HexagonAsmPrinter.cpp +++ b/lib/Target/Hexagon/HexagonAsmPrinter.cpp @@ -1,4 +1,4 @@ -//===-- HexagonAsmPrinter.cpp - Print machine instrs to Hexagon assembly ----=// +//===-- HexagonAsmPrinter.cpp - Print machine instrs to Hexagon assembly --===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonCFGOptimizer.cpp b/lib/Target/Hexagon/HexagonCFGOptimizer.cpp index 28439eb156..9bca9e0707 100644 --- a/lib/Target/Hexagon/HexagonCFGOptimizer.cpp +++ b/lib/Target/Hexagon/HexagonCFGOptimizer.cpp @@ -1,4 +1,4 @@ -//===---- HexagonCFGOptimizer.cpp - CFG optimizations ---------------------===// +//===-- HexagonCFGOptimizer.cpp - CFG optimizations -----------------------===// // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source diff --git a/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp b/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp index f2f60c56e4..2100474460 100644 --- a/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp +++ b/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp @@ -1,11 +1,11 @@ -//===- HexagonExpandPredSpillCode.cpp - Expand Predicate Spill Code -------===// +//===-- HexagonExpandPredSpillCode.cpp - Expand Predicate Spill Code ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // -//===----------------------------------------------------------------------===//// +//===----------------------------------------------------------------------===// // The Hexagon processor has no instructions that load or store predicate // registers directly. So, when these registers must be spilled a general // purpose register must be found and the value copied to/from it from/to diff --git a/lib/Target/Hexagon/HexagonFrameLowering.cpp b/lib/Target/Hexagon/HexagonFrameLowering.cpp index 326903ad24..d66551fd8d 100644 --- a/lib/Target/Hexagon/HexagonFrameLowering.cpp +++ b/lib/Target/Hexagon/HexagonFrameLowering.cpp @@ -1,4 +1,4 @@ -//===- HexagonFrameLowering.cpp - Define frame lowering -------------------===// +//===-- HexagonFrameLowering.cpp - Define frame lowering ------------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp b/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp index 086f9bc926..9df965efc1 100644 --- a/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp +++ b/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp @@ -1,4 +1,4 @@ -//==-- HexagonISelDAGToDAG.cpp - A dag to dag inst selector for Hexagon ----==// +//===-- HexagonISelDAGToDAG.cpp - A dag to dag inst selector for Hexagon --===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonISelLowering.h b/lib/Target/Hexagon/HexagonISelLowering.h index b327615f8c..b7a86675f1 100644 --- a/lib/Target/Hexagon/HexagonISelLowering.h +++ b/lib/Target/Hexagon/HexagonISelLowering.h @@ -1,4 +1,4 @@ -//==-- HexagonISelLowering.h - Hexagon DAG Lowering Interface ----*- C++ -*-==// +//===-- HexagonISelLowering.h - Hexagon DAG Lowering Interface --*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonImmediates.td b/lib/Target/Hexagon/HexagonImmediates.td index 0422a4312b..18589a2b57 100644 --- a/lib/Target/Hexagon/HexagonImmediates.td +++ b/lib/Target/Hexagon/HexagonImmediates.td @@ -1,4 +1,4 @@ -//=- HexagonImmediates.td - Hexagon immediate processing --*- tablegen -*-=// +//===- HexagonImmediates.td - Hexagon immediate processing -*- tablegen -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonInstrFormats.td b/lib/Target/Hexagon/HexagonInstrFormats.td index 65d8a9223b..c9f16fb538 100644 --- a/lib/Target/Hexagon/HexagonInstrFormats.td +++ b/lib/Target/Hexagon/HexagonInstrFormats.td @@ -7,16 +7,16 @@ // //===----------------------------------------------------------------------===// -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// // Hexagon Intruction Flags + // // *** Must match HexagonBaseInfo.h *** -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// // Intruction Class Declaration + -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// class InstHexagon<dag outs, dag ins, string asmstr, list<dag> pattern, string cstr, InstrItinClass itin> : Instruction { @@ -40,9 +40,9 @@ class InstHexagon<dag outs, dag ins, string asmstr, list<dag> pattern, // *** The code above must match HexagonBaseInfo.h *** } -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// // Intruction Classes Definitions + -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// // LD Instruction Class in V2/V3/V4. // Definition of the instruction class NOT CHANGED. @@ -188,9 +188,9 @@ class Pseudo<dag outs, dag ins, string asmstr, list<dag> pattern> : InstHexagon<outs, ins, asmstr, pattern, "", PSEUDO>; -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// // Intruction Classes Definitions - -//----------------------------------------------------------------------------// +//===----------------------------------------------------------------------===// // diff --git a/lib/Target/Hexagon/HexagonInstrInfo.cpp b/lib/Target/Hexagon/HexagonInstrInfo.cpp index a34b8135cb..9c830d0388 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.cpp +++ b/lib/Target/Hexagon/HexagonInstrInfo.cpp @@ -1,4 +1,4 @@ -//===- HexagonInstrInfo.cpp - Hexagon Instruction Information -------------===// +//===-- HexagonInstrInfo.cpp - Hexagon Instruction Information ------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonInstrInfo.h b/lib/Target/Hexagon/HexagonInstrInfo.h index 1e3ba01e29..eb088c34d2 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.h +++ b/lib/Target/Hexagon/HexagonInstrInfo.h @@ -1,4 +1,4 @@ -//=- HexagonInstrInfo.h - Hexagon Instruction Information ---------*- C++ -*-=// +//===- HexagonInstrInfo.h - Hexagon Instruction Information -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonIntrinsics.td b/lib/Target/Hexagon/HexagonIntrinsics.td index 1328ebab57..b15e293fdf 100644 --- a/lib/Target/Hexagon/HexagonIntrinsics.td +++ b/lib/Target/Hexagon/HexagonIntrinsics.td @@ -1,4 +1,4 @@ -//===- HexagonIntrinsics.td - Instruction intrinsics -------*- tablegen -*-===// +//===-- HexagonIntrinsics.td - Instruction intrinsics ------*- tablegen -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonRegisterInfo.cpp b/lib/Target/Hexagon/HexagonRegisterInfo.cpp index 6bbc71dd71..d776c09459 100644 --- a/lib/Target/Hexagon/HexagonRegisterInfo.cpp +++ b/lib/Target/Hexagon/HexagonRegisterInfo.cpp @@ -1,4 +1,4 @@ -//===- HexagonRegisterInfo.cpp - Hexagon Register Information -------------===// +//===-- HexagonRegisterInfo.cpp - Hexagon Register Information ------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonRegisterInfo.td b/lib/Target/Hexagon/HexagonRegisterInfo.td index d74a683285..f4322b38d5 100644 --- a/lib/Target/Hexagon/HexagonRegisterInfo.td +++ b/lib/Target/Hexagon/HexagonRegisterInfo.td @@ -1,4 +1,4 @@ -//===- HexagonRegisterInfo.td - Hexagon Register defs ------*- tablegen -*-===// +//===-- HexagonRegisterInfo.td - Hexagon Register defs -----*- tablegen -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonSchedule.td b/lib/Target/Hexagon/HexagonSchedule.td index 427d1cb138..fbea4452ec 100644 --- a/lib/Target/Hexagon/HexagonSchedule.td +++ b/lib/Target/Hexagon/HexagonSchedule.td @@ -1,4 +1,4 @@ -//===-HexagonSchedule.td - Hexagon Scheduling Definitions -------*- C++ -*-===// +//===- HexagonSchedule.td - Hexagon Scheduling Definitions -*- tablegen -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonSelectCCInfo.td b/lib/Target/Hexagon/HexagonSelectCCInfo.td index dcee59fb84..d8feb89c0a 100644 --- a/lib/Target/Hexagon/HexagonSelectCCInfo.td +++ b/lib/Target/Hexagon/HexagonSelectCCInfo.td @@ -1,4 +1,4 @@ -//=-HexagoSelectCCInfo.td - Selectcc mappings ----------------*- tablegen -*-=// +//===-- HexagoSelectCCInfo.td - Selectcc mappings ----------*- tablegen -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonSelectionDAGInfo.h b/lib/Target/Hexagon/HexagonSelectionDAGInfo.h index 86fa026f3f..0673e4d354 100644 --- a/lib/Target/Hexagon/HexagonSelectionDAGInfo.h +++ b/lib/Target/Hexagon/HexagonSelectionDAGInfo.h @@ -1,4 +1,4 @@ -//=-- HexagonSelectionDAGInfo.h - Hexagon SelectionDAG Info ------*- C++ -*-=// +//===-- HexagonSelectionDAGInfo.h - Hexagon SelectionDAG Info ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp b/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp index 083091c195..d10c9f2d52 100644 --- a/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp +++ b/lib/Target/Hexagon/HexagonSplitTFRCondSets.cpp @@ -1,4 +1,4 @@ -//===---- HexagonSplitTFRCondSets.cpp - split TFR condsets into xfers -----===// +//===-- HexagonSplitTFRCondSets.cpp - split TFR condsets into xfers -------===// // // The LLVM Compiler Infrastructure // @@ -6,7 +6,7 @@ // License. See LICENSE.TXT for details. // // -//===----------------------------------------------------------------------===//// +//===----------------------------------------------------------------------===// // This pass tries to provide opportunities for better optimization of muxes. // The default code generated for something like: flag = (a == b) ? 1 : 3; // would be: diff --git a/lib/Target/Hexagon/HexagonSubtarget.cpp b/lib/Target/Hexagon/HexagonSubtarget.cpp index 39c70223f9..654d33626e 100644 --- a/lib/Target/Hexagon/HexagonSubtarget.cpp +++ b/lib/Target/Hexagon/HexagonSubtarget.cpp @@ -1,4 +1,4 @@ -//===- HexagonSubtarget.cpp - Hexagon Subtarget Information ---------------===// +//===-- HexagonSubtarget.cpp - Hexagon Subtarget Information --------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonSubtarget.h b/lib/Target/Hexagon/HexagonSubtarget.h index 6de85df7f0..3079086986 100644 --- a/lib/Target/Hexagon/HexagonSubtarget.h +++ b/lib/Target/Hexagon/HexagonSubtarget.h @@ -1,4 +1,4 @@ -//==-- HexagonSubtarget.h - Define Subtarget for the Hexagon ----*- C++ -*-==// +//===-- HexagonSubtarget.h - Define Subtarget for the Hexagon ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonTargetMachine.cpp b/lib/Target/Hexagon/HexagonTargetMachine.cpp index 6c418854a4..319eab2a25 100644 --- a/lib/Target/Hexagon/HexagonTargetMachine.cpp +++ b/lib/Target/Hexagon/HexagonTargetMachine.cpp @@ -1,4 +1,4 @@ -//===- HexagonTargetMachine.cpp - Define TargetMachine for Hexagon --------===// +//===-- HexagonTargetMachine.cpp - Define TargetMachine for Hexagon -------===// // // The LLVM Compiler Infrastructure // @@ -7,6 +7,7 @@ // //===----------------------------------------------------------------------===// // +// Implements the info about Hexagon target spec. // //===----------------------------------------------------------------------===// diff --git a/lib/Target/Hexagon/HexagonTargetObjectFile.cpp b/lib/Target/Hexagon/HexagonTargetObjectFile.cpp index 188337d470..d3ce5a6e6f 100644 --- a/lib/Target/Hexagon/HexagonTargetObjectFile.cpp +++ b/lib/Target/Hexagon/HexagonTargetObjectFile.cpp @@ -1,4 +1,4 @@ -//===-- HexagonTargetObjectFile.cpp - Hexagon asm properties ----*- C++ -*-===// +//===-- HexagonTargetObjectFile.cpp - Hexagon asm properties --------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonTargetObjectFile.h b/lib/Target/Hexagon/HexagonTargetObjectFile.h index 101c1f2d3e..693345081e 100644 --- a/lib/Target/Hexagon/HexagonTargetObjectFile.h +++ b/lib/Target/Hexagon/HexagonTargetObjectFile.h @@ -1,4 +1,4 @@ -//===-- HexagonTargetAsmInfo.h - Hexagon asm properties ---------*- C++ -*--==// +//===-- HexagonTargetAsmInfo.h - Hexagon asm properties --------*- C++ -*--===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/HexagonVarargsCallingConvention.h b/lib/Target/Hexagon/HexagonVarargsCallingConvention.h index 21b2d678ac..9305c2702f 100644 --- a/lib/Target/Hexagon/HexagonVarargsCallingConvention.h +++ b/lib/Target/Hexagon/HexagonVarargsCallingConvention.h @@ -1,4 +1,4 @@ -//==-- HexagonVarargsCallingConvention.h - Calling Conventions ---*- C++ -*-==// +//===-- HexagonVarargsCallingConvention.h - Calling Conventions -*- C++ -*-===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h b/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h index 7e912dff25..ed55c3c1c1 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h @@ -1,4 +1,4 @@ -//===-- HexagonBaseInfo.h - Top level definitions for Hexagon -------------===// +//===-- HexagonBaseInfo.h - Top level definitions for Hexagon --*- C++ -*--===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp b/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp index 188693cf63..d6e6c36af5 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp @@ -1,4 +1,4 @@ -//===-- HexagonMCAsmInfo.cpp - Hexagon asm properties -----------*- C++ -*-===// +//===-- HexagonMCAsmInfo.cpp - Hexagon asm properties ---------------------===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.h b/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.h index 8196e956f7..d336cd5be9 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.h +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.h @@ -1,4 +1,4 @@ -//===-- HexagonTargetAsmInfo.h - Hexagon asm properties ---------*- C++ -*--==// +//===-- HexagonTargetAsmInfo.h - Hexagon asm properties --------*- C++ -*--===// // // The LLVM Compiler Infrastructure // diff --git a/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp b/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp index 39633698a2..74abc56817 100644 --- a/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp +++ b/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp @@ -1,4 +1,4 @@ -//===-- HexagonMCTargetDesc.cpp - Cell Hexagon Target Descriptions -----*- C++ -*-===// +//===-- HexagonMCTargetDesc.cpp - Cell Hexagon Target Descriptions --------===// // // The LLVM Compiler Infrastructure // |