projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
883d498
)
Fixed/added namespace ending comments using clang-tidy. NFC
author
Alexander Kornienko
<alexfh@google.com>
Fri, 19 Jun 2015 15:57:42 +0000
(15:57 +0000)
committer
Alexander Kornienko
<alexfh@google.com>
Fri, 19 Jun 2015 15:57:42 +0000
(15:57 +0000)
The patch is generated using this command:
tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py -fix \
-checks=-*,llvm-namespace-comment -header-filter='llvm/.*|clang/.*' \
llvm/lib/
Thanks to Eugene Kosov for the original patch!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240137
91177308
-0d34-0410-b5e6-
96231b3b80d8
940 files changed:
include/llvm/ADT/APInt.h
patch
|
blob
|
history
include/llvm/ADT/ArrayRef.h
patch
|
blob
|
history
include/llvm/ADT/BitVector.h
patch
|
blob
|
history
include/llvm/ADT/DenseMap.h
patch
|
blob
|
history
include/llvm/ADT/DenseSet.h
patch
|
blob
|
history
include/llvm/ADT/DepthFirstIterator.h
patch
|
blob
|
history
include/llvm/ADT/EquivalenceClasses.h
patch
|
blob
|
history
include/llvm/ADT/GraphTraits.h
patch
|
blob
|
history
include/llvm/ADT/IndexedMap.h
patch
|
blob
|
history
include/llvm/ADT/IntEqClasses.h
patch
|
blob
|
history
include/llvm/ADT/Optional.h
patch
|
blob
|
history
include/llvm/ADT/PointerUnion.h
patch
|
blob
|
history
include/llvm/ADT/PostOrderIterator.h
patch
|
blob
|
history
include/llvm/ADT/PriorityQueue.h
patch
|
blob
|
history
include/llvm/ADT/SCCIterator.h
patch
|
blob
|
history
include/llvm/ADT/STLExtras.h
patch
|
blob
|
history
include/llvm/ADT/SetOperations.h
patch
|
blob
|
history
include/llvm/ADT/SetVector.h
patch
|
blob
|
history
include/llvm/ADT/SmallBitVector.h
patch
|
blob
|
history
include/llvm/ADT/SmallPtrSet.h
patch
|
blob
|
history
include/llvm/ADT/SmallString.h
patch
|
blob
|
history
include/llvm/ADT/SmallVector.h
patch
|
blob
|
history
include/llvm/ADT/Statistic.h
patch
|
blob
|
history
include/llvm/ADT/StringExtras.h
patch
|
blob
|
history
include/llvm/ADT/StringMap.h
patch
|
blob
|
history
include/llvm/ADT/StringRef.h
patch
|
blob
|
history
include/llvm/ADT/StringSet.h
patch
|
blob
|
history
include/llvm/ADT/Triple.h
patch
|
blob
|
history
include/llvm/ADT/Twine.h
patch
|
blob
|
history
include/llvm/ADT/edit_distance.h
patch
|
blob
|
history
include/llvm/ADT/ilist.h
patch
|
blob
|
history
include/llvm/ADT/ilist_node.h
patch
|
blob
|
history
include/llvm/ADT/iterator.h
patch
|
blob
|
history
include/llvm/ADT/iterator_range.h
patch
|
blob
|
history
include/llvm/Analysis/AliasAnalysis.h
patch
|
blob
|
history
include/llvm/Analysis/AliasSetTracker.h
patch
|
blob
|
history
include/llvm/Analysis/BlockFrequencyInfo.h
patch
|
blob
|
history
include/llvm/Analysis/BlockFrequencyInfoImpl.h
patch
|
blob
|
history
include/llvm/Analysis/BranchProbabilityInfo.h
patch
|
blob
|
history
include/llvm/Analysis/CFG.h
patch
|
blob
|
history
include/llvm/Analysis/CFGPrinter.h
patch
|
blob
|
history
include/llvm/Analysis/CGSCCPassManager.h
patch
|
blob
|
history
include/llvm/Analysis/CallGraph.h
patch
|
blob
|
history
include/llvm/Analysis/CallGraphSCCPass.h
patch
|
blob
|
history
include/llvm/Analysis/CodeMetrics.h
patch
|
blob
|
history
include/llvm/Analysis/ConstantFolding.h
patch
|
blob
|
history
include/llvm/Analysis/DomPrinter.h
patch
|
blob
|
history
include/llvm/Analysis/DominanceFrontier.h
patch
|
blob
|
history
include/llvm/Analysis/DominanceFrontierImpl.h
patch
|
blob
|
history
include/llvm/Analysis/IVUsers.h
patch
|
blob
|
history
include/llvm/Analysis/InlineCost.h
patch
|
blob
|
history
include/llvm/Analysis/Interval.h
patch
|
blob
|
history
include/llvm/Analysis/IntervalIterator.h
patch
|
blob
|
history
include/llvm/Analysis/IntervalPartition.h
patch
|
blob
|
history
include/llvm/Analysis/IteratedDominanceFrontier.h
patch
|
blob
|
history
include/llvm/Analysis/JumpInstrTableInfo.h
patch
|
blob
|
history
include/llvm/Analysis/LazyCallGraph.h
patch
|
blob
|
history
include/llvm/Analysis/LibCallAliasAnalysis.h
patch
|
blob
|
history
include/llvm/Analysis/Lint.h
patch
|
blob
|
history
include/llvm/Analysis/Loads.h
patch
|
blob
|
history
include/llvm/Analysis/LoopAccessAnalysis.h
patch
|
blob
|
history
include/llvm/Analysis/LoopInfo.h
patch
|
blob
|
history
include/llvm/Analysis/LoopInfoImpl.h
patch
|
blob
|
history
include/llvm/Analysis/LoopPass.h
patch
|
blob
|
history
include/llvm/Analysis/MemoryBuiltins.h
patch
|
blob
|
history
include/llvm/Analysis/MemoryDependenceAnalysis.h
patch
|
blob
|
history
include/llvm/Analysis/MemoryLocation.h
patch
|
blob
|
history
include/llvm/Analysis/Passes.h
patch
|
blob
|
history
include/llvm/Analysis/PostDominators.h
patch
|
blob
|
history
include/llvm/Analysis/PtrUseVisitor.h
patch
|
blob
|
history
include/llvm/Analysis/RegionInfo.h
patch
|
blob
|
history
include/llvm/Analysis/RegionPass.h
patch
|
blob
|
history
include/llvm/Analysis/ScalarEvolution.h
patch
|
blob
|
history
include/llvm/Analysis/ScalarEvolutionExpander.h
patch
|
blob
|
history
include/llvm/Analysis/ScalarEvolutionExpressions.h
patch
|
blob
|
history
include/llvm/Analysis/ScalarEvolutionNormalization.h
patch
|
blob
|
history
include/llvm/Analysis/TargetFolder.h
patch
|
blob
|
history
include/llvm/Analysis/TargetTransformInfo.h
patch
|
blob
|
history
include/llvm/Analysis/TargetTransformInfoImpl.h
patch
|
blob
|
history
include/llvm/AsmParser/Parser.h
patch
|
blob
|
history
include/llvm/Bitcode/BitCodes.h
patch
|
blob
|
history
include/llvm/Bitcode/BitcodeWriterPass.h
patch
|
blob
|
history
include/llvm/Bitcode/BitstreamReader.h
patch
|
blob
|
history
include/llvm/Bitcode/BitstreamWriter.h
patch
|
blob
|
history
include/llvm/Bitcode/LLVMBitCodes.h
patch
|
blob
|
history
include/llvm/Bitcode/ReaderWriter.h
patch
|
blob
|
history
include/llvm/CodeGen/Analysis.h
patch
|
blob
|
history
include/llvm/CodeGen/AsmPrinter.h
patch
|
blob
|
history
include/llvm/CodeGen/BasicTTIImpl.h
patch
|
blob
|
history
include/llvm/CodeGen/CalcSpillWeights.h
patch
|
blob
|
history
include/llvm/CodeGen/DFAPacketizer.h
patch
|
blob
|
history
include/llvm/CodeGen/DIE.h
patch
|
blob
|
history
include/llvm/CodeGen/FaultMaps.h
patch
|
blob
|
history
include/llvm/CodeGen/GCMetadata.h
patch
|
blob
|
history
include/llvm/CodeGen/GCMetadataPrinter.h
patch
|
blob
|
history
include/llvm/CodeGen/GCStrategy.h
patch
|
blob
|
history
include/llvm/CodeGen/GCs.h
patch
|
blob
|
history
include/llvm/CodeGen/ISDOpcodes.h
patch
|
blob
|
history
include/llvm/CodeGen/IntrinsicLowering.h
patch
|
blob
|
history
include/llvm/CodeGen/LatencyPriorityQueue.h
patch
|
blob
|
history
include/llvm/CodeGen/LexicalScopes.h
patch
|
blob
|
history
include/llvm/CodeGen/LiveInterval.h
patch
|
blob
|
history
include/llvm/CodeGen/LiveIntervalAnalysis.h
patch
|
blob
|
history
include/llvm/CodeGen/LiveRangeEdit.h
patch
|
blob
|
history
include/llvm/CodeGen/LiveStackAnalysis.h
patch
|
blob
|
history
include/llvm/CodeGen/LiveVariables.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineBasicBlock.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineBlockFrequencyInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineBranchProbabilityInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineConstantPool.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineDominanceFrontier.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineDominators.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineFrameInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineFunction.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineFunctionAnalysis.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineFunctionPass.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineInstr.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineInstrBuilder.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineInstrBundle.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineJumpTableInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineLoopInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineMemOperand.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineModuleInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineOperand.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineRegionInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineRegisterInfo.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineSSAUpdater.h
patch
|
blob
|
history
include/llvm/CodeGen/MachineValueType.h
patch
|
blob
|
history
include/llvm/CodeGen/PBQPRAConstraint.h
patch
|
blob
|
history
include/llvm/CodeGen/Passes.h
patch
|
blob
|
history
include/llvm/CodeGen/PseudoSourceValue.h
patch
|
blob
|
history
include/llvm/CodeGen/RegisterScavenging.h
patch
|
blob
|
history
include/llvm/CodeGen/ResourcePriorityQueue.h
patch
|
blob
|
history
include/llvm/CodeGen/RuntimeLibcalls.h
patch
|
blob
|
history
include/llvm/CodeGen/ScheduleDAG.h
patch
|
blob
|
history
include/llvm/CodeGen/ScheduleHazardRecognizer.h
patch
|
blob
|
history
include/llvm/CodeGen/ScoreboardHazardRecognizer.h
patch
|
blob
|
history
include/llvm/CodeGen/SelectionDAGISel.h
patch
|
blob
|
history
include/llvm/CodeGen/SelectionDAGNodes.h
patch
|
blob
|
history
include/llvm/CodeGen/SlotIndexes.h
patch
|
blob
|
history
include/llvm/CodeGen/StackMaps.h
patch
|
blob
|
history
include/llvm/CodeGen/ValueTypes.h
patch
|
blob
|
history
include/llvm/CodeGen/VirtRegMap.h
patch
|
blob
|
history
include/llvm/CodeGen/WinEHFuncInfo.h
patch
|
blob
|
history
include/llvm/DebugInfo/DIContext.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFContext.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
patch
|
blob
|
history
include/llvm/DebugInfo/DWARF/DWARFUnit.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/IPDBDataStream.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/IPDBLineNumber.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/IPDBSession.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/IPDBSourceFile.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/PDBContext.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/PDBExtras.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/PDBSymDumper.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
patch
|
blob
|
history
include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
patch
|
blob
|
history
include/llvm/ExecutionEngine/ExecutionEngine.h
patch
|
blob
|
history
include/llvm/ExecutionEngine/GenericValue.h
patch
|
blob
|
history
include/llvm/ExecutionEngine/MCJIT.h
patch
|
blob
|
history
include/llvm/ExecutionEngine/ObjectCache.h
patch
|
blob
|
history
include/llvm/ExecutionEngine/SectionMemoryManager.h
patch
|
blob
|
history
include/llvm/IR/Argument.h
patch
|
blob
|
history
include/llvm/IR/AssemblyAnnotationWriter.h
patch
|
blob
|
history
include/llvm/IR/Attributes.h
patch
|
blob
|
history
include/llvm/IR/AutoUpgrade.h
patch
|
blob
|
history
include/llvm/IR/BasicBlock.h
patch
|
blob
|
history
include/llvm/IR/CFG.h
patch
|
blob
|
history
include/llvm/IR/CallSite.h
patch
|
blob
|
history
include/llvm/IR/CallingConv.h
patch
|
blob
|
history
include/llvm/IR/Comdat.h
patch
|
blob
|
history
include/llvm/IR/Constant.h
patch
|
blob
|
history
include/llvm/IR/ConstantFolder.h
patch
|
blob
|
history
include/llvm/IR/ConstantRange.h
patch
|
blob
|
history
include/llvm/IR/Constants.h
patch
|
blob
|
history
include/llvm/IR/DataLayout.h
patch
|
blob
|
history
include/llvm/IR/DerivedTypes.h
patch
|
blob
|
history
include/llvm/IR/Dominators.h
patch
|
blob
|
history
include/llvm/IR/Function.h
patch
|
blob
|
history
include/llvm/IR/GVMaterializer.h
patch
|
blob
|
history
include/llvm/IR/GlobalAlias.h
patch
|
blob
|
history
include/llvm/IR/GlobalObject.h
patch
|
blob
|
history
include/llvm/IR/GlobalValue.h
patch
|
blob
|
history
include/llvm/IR/GlobalVariable.h
patch
|
blob
|
history
include/llvm/IR/IRBuilder.h
patch
|
blob
|
history
include/llvm/IR/IRPrintingPasses.h
patch
|
blob
|
history
include/llvm/IR/InlineAsm.h
patch
|
blob
|
history
include/llvm/IR/InstIterator.h
patch
|
blob
|
history
include/llvm/IR/InstVisitor.h
patch
|
blob
|
history
include/llvm/IR/InstrTypes.h
patch
|
blob
|
history
include/llvm/IR/Instruction.h
patch
|
blob
|
history
include/llvm/IR/Instructions.h
patch
|
blob
|
history
include/llvm/IR/IntrinsicInst.h
patch
|
blob
|
history
include/llvm/IR/Intrinsics.h
patch
|
blob
|
history
include/llvm/IR/LLVMContext.h
patch
|
blob
|
history
include/llvm/IR/LegacyPassManager.h
patch
|
blob
|
history
include/llvm/IR/LegacyPassManagers.h
patch
|
blob
|
history
include/llvm/IR/LegacyPassNameParser.h
patch
|
blob
|
history
include/llvm/IR/Mangler.h
patch
|
blob
|
history
include/llvm/IR/Metadata.h
patch
|
blob
|
history
include/llvm/IR/Module.h
patch
|
blob
|
history
include/llvm/IR/NoFolder.h
patch
|
blob
|
history
include/llvm/IR/OperandTraits.h
patch
|
blob
|
history
include/llvm/IR/Operator.h
patch
|
blob
|
history
include/llvm/IR/PassManager.h
patch
|
blob
|
history
include/llvm/IR/PassManagerInternal.h
patch
|
blob
|
history
include/llvm/IR/Statepoint.h
patch
|
blob
|
history
include/llvm/IR/SymbolTableListTraits.h
patch
|
blob
|
history
include/llvm/IR/Type.h
patch
|
blob
|
history
include/llvm/IR/TypeFinder.h
patch
|
blob
|
history
include/llvm/IR/Use.h
patch
|
blob
|
history
include/llvm/IR/User.h
patch
|
blob
|
history
include/llvm/IR/Value.h
patch
|
blob
|
history
include/llvm/IR/ValueHandle.h
patch
|
blob
|
history
include/llvm/IR/ValueSymbolTable.h
patch
|
blob
|
history
include/llvm/IR/Verifier.h
patch
|
blob
|
history
include/llvm/IRReader/IRReader.h
patch
|
blob
|
history
include/llvm/InitializePasses.h
patch
|
blob
|
history
include/llvm/LTO/LTOCodeGenerator.h
patch
|
blob
|
history
include/llvm/LTO/LTOModule.h
patch
|
blob
|
history
include/llvm/LineEditor/LineEditor.h
patch
|
blob
|
history
include/llvm/Linker/Linker.h
patch
|
blob
|
history
include/llvm/MC/MCAsmBackend.h
patch
|
blob
|
history
include/llvm/MC/MCAsmInfo.h
patch
|
blob
|
history
include/llvm/MC/MCAsmInfoCOFF.h
patch
|
blob
|
history
include/llvm/MC/MCCodeEmitter.h
patch
|
blob
|
history
include/llvm/MC/MCELFObjectWriter.h
patch
|
blob
|
history
include/llvm/MC/MCExternalSymbolizer.h
patch
|
blob
|
history
include/llvm/MC/MCFixedLenDisassembler.h
patch
|
blob
|
history
include/llvm/MC/MCFixup.h
patch
|
blob
|
history
include/llvm/MC/MCFixupKindInfo.h
patch
|
blob
|
history
include/llvm/MC/MCInstrAnalysis.h
patch
|
blob
|
history
include/llvm/MC/MCInstrDesc.h
patch
|
blob
|
history
include/llvm/MC/MCInstrInfo.h
patch
|
blob
|
history
include/llvm/MC/MCInstrItineraries.h
patch
|
blob
|
history
include/llvm/MC/MCMachObjectWriter.h
patch
|
blob
|
history
include/llvm/MC/MCObjectWriter.h
patch
|
blob
|
history
include/llvm/MC/MCParser/MCAsmLexer.h
patch
|
blob
|
history
include/llvm/MC/MCParser/MCAsmParser.h
patch
|
blob
|
history
include/llvm/MC/MCParser/MCAsmParserExtension.h
patch
|
blob
|
history
include/llvm/MC/MCRegisterInfo.h
patch
|
blob
|
history
include/llvm/MC/MCRelocationInfo.h
patch
|
blob
|
history
include/llvm/MC/MCSchedule.h
patch
|
blob
|
history
include/llvm/MC/MCSubtargetInfo.h
patch
|
blob
|
history
include/llvm/MC/MCSymbolCOFF.h
patch
|
blob
|
history
include/llvm/MC/MCSymbolELF.h
patch
|
blob
|
history
include/llvm/MC/MCSymbolMachO.h
patch
|
blob
|
history
include/llvm/MC/MCSymbolizer.h
patch
|
blob
|
history
include/llvm/MC/MCTargetAsmParser.h
patch
|
blob
|
history
include/llvm/MC/MCWin64EH.h
patch
|
blob
|
history
include/llvm/MC/MCWinCOFFObjectWriter.h
patch
|
blob
|
history
include/llvm/MC/MCWinCOFFStreamer.h
patch
|
blob
|
history
include/llvm/MC/MCWinEH.h
patch
|
blob
|
history
include/llvm/MC/MachineLocation.h
patch
|
blob
|
history
include/llvm/MC/StringTableBuilder.h
patch
|
blob
|
history
include/llvm/MC/YAML.h
patch
|
blob
|
history
include/llvm/Object/Archive.h
patch
|
blob
|
history
include/llvm/Object/ArchiveWriter.h
patch
|
blob
|
history
include/llvm/Object/Binary.h
patch
|
blob
|
history
include/llvm/Object/COFFYAML.h
patch
|
blob
|
history
include/llvm/Object/ELFObjectFile.h
patch
|
blob
|
history
include/llvm/Object/IRObjectFile.h
patch
|
blob
|
history
include/llvm/Object/MachO.h
patch
|
blob
|
history
include/llvm/Object/MachOUniversal.h
patch
|
blob
|
history
include/llvm/Object/RelocVisitor.h
patch
|
blob
|
history
include/llvm/Object/SymbolicFile.h
patch
|
blob
|
history
include/llvm/Option/OptSpecifier.h
patch
|
blob
|
history
include/llvm/Pass.h
patch
|
blob
|
history
include/llvm/PassAnalysisSupport.h
patch
|
blob
|
history
include/llvm/PassInfo.h
patch
|
blob
|
history
include/llvm/PassRegistry.h
patch
|
blob
|
history
include/llvm/PassSupport.h
patch
|
blob
|
history
include/llvm/Passes/PassBuilder.h
patch
|
blob
|
history
include/llvm/Support/ARMEHABI.h
patch
|
blob
|
history
include/llvm/Support/ARMWinEH.h
patch
|
blob
|
history
include/llvm/Support/ArrayRecycler.h
patch
|
blob
|
history
include/llvm/Support/Atomic.h
patch
|
blob
|
history
include/llvm/Support/BlockFrequency.h
patch
|
blob
|
history
include/llvm/Support/BranchProbability.h
patch
|
blob
|
history
include/llvm/Support/COM.h
patch
|
blob
|
history
include/llvm/Support/Casting.h
patch
|
blob
|
history
include/llvm/Support/CodeGen.h
patch
|
blob
|
history
include/llvm/Support/CrashRecoveryContext.h
patch
|
blob
|
history
include/llvm/Support/DOTGraphTraits.h
patch
|
blob
|
history
include/llvm/Support/DataStream.h
patch
|
blob
|
history
include/llvm/Support/Debug.h
patch
|
blob
|
history
include/llvm/Support/DynamicLibrary.h
patch
|
blob
|
history
include/llvm/Support/Errc.h
patch
|
blob
|
history
include/llvm/Support/ErrorHandling.h
patch
|
blob
|
history
include/llvm/Support/FileSystem.h
patch
|
blob
|
history
include/llvm/Support/FileUtilities.h
patch
|
blob
|
history
include/llvm/Support/FormattedStream.h
patch
|
blob
|
history
include/llvm/Support/GCOV.h
patch
|
blob
|
history
include/llvm/Support/GenericDomTree.h
patch
|
blob
|
history
include/llvm/Support/GenericDomTreeConstruction.h
patch
|
blob
|
history
include/llvm/Support/GraphWriter.h
patch
|
blob
|
history
include/llvm/Support/Host.h
patch
|
blob
|
history
include/llvm/Support/LineIterator.h
patch
|
blob
|
history
include/llvm/Support/MD5.h
patch
|
blob
|
history
include/llvm/Support/ManagedStatic.h
patch
|
blob
|
history
include/llvm/Support/MathExtras.h
patch
|
blob
|
history
include/llvm/Support/Memory.h
patch
|
blob
|
history
include/llvm/Support/MemoryObject.h
patch
|
blob
|
history
include/llvm/Support/MipsABIFlags.h
patch
|
blob
|
history
include/llvm/Support/Mutex.h
patch
|
blob
|
history
include/llvm/Support/MutexGuard.h
patch
|
blob
|
history
include/llvm/Support/PluginLoader.h
patch
|
blob
|
history
include/llvm/Support/Process.h
patch
|
blob
|
history
include/llvm/Support/Program.h
patch
|
blob
|
history
include/llvm/Support/RWMutex.h
patch
|
blob
|
history
include/llvm/Support/RandomNumberGenerator.h
patch
|
blob
|
history
include/llvm/Support/Recycler.h
patch
|
blob
|
history
include/llvm/Support/RecyclingAllocator.h
patch
|
blob
|
history
include/llvm/Support/Regex.h
patch
|
blob
|
history
include/llvm/Support/Registry.h
patch
|
blob
|
history
include/llvm/Support/Signals.h
patch
|
blob
|
history
include/llvm/Support/SourceMgr.h
patch
|
blob
|
history
include/llvm/Support/StreamingMemoryObject.h
patch
|
blob
|
history
include/llvm/Support/StringPool.h
patch
|
blob
|
history
include/llvm/Support/StringSaver.h
patch
|
blob
|
history
include/llvm/Support/SystemUtils.h
patch
|
blob
|
history
include/llvm/Support/TargetRegistry.h
patch
|
blob
|
history
include/llvm/Support/TargetSelect.h
patch
|
blob
|
history
include/llvm/Support/ThreadLocal.h
patch
|
blob
|
history
include/llvm/Support/Threading.h
patch
|
blob
|
history
include/llvm/Support/TimeValue.h
patch
|
blob
|
history
include/llvm/Support/Timer.h
patch
|
blob
|
history
include/llvm/Support/ToolOutputFile.h
patch
|
blob
|
history
include/llvm/Support/UniqueLock.h
patch
|
blob
|
history
include/llvm/Support/Valgrind.h
patch
|
blob
|
history
include/llvm/Support/Watchdog.h
patch
|
blob
|
history
include/llvm/Support/circular_raw_ostream.h
patch
|
blob
|
history
include/llvm/Support/raw_os_ostream.h
patch
|
blob
|
history
include/llvm/Support/raw_ostream.h
patch
|
blob
|
history
include/llvm/Support/type_traits.h
patch
|
blob
|
history
include/llvm/TableGen/Error.h
patch
|
blob
|
history
include/llvm/TableGen/Record.h
patch
|
blob
|
history
include/llvm/TableGen/StringMatcher.h
patch
|
blob
|
history
include/llvm/Target/TargetCallingConv.h
patch
|
blob
|
history
include/llvm/Target/TargetFrameLowering.h
patch
|
blob
|
history
include/llvm/Target/TargetInstrInfo.h
patch
|
blob
|
history
include/llvm/Target/TargetIntrinsicInfo.h
patch
|
blob
|
history
include/llvm/Target/TargetLowering.h
patch
|
blob
|
history
include/llvm/Target/TargetMachine.h
patch
|
blob
|
history
include/llvm/Target/TargetOptions.h
patch
|
blob
|
history
include/llvm/Target/TargetRecip.h
patch
|
blob
|
history
include/llvm/Target/TargetRegisterInfo.h
patch
|
blob
|
history
include/llvm/Target/TargetSelectionDAGInfo.h
patch
|
blob
|
history
include/llvm/Target/TargetSubtargetInfo.h
patch
|
blob
|
history
include/llvm/Transforms/IPO.h
patch
|
blob
|
history
include/llvm/Transforms/IPO/InlinerPass.h
patch
|
blob
|
history
include/llvm/Transforms/InstCombine/InstCombine.h
patch
|
blob
|
history
include/llvm/Transforms/Instrumentation.h
patch
|
blob
|
history
include/llvm/Transforms/ObjCARC.h
patch
|
blob
|
history
include/llvm/Transforms/Scalar.h
patch
|
blob
|
history
include/llvm/Transforms/Scalar/EarlyCSE.h
patch
|
blob
|
history
include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
patch
|
blob
|
history
include/llvm/Transforms/Scalar/SimplifyCFG.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/ASanStackFrameLayout.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/BasicBlockUtils.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/BuildLibCalls.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/Cloning.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/CodeExtractor.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/CtorUtils.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/GlobalStatus.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/IntegerDivision.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/Local.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/LoopUtils.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/ModuleUtils.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/PromoteMemToReg.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/SSAUpdater.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/SimplifyLibCalls.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/SymbolRewriter.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/UnrollLoop.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/ValueMapper.h
patch
|
blob
|
history
include/llvm/Transforms/Utils/VectorUtils.h
patch
|
blob
|
history
include/llvm/Transforms/Vectorize.h
patch
|
blob
|
history
lib/Analysis/AliasAnalysisCounter.cpp
patch
|
blob
|
history
lib/Analysis/AliasAnalysisEvaluator.cpp
patch
|
blob
|
history
lib/Analysis/AliasDebugger.cpp
patch
|
blob
|
history
lib/Analysis/AliasSetTracker.cpp
patch
|
blob
|
history
lib/Analysis/BasicAliasAnalysis.cpp
patch
|
blob
|
history
lib/Analysis/BlockFrequencyInfoImpl.cpp
patch
|
blob
|
history
lib/Analysis/CFGPrinter.cpp
patch
|
blob
|
history
lib/Analysis/CFLAliasAnalysis.cpp
patch
|
blob
|
history
lib/Analysis/CaptureTracking.cpp
patch
|
blob
|
history
lib/Analysis/DivergenceAnalysis.cpp
patch
|
blob
|
history
lib/Analysis/DomPrinter.cpp
patch
|
blob
|
history
lib/Analysis/IPA/CallPrinter.cpp
patch
|
blob
|
history
lib/Analysis/IPA/GlobalsModRef.cpp
patch
|
blob
|
history
lib/Analysis/InstCount.cpp
patch
|
blob
|
history
lib/Analysis/LazyValueInfo.cpp
patch
|
blob
|
history
lib/Analysis/Lint.cpp
patch
|
blob
|
history
lib/Analysis/LoopPass.cpp
patch
|
blob
|
history
lib/Analysis/MemDepPrinter.cpp
patch
|
blob
|
history
lib/Analysis/MemDerefPrinter.cpp
patch
|
blob
|
history
lib/Analysis/ModuleDebugInfoPrinter.cpp
patch
|
blob
|
history
lib/Analysis/RegionPrinter.cpp
patch
|
blob
|
history
lib/Analysis/ScalarEvolution.cpp
patch
|
blob
|
history
lib/Analysis/ScalarEvolutionExpander.cpp
patch
|
blob
|
history
lib/Analysis/StratifiedSets.h
patch
|
blob
|
history
lib/Analysis/TypeBasedAliasAnalysis.cpp
patch
|
blob
|
history
lib/AsmParser/LLParser.h
patch
|
blob
|
history
lib/Bitcode/Reader/BitcodeReader.cpp
patch
|
blob
|
history
lib/Bitcode/Writer/BitcodeWriterPass.cpp
patch
|
blob
|
history
lib/Bitcode/Writer/ValueEnumerator.cpp
patch
|
blob
|
history
lib/Bitcode/Writer/ValueEnumerator.h
patch
|
blob
|
history
lib/CodeGen/AggressiveAntiDepBreaker.h
patch
|
blob
|
history
lib/CodeGen/AntiDepBreaker.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/AddressPool.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/ByteStreamer.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DIEHash.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DebugLocEntry.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DebugLocStream.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfAccelTable.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfExpression.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfFile.cpp
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfFile.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfStringPool.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/DwarfUnit.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/EHStreamer.h
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
patch
|
blob
|
history
lib/CodeGen/AsmPrinter/WinException.h
patch
|
blob
|
history
lib/CodeGen/AtomicExpandPass.cpp
patch
|
blob
|
history
lib/CodeGen/BranchFolding.cpp
patch
|
blob
|
history
lib/CodeGen/BranchFolding.h
patch
|
blob
|
history
lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
lib/CodeGen/CoreCLRGC.cpp
patch
|
blob
|
history
lib/CodeGen/CriticalAntiDepBreaker.h
patch
|
blob
|
history
lib/CodeGen/DFAPacketizer.cpp
patch
|
blob
|
history
lib/CodeGen/DeadMachineInstructionElim.cpp
patch
|
blob
|
history
lib/CodeGen/EdgeBundles.cpp
patch
|
blob
|
history
lib/CodeGen/ExecutionDepsFix.cpp
patch
|
blob
|
history
lib/CodeGen/GCMetadata.cpp
patch
|
blob
|
history
lib/CodeGen/GCRootLowering.cpp
patch
|
blob
|
history
lib/CodeGen/IfConversion.cpp
patch
|
blob
|
history
lib/CodeGen/ImplicitNullChecks.cpp
patch
|
blob
|
history
lib/CodeGen/InlineSpiller.cpp
patch
|
blob
|
history
lib/CodeGen/MachineBlockPlacement.cpp
patch
|
blob
|
history
lib/CodeGen/MachineCombiner.cpp
patch
|
blob
|
history
lib/CodeGen/MachineCopyPropagation.cpp
patch
|
blob
|
history
lib/CodeGen/MachineFunction.cpp
patch
|
blob
|
history
lib/CodeGen/MachineFunctionPrinterPass.cpp
patch
|
blob
|
history
lib/CodeGen/MachineModuleInfo.cpp
patch
|
blob
|
history
lib/CodeGen/MachineSSAUpdater.cpp
patch
|
blob
|
history
lib/CodeGen/MachineScheduler.cpp
patch
|
blob
|
history
lib/CodeGen/MachineTraceMetrics.cpp
patch
|
blob
|
history
lib/CodeGen/MachineVerifier.cpp
patch
|
blob
|
history
lib/CodeGen/OptimizePHIs.cpp
patch
|
blob
|
history
lib/CodeGen/PHIElimination.cpp
patch
|
blob
|
history
lib/CodeGen/PeepholeOptimizer.cpp
patch
|
blob
|
history
lib/CodeGen/PostRASchedulerList.cpp
patch
|
blob
|
history
lib/CodeGen/RegAllocFast.cpp
patch
|
blob
|
history
lib/CodeGen/RegisterCoalescer.cpp
patch
|
blob
|
history
lib/CodeGen/RegisterCoalescer.h
patch
|
blob
|
history
lib/CodeGen/ScheduleDAGInstrs.cpp
patch
|
blob
|
history
lib/CodeGen/ScheduleDAGPrinter.cpp
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/InstrEmitter.h
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
patch
|
blob
|
history
lib/CodeGen/ShadowStackGCLowering.cpp
patch
|
blob
|
history
lib/CodeGen/Spiller.h
patch
|
blob
|
history
lib/CodeGen/SplitKit.h
patch
|
blob
|
history
lib/CodeGen/StatepointExampleGC.cpp
patch
|
blob
|
history
lib/CodeGen/TailDuplication.cpp
patch
|
blob
|
history
lib/CodeGen/UnreachableBlockElim.cpp
patch
|
blob
|
history
lib/CodeGen/WinEHPrepare.cpp
patch
|
blob
|
history
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
patch
|
blob
|
history
lib/DebugInfo/DWARF/DWARFFormValue.cpp
patch
|
blob
|
history
lib/DebugInfo/DWARF/SyntaxHighlighting.h
patch
|
blob
|
history
lib/DebugInfo/PDB/PDBSymbolFunc.cpp
patch
|
blob
|
history
lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
patch
|
blob
|
history
lib/ExecutionEngine/Interpreter/Interpreter.h
patch
|
blob
|
history
lib/ExecutionEngine/MCJIT/MCJIT.h
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
patch
|
blob
|
history
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
patch
|
blob
|
history
lib/IR/AsmWriter.cpp
patch
|
blob
|
history
lib/IR/AttributeImpl.h
patch
|
blob
|
history
lib/IR/ConstantFold.h
patch
|
blob
|
history
lib/IR/DIBuilder.cpp
patch
|
blob
|
history
lib/IR/DiagnosticInfo.cpp
patch
|
blob
|
history
lib/IR/GCOV.cpp
patch
|
blob
|
history
lib/IR/IRPrintingPasses.cpp
patch
|
blob
|
history
lib/IR/LLVMContextImpl.cpp
patch
|
blob
|
history
lib/IR/LLVMContextImpl.h
patch
|
blob
|
history
lib/IR/LegacyPassManager.cpp
patch
|
blob
|
history
lib/IR/Operator.cpp
patch
|
blob
|
history
lib/IR/Pass.cpp
patch
|
blob
|
history
lib/IR/SymbolTableListTraitsImpl.h
patch
|
blob
|
history
lib/IR/Use.cpp
patch
|
blob
|
history
lib/IR/User.cpp
patch
|
blob
|
history
lib/IR/Verifier.cpp
patch
|
blob
|
history
lib/LibDriver/LibDriver.cpp
patch
|
blob
|
history
lib/Linker/LinkModules.cpp
patch
|
blob
|
history
lib/MC/ELFObjectWriter.cpp
patch
|
blob
|
history
lib/MC/MCAssembler.cpp
patch
|
blob
|
history
lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
patch
|
blob
|
history
lib/MC/MCDwarf.cpp
patch
|
blob
|
history
lib/MC/MCNullStreamer.cpp
patch
|
blob
|
history
lib/MC/MCParser/AsmParser.cpp
patch
|
blob
|
history
lib/MC/MCParser/COFFAsmParser.cpp
patch
|
blob
|
history
lib/MC/MCParser/ELFAsmParser.cpp
patch
|
blob
|
history
lib/MC/MCSymbolELF.cpp
patch
|
blob
|
history
lib/MC/MCWin64EH.cpp
patch
|
blob
|
history
lib/MC/MCWinEH.cpp
patch
|
blob
|
history
lib/MC/WinCOFFObjectWriter.cpp
patch
|
blob
|
history
lib/MC/WinCOFFStreamer.cpp
patch
|
blob
|
history
lib/Object/COFFYAML.cpp
patch
|
blob
|
history
lib/Object/ELFYAML.cpp
patch
|
blob
|
history
lib/Object/RecordStreamer.h
patch
|
blob
|
history
lib/Option/OptTable.cpp
patch
|
blob
|
history
lib/ProfileData/CoverageMapping.cpp
patch
|
blob
|
history
lib/ProfileData/CoverageMappingReader.cpp
patch
|
blob
|
history
lib/ProfileData/CoverageMappingWriter.cpp
patch
|
blob
|
history
lib/ProfileData/InstrProf.cpp
patch
|
blob
|
history
lib/ProfileData/InstrProfIndexed.h
patch
|
blob
|
history
lib/ProfileData/InstrProfWriter.cpp
patch
|
blob
|
history
lib/ProfileData/SampleProf.cpp
patch
|
blob
|
history
lib/Support/APFloat.cpp
patch
|
blob
|
history
lib/Support/APInt.cpp
patch
|
blob
|
history
lib/Support/ARMBuildAttrs.cpp
patch
|
blob
|
history
lib/Support/ARMWinEH.cpp
patch
|
blob
|
history
lib/Support/Allocator.cpp
patch
|
blob
|
history
lib/Support/CommandLine.cpp
patch
|
blob
|
history
lib/Support/CrashRecoveryContext.cpp
patch
|
blob
|
history
lib/Support/DAGDeltaAlgorithm.cpp
patch
|
blob
|
history
lib/Support/DataStream.cpp
patch
|
blob
|
history
lib/Support/Debug.cpp
patch
|
blob
|
history
lib/Support/FileOutputBuffer.cpp
patch
|
blob
|
history
lib/Support/MD5.cpp
patch
|
blob
|
history
lib/Support/MathExtras.cpp
patch
|
blob
|
history
lib/Support/MemoryBuffer.cpp
patch
|
blob
|
history
lib/Support/Mutex.cpp
patch
|
blob
|
history
lib/Support/RWMutex.cpp
patch
|
blob
|
history
lib/Support/Statistic.cpp
patch
|
blob
|
history
lib/Support/StreamingMemoryObject.cpp
patch
|
blob
|
history
lib/Support/TimeValue.cpp
patch
|
blob
|
history
lib/Support/Timer.cpp
patch
|
blob
|
history
lib/Support/Unix/Process.inc
patch
|
blob
|
history
lib/Support/Unix/Program.inc
patch
|
blob
|
history
lib/Support/Unix/ThreadLocal.inc
patch
|
blob
|
history
lib/Support/Unix/TimeValue.inc
patch
|
blob
|
history
lib/Support/Unix/Watchdog.inc
patch
|
blob
|
history
lib/Support/YAMLParser.cpp
patch
|
blob
|
history
lib/TableGen/TGLexer.h
patch
|
blob
|
history
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
patch
|
blob
|
history
lib/Target/AArch64/AArch64BranchRelaxation.cpp
patch
|
blob
|
history
lib/Target/AArch64/AArch64CallingConvention.h
patch
|
blob
|
history
lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
patch
|
blob
|
history
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
patch
|
blob
|
history
lib/Target/AArch64/AArch64FrameLowering.h
patch
|
blob
|
history
lib/Target/AArch64/AArch64MCInstLower.h
patch
|
blob
|
history
lib/Target/AArch64/AArch64MachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
patch
|
blob
|
history
lib/Target/AArch64/AArch64PBQPRegAlloc.h
patch
|
blob
|
history
lib/Target/AArch64/AArch64SelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/AArch64/AArch64StorePairSuppress.cpp
patch
|
blob
|
history
lib/Target/AArch64/AArch64Subtarget.h
patch
|
blob
|
history
lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
patch
|
blob
|
history
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
patch
|
blob
|
history
lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
patch
|
blob
|
history
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
patch
|
blob
|
history
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
patch
|
blob
|
history
lib/Target/AArch64/Utils/AArch64BaseInfo.h
patch
|
blob
|
history
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
patch
|
blob
|
history
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
patch
|
blob
|
history
lib/Target/AMDGPU/AMDGPUInstrInfo.h
patch
|
blob
|
history
lib/Target/AMDGPU/AMDGPUMachineFunction.h
patch
|
blob
|
history
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
patch
|
blob
|
history
lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h
patch
|
blob
|
history
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
patch
|
blob
|
history
lib/Target/AMDGPU/R600Defines.h
patch
|
blob
|
history
lib/Target/AMDGPU/R600ISelLowering.h
patch
|
blob
|
history
lib/Target/AMDGPU/R600InstrInfo.h
patch
|
blob
|
history
lib/Target/AMDGPU/R600MachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
patch
|
blob
|
history
lib/Target/AMDGPU/R600TextureIntrinsicsReplacer.cpp
patch
|
blob
|
history
lib/Target/AMDGPU/SIDefines.h
patch
|
blob
|
history
lib/Target/ARM/ARM.h
patch
|
blob
|
history
lib/Target/ARM/ARMBaseInstrInfo.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMBaseInstrInfo.h
patch
|
blob
|
history
lib/Target/ARM/ARMCallingConv.h
patch
|
blob
|
history
lib/Target/ARM/ARMConstantIslandPass.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMConstantPoolValue.h
patch
|
blob
|
history
lib/Target/ARM/ARMExpandPseudoInsts.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMFastISel.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMFeatures.h
patch
|
blob
|
history
lib/Target/ARM/ARMFrameLowering.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMFrameLowering.h
patch
|
blob
|
history
lib/Target/ARM/ARMISelDAGToDAG.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMISelLowering.h
patch
|
blob
|
history
lib/Target/ARM/ARMInstrInfo.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMInstrInfo.h
patch
|
blob
|
history
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMMachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/ARM/ARMOptimizeBarriersPass.cpp
patch
|
blob
|
history
lib/Target/ARM/ARMSelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/ARM/ARMSubtarget.h
patch
|
blob
|
history
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
patch
|
blob
|
history
lib/Target/ARM/MLxExpansionPass.cpp
patch
|
blob
|
history
lib/Target/ARM/Thumb1FrameLowering.h
patch
|
blob
|
history
lib/Target/ARM/Thumb1InstrInfo.h
patch
|
blob
|
history
lib/Target/ARM/Thumb2ITBlockPass.cpp
patch
|
blob
|
history
lib/Target/ARM/Thumb2InstrInfo.h
patch
|
blob
|
history
lib/Target/ARM/Thumb2SizeReduction.cpp
patch
|
blob
|
history
lib/Target/ARM/ThumbRegisterInfo.h
patch
|
blob
|
history
lib/Target/BPF/BPFAsmPrinter.cpp
patch
|
blob
|
history
lib/Target/BPF/BPFFrameLowering.h
patch
|
blob
|
history
lib/Target/BPF/BPFISelDAGToDAG.cpp
patch
|
blob
|
history
lib/Target/BPF/BPFISelLowering.cpp
patch
|
blob
|
history
lib/Target/BPF/BPFISelLowering.h
patch
|
blob
|
history
lib/Target/BPF/BPFInstrInfo.h
patch
|
blob
|
history
lib/Target/BPF/BPFMCInstLower.h
patch
|
blob
|
history
lib/Target/BPF/BPFRegisterInfo.h
patch
|
blob
|
history
lib/Target/BPF/BPFSubtarget.h
patch
|
blob
|
history
lib/Target/BPF/BPFTargetMachine.cpp
patch
|
blob
|
history
lib/Target/BPF/BPFTargetMachine.h
patch
|
blob
|
history
lib/Target/BPF/InstPrinter/BPFInstPrinter.h
patch
|
blob
|
history
lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
patch
|
blob
|
history
lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
patch
|
blob
|
history
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
patch
|
blob
|
history
lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h
patch
|
blob
|
history
lib/Target/CppBackend/CPPTargetMachine.h
patch
|
blob
|
history
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
patch
|
blob
|
history
lib/Target/Hexagon/Hexagon.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonAsmPrinter.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonCFGOptimizer.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonExpandCondsets.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonFixupHwLoops.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonFrameLowering.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonFrameLowering.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonISelLowering.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonISelLowering.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonInstrInfo.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonMachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonMachineScheduler.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonPeephole.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonSelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonTargetMachine.cpp
patch
|
blob
|
history
lib/Target/Hexagon/HexagonTargetStreamer.h
patch
|
blob
|
history
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h
patch
|
blob
|
history
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
patch
|
blob
|
history
lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430BranchSelector.cpp
patch
|
blob
|
history
lib/Target/MSP430/MSP430FrameLowering.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
patch
|
blob
|
history
lib/Target/MSP430/MSP430ISelLowering.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430InstrInfo.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430MCInstLower.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430MachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430SelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/MSP430/MSP430Subtarget.h
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsABIInfo.h
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
patch
|
blob
|
history
lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
patch
|
blob
|
history
lib/Target/Mips/Mips.h
patch
|
blob
|
history
lib/Target/Mips/Mips16FrameLowering.h
patch
|
blob
|
history
lib/Target/Mips/Mips16HardFloat.cpp
patch
|
blob
|
history
lib/Target/Mips/Mips16HardFloatInfo.cpp
patch
|
blob
|
history
lib/Target/Mips/Mips16HardFloatInfo.h
patch
|
blob
|
history
lib/Target/Mips/Mips16ISelDAGToDAG.h
patch
|
blob
|
history
lib/Target/Mips/Mips16ISelLowering.cpp
patch
|
blob
|
history
lib/Target/Mips/Mips16ISelLowering.h
patch
|
blob
|
history
lib/Target/Mips/Mips16InstrInfo.h
patch
|
blob
|
history
lib/Target/Mips/MipsAnalyzeImmediate.h
patch
|
blob
|
history
lib/Target/Mips/MipsAsmPrinter.h
patch
|
blob
|
history
lib/Target/Mips/MipsCCState.h
patch
|
blob
|
history
lib/Target/Mips/MipsFrameLowering.h
patch
|
blob
|
history
lib/Target/Mips/MipsISelDAGToDAG.h
patch
|
blob
|
history
lib/Target/Mips/MipsISelLowering.h
patch
|
blob
|
history
lib/Target/Mips/MipsInstrInfo.h
patch
|
blob
|
history
lib/Target/Mips/MipsMCInstLower.h
patch
|
blob
|
history
lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
patch
|
blob
|
history
lib/Target/Mips/MipsOs16.cpp
patch
|
blob
|
history
lib/Target/Mips/MipsSEFrameLowering.cpp
patch
|
blob
|
history
lib/Target/Mips/MipsSEFrameLowering.h
patch
|
blob
|
history
lib/Target/Mips/MipsSEISelDAGToDAG.h
patch
|
blob
|
history
lib/Target/Mips/MipsSEISelLowering.h
patch
|
blob
|
history
lib/Target/Mips/MipsSEInstrInfo.h
patch
|
blob
|
history
lib/Target/Mips/MipsSelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/Mips/MipsSubtarget.h
patch
|
blob
|
history
lib/Target/Mips/MipsTargetMachine.h
patch
|
blob
|
history
lib/Target/Mips/MipsTargetStreamer.h
patch
|
blob
|
history
lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h
patch
|
blob
|
history
lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h
patch
|
blob
|
history
lib/Target/NVPTX/ManagedStringPool.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTX.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXAsmPrinter.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXFrameLowering.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXISelDAGToDAG.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXISelLowering.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXImageOptimizer.cpp
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXRegisterInfo.cpp
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXSubtarget.h
patch
|
blob
|
history
lib/Target/NVPTX/NVPTXUtilities.h
patch
|
blob
|
history
lib/Target/NVPTX/NVVMReflect.cpp
patch
|
blob
|
history
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
patch
|
blob
|
history
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
patch
|
blob
|
history
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
patch
|
blob
|
history
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
patch
|
blob
|
history
lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
patch
|
blob
|
history
lib/Target/PowerPC/PPC.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCBranchSelector.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCCallingConv.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCEarlyReturn.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCFastISel.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCFrameLowering.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCISelLowering.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCISelLowering.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCInstrBuilder.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCInstrInfo.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCLoopDataPrefetch.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCSelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCSubtarget.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCTLSDynamicCall.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCTOCRegDeps.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCTargetStreamer.h
patch
|
blob
|
history
lib/Target/PowerPC/PPCVSXCopy.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCVSXFMAMutate.cpp
patch
|
blob
|
history
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
patch
|
blob
|
history
lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
patch
|
blob
|
history
lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
patch
|
blob
|
history
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
patch
|
blob
|
history
lib/Target/Sparc/Sparc.h
patch
|
blob
|
history
lib/Target/Sparc/SparcFrameLowering.h
patch
|
blob
|
history
lib/Target/Sparc/SparcISelLowering.h
patch
|
blob
|
history
lib/Target/Sparc/SparcInstrInfo.h
patch
|
blob
|
history
lib/Target/Sparc/SparcMachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/Sparc/SparcSelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/SystemZ/SystemZISelLowering.cpp
patch
|
blob
|
history
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
patch
|
blob
|
history
lib/Target/X86/AsmParser/X86AsmInstrumentation.h
patch
|
blob
|
history
lib/Target/X86/Disassembler/X86Disassembler.cpp
patch
|
blob
|
history
lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
patch
|
blob
|
history
lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86BaseInfo.h
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86FixupKinds.h
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
patch
|
blob
|
history
lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
patch
|
blob
|
history
lib/Target/X86/Utils/X86ShuffleDecode.cpp
patch
|
blob
|
history
lib/Target/X86/Utils/X86ShuffleDecode.h
patch
|
blob
|
history
lib/Target/X86/X86.h
patch
|
blob
|
history
lib/Target/X86/X86CallFrameOptimization.cpp
patch
|
blob
|
history
lib/Target/X86/X86CallingConv.h
patch
|
blob
|
history
lib/Target/X86/X86FixupLEAs.cpp
patch
|
blob
|
history
lib/Target/X86/X86FloatingPoint.cpp
patch
|
blob
|
history
lib/Target/X86/X86FrameLowering.h
patch
|
blob
|
history
lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
lib/Target/X86/X86ISelLowering.h
patch
|
blob
|
history
lib/Target/X86/X86InstrBuilder.h
patch
|
blob
|
history
lib/Target/X86/X86InstrInfo.cpp
patch
|
blob
|
history
lib/Target/X86/X86InstrInfo.h
patch
|
blob
|
history
lib/Target/X86/X86MCInstLower.cpp
patch
|
blob
|
history
lib/Target/X86/X86MachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/X86/X86PadShortFunction.cpp
patch
|
blob
|
history
lib/Target/X86/X86RegisterInfo.cpp
patch
|
blob
|
history
lib/Target/X86/X86RegisterInfo.h
patch
|
blob
|
history
lib/Target/X86/X86SelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/X86/X86Subtarget.h
patch
|
blob
|
history
lib/Target/X86/X86TargetMachine.h
patch
|
blob
|
history
lib/Target/X86/X86VZeroUpper.cpp
patch
|
blob
|
history
lib/Target/X86/X86WinEHState.cpp
patch
|
blob
|
history
lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
patch
|
blob
|
history
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
patch
|
blob
|
history
lib/Target/XCore/XCore.h
patch
|
blob
|
history
lib/Target/XCore/XCoreFrameLowering.h
patch
|
blob
|
history
lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
patch
|
blob
|
history
lib/Target/XCore/XCoreISelLowering.h
patch
|
blob
|
history
lib/Target/XCore/XCoreInstrInfo.cpp
patch
|
blob
|
history
lib/Target/XCore/XCoreInstrInfo.h
patch
|
blob
|
history
lib/Target/XCore/XCoreLowerThreadLocal.cpp
patch
|
blob
|
history
lib/Target/XCore/XCoreMCInstLower.h
patch
|
blob
|
history
lib/Target/XCore/XCoreMachineFunctionInfo.h
patch
|
blob
|
history
lib/Target/XCore/XCoreSelectionDAGInfo.h
patch
|
blob
|
history
lib/Target/XCore/XCoreSubtarget.h
patch
|
blob
|
history
lib/Target/XCore/XCoreTargetStreamer.h
patch
|
blob
|
history
lib/Transforms/Hello/Hello.cpp
patch
|
blob
|
history
lib/Transforms/IPO/ArgumentPromotion.cpp
patch
|
blob
|
history
lib/Transforms/IPO/BarrierNoopPass.cpp
patch
|
blob
|
history
lib/Transforms/IPO/ConstantMerge.cpp
patch
|
blob
|
history
lib/Transforms/IPO/DeadArgumentElimination.cpp
patch
|
blob
|
history
lib/Transforms/IPO/ExtractGV.cpp
patch
|
blob
|
history
lib/Transforms/IPO/FunctionAttrs.cpp
patch
|
blob
|
history
lib/Transforms/IPO/GlobalDCE.cpp
patch
|
blob
|
history
lib/Transforms/IPO/GlobalOpt.cpp
patch
|
blob
|
history
lib/Transforms/IPO/IPConstantPropagation.cpp
patch
|
blob
|
history
lib/Transforms/IPO/InlineAlways.cpp
patch
|
blob
|
history
lib/Transforms/IPO/LoopExtractor.cpp
patch
|
blob
|
history
lib/Transforms/IPO/MergeFunctions.cpp
patch
|
blob
|
history
lib/Transforms/IPO/PartialInlining.cpp
patch
|
blob
|
history
lib/Transforms/IPO/PruneEH.cpp
patch
|
blob
|
history
lib/Transforms/IPO/StripSymbols.cpp
patch
|
blob
|
history
lib/Transforms/InstCombine/InstCombineAddSub.cpp
patch
|
blob
|
history
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
patch
|
blob
|
history
lib/Transforms/InstCombine/InstCombinePHI.cpp
patch
|
blob
|
history
lib/Transforms/InstCombine/InstructionCombining.cpp
patch
|
blob
|
history
lib/Transforms/Instrumentation/BoundsChecking.cpp
patch
|
blob
|
history
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
patch
|
blob
|
history
lib/Transforms/Instrumentation/GCOVProfiling.cpp
patch
|
blob
|
history
lib/Transforms/ObjCARC/BlotMapVector.h
patch
|
blob
|
history
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
patch
|
blob
|
history
lib/Transforms/ObjCARC/ObjCARCContract.cpp
patch
|
blob
|
history
lib/Transforms/ObjCARC/ObjCARCExpand.cpp
patch
|
blob
|
history
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/ADCE.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/BDCE.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/ConstantHoisting.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/ConstantProp.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/DCE.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/DeadStoreElimination.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/EarlyCSE.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/FlattenCFGPass.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/Float2Int.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/GVN.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/IndVarSimplify.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/JumpThreading.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LICM.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoadCombine.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopDeletion.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopInstSimplify.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopRerollPass.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopRotation.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopUnrollPass.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LoopUnswitch.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LowerAtomic.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/MemCpyOptimizer.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/PlaceSafepoints.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/Reassociate.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/Reg2Mem.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/SROA.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/SampleProfile.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/ScalarReplAggregates.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/SimplifyCFGPass.cpp
patch
|
blob
|
history
lib/Transforms/Scalar/TailRecursionElimination.cpp
patch
|
blob
|
history
lib/Transforms/Utils/ASanStackFrameLayout.cpp
patch
|
blob
|
history
lib/Transforms/Utils/BreakCriticalEdges.cpp
patch
|
blob
|
history
lib/Transforms/Utils/BypassSlowDivision.cpp
patch
|
blob
|
history
lib/Transforms/Utils/CloneFunction.cpp
patch
|
blob
|
history
lib/Transforms/Utils/CtorUtils.cpp
patch
|
blob
|
history
lib/Transforms/Utils/FlattenCFG.cpp
patch
|
blob
|
history
lib/Transforms/Utils/InlineFunction.cpp
patch
|
blob
|
history
lib/Transforms/Utils/InstructionNamer.cpp
patch
|
blob
|
history
lib/Transforms/Utils/LCSSA.cpp
patch
|
blob
|
history
lib/Transforms/Utils/LoopSimplify.cpp
patch
|
blob
|
history
lib/Transforms/Utils/LowerSwitch.cpp
patch
|
blob
|
history
lib/Transforms/Utils/MetaRenamer.cpp
patch
|
blob
|
history
lib/Transforms/Utils/SSAUpdater.cpp
patch
|
blob
|
history
lib/Transforms/Utils/SimplifyCFG.cpp
patch
|
blob
|
history
lib/Transforms/Utils/SimplifyIndVar.cpp
patch
|
blob
|
history
lib/Transforms/Utils/SimplifyInstructions.cpp
patch
|
blob
|
history
lib/Transforms/Utils/SymbolRewriter.cpp
patch
|
blob
|
history
lib/Transforms/Vectorize/BBVectorize.cpp
patch
|
blob
|
history
lib/Transforms/Vectorize/LoopVectorize.cpp
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/APInt.h
b/include/llvm/ADT/APInt.h
index de56167320b4f5308c625216bf79a658f17ca05b..a790203434b76746c5bedeb1d3a18c6a8f3b7ee4 100644
(file)
--- a/
include/llvm/ADT/APInt.h
+++ b/
include/llvm/ADT/APInt.h
@@
-1896,11
+1896,11
@@
inline APInt Xor(const APInt &LHS, const APInt &RHS) { return LHS ^ RHS; }
/// Performs a bitwise complement operation on APInt.
inline APInt Not(const APInt &APIVal) { return ~APIVal; }
/// Performs a bitwise complement operation on APInt.
inline APInt Not(const APInt &APIVal) { return ~APIVal; }
-} //
End of APIntOps namespace
+} //
namespace APIntOps
// See friend declaration above. This additional declaration is required in
// order to compile LLVM with IBM xlC compiler.
hash_code hash_value(const APInt &Arg);
// See friend declaration above. This additional declaration is required in
// order to compile LLVM with IBM xlC compiler.
hash_code hash_value(const APInt &Arg);
-} //
End of llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/ArrayRef.h
b/include/llvm/ADT/ArrayRef.h
index 1b2bdffc8335d7cbff37c2b1a13d9496b6c37b80..397e2ee1f6e419a6c1f134eb45dd136827e3e030 100644
(file)
--- a/
include/llvm/ADT/ArrayRef.h
+++ b/
include/llvm/ADT/ArrayRef.h
@@
-361,6
+361,6
@@
namespace llvm {
template <typename T> struct isPodLike<ArrayRef<T> > {
static const bool value = true;
};
template <typename T> struct isPodLike<ArrayRef<T> > {
static const bool value = true;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/BitVector.h
b/include/llvm/ADT/BitVector.h
index f58dd7356c7dd093e8550701260d306ce1a8e3ca..e57171de9cd773777e212c88d445c34824e1f52d 100644
(file)
--- a/
include/llvm/ADT/BitVector.h
+++ b/
include/llvm/ADT/BitVector.h
@@
-568,7
+568,7
@@
private:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
namespace std {
/// Implement std::swap in terms of BitVector swap.
namespace std {
/// Implement std::swap in terms of BitVector swap.
diff --git
a/include/llvm/ADT/DenseMap.h
b/include/llvm/ADT/DenseMap.h
index 27f73157a29f38cd39e3fa8c3afab85bec7ff61f..bf58becd722dc65122d7df43e7a0fb119391c1c6 100644
(file)
--- a/
include/llvm/ADT/DenseMap.h
+++ b/
include/llvm/ADT/DenseMap.h
@@
-42,7
+42,7
@@
struct DenseMapPair : public std::pair<KeyT, ValueT> {
ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; }
};
ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; }
};
-}
+}
// namespace detail
template <
typename KeyT, typename ValueT, typename KeyInfoT = DenseMapInfo<KeyT>,
template <
typename KeyT, typename ValueT, typename KeyInfoT = DenseMapInfo<KeyT>,
diff --git
a/include/llvm/ADT/DenseSet.h
b/include/llvm/ADT/DenseSet.h
index d34024005dfe4d55b710327d8962eabca0cf2958..b1631be77ad98d3d94506d8916b9f3e57cf4b02f 100644
(file)
--- a/
include/llvm/ADT/DenseSet.h
+++ b/
include/llvm/ADT/DenseSet.h
@@
-32,7
+32,7
@@
public:
DenseSetEmpty &getSecond() { return *this; }
const DenseSetEmpty &getSecond() const { return *this; }
};
DenseSetEmpty &getSecond() { return *this; }
const DenseSetEmpty &getSecond() const { return *this; }
};
-}
+}
// namespace detail
/// DenseSet - This implements a dense probed hash-table based set.
template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >
/// DenseSet - This implements a dense probed hash-table based set.
template<typename ValueT, typename ValueInfoT = DenseMapInfo<ValueT> >
diff --git
a/include/llvm/ADT/DepthFirstIterator.h
b/include/llvm/ADT/DepthFirstIterator.h
index d79b9acacfa94b391e1ee33f6090e0eb4ad26760..01bbe1a2dcf931195d2884ec05388e66c4c9b3e1 100644
(file)
--- a/
include/llvm/ADT/DepthFirstIterator.h
+++ b/
include/llvm/ADT/DepthFirstIterator.h
@@
-288,6
+288,6
@@
iterator_range<idf_ext_iterator<T, SetTy>> inverse_depth_first_ext(const T& G,
return make_range(idf_ext_begin(G, S), idf_ext_end(G, S));
}
return make_range(idf_ext_begin(G, S), idf_ext_end(G, S));
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/EquivalenceClasses.h
b/include/llvm/ADT/EquivalenceClasses.h
index d6a26f88e67dee0c2e2ee6fcdd460261a48c0793..6e87dbd96ba77dce91071f9e1852886fef56ac9a 100644
(file)
--- a/
include/llvm/ADT/EquivalenceClasses.h
+++ b/
include/llvm/ADT/EquivalenceClasses.h
@@
-278,6
+278,6
@@
public:
};
};
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/GraphTraits.h
b/include/llvm/ADT/GraphTraits.h
index 823caef7647e70572e6e7c9baab6eec75523727f..21bf23b92af4a8269918e701b8b9af7566303ad7 100644
(file)
--- a/
include/llvm/ADT/GraphTraits.h
+++ b/
include/llvm/ADT/GraphTraits.h
@@
-101,6
+101,6
@@
struct GraphTraits<Inverse<Inverse<T> > > {
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/IndexedMap.h
b/include/llvm/ADT/IndexedMap.h
index 5ba85c02792095ff75ef49e21ee1d172481234eb..ae9c695ec12f61eff7113408721f701accdc3368 100644
(file)
--- a/
include/llvm/ADT/IndexedMap.h
+++ b/
include/llvm/ADT/IndexedMap.h
@@
-80,6
+80,6
@@
template <typename T, typename ToIndexT = llvm::identity<unsigned> >
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/IntEqClasses.h
b/include/llvm/ADT/IntEqClasses.h
index 8e75c48e37645c24b894a92dae4658cce70a2156..9dbc228383e8998e4424ce909b24b8d16427af7a 100644
(file)
--- a/
include/llvm/ADT/IntEqClasses.h
+++ b/
include/llvm/ADT/IntEqClasses.h
@@
-83,6
+83,6
@@
public:
void uncompress();
};
void uncompress();
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/Optional.h
b/include/llvm/ADT/Optional.h
index 855ab890392ee26e103e36f7aee3b469c15c7176..dd484979aedce9a6f0793b11da62c82b0818d759 100644
(file)
--- a/
include/llvm/ADT/Optional.h
+++ b/
include/llvm/ADT/Optional.h
@@
-204,6
+204,6
@@
void operator>=(const Optional<T> &X, const Optional<U> &Y);
template<typename T, typename U>
void operator>(const Optional<T> &X, const Optional<U> &Y);
template<typename T, typename U>
void operator>(const Optional<T> &X, const Optional<U> &Y);
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/PointerUnion.h
b/include/llvm/ADT/PointerUnion.h
index f27b81113ec504eb91d321f201285f0a94db3150..3c63a522e1c73ef6b8b6e83d9f664f5741387841 100644
(file)
--- a/
include/llvm/ADT/PointerUnion.h
+++ b/
include/llvm/ADT/PointerUnion.h
@@
-507,6
+507,6
@@
namespace llvm {
RHS.template get<U>()));
}
};
RHS.template get<U>()));
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/PostOrderIterator.h
b/include/llvm/ADT/PostOrderIterator.h
index 759a2db24f2a6dae00f9bfa351130c547bfc8179..059d7b001194ec8bdfc4a2658a10e743820ee83f 100644
(file)
--- a/
include/llvm/ADT/PostOrderIterator.h
+++ b/
include/llvm/ADT/PostOrderIterator.h
@@
-295,6
+295,6
@@
public:
rpo_iterator end() { return Blocks.rend(); }
};
rpo_iterator end() { return Blocks.rend(); }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/PriorityQueue.h
b/include/llvm/ADT/PriorityQueue.h
index 827d0b346e591a6ebb5f30302ec157908069c85d..869ef815b06e9486f22887d2517c6c2540b3ed62 100644
(file)
--- a/
include/llvm/ADT/PriorityQueue.h
+++ b/
include/llvm/ADT/PriorityQueue.h
@@
-79,6
+79,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/SCCIterator.h
b/include/llvm/ADT/SCCIterator.h
index bc74416ac88baa468cfe1d544c5c5355d7bbd594..dc78274fb5f55dec4ca2a72a310f974bf8186424 100644
(file)
--- a/
include/llvm/ADT/SCCIterator.h
+++ b/
include/llvm/ADT/SCCIterator.h
@@
-240,6
+240,6
@@
template <class T> scc_iterator<Inverse<T> > scc_end(const Inverse<T> &G) {
return scc_iterator<Inverse<T> >::end(G);
}
return scc_iterator<Inverse<T> >::end(G);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/STLExtras.h
b/include/llvm/ADT/STLExtras.h
index b68345a1dcf6ccd2e5e09b65a544a24192254612..14204c130af675fb11cb019538ae0d719a836747 100644
(file)
--- a/
include/llvm/ADT/STLExtras.h
+++ b/
include/llvm/ADT/STLExtras.h
@@
-417,6
+417,6
@@
template <typename T> struct deref {
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/SetOperations.h
b/include/llvm/ADT/SetOperations.h
index 71f5db380f6ea24d898dbf99c010f0c06927a880..b5f41776caf0c819a83c5bd72708b5a9d898b196 100644
(file)
--- a/
include/llvm/ADT/SetOperations.h
+++ b/
include/llvm/ADT/SetOperations.h
@@
-66,6
+66,6
@@
void set_subtract(S1Ty &S1, const S2Ty &S2) {
S1.erase(*SI);
}
S1.erase(*SI);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/SetVector.h
b/include/llvm/ADT/SetVector.h
index a7fd408c854a743db3d320d4ac467fc305add151..f15f4f7ac2450775aba14e3dc41b55846052b672 100644
(file)
--- a/
include/llvm/ADT/SetVector.h
+++ b/
include/llvm/ADT/SetVector.h
@@
-225,7
+225,7
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
// vim: sw=2 ai
#endif
// vim: sw=2 ai
#endif
diff --git
a/include/llvm/ADT/SmallBitVector.h
b/include/llvm/ADT/SmallBitVector.h
index ae3d645396fdb1f808634a44a15fbd9e3bbd0120..a74b7bf68d254d07284e90755c2cd3bcad818c6d 100644
(file)
--- a/
include/llvm/ADT/SmallBitVector.h
+++ b/
include/llvm/ADT/SmallBitVector.h
@@
-588,7
+588,7
@@
operator^(const SmallBitVector &LHS, const SmallBitVector &RHS) {
return Result;
}
return Result;
}
-} //
End llvm namespace
+} //
namespace llvm
namespace std {
/// Implement std::swap in terms of BitVector swap.
namespace std {
/// Implement std::swap in terms of BitVector swap.
diff --git
a/include/llvm/ADT/SmallPtrSet.h
b/include/llvm/ADT/SmallPtrSet.h
index 3e3c9c154ef4f3cfdc1ee47aaf8e6f1d9d66ec00..0d1635ae01e96bca129464ed4a0199bc8969f691 100644
(file)
--- a/
include/llvm/ADT/SmallPtrSet.h
+++ b/
include/llvm/ADT/SmallPtrSet.h
@@
-334,7
+334,7
@@
public:
}
};
}
};
-}
+}
// namespace llvm
namespace std {
/// Implement std::swap in terms of SmallPtrSet swap.
namespace std {
/// Implement std::swap in terms of SmallPtrSet swap.
diff --git
a/include/llvm/ADT/SmallString.h
b/include/llvm/ADT/SmallString.h
index e569f54481a2bcd379e5a22e93c53d79e52145c3..92cd6892621ceae0b51f3be5086547e73da22c56 100644
(file)
--- a/
include/llvm/ADT/SmallString.h
+++ b/
include/llvm/ADT/SmallString.h
@@
-292,6
+292,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/SmallVector.h
b/include/llvm/ADT/SmallVector.h
index 5b208b76a21fa8c465b2b7645c16b649c8e4000e..b334ac0423a011a3eb21c1c32e15ad0759aed9e9 100644
(file)
--- a/
include/llvm/ADT/SmallVector.h
+++ b/
include/llvm/ADT/SmallVector.h
@@
-924,7
+924,7
@@
static inline size_t capacity_in_bytes(const SmallVector<T, N> &X) {
return X.capacity_in_bytes();
}
return X.capacity_in_bytes();
}
-} //
End llvm namespace
+} //
namespace llvm
namespace std {
/// Implement std::swap in terms of SmallVector swap.
namespace std {
/// Implement std::swap in terms of SmallVector swap.
@@
-940,6
+940,6
@@
namespace std {
swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) {
LHS.swap(RHS);
}
swap(llvm::SmallVector<T, N> &LHS, llvm::SmallVector<T, N> &RHS) {
LHS.swap(RHS);
}
-}
+}
// namespace std
#endif
#endif
diff --git
a/include/llvm/ADT/Statistic.h
b/include/llvm/ADT/Statistic.h
index d98abc375e8ac3a232a1b353dcfcb1d9b08b95cf..264c6b54eccdaa90fb11cf400260b01cc66a3670 100644
(file)
--- a/
include/llvm/ADT/Statistic.h
+++ b/
include/llvm/ADT/Statistic.h
@@
-176,6
+176,6
@@
void PrintStatistics();
/// \brief Print statistics to the given output stream.
void PrintStatistics(raw_ostream &OS);
/// \brief Print statistics to the given output stream.
void PrintStatistics(raw_ostream &OS);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/StringExtras.h
b/include/llvm/ADT/StringExtras.h
index 0992f5d4a54965dd22b17c8aac3ae2ce85001677..5e8c072761af81ac26e15ece94bd82036fffeeca 100644
(file)
--- a/
include/llvm/ADT/StringExtras.h
+++ b/
include/llvm/ADT/StringExtras.h
@@
-207,6
+207,6
@@
inline std::string join(IteratorT Begin, IteratorT End, StringRef Separator) {
return join_impl(Begin, End, Separator, tag());
}
return join_impl(Begin, End, Separator, tag());
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/StringMap.h
b/include/llvm/ADT/StringMap.h
index 8721c73b95b13f90b43554376732ebb5590f670b..c8ece8fb307d417e10b83b961890b267040fd993 100644
(file)
--- a/
include/llvm/ADT/StringMap.h
+++ b/
include/llvm/ADT/StringMap.h
@@
-447,6
+447,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/StringRef.h
b/include/llvm/ADT/StringRef.h
index 95660a49f1f1b2d9fd8ea752423ff2a676710e21..163ec63619440a9b0d6a9fad1e0cf826005bb92b 100644
(file)
--- a/
include/llvm/ADT/StringRef.h
+++ b/
include/llvm/ADT/StringRef.h
@@
-566,6
+566,6
@@
namespace llvm {
// StringRefs can be treated like a POD type.
template <typename T> struct isPodLike;
template <> struct isPodLike<StringRef> { static const bool value = true; };
// StringRefs can be treated like a POD type.
template <typename T> struct isPodLike;
template <> struct isPodLike<StringRef> { static const bool value = true; };
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/StringSet.h
b/include/llvm/ADT/StringSet.h
index 3e0cc200b6dda62125010288f5e0c264f697460d..7c524769222578e2bbf361d85d30c1324c09ca88 100644
(file)
--- a/
include/llvm/ADT/StringSet.h
+++ b/
include/llvm/ADT/StringSet.h
@@
-29,6
+29,6
@@
namespace llvm {
return base::insert(std::make_pair(Key, '\0'));
}
};
return base::insert(std::make_pair(Key, '\0'));
}
};
-}
+}
// namespace llvm
#endif // LLVM_ADT_STRINGSET_H
#endif // LLVM_ADT_STRINGSET_H
diff --git
a/include/llvm/ADT/Triple.h
b/include/llvm/ADT/Triple.h
index 485dca051d2a7820cc46c95ea974433c9b4f4239..cb6edc8c3e95763dfd7a2b0973eb764b5c44b468 100644
(file)
--- a/
include/llvm/ADT/Triple.h
+++ b/
include/llvm/ADT/Triple.h
@@
-609,7
+609,7
@@
public:
/// @}
};
/// @}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/Twine.h
b/include/llvm/ADT/Twine.h
index db0bf4b68de833df3846d865ab49796fea196079..db4a5be5491769907b0a4197509de894e0d0771d 100644
(file)
--- a/
include/llvm/ADT/Twine.h
+++ b/
include/llvm/ADT/Twine.h
@@
-537,6
+537,6
@@
namespace llvm {
}
/// @}
}
/// @}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/edit_distance.h
b/include/llvm/ADT/edit_distance.h
index c2b2041242aa61cff81a9a771b634d1a6b398f05..5fc4beea782e49ff49c11663cb02a22444411db7 100644
(file)
--- a/
include/llvm/ADT/edit_distance.h
+++ b/
include/llvm/ADT/edit_distance.h
@@
-97,6
+97,6
@@
unsigned ComputeEditDistance(ArrayRef<T> FromArray, ArrayRef<T> ToArray,
return Result;
}
return Result;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/ilist.h
b/include/llvm/ADT/ilist.h
index a7b9306b3a7344de937e99251b99d52c07773b89..4f101674e716bb11d83da9772241a086fd146677 100644
(file)
--- a/
include/llvm/ADT/ilist.h
+++ b/
include/llvm/ADT/ilist.h
@@
-655,7
+655,7
@@
struct ilist : public iplist<NodeTy> {
void resize(size_type newsize) { resize(newsize, NodeTy()); }
};
void resize(size_type newsize) { resize(newsize, NodeTy()); }
};
-} //
End llvm namespace
+} //
namespace llvm
namespace std {
// Ensure that swap uses the fast list swap...
namespace std {
// Ensure that swap uses the fast list swap...
diff --git
a/include/llvm/ADT/ilist_node.h
b/include/llvm/ADT/ilist_node.h
index 26d0b55e4093e3b34c6e1d63265f71eeb6382044..14ca26bffd33bd783022cbd14794dce6f896b9c6 100644
(file)
--- a/
include/llvm/ADT/ilist_node.h
+++ b/
include/llvm/ADT/ilist_node.h
@@
-101,6
+101,6
@@
public:
/// @}
};
/// @}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/iterator.h
b/include/llvm/ADT/iterator.h
index 54a288df01736980b4bc32f1e480befb3c06ca24..28728cac0f579dbe519c1d75a2f4d0c6cab36b6e 100644
(file)
--- a/
include/llvm/ADT/iterator.h
+++ b/
include/llvm/ADT/iterator.h
@@
-239,6
+239,6
@@
struct pointee_iterator
T &operator*() const { return **this->I; }
};
T &operator*() const { return **this->I; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ADT/iterator_range.h
b/include/llvm/ADT/iterator_range.h
index 523a86f02e083d3cdbfc31a96f2052bf40672145..009b7161aada13b38235585e325194ed89422d8f 100644
(file)
--- a/
include/llvm/ADT/iterator_range.h
+++ b/
include/llvm/ADT/iterator_range.h
@@
-51,6
+51,6
@@
template <class T> iterator_range<T> make_range(T x, T y) {
template <typename T> iterator_range<T> make_range(std::pair<T, T> p) {
return iterator_range<T>(std::move(p.first), std::move(p.second));
}
template <typename T> iterator_range<T> make_range(std::pair<T, T> p) {
return iterator_range<T>(std::move(p.first), std::move(p.second));
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/AliasAnalysis.h
b/include/llvm/Analysis/AliasAnalysis.h
index 747fb345a56565570993e3d1bcc3a1a63583f3fe..7f037fb5e813d8c967c596e899e55b6376dec38e 100644
(file)
--- a/
include/llvm/Analysis/AliasAnalysis.h
+++ b/
include/llvm/Analysis/AliasAnalysis.h
@@
-558,6
+558,6
@@
bool isIdentifiedObject(const Value *V);
/// IdentifiedObjects.
bool isIdentifiedFunctionLocal(const Value *V);
/// IdentifiedObjects.
bool isIdentifiedFunctionLocal(const Value *V);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/AliasSetTracker.h
b/include/llvm/Analysis/AliasSetTracker.h
index 18f95b401e6af7959f28a1a7ab51892e455604e8..ba2eae903da62d851548d8a9ae48631fcd5ebc12 100644
(file)
--- a/
include/llvm/Analysis/AliasSetTracker.h
+++ b/
include/llvm/Analysis/AliasSetTracker.h
@@
-437,6
+437,6
@@
inline raw_ostream& operator<<(raw_ostream &OS, const AliasSetTracker &AST) {
return OS;
}
return OS;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/BlockFrequencyInfo.h
b/include/llvm/Analysis/BlockFrequencyInfo.h
index f27c32df92836a285b550f0b2d813624d0b5d4b9..382c080a2c03a926d81a14fbbbf600c61c05bf7e 100644
(file)
--- a/
include/llvm/Analysis/BlockFrequencyInfo.h
+++ b/
include/llvm/Analysis/BlockFrequencyInfo.h
@@
-63,6
+63,6
@@
public:
};
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/BlockFrequencyInfoImpl.h
b/include/llvm/Analysis/BlockFrequencyInfoImpl.h
index 32d96090f4569bd2686418c7227730e34f703217..bf24f66cbca95176ea81fd47c7cace4f43ba75e9 100644
(file)
--- a/
include/llvm/Analysis/BlockFrequencyInfoImpl.h
+++ b/
include/llvm/Analysis/BlockFrequencyInfoImpl.h
@@
-628,7
+628,7
@@
void IrreducibleGraph::addEdges(const BlockNode &Node,
else
addBlockEdges(*this, Irr, OuterLoop);
}
else
addBlockEdges(*this, Irr, OuterLoop);
}
-}
+}
// namespace bfi_detail
/// \brief Shared implementation for block frequency analysis.
///
/// \brief Shared implementation for block frequency analysis.
///
@@
-1133,7
+1133,7
@@
template <class BT> struct BlockEdgesAdder {
G.addEdge(Irr, BFI.getNode(*I), OuterLoop);
}
};
G.addEdge(Irr, BFI.getNode(*I), OuterLoop);
}
};
-}
+}
// namespace bfi_detail
template <class BT>
void BlockFrequencyInfoImpl<BT>::computeIrreducibleMass(
LoopData *OuterLoop, std::list<LoopData>::iterator Insert) {
template <class BT>
void BlockFrequencyInfoImpl<BT>::computeIrreducibleMass(
LoopData *OuterLoop, std::list<LoopData>::iterator Insert) {
diff --git
a/include/llvm/Analysis/BranchProbabilityInfo.h
b/include/llvm/Analysis/BranchProbabilityInfo.h
index 9d867567ba2942e70af9ce6705881d00f0252fc1..f2ca3e0d07cf3e65a9dc8ae1e1e7455bee351d01 100644
(file)
--- a/
include/llvm/Analysis/BranchProbabilityInfo.h
+++ b/
include/llvm/Analysis/BranchProbabilityInfo.h
@@
-158,6
+158,6
@@
private:
bool calcInvokeHeuristics(BasicBlock *BB);
};
bool calcInvokeHeuristics(BasicBlock *BB);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/CFG.h
b/include/llvm/Analysis/CFG.h
index 7f92eda8cb20638a2a20ddeb39e421ae0b235305..f837cb4f59cb362b004c983be6f3eeee876cd88a 100644
(file)
--- a/
include/llvm/Analysis/CFG.h
+++ b/
include/llvm/Analysis/CFG.h
@@
-78,6
+78,6
@@
bool isPotentiallyReachable(const BasicBlock *From, const BasicBlock *To,
const DominatorTree *DT = nullptr,
const LoopInfo *LI = nullptr);
const DominatorTree *DT = nullptr,
const LoopInfo *LI = nullptr);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/CFGPrinter.h
b/include/llvm/Analysis/CFGPrinter.h
index 035764837e6f017a3f22598c935770b5f95501b1..0cc4e5d339751fa20f85ff4ad3cbdcac719e292b 100644
(file)
--- a/
include/llvm/Analysis/CFGPrinter.h
+++ b/
include/llvm/Analysis/CFGPrinter.h
@@
-119,7
+119,7
@@
struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
return "";
}
};
return "";
}
};
-} //
End llvm namespace
+} //
namespace llvm
namespace llvm {
class FunctionPass;
namespace llvm {
class FunctionPass;
diff --git
a/include/llvm/Analysis/CGSCCPassManager.h
b/include/llvm/Analysis/CGSCCPassManager.h
index 6a406cd244026fa22a00dd8481aead54b540f793..42f0e651ec94f9a9cccad3f0ed80ad6b73db8e26 100644
(file)
--- a/
include/llvm/Analysis/CGSCCPassManager.h
+++ b/
include/llvm/Analysis/CGSCCPassManager.h
@@
-485,6
+485,6
@@
CGSCCToFunctionPassAdaptor<FunctionPassT>
createCGSCCToFunctionPassAdaptor(FunctionPassT Pass) {
return CGSCCToFunctionPassAdaptor<FunctionPassT>(std::move(Pass));
}
createCGSCCToFunctionPassAdaptor(FunctionPassT Pass) {
return CGSCCToFunctionPassAdaptor<FunctionPassT>(std::move(Pass));
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/CallGraph.h
b/include/llvm/Analysis/CallGraph.h
index 662ae0e6363ce52fa4893ee0c19a12c6e3f65f8d..ed52e864a059fd4e2cc77ed47631ba1d0682d90e 100644
(file)
--- a/
include/llvm/Analysis/CallGraph.h
+++ b/
include/llvm/Analysis/CallGraph.h
@@
-481,6
+481,6
@@
struct GraphTraits<const CallGraph *> : public GraphTraits<
static const CallGraphNode &CGdereference(PairTy P) { return *P.second; }
};
static const CallGraphNode &CGdereference(PairTy P) { return *P.second; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/CallGraphSCCPass.h
b/include/llvm/Analysis/CallGraphSCCPass.h
index 667e1715775faa00afb4f109269161c994064299..94fa5bd7fb2a706ed0ba16f74911e6c1d14154a7 100644
(file)
--- a/
include/llvm/Analysis/CallGraphSCCPass.h
+++ b/
include/llvm/Analysis/CallGraphSCCPass.h
@@
-102,6
+102,6
@@
public:
iterator end() const { return Nodes.end(); }
};
iterator end() const { return Nodes.end(); }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/CodeMetrics.h
b/include/llvm/Analysis/CodeMetrics.h
index 2f5969129e0281c9b95c2aadc38a359b7f5c7a20..6ab83aefe81b66afc70501ea16ebc84e1e5dbd81 100644
(file)
--- a/
include/llvm/Analysis/CodeMetrics.h
+++ b/
include/llvm/Analysis/CodeMetrics.h
@@
-102,6
+102,6
@@
struct CodeMetrics {
SmallPtrSetImpl<const Value *> &EphValues);
};
SmallPtrSetImpl<const Value *> &EphValues);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/ConstantFolding.h
b/include/llvm/Analysis/ConstantFolding.h
index 541a2109af6cde4a5ddd83422e34c51a29fd49b0..a0d5eaba9c7bde3ae8a97dd41b51e8fd95fb6f02 100644
(file)
--- a/
include/llvm/Analysis/ConstantFolding.h
+++ b/
include/llvm/Analysis/ConstantFolding.h
@@
-97,6
+97,6
@@
bool canConstantFoldCallTo(const Function *F);
/// with the specified arguments, returning null if unsuccessful.
Constant *ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,
const TargetLibraryInfo *TLI = nullptr);
/// with the specified arguments, returning null if unsuccessful.
Constant *ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,
const TargetLibraryInfo *TLI = nullptr);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/DomPrinter.h
b/include/llvm/Analysis/DomPrinter.h
index 0ed28994995a2a0404ab7db50ad62b5452540005..1402d7749d791957fb534394657649f25029ebf0 100644
(file)
--- a/
include/llvm/Analysis/DomPrinter.h
+++ b/
include/llvm/Analysis/DomPrinter.h
@@
-25,6
+25,6
@@
namespace llvm {
FunctionPass *createPostDomOnlyPrinterPass();
FunctionPass *createPostDomViewerPass();
FunctionPass *createPostDomOnlyViewerPass();
FunctionPass *createPostDomOnlyPrinterPass();
FunctionPass *createPostDomViewerPass();
FunctionPass *createPostDomOnlyViewerPass();
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/DominanceFrontier.h
b/include/llvm/Analysis/DominanceFrontier.h
index 996700efdb60003ddaa6c565877a5723b2baaa88..0cdd73e016302bdc348546afca7f7152c6d812ae 100644
(file)
--- a/
include/llvm/Analysis/DominanceFrontier.h
+++ b/
include/llvm/Analysis/DominanceFrontier.h
@@
-205,6
+205,6
@@
public:
EXTERN_TEMPLATE_INSTANTIATION(class DominanceFrontierBase<BasicBlock>);
EXTERN_TEMPLATE_INSTANTIATION(class ForwardDominanceFrontierBase<BasicBlock>);
EXTERN_TEMPLATE_INSTANTIATION(class DominanceFrontierBase<BasicBlock>);
EXTERN_TEMPLATE_INSTANTIATION(class ForwardDominanceFrontierBase<BasicBlock>);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/DominanceFrontierImpl.h
b/include/llvm/Analysis/DominanceFrontierImpl.h
index 629ae3809045720ed4908715a9fcf232eb1c8e3c..4904f93c17ac5a579c993b5b9ec658ce4b49ac1d 100644
(file)
--- a/
include/llvm/Analysis/DominanceFrontierImpl.h
+++ b/
include/llvm/Analysis/DominanceFrontierImpl.h
@@
-221,6
+221,6
@@
ForwardDominanceFrontierBase<BlockT>::calculate(const DomTreeT &DT,
return *Result;
}
return *Result;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/IVUsers.h
b/include/llvm/Analysis/IVUsers.h
index ae9c1f5bd9ac621b95b9d5987d3ee82d5d3ca577..2ad0ae74eb10813ef0ac0a3d22a2a58a6a6a2b28 100644
(file)
--- a/
include/llvm/Analysis/IVUsers.h
+++ b/
include/llvm/Analysis/IVUsers.h
@@
-178,6
+178,6
@@
protected:
Pass *createIVUsersPass();
Pass *createIVUsersPass();
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/InlineCost.h
b/include/llvm/Analysis/InlineCost.h
index 79ed74d8241110976b6289d97676aff6dd5137a4..57da1325ec3549b6d0fc025234fdd7826e280b4f 100644
(file)
--- a/
include/llvm/Analysis/InlineCost.h
+++ b/
include/llvm/Analysis/InlineCost.h
@@
-36,7
+36,7
@@
namespace InlineConstants {
/// Do not inline functions which allocate this many bytes on the stack
/// when the caller is recursive.
const unsigned TotalAllocaSizeRecursiveCaller = 1024;
/// Do not inline functions which allocate this many bytes on the stack
/// when the caller is recursive.
const unsigned TotalAllocaSizeRecursiveCaller = 1024;
-}
+}
// namespace InlineConstants
/// \brief Represents the cost of inlining a function.
///
/// \brief Represents the cost of inlining a function.
///
@@
-138,6
+138,6
@@
public:
bool isInlineViable(Function &Callee);
};
bool isInlineViable(Function &Callee);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/Interval.h
b/include/llvm/Analysis/Interval.h
index 01eba3f16c014f13e51335cfcfb2c262bfbb9bfe..cbdb0c0334996409e9178ea3378fb6bac4a9b25e 100644
(file)
--- a/
include/llvm/Analysis/Interval.h
+++ b/
include/llvm/Analysis/Interval.h
@@
-145,6
+145,6
@@
template <> struct GraphTraits<Inverse<Interval*> > {
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/IntervalIterator.h
b/include/llvm/Analysis/IntervalIterator.h
index 655ce2dab4138d212c17cbc8d23bb56a15261de2..5ec50d46a9e7350133cf23b9247183e34321ebd3 100644
(file)
--- a/
include/llvm/Analysis/IntervalIterator.h
+++ b/
include/llvm/Analysis/IntervalIterator.h
@@
-263,6
+263,6
@@
inline interval_part_interval_iterator intervals_end(IntervalPartition &IP) {
return interval_part_interval_iterator();
}
return interval_part_interval_iterator();
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/IntervalPartition.h
b/include/llvm/Analysis/IntervalPartition.h
index 274be2bdcfa9c20815066e7124d50720d736c995..2176d0c509f1dcd31ad99b18aa7c5a90e5a07f80 100644
(file)
--- a/
include/llvm/Analysis/IntervalPartition.h
+++ b/
include/llvm/Analysis/IntervalPartition.h
@@
-106,6
+106,6
@@
private:
void updatePredecessors(Interval *Int);
};
void updatePredecessors(Interval *Int);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/IteratedDominanceFrontier.h
b/include/llvm/Analysis/IteratedDominanceFrontier.h
index 5a339f10f50fdf347dc3a36aea4543ccfa7bc74e..eea0d81a8889a71c90fa9d4b3f973f994b65fb8b 100644
(file)
--- a/
include/llvm/Analysis/IteratedDominanceFrontier.h
+++ b/
include/llvm/Analysis/IteratedDominanceFrontier.h
@@
-92,5
+92,5
@@
private:
const SmallPtrSetImpl<BasicBlock *> *DefBlocks;
SmallVector<BasicBlock *, 32> PHIBlocks;
};
const SmallPtrSetImpl<BasicBlock *> *DefBlocks;
SmallVector<BasicBlock *, 32> PHIBlocks;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/JumpInstrTableInfo.h
b/include/llvm/Analysis/JumpInstrTableInfo.h
index b6dad478cdf2903c2bcecb78c4aff5ef3f47a200..ea331a4f516a84f8dbcaa944b8a4c6cb5c912271 100644
(file)
--- a/
include/llvm/Analysis/JumpInstrTableInfo.h
+++ b/
include/llvm/Analysis/JumpInstrTableInfo.h
@@
-66,6
+66,6
@@
private:
/// bound specifies the maximum number of bytes needed to represent an
/// unconditional jump or a trap instruction in the back end currently in use.
ModulePass *createJumpInstrTableInfoPass(unsigned Bound);
/// bound specifies the maximum number of bytes needed to represent an
/// unconditional jump or a trap instruction in the back end currently in use.
ModulePass *createJumpInstrTableInfoPass(unsigned Bound);
-}
+}
// namespace llvm
#endif /* LLVM_ANALYSIS_JUMPINSTRTABLEINFO_H */
#endif /* LLVM_ANALYSIS_JUMPINSTRTABLEINFO_H */
diff --git
a/include/llvm/Analysis/LazyCallGraph.h
b/include/llvm/Analysis/LazyCallGraph.h
index b0b9068de34bf7a2d90f39053ecc94fcd8ed22a3..af4861ff35bfddc48dca712b715b3d98f81267d6 100644
(file)
--- a/
include/llvm/Analysis/LazyCallGraph.h
+++ b/
include/llvm/Analysis/LazyCallGraph.h
@@
-569,6
+569,6
@@
public:
static StringRef name() { return "LazyCallGraphPrinterPass"; }
};
static StringRef name() { return "LazyCallGraphPrinterPass"; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/LibCallAliasAnalysis.h
b/include/llvm/Analysis/LibCallAliasAnalysis.h
index 6589ac13c746fdcb025bf964f77007cde1d2a2e9..a4b7e5d871fe74b48bbab1d578fe32f0085a4e35 100644
(file)
--- a/
include/llvm/Analysis/LibCallAliasAnalysis.h
+++ b/
include/llvm/Analysis/LibCallAliasAnalysis.h
@@
-66,6
+66,6
@@
namespace llvm {
ImmutableCallSite CS,
const MemoryLocation &Loc);
};
ImmutableCallSite CS,
const MemoryLocation &Loc);
};
-}
// End of llvm namespace
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/Lint.h
b/include/llvm/Analysis/Lint.h
index 7c88b137ec3b10ac2c56126bd2a4a92621534ae1..79cd82ff13376754abdefdff25cf747fab297779 100644
(file)
--- a/
include/llvm/Analysis/Lint.h
+++ b/
include/llvm/Analysis/Lint.h
@@
-44,6
+44,6
@@
void lintFunction(
const Function &F ///< The function to be checked
);
const Function &F ///< The function to be checked
);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/Loads.h
b/include/llvm/Analysis/Loads.h
index 42667d2af14a6b2a0d9d41df4eb60a22d93970f9..c8a6e4a0e1d73257ccdfd3ad49522df38c0dda30 100644
(file)
--- a/
include/llvm/Analysis/Loads.h
+++ b/
include/llvm/Analysis/Loads.h
@@
-52,6
+52,6
@@
Value *FindAvailableLoadedValue(Value *Ptr, BasicBlock *ScanBB,
AliasAnalysis *AA = nullptr,
AAMDNodes *AATags = nullptr);
AliasAnalysis *AA = nullptr,
AAMDNodes *AATags = nullptr);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/LoopAccessAnalysis.h
b/include/llvm/Analysis/LoopAccessAnalysis.h
index 7b635a8b49602bf83831af630ed10a370a1d4731..0f3c73147e114089c644dd5aa5ccbcd80bf242cf 100644
(file)
--- a/
include/llvm/Analysis/LoopAccessAnalysis.h
+++ b/
include/llvm/Analysis/LoopAccessAnalysis.h
@@
-555,6
+555,6
@@
private:
DominatorTree *DT;
LoopInfo *LI;
};
DominatorTree *DT;
LoopInfo *LI;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/LoopInfo.h
b/include/llvm/Analysis/LoopInfo.h
index bbcde8d9721a346a62d4ba8be39f309cd0d55a29..7bfebab46e2071e5f0bc251a0cfa81e10bd89aee 100644
(file)
--- a/
include/llvm/Analysis/LoopInfo.h
+++ b/
include/llvm/Analysis/LoopInfo.h
@@
-763,6
+763,6
@@
public:
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/LoopInfoImpl.h
b/include/llvm/Analysis/LoopInfoImpl.h
index f5cc856f624769aad68b6593b395e5ff66967bbc..b8f80df34bf9571d34c0c9e77064ea14d4ab7c2a 100644
(file)
--- a/
include/llvm/Analysis/LoopInfoImpl.h
+++ b/
include/llvm/Analysis/LoopInfoImpl.h
@@
-535,6
+535,6
@@
void LoopInfoBase<BlockT, LoopT>::verify() const {
#endif
}
#endif
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/LoopPass.h
b/include/llvm/Analysis/LoopPass.h
index 8650000fcfb6ede62f7ded42a1c0780861ee52c6..57ad79319756371cca53ed7d52ecd0edcac06a80 100644
(file)
--- a/
include/llvm/Analysis/LoopPass.h
+++ b/
include/llvm/Analysis/LoopPass.h
@@
-169,6
+169,6
@@
private:
Loop *CurrentLoop;
};
Loop *CurrentLoop;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/MemoryBuiltins.h
b/include/llvm/Analysis/MemoryBuiltins.h
index 805a43dfb0705780e7e681c43ad66d6c40ce4db9..557d6fcc0cb96e118cc1c3556a17db343ac04f13 100644
(file)
--- a/
include/llvm/Analysis/MemoryBuiltins.h
+++ b/
include/llvm/Analysis/MemoryBuiltins.h
@@
-262,6
+262,6
@@
public:
SizeOffsetEvalType visitInstruction(Instruction &I);
};
SizeOffsetEvalType visitInstruction(Instruction &I);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/MemoryDependenceAnalysis.h
b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index 511898071c22c74065794d975f2ef0181a97d98c..9c50ae08f9861b57abd6135e67454b7d7a107300 100644
(file)
--- a/
include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/
include/llvm/Analysis/MemoryDependenceAnalysis.h
@@
-445,6
+445,6
@@
namespace llvm {
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/MemoryLocation.h
b/include/llvm/Analysis/MemoryLocation.h
index 426b49a3ecd7c100877811013264ac82bd49efc4..ea69633a922cbdc147f79ecec87a03ee1dbe237f 100644
(file)
--- a/
include/llvm/Analysis/MemoryLocation.h
+++ b/
include/llvm/Analysis/MemoryLocation.h
@@
-137,6
+137,6
@@
template <> struct DenseMapInfo<MemoryLocation> {
return LHS == RHS;
}
};
return LHS == RHS;
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/Passes.h
b/include/llvm/Analysis/Passes.h
index d112ab1823b4668bba684bc9d52150c15730036f..ffaf871cf9e5f84cb3d81edd567b8a8f3a7c8b88 100644
(file)
--- a/
include/llvm/Analysis/Passes.h
+++ b/
include/llvm/Analysis/Passes.h
@@
-173,6
+173,6
@@
namespace llvm {
//
FunctionPass *createMemDerefPrinter();
//
FunctionPass *createMemDerefPrinter();
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/PostDominators.h
b/include/llvm/Analysis/PostDominators.h
index 0f7e2b88d2d70a68bd0d7dabc79f284ef0a7590b..f654652a97c376751ed0b2e897c9c0820e85a418 100644
(file)
--- a/
include/llvm/Analysis/PostDominators.h
+++ b/
include/llvm/Analysis/PostDominators.h
@@
-112,6
+112,6
@@
template <> struct GraphTraits<PostDominatorTree*>
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/PtrUseVisitor.h
b/include/llvm/Analysis/PtrUseVisitor.h
index 6e61fc3be38456fe77b0d077ca37e6c8adb3c5ba..8b5b90a3402e7fea9556d77a43a1e7cbb5140532 100644
(file)
--- a/
include/llvm/Analysis/PtrUseVisitor.h
+++ b/
include/llvm/Analysis/PtrUseVisitor.h
@@
-280,6
+280,6
@@
protected:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/RegionInfo.h
b/include/llvm/Analysis/RegionInfo.h
index 7ceb086ee0a10de34aa9b824fbe173a0c342b06b..22fd1dfc0e787f51a898141c13477850a57a6f62 100644
(file)
--- a/
include/llvm/Analysis/RegionInfo.h
+++ b/
include/llvm/Analysis/RegionInfo.h
@@
-906,5
+906,5
@@
EXTERN_TEMPLATE_INSTANTIATION(class RegionBase<RegionTraits<Function>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionNodeBase<RegionTraits<Function>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionInfoBase<RegionTraits<Function>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionNodeBase<RegionTraits<Function>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionInfoBase<RegionTraits<Function>>);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/RegionPass.h
b/include/llvm/Analysis/RegionPass.h
index bd51c49e87db4c8894669e034c403ca2c352c651..5866fc5abc8c5fb9291191791c971b871cbe758f 100644
(file)
--- a/
include/llvm/Analysis/RegionPass.h
+++ b/
include/llvm/Analysis/RegionPass.h
@@
-123,6
+123,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/ScalarEvolution.h
b/include/llvm/Analysis/ScalarEvolution.h
index 1d1bd67b61ff5970a727ef7714e60669ff1b6221..1c814084c090f764bc6eb914b93a569c8e070171 100644
(file)
--- a/
include/llvm/Analysis/ScalarEvolution.h
+++ b/
include/llvm/Analysis/ScalarEvolution.h
@@
-981,6
+981,6
@@
namespace llvm {
/// to locate them all and call their destructors.
SCEVUnknown *FirstUnknown;
};
/// to locate them all and call their destructors.
SCEVUnknown *FirstUnknown;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/ScalarEvolutionExpander.h
b/include/llvm/Analysis/ScalarEvolutionExpander.h
index 8ec2078258d111be7a78ee6bbfe48f13cbd7fd24..83493fad713bff0d6ae8f873b8e3e7180eaa3b9b 100644
(file)
--- a/
include/llvm/Analysis/ScalarEvolutionExpander.h
+++ b/
include/llvm/Analysis/ScalarEvolutionExpander.h
@@
-275,6
+275,6
@@
namespace llvm {
Value *expandIVInc(PHINode *PN, Value *StepV, const Loop *L,
Type *ExpandTy, Type *IntTy, bool useSubtract);
};
Value *expandIVInc(PHINode *PN, Value *StepV, const Loop *L,
Type *ExpandTy, Type *IntTy, bool useSubtract);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/ScalarEvolutionExpressions.h
b/include/llvm/Analysis/ScalarEvolutionExpressions.h
index ff82db19b9e7ed881d7284deff3a712d350373de..14feeed5c5dd4df6ebc4d75e47ae8bb176fbf7ed 100644
(file)
--- a/
include/llvm/Analysis/ScalarEvolutionExpressions.h
+++ b/
include/llvm/Analysis/ScalarEvolutionExpressions.h
@@
-829,6
+829,6
@@
static inline const SCEV *apply(const SCEV *Scev, LoopToScevMapT &Map,
return SCEVApplyRewriter::rewrite(Scev, Map, SE);
}
return SCEVApplyRewriter::rewrite(Scev, Map, SE);
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/ScalarEvolutionNormalization.h
b/include/llvm/Analysis/ScalarEvolutionNormalization.h
index 7c6423a21cfae97dfec3fdb67053d8f374401256..4133864cc3c3b710e96ca27740cb815bdcd6a737 100644
(file)
--- a/
include/llvm/Analysis/ScalarEvolutionNormalization.h
+++ b/
include/llvm/Analysis/ScalarEvolutionNormalization.h
@@
-73,6
+73,6
@@
const SCEV *TransformForPostIncUse(TransformKind Kind,
ScalarEvolution &SE,
DominatorTree &DT);
ScalarEvolution &SE,
DominatorTree &DT);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/TargetFolder.h
b/include/llvm/Analysis/TargetFolder.h
index 12bf9fe78a479bbc162ebdedccde7d431c68fc13..0e17a58069d7c03fdc1de95fca8467f59b7ca3c9 100644
(file)
--- a/
include/llvm/Analysis/TargetFolder.h
+++ b/
include/llvm/Analysis/TargetFolder.h
@@
-265,6
+265,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/TargetTransformInfo.h
b/include/llvm/Analysis/TargetTransformInfo.h
index 3700c9e4ac2227c357be138e4bfb1bbd414484d9..d863b4f76880724f9c2c30ba243d32b6f18cfe5b 100644
(file)
--- a/
include/llvm/Analysis/TargetTransformInfo.h
+++ b/
include/llvm/Analysis/TargetTransformInfo.h
@@
-908,6
+908,6
@@
public:
/// clients.
ImmutablePass *createTargetTransformInfoWrapperPass(TargetIRAnalysis TIRA);
/// clients.
ImmutablePass *createTargetTransformInfoWrapperPass(TargetIRAnalysis TIRA);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Analysis/TargetTransformInfoImpl.h
b/include/llvm/Analysis/TargetTransformInfoImpl.h
index e6a8a769082061daabcb2fd26dc3f2e2ae15396b..59b95a8da1e8fedf2a438615f8fab7e79a22f1b6 100644
(file)
--- a/
include/llvm/Analysis/TargetTransformInfoImpl.h
+++ b/
include/llvm/Analysis/TargetTransformInfoImpl.h
@@
-446,6
+446,6
@@
public:
U->getNumOperands() == 1 ? U->getOperand(0)->getType() : nullptr);
}
};
U->getNumOperands() == 1 ? U->getOperand(0)->getType() : nullptr);
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/AsmParser/Parser.h
b/include/llvm/AsmParser/Parser.h
index 7ef78d73da1750ddef8d34f184cddc7e70d8a483..0c37a9b57069a6867a232bd89de4436d9143f90c 100644
(file)
--- a/
include/llvm/AsmParser/Parser.h
+++ b/
include/llvm/AsmParser/Parser.h
@@
-67,6
+67,6
@@
std::unique_ptr<Module> parseAssembly(MemoryBufferRef F, SMDiagnostic &Err,
/// @return true on error.
bool parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err);
/// @return true on error.
bool parseAssemblyInto(MemoryBufferRef F, Module &M, SMDiagnostic &Err);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Bitcode/BitCodes.h
b/include/llvm/Bitcode/BitCodes.h
index 96c420151858b374982f744887d6a276215220c5..6b23eb966ed949d48662fd93fc8ad7b321c2f38f 100644
(file)
--- a/
include/llvm/Bitcode/BitCodes.h
+++ b/
include/llvm/Bitcode/BitCodes.h
@@
-77,7
+77,7
@@
namespace bitc {
// [id, name]
};
// [id, name]
};
-} //
End bitc namespace
+} //
namespace bitc
/// BitCodeAbbrevOp - This describes one or more operands in an abbreviation.
/// This is actually a union of two different things:
/// BitCodeAbbrevOp - This describes one or more operands in an abbreviation.
/// This is actually a union of two different things:
@@
-180,6
+180,6
@@
public:
OperandList.push_back(OpInfo);
}
};
OperandList.push_back(OpInfo);
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Bitcode/BitcodeWriterPass.h
b/include/llvm/Bitcode/BitcodeWriterPass.h
index ae915c688ba0865832a4ced07ec1daee457f8a11..cc742f19b590f1ae64fc27098602d3873e47493f 100644
(file)
--- a/
include/llvm/Bitcode/BitcodeWriterPass.h
+++ b/
include/llvm/Bitcode/BitcodeWriterPass.h
@@
-56,6
+56,6
@@
public:
static StringRef name() { return "BitcodeWriterPass"; }
};
static StringRef name() { return "BitcodeWriterPass"; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Bitcode/BitstreamReader.h
b/include/llvm/Bitcode/BitstreamReader.h
index 4c040a7f3e228267c8540127ac5280a61206a378..9201daf936d765dba2ac0afa82c06c3c4588c8d9 100644
(file)
--- a/
include/llvm/Bitcode/BitstreamReader.h
+++ b/
include/llvm/Bitcode/BitstreamReader.h
@@
-512,6
+512,6
@@
public:
bool ReadBlockInfoBlock();
};
bool ReadBlockInfoBlock();
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Bitcode/BitstreamWriter.h
b/include/llvm/Bitcode/BitstreamWriter.h
index 9f23023a14199fe030a5871cfeba7ad18413a237..eef6076d6a45b37208e6c5d8c7ca0dcfe6e9a024 100644
(file)
--- a/
include/llvm/Bitcode/BitstreamWriter.h
+++ b/
include/llvm/Bitcode/BitstreamWriter.h
@@
-520,6
+520,6
@@
public:
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Bitcode/LLVMBitCodes.h
b/include/llvm/Bitcode/LLVMBitCodes.h
index 3a311aa587731f8db90a3421347711b6979c3a3e..41aa148b2564360ad7b68c533a11f09e434469dd 100644
(file)
--- a/
include/llvm/Bitcode/LLVMBitCodes.h
+++ b/
include/llvm/Bitcode/LLVMBitCodes.h
@@
-416,7
+416,7
@@
namespace bitc {
COMDAT_SELECTION_KIND_SAME_SIZE = 5,
};
COMDAT_SELECTION_KIND_SAME_SIZE = 5,
};
-} //
End bitc namespace
-} //
End llvm namespace
+} //
namespace bitc
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Bitcode/ReaderWriter.h
b/include/llvm/Bitcode/ReaderWriter.h
index 6797aa133c42a63e9caa8bf4f49a1c7f19cbb0bb..d158569b810afa910eb7503bb692f4bf06fe7dc3 100644
(file)
--- a/
include/llvm/Bitcode/ReaderWriter.h
+++ b/
include/llvm/Bitcode/ReaderWriter.h
@@
-166,7
+166,7
@@
namespace llvm {
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
namespace std {
template <> struct is_error_code_enum<llvm::BitcodeError> : std::true_type {};
namespace std {
template <> struct is_error_code_enum<llvm::BitcodeError> : std::true_type {};
diff --git
a/include/llvm/CodeGen/Analysis.h
b/include/llvm/CodeGen/Analysis.h
index c4b94ede4f5596165099fbc2028bbd6ac8364563..96e95546701013c3d53a9f831546acf0c35cd743 100644
(file)
--- a/
include/llvm/CodeGen/Analysis.h
+++ b/
include/llvm/CodeGen/Analysis.h
@@
-115,6
+115,6
@@
bool returnTypeIsEligibleForTailCall(const Function *F,
// or we are in LTO.
bool canBeOmittedFromSymbolTable(const GlobalValue *GV);
// or we are in LTO.
bool canBeOmittedFromSymbolTable(const GlobalValue *GV);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/AsmPrinter.h
b/include/llvm/CodeGen/AsmPrinter.h
index fe7efae325c4b6840ea831a171b3c6c8b1281c7e..8a0989f1782cdbbababb57bf3ea7281becc8e611 100644
(file)
--- a/
include/llvm/CodeGen/AsmPrinter.h
+++ b/
include/llvm/CodeGen/AsmPrinter.h
@@
-535,6
+535,6
@@
private:
void EmitXXStructorList(const Constant *List, bool isCtor);
GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &C);
};
void EmitXXStructorList(const Constant *List, bool isCtor);
GCMetadataPrinter *GetOrCreateGCPrinter(GCStrategy &C);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/BasicTTIImpl.h
b/include/llvm/CodeGen/BasicTTIImpl.h
index 3e464f4f1e5a977927fda3f8993c003f1b6055cb..cb61cc7fd50ef559bfbd3690c4a7bd268a765317 100644
(file)
--- a/
include/llvm/CodeGen/BasicTTIImpl.h
+++ b/
include/llvm/CodeGen/BasicTTIImpl.h
@@
-830,6
+830,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/CalcSpillWeights.h
b/include/llvm/CodeGen/CalcSpillWeights.h
index 91fb0a9d7e77bdd39f01f3a9a982bc5ea2e3c818..7c901906308017a39f6e4755d7fc63cfebdefd87 100644
(file)
--- a/
include/llvm/CodeGen/CalcSpillWeights.h
+++ b/
include/llvm/CodeGen/CalcSpillWeights.h
@@
-74,6
+74,6
@@
namespace llvm {
const MachineBlockFrequencyInfo &MBFI,
VirtRegAuxInfo::NormalizingFn norm =
normalizeSpillWeight);
const MachineBlockFrequencyInfo &MBFI,
VirtRegAuxInfo::NormalizingFn norm =
normalizeSpillWeight);
-}
+}
// namespace llvm
#endif // LLVM_CODEGEN_CALCSPILLWEIGHTS_H
#endif // LLVM_CODEGEN_CALCSPILLWEIGHTS_H
diff --git
a/include/llvm/CodeGen/DFAPacketizer.h
b/include/llvm/CodeGen/DFAPacketizer.h
index f9cdc2a469ff39e97628b47fa628c5f5235efbfc..ccff3883f2bb680a565f730bb511b40bd5657e48 100644
(file)
--- a/
include/llvm/CodeGen/DFAPacketizer.h
+++ b/
include/llvm/CodeGen/DFAPacketizer.h
@@
-159,6
+159,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/DIE.h
b/include/llvm/CodeGen/DIE.h
index 464e0faa0ed3cb01399460e8e79b2dbf7aa6a9f6..1ea3217978d14700d760c8a1c83bcfc9d2f23349 100644
(file)
--- a/
include/llvm/CodeGen/DIE.h
+++ b/
include/llvm/CodeGen/DIE.h
@@
-635,6
+635,6
@@
public:
#endif
};
#endif
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/FaultMaps.h
b/include/llvm/CodeGen/FaultMaps.h
index b1278ff257ae292b1ae83765688029c0fb941110..d5c2feefaa672afe4ac779c05939f402ac66b4ac 100644
(file)
--- a/
include/llvm/CodeGen/FaultMaps.h
+++ b/
include/llvm/CodeGen/FaultMaps.h
@@
-68,6
+68,6
@@
private:
void emitFunctionInfo(const MCSymbol *FnLabel, const FunctionFaultInfos &FFI);
};
void emitFunctionInfo(const MCSymbol *FnLabel, const FunctionFaultInfos &FFI);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/GCMetadata.h
b/include/llvm/CodeGen/GCMetadata.h
index e883bd196ea313f98ea64b98553f4453d10b1c65..b34f67a023cae2ac792890d0d740fb00455c49fc 100644
(file)
--- a/
include/llvm/CodeGen/GCMetadata.h
+++ b/
include/llvm/CodeGen/GCMetadata.h
@@
-201,6
+201,6
@@
public:
/// will soon change.
GCFunctionInfo &getFunctionInfo(const Function &F);
};
/// will soon change.
GCFunctionInfo &getFunctionInfo(const Function &F);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/GCMetadataPrinter.h
b/include/llvm/CodeGen/GCMetadataPrinter.h
index 220847029113858998efe2884619f70f2f28f1bb..e451cd27634602bc0b375015185bbb889663d8b6 100644
(file)
--- a/
include/llvm/CodeGen/GCMetadataPrinter.h
+++ b/
include/llvm/CodeGen/GCMetadataPrinter.h
@@
-59,6
+59,6
@@
public:
virtual ~GCMetadataPrinter();
};
virtual ~GCMetadataPrinter();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/GCStrategy.h
b/include/llvm/CodeGen/GCStrategy.h
index a1b8e895898fe5394ec38c7ee43582d677f239eb..2a4dabb01b9bb995a666f697f8816d5d221dd82e 100644
(file)
--- a/
include/llvm/CodeGen/GCStrategy.h
+++ b/
include/llvm/CodeGen/GCStrategy.h
@@
-172,6
+172,6
@@
public:
/// register your GCMetadataPrinter subclass with the
/// GCMetadataPrinterRegistery as well.
typedef Registry<GCStrategy> GCRegistry;
/// register your GCMetadataPrinter subclass with the
/// GCMetadataPrinterRegistery as well.
typedef Registry<GCStrategy> GCRegistry;
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/GCs.h
b/include/llvm/CodeGen/GCs.h
index 5207f801c84ea652f858ed3e70f3a4824346eb5d..5418fff0b592f3dfca34efa6b796db02ffca2373 100644
(file)
--- a/
include/llvm/CodeGen/GCs.h
+++ b/
include/llvm/CodeGen/GCs.h
@@
-41,6
+41,6
@@
void linkErlangGCPrinter();
void linkShadowStackGC();
void linkStatepointExampleGC();
void linkShadowStackGC();
void linkStatepointExampleGC();
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/ISDOpcodes.h
b/include/llvm/CodeGen/ISDOpcodes.h
index c2071fe5dd2d7ea7fd7d2188d71f4714a8aade8b..5a1cf59024bf3aa93cbc8ab045835cf03c7d1fd6 100644
(file)
--- a/
include/llvm/CodeGen/ISDOpcodes.h
+++ b/
include/llvm/CodeGen/ISDOpcodes.h
@@
-890,8
+890,8
@@
namespace ISD {
CVT_INVALID /// Marker - Invalid opcode
};
CVT_INVALID /// Marker - Invalid opcode
};
-} //
end llvm::ISD namespace
+} //
namespace ISD
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/IntrinsicLowering.h
b/include/llvm/CodeGen/IntrinsicLowering.h
index 9e6ab7d45977e960b4dae4231106e92e32a93d33..a76464522aaa0fb68d76dc838b2b5b78bef3bad7 100644
(file)
--- a/
include/llvm/CodeGen/IntrinsicLowering.h
+++ b/
include/llvm/CodeGen/IntrinsicLowering.h
@@
-54,6
+54,6
@@
namespace llvm {
/// simple integer bswap.
static bool LowerToByteSwap(CallInst *CI);
};
/// simple integer bswap.
static bool LowerToByteSwap(CallInst *CI);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/LatencyPriorityQueue.h
b/include/llvm/CodeGen/LatencyPriorityQueue.h
index f347f66e0981c7dffd14c28e59f38e75f02859fd..cc33f34912426a08bbb624aaf4884bbc38711dc8 100644
(file)
--- a/
include/llvm/CodeGen/LatencyPriorityQueue.h
+++ b/
include/llvm/CodeGen/LatencyPriorityQueue.h
@@
-93,6
+93,6
@@
private:
void AdjustPriorityOfUnscheduledPreds(SUnit *SU);
SUnit *getSingleUnscheduledPred(SUnit *SU);
};
void AdjustPriorityOfUnscheduledPreds(SUnit *SU);
SUnit *getSingleUnscheduledPred(SUnit *SU);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/LexicalScopes.h
b/include/llvm/CodeGen/LexicalScopes.h
index 7d7e48af2a0ff3bf5e17f357c465abbd9b936f6a..7478c3a678af20aa8428de60da94185eda650ec8 100644
(file)
--- a/
include/llvm/CodeGen/LexicalScopes.h
+++ b/
include/llvm/CodeGen/LexicalScopes.h
@@
-252,6
+252,6
@@
private:
LexicalScope *CurrentFnLexicalScope;
};
LexicalScope *CurrentFnLexicalScope;
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/LiveInterval.h
b/include/llvm/CodeGen/LiveInterval.h
index 9b8b91c9b80e23ea7f00e08d168c6b5a8db1ce56..ea44ab10792b26a7aea9fa88f4c21e294aa8d35e 100644
(file)
--- a/
include/llvm/CodeGen/LiveInterval.h
+++ b/
include/llvm/CodeGen/LiveInterval.h
@@
-866,5
+866,5
@@
namespace llvm {
};
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/LiveIntervalAnalysis.h
b/include/llvm/CodeGen/LiveIntervalAnalysis.h
index 9673f80e0856678b2f14d9ab4bdcf8ed351614d9..9d688412897c80ce63a3136a4d104bc0ed69c9b8 100644
(file)
--- a/
include/llvm/CodeGen/LiveIntervalAnalysis.h
+++ b/
include/llvm/CodeGen/LiveIntervalAnalysis.h
@@
-444,6
+444,6
@@
extern cl::opt<bool> UseSegmentSetForPhysRegs;
class HMEditor;
};
class HMEditor;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/LiveRangeEdit.h
b/include/llvm/CodeGen/LiveRangeEdit.h
index c97c636abbb4c95a2ae983f624f68ea7f14552bf..f04efc3d9f7805a55f0fd968f3ce01bfa88cff9d 100644
(file)
--- a/
include/llvm/CodeGen/LiveRangeEdit.h
+++ b/
include/llvm/CodeGen/LiveRangeEdit.h
@@
-228,6
+228,6
@@
public:
const MachineBlockFrequencyInfo&);
};
const MachineBlockFrequencyInfo&);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/LiveStackAnalysis.h
b/include/llvm/CodeGen/LiveStackAnalysis.h
index f495507c66ecd2595aaff147f579faea95f21420..b4808ab1f1d472f7f1f0f34fee81420ec18a5f64 100644
(file)
--- a/
include/llvm/CodeGen/LiveStackAnalysis.h
+++ b/
include/llvm/CodeGen/LiveStackAnalysis.h
@@
-95,6
+95,6
@@
namespace llvm {
/// print - Implement the dump method.
void print(raw_ostream &O, const Module* = nullptr) const override;
};
/// print - Implement the dump method.
void print(raw_ostream &O, const Module* = nullptr) const override;
};
-}
+}
// namespace llvm
#endif /* LLVM_CODEGEN_LIVESTACK_ANALYSIS_H */
#endif /* LLVM_CODEGEN_LIVESTACK_ANALYSIS_H */
diff --git
a/include/llvm/CodeGen/LiveVariables.h
b/include/llvm/CodeGen/LiveVariables.h
index 55b97dc3e71d94306be66c173fb50e4f56a36c3a..334e8c5eab6c664e479587d746cbae7722c2f5f1 100644
(file)
--- a/
include/llvm/CodeGen/LiveVariables.h
+++ b/
include/llvm/CodeGen/LiveVariables.h
@@
-306,6
+306,6
@@
public:
void setPHIJoin(unsigned Reg) { PHIJoins.set(Reg); }
};
void setPHIJoin(unsigned Reg) { PHIJoins.set(Reg); }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineBasicBlock.h
b/include/llvm/CodeGen/MachineBasicBlock.h
index 357aef0ee60da8d4f422bd9fb85d3e906d260211..619894c077ce669c50d0b19808603c687ec016ba 100644
(file)
--- a/
include/llvm/CodeGen/MachineBasicBlock.h
+++ b/
include/llvm/CodeGen/MachineBasicBlock.h
@@
-801,6
+801,6
@@
public:
MachineBasicBlock::iterator getInitial() { return I; }
};
MachineBasicBlock::iterator getInitial() { return I; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
b/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
index feb394e7a69e0026dd7fa40c611503883acf0b84..9d0a069a0b22e9fc5daf9c1f11865b422f875618 100644
(file)
--- a/
include/llvm/CodeGen/MachineBlockFrequencyInfo.h
+++ b/
include/llvm/CodeGen/MachineBlockFrequencyInfo.h
@@
-66,6
+66,6
@@
public:
};
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
b/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
index 7ba749559c0f60b726c5d6e2c7156fc3c9e779e6..da6ea1dbfe40135b36bb5328f5107d7d7a03a129 100644
(file)
--- a/
include/llvm/CodeGen/MachineBranchProbabilityInfo.h
+++ b/
include/llvm/CodeGen/MachineBranchProbabilityInfo.h
@@
-84,7
+84,7
@@
public:
const MachineBasicBlock *Dst) const;
};
const MachineBasicBlock *Dst) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineConstantPool.h
b/include/llvm/CodeGen/MachineConstantPool.h
index c619afb83333a83f5ae031ce346dcbef0970db0d..8a915fb428c377e93f16e5893d6d617750c34fd5 100644
(file)
--- a/
include/llvm/CodeGen/MachineConstantPool.h
+++ b/
include/llvm/CodeGen/MachineConstantPool.h
@@
-174,6
+174,6
@@
public:
void dump() const;
};
void dump() const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineDominanceFrontier.h
b/include/llvm/CodeGen/MachineDominanceFrontier.h
index 4131194a0c0fc8dca39b8dcbbd84be03e8a69f37..f8dd2cd34a8291c9f57f3d9f8737c9e44bd4a6e3 100644
(file)
--- a/
include/llvm/CodeGen/MachineDominanceFrontier.h
+++ b/
include/llvm/CodeGen/MachineDominanceFrontier.h
@@
-104,6
+104,6
@@
public:
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineDominators.h
b/include/llvm/CodeGen/MachineDominators.h
index 4428fa618fb01e6f08e79d0af1a69edfbefa1384..6518114f1952899d0c4647e12af28cdb3620316b 100644
(file)
--- a/
include/llvm/CodeGen/MachineDominators.h
+++ b/
include/llvm/CodeGen/MachineDominators.h
@@
-270,6
+270,6
@@
template <> struct GraphTraits<MachineDominatorTree*>
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineFrameInfo.h
b/include/llvm/CodeGen/MachineFrameInfo.h
index 0f5a4b1b09ec771889a16590cfb28188fa9a1fd6..ac92a4b079151ef7a88d5ef841d74b68216a2c8c 100644
(file)
--- a/
include/llvm/CodeGen/MachineFrameInfo.h
+++ b/
include/llvm/CodeGen/MachineFrameInfo.h
@@
-600,6
+600,6
@@
public:
void dump(const MachineFunction &MF) const;
};
void dump(const MachineFunction &MF) const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineFunction.h
b/include/llvm/CodeGen/MachineFunction.h
index 94610cabf566d761428bc082fa7c0d906a7f11d9..d838cad82b0deb88fab5f080059c8285c782f287 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunction.h
+++ b/
include/llvm/CodeGen/MachineFunction.h
@@
-546,6
+546,6
@@
template <> struct GraphTraits<Inverse<const MachineFunction*> > :
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineFunctionAnalysis.h
b/include/llvm/CodeGen/MachineFunctionAnalysis.h
index 4c0f5e63ea1d9c99629249282956851a2a62aca1..576e72bcc0028ade4e6ee364d8500f27d865473e 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunctionAnalysis.h
+++ b/
include/llvm/CodeGen/MachineFunctionAnalysis.h
@@
-50,6
+50,6
@@
private:
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineFunctionPass.h
b/include/llvm/CodeGen/MachineFunctionPass.h
index 50a1f6e96217d923a4fa329c88b9aa1f2c9a1bc2..0e09c90a9a5a50cb5d4e8f9b742d110a275f42a5 100644
(file)
--- a/
include/llvm/CodeGen/MachineFunctionPass.h
+++ b/
include/llvm/CodeGen/MachineFunctionPass.h
@@
-54,6
+54,6
@@
private:
bool runOnFunction(Function &F) override;
};
bool runOnFunction(Function &F) override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineInstr.h
b/include/llvm/CodeGen/MachineInstr.h
index edda03fe368527575441408cee133e203b76957c..0313e93f551df18152f2d581ebe41e7c952e4888 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstr.h
+++ b/
include/llvm/CodeGen/MachineInstr.h
@@
-1235,6
+1235,6
@@
inline raw_ostream& operator<<(raw_ostream &OS, const MachineInstr &MI) {
return OS;
}
return OS;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineInstrBuilder.h
b/include/llvm/CodeGen/MachineInstrBuilder.h
index 47397c6d67434ce15d7b0eb147e30803706ead0e..0778ff453c38268c8bccd218fbc470415f48b042 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstrBuilder.h
+++ b/
include/llvm/CodeGen/MachineInstrBuilder.h
@@
-40,7
+40,7
@@
namespace RegState {
ImplicitDefine = Implicit | Define,
ImplicitKill = Implicit | Kill
};
ImplicitDefine = Implicit | Define,
ImplicitKill = Implicit | Kill
};
-}
+}
// namespace RegState
class MachineInstrBuilder {
MachineFunction *MF;
class MachineInstrBuilder {
MachineFunction *MF;
@@
-502,6
+502,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineInstrBundle.h
b/include/llvm/CodeGen/MachineInstrBundle.h
index 1220224863450485d048fc98d870e44524f54839..edebfa63b8b99734c4465c869d41c56164c38e32 100644
(file)
--- a/
include/llvm/CodeGen/MachineInstrBundle.h
+++ b/
include/llvm/CodeGen/MachineInstrBundle.h
@@
-247,6
+247,6
@@
public:
const MachineOperand *operator->() const { return &deref(); }
};
const MachineOperand *operator->() const { return &deref(); }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineJumpTableInfo.h
b/include/llvm/CodeGen/MachineJumpTableInfo.h
index adcd1d0de63d305e3aeddb62cc7db082f1e46763..b59b5852226476f315c0eb2b0350170d3d26e158 100644
(file)
--- a/
include/llvm/CodeGen/MachineJumpTableInfo.h
+++ b/
include/llvm/CodeGen/MachineJumpTableInfo.h
@@
-125,6
+125,6
@@
public:
void dump() const;
};
void dump() const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineLoopInfo.h
b/include/llvm/CodeGen/MachineLoopInfo.h
index 438ef2e37255e81498d1c06ef2530cd31ece54b1..8c245ae3080ff22dedfc7f75c5bab229ed5f721d 100644
(file)
--- a/
include/llvm/CodeGen/MachineLoopInfo.h
+++ b/
include/llvm/CodeGen/MachineLoopInfo.h
@@
-186,6
+186,6
@@
template <> struct GraphTraits<MachineLoop*> {
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineMemOperand.h
b/include/llvm/CodeGen/MachineMemOperand.h
index a16c294a07491f5d464ece5a3a05cca1da118eab..9962ff9dbc012d5ce43acf4e3cad8295b72db898 100644
(file)
--- a/
include/llvm/CodeGen/MachineMemOperand.h
+++ b/
include/llvm/CodeGen/MachineMemOperand.h
@@
-221,6
+221,6
@@
public:
raw_ostream &operator<<(raw_ostream &OS, const MachineMemOperand &MRO);
raw_ostream &operator<<(raw_ostream &OS, const MachineMemOperand &MRO);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineModuleInfo.h
b/include/llvm/CodeGen/MachineModuleInfo.h
index ad394f0e2fffcb078f3ab22fb0e1ce5ab7418ea3..5faf8de28ee60eaa2959d1ec237f8b18a64df9ee 100644
(file)
--- a/
include/llvm/CodeGen/MachineModuleInfo.h
+++ b/
include/llvm/CodeGen/MachineModuleInfo.h
@@
-441,6
+441,6
@@
public:
}; // End class MachineModuleInfo
}; // End class MachineModuleInfo
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineOperand.h
b/include/llvm/CodeGen/MachineOperand.h
index ddffdcaf1e4db4ca0e7767dc54781df66625d14f..8c8ce71253e63fcfa5cfba9a8f3efd43c4256cf7 100644
(file)
--- a/
include/llvm/CodeGen/MachineOperand.h
+++ b/
include/llvm/CodeGen/MachineOperand.h
@@
-741,6
+741,6
@@
inline raw_ostream &operator<<(raw_ostream &OS, const MachineOperand& MO) {
// See friend declaration above. This additional declaration is required in
// order to compile LLVM with IBM xlC compiler.
hash_code hash_value(const MachineOperand &MO);
// See friend declaration above. This additional declaration is required in
// order to compile LLVM with IBM xlC compiler.
hash_code hash_value(const MachineOperand &MO);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineRegionInfo.h
b/include/llvm/CodeGen/MachineRegionInfo.h
index cf49c297c2880f2baafab36a4536202b5ce619de..794f1d6a4d60d09f9db7a20bba5822bfd5309310 100644
(file)
--- a/
include/llvm/CodeGen/MachineRegionInfo.h
+++ b/
include/llvm/CodeGen/MachineRegionInfo.h
@@
-176,6
+176,6
@@
EXTERN_TEMPLATE_INSTANTIATION(class RegionBase<RegionTraits<MachineFunction>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionNodeBase<RegionTraits<MachineFunction>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionInfoBase<RegionTraits<MachineFunction>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionNodeBase<RegionTraits<MachineFunction>>);
EXTERN_TEMPLATE_INSTANTIATION(class RegionInfoBase<RegionTraits<MachineFunction>>);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineRegisterInfo.h
b/include/llvm/CodeGen/MachineRegisterInfo.h
index e5b837aeea2863f4c8560e2c4048ebbb56a4b476..c17ad38a177b5665505a8fab53ff5be2c554cab1 100644
(file)
--- a/
include/llvm/CodeGen/MachineRegisterInfo.h
+++ b/
include/llvm/CodeGen/MachineRegisterInfo.h
@@
-1036,6
+1036,6
@@
getPressureSets(unsigned RegUnit) const {
return PSetIterator(RegUnit, this);
}
return PSetIterator(RegUnit, this);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineSSAUpdater.h
b/include/llvm/CodeGen/MachineSSAUpdater.h
index 5f988ad86320f6691e022312e23ffb993f15c096..dad0c4620805b099e72725d2b1061ebd154e1e9f 100644
(file)
--- a/
include/llvm/CodeGen/MachineSSAUpdater.h
+++ b/
include/llvm/CodeGen/MachineSSAUpdater.h
@@
-111,6
+111,6
@@
private:
MachineSSAUpdater(const MachineSSAUpdater&) = delete;
};
MachineSSAUpdater(const MachineSSAUpdater&) = delete;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/MachineValueType.h
b/include/llvm/CodeGen/MachineValueType.h
index a728df3546778a8e1461df2e82a4e7a13e2486a3..a3eea5b34072df8e76d278da8100acb4f5342707 100644
(file)
--- a/
include/llvm/CodeGen/MachineValueType.h
+++ b/
include/llvm/CodeGen/MachineValueType.h
@@
-644,6
+644,6
@@
class MVT {
/// @}
};
/// @}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/PBQPRAConstraint.h
b/include/llvm/CodeGen/PBQPRAConstraint.h
index 833b9bad613ff03f533ed9a0cec5f78cfc0f1bb6..832c043e2f5bece7bb7cf538b749ccbf896471c4 100644
(file)
--- a/
include/llvm/CodeGen/PBQPRAConstraint.h
+++ b/
include/llvm/CodeGen/PBQPRAConstraint.h
@@
-64,6
+64,6
@@
private:
void anchor() override;
};
void anchor() override;
};
-}
+}
// namespace llvm
#endif /* LLVM_CODEGEN_PBQPRACONSTRAINT_H */
#endif /* LLVM_CODEGEN_PBQPRACONSTRAINT_H */
diff --git
a/include/llvm/CodeGen/Passes.h
b/include/llvm/CodeGen/Passes.h
index 5d1224a720e9b042d8787b318f35e38310a456e0..3aeec2ac9cab736bf4aac0dc21313692606152fb 100644
(file)
--- a/
include/llvm/CodeGen/Passes.h
+++ b/
include/llvm/CodeGen/Passes.h
@@
-637,7
+637,7
@@
namespace llvm {
/// createForwardControlFlowIntegrityPass - This pass adds control-flow
/// integrity.
ModulePass *createForwardControlFlowIntegrityPass();
/// createForwardControlFlowIntegrityPass - This pass adds control-flow
/// integrity.
ModulePass *createForwardControlFlowIntegrityPass();
-} //
End llvm namespace
+} //
namespace llvm
/// Target machine pass initializer for passes with dependencies. Use with
/// INITIALIZE_TM_PASS_END.
/// Target machine pass initializer for passes with dependencies. Use with
/// INITIALIZE_TM_PASS_END.
diff --git
a/include/llvm/CodeGen/PseudoSourceValue.h
b/include/llvm/CodeGen/PseudoSourceValue.h
index cc3e25aeb89f2ee077c03571776f11dd3ecb9447..e0ec72f1afa2250ac05037143715e2170680aa16 100644
(file)
--- a/
include/llvm/CodeGen/PseudoSourceValue.h
+++ b/
include/llvm/CodeGen/PseudoSourceValue.h
@@
-106,6
+106,6
@@
namespace llvm {
int getFrameIndex() const { return FI; }
};
int getFrameIndex() const { return FI; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/RegisterScavenging.h
b/include/llvm/CodeGen/RegisterScavenging.h
index df3fd34e0af67816a0089e67615b900850c5d7c1..b2e31fa9a1a14722d90dee991256728aec2db28f 100644
(file)
--- a/
include/llvm/CodeGen/RegisterScavenging.h
+++ b/
include/llvm/CodeGen/RegisterScavenging.h
@@
-184,6
+184,6
@@
private:
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/ResourcePriorityQueue.h
b/include/llvm/CodeGen/ResourcePriorityQueue.h
index 0097e0472e5c51cb6b9b6f9376fc9b71265cece8..d1ea9ffff9e6ace2e9c65c9b02d5b9093d0e7255 100644
(file)
--- a/
include/llvm/CodeGen/ResourcePriorityQueue.h
+++ b/
include/llvm/CodeGen/ResourcePriorityQueue.h
@@
-131,6
+131,6
@@
private:
unsigned numberRCValPredInSU (SUnit *SU, unsigned RCId);
unsigned numberRCValSuccInSU (SUnit *SU, unsigned RCId);
};
unsigned numberRCValPredInSU (SUnit *SU, unsigned RCId);
unsigned numberRCValSuccInSU (SUnit *SU, unsigned RCId);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/RuntimeLibcalls.h
b/include/llvm/CodeGen/RuntimeLibcalls.h
index 2be5de640e2929dcf0efce5baafe0527595eada8..34adde592950f3b6f64e2ecf3f0450ad61e4fd92 100644
(file)
--- a/
include/llvm/CodeGen/RuntimeLibcalls.h
+++ b/
include/llvm/CodeGen/RuntimeLibcalls.h
@@
-429,7
+429,7
@@
namespace RTLIB {
/// Return the SYNC_FETCH_AND_* value for the given opcode and type, or
/// UNKNOWN_LIBCALL if there is none.
Libcall getATOMIC(unsigned Opc, MVT VT);
/// Return the SYNC_FETCH_AND_* value for the given opcode and type, or
/// UNKNOWN_LIBCALL if there is none.
Libcall getATOMIC(unsigned Opc, MVT VT);
-}
-}
+}
// namespace RTLIB
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/ScheduleDAG.h
b/include/llvm/CodeGen/ScheduleDAG.h
index 839131416560f5e7ed7d9ac0f1d0c5c26fe34254..9b5d59c28105948b0f2cf31e4cdd6130ebe6adfc 100644
(file)
--- a/
include/llvm/CodeGen/ScheduleDAG.h
+++ b/
include/llvm/CodeGen/ScheduleDAG.h
@@
-748,6
+748,6
@@
namespace llvm {
reverse_iterator rend() { return Index2Node.rend(); }
const_reverse_iterator rend() const { return Index2Node.rend(); }
};
reverse_iterator rend() { return Index2Node.rend(); }
const_reverse_iterator rend() const { return Index2Node.rend(); }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/ScheduleHazardRecognizer.h
b/include/llvm/CodeGen/ScheduleHazardRecognizer.h
index 8a40e7212ff6d37e3bf7ae7014dea552b9ea20eb..ef872a2b910088aa22f50b2d335948f754ee1887 100644
(file)
--- a/
include/llvm/CodeGen/ScheduleHazardRecognizer.h
+++ b/
include/llvm/CodeGen/ScheduleHazardRecognizer.h
@@
-106,6
+106,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
b/include/llvm/CodeGen/ScoreboardHazardRecognizer.h
index ab14c2de32b0b8adcc07b0f7c9766efb06adf16c..5911cfbefc81933831f0cac112a6b43a77c7260d 100644
(file)
--- a/
include/llvm/CodeGen/ScoreboardHazardRecognizer.h
+++ b/
include/llvm/CodeGen/ScoreboardHazardRecognizer.h
@@
-121,6
+121,6
@@
public:
void RecedeCycle() override;
};
void RecedeCycle() override;
};
-}
+}
// namespace llvm
#endif //!LLVM_CODEGEN_SCOREBOARDHAZARDRECOGNIZER_H
#endif //!LLVM_CODEGEN_SCOREBOARDHAZARDRECOGNIZER_H
diff --git
a/include/llvm/CodeGen/SelectionDAGISel.h
b/include/llvm/CodeGen/SelectionDAGISel.h
index a011e4c338c4a15dcfc8f5b5b2da4042992ed8b8..dc4fa2b684882624de1d89cee08d3b1b81ee90fc 100644
(file)
--- a/
include/llvm/CodeGen/SelectionDAGISel.h
+++ b/
include/llvm/CodeGen/SelectionDAGISel.h
@@
-301,6
+301,6
@@
private:
};
};
-}
+}
// namespace llvm
#endif /* LLVM_CODEGEN_SELECTIONDAGISEL_H */
#endif /* LLVM_CODEGEN_SELECTIONDAGISEL_H */
diff --git
a/include/llvm/CodeGen/SelectionDAGNodes.h
b/include/llvm/CodeGen/SelectionDAGNodes.h
index 69fe9ce1cc4785f310634698ff3fe63673f184ad..4b65eaa4f2097f004f590c212ff4557eccf61a8a 100644
(file)
--- a/
include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/
include/llvm/CodeGen/SelectionDAGNodes.h
@@
-89,7
+89,7
@@
namespace ISD {
/// Return true if the node has at least one operand
/// and all operands of the specified node are ISD::UNDEF.
bool allOperandsUndef(const SDNode *N);
/// Return true if the node has at least one operand
/// and all operands of the specified node are ISD::UNDEF.
bool allOperandsUndef(const SDNode *N);
-}
// end llvm:ISD namespace
+}
// namespace ISD
//===----------------------------------------------------------------------===//
/// Unlike LLVM values, Selection DAG nodes may return multiple
//===----------------------------------------------------------------------===//
/// Unlike LLVM values, Selection DAG nodes may return multiple
@@
-2268,8
+2268,8
@@
namespace ISD {
return isa<StoreSDNode>(N) &&
cast<StoreSDNode>(N)->getAddressingMode() == ISD::UNINDEXED;
}
return isa<StoreSDNode>(N) &&
cast<StoreSDNode>(N)->getAddressingMode() == ISD::UNINDEXED;
}
-}
+}
// namespace ISD
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/SlotIndexes.h
b/include/llvm/CodeGen/SlotIndexes.h
index 9d6d6f5b1be0ed8f2a3295d2bca4ccf4a5dde404..5f213979b61b84b3a41f2356b4ac481596c28479 100644
(file)
--- a/
include/llvm/CodeGen/SlotIndexes.h
+++ b/
include/llvm/CodeGen/SlotIndexes.h
@@
-705,6
+705,6
@@
namespace llvm {
struct IntervalMapInfo<SlotIndex> : IntervalMapHalfOpenInfo<SlotIndex> {
};
struct IntervalMapInfo<SlotIndex> : IntervalMapHalfOpenInfo<SlotIndex> {
};
-}
+}
// namespace llvm
#endif // LLVM_CODEGEN_SLOTINDEXES_H
#endif // LLVM_CODEGEN_SLOTINDEXES_H
diff --git
a/include/llvm/CodeGen/StackMaps.h
b/include/llvm/CodeGen/StackMaps.h
index 46a773f74aaca6dc764f306d7af1b96bc3033ca3..ba27404520697c7d36e2c43f229429b4cda05cf3 100644
(file)
--- a/
include/llvm/CodeGen/StackMaps.h
+++ b/
include/llvm/CodeGen/StackMaps.h
@@
-255,6
+255,6
@@
private:
void debug() { print(dbgs()); }
};
void debug() { print(dbgs()); }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/ValueTypes.h
b/include/llvm/CodeGen/ValueTypes.h
index e1a9fd38290ba20846d33687181ece75726ecbb9..e02d7db3f50e7c30a8b3d63ee48043ffa32459cb 100644
(file)
--- a/
include/llvm/CodeGen/ValueTypes.h
+++ b/
include/llvm/CodeGen/ValueTypes.h
@@
-361,6
+361,6
@@
namespace llvm {
unsigned getExtendedSizeInBits() const;
};
unsigned getExtendedSizeInBits() const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/VirtRegMap.h
b/include/llvm/CodeGen/VirtRegMap.h
index d7e92094877d1fbbf83e4a0e1d5bcb27d916fe72..5b771d068fb8ad8eca464fddb2a54a237fe2e182 100644
(file)
--- a/
include/llvm/CodeGen/VirtRegMap.h
+++ b/
include/llvm/CodeGen/VirtRegMap.h
@@
-185,6
+185,6
@@
namespace llvm {
VRM.print(OS);
return OS;
}
VRM.print(OS);
return OS;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/CodeGen/WinEHFuncInfo.h
b/include/llvm/CodeGen/WinEHFuncInfo.h
index 291f3905512c549a5a28012b6ffb48ed91a215ab..5c1b3dfa48aaba47f67144640f910a49b0ca0d24 100644
(file)
--- a/
include/llvm/CodeGen/WinEHFuncInfo.h
+++ b/
include/llvm/CodeGen/WinEHFuncInfo.h
@@
-161,5
+161,5
@@
struct WinEHFuncInfo {
void calculateWinCXXEHStateNumbers(const Function *ParentFn,
WinEHFuncInfo &FuncInfo);
void calculateWinCXXEHStateNumbers(const Function *ParentFn,
WinEHFuncInfo &FuncInfo);
-}
+}
// namespace llvm
#endif // LLVM_CODEGEN_WINEHFUNCINFO_H
#endif // LLVM_CODEGEN_WINEHFUNCINFO_H
diff --git
a/include/llvm/DebugInfo/DIContext.h
b/include/llvm/DebugInfo/DIContext.h
index 871e60c56b1372af5c7a51f2f57af2ff0cebb040..8e5794dd746e7d5b307b3e71ad259c0f77f855b3 100644
(file)
--- a/
include/llvm/DebugInfo/DIContext.h
+++ b/
include/llvm/DebugInfo/DIContext.h
@@
-172,6
+172,6
@@
public:
virtual std::unique_ptr<LoadedObjectInfo> clone() const = 0;
};
virtual std::unique_ptr<LoadedObjectInfo> clone() const = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
b/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
index 6ab5d5ce6f6e7bd4ff27e94a48d75fa7f0dbd50d..72f304a740a4c57d717a65c626f75319571d1152 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
@@
-57,6
+57,6
@@
private:
AttributeSpecVector AttributeSpecs;
};
AttributeSpecVector AttributeSpecs;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
b/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
index 47dbf5fd4f56d05b8fe215c9684a678f5c9876d9..f89143854e68f89c5ab98c05d198ba0282313efd 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
@@
-49,6
+49,6
@@
public:
void dump(raw_ostream &OS) const;
};
void dump(raw_ostream &OS) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
b/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
index 743f9c696e9e8c8f40b3aa8befd7aea445c928a3..9f7527fc66ea03ea3d6aaf9236698914a24beb3c 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
@@
-26,6
+26,6
@@
public:
~DWARFCompileUnit() override;
};
~DWARFCompileUnit() override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFContext.h
b/include/llvm/DebugInfo/DWARF/DWARFContext.h
index 423c0d32f1b5e4ec7499390bbb1611552451aba4..0e29ad6102e60c80e56955f6d555b63f4533f425 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFContext.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFContext.h
@@
-295,6
+295,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
b/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
index 21142089da6bb02c5acb62e96bc031206c1e31ec..88519ce62875eb89ef140d7bffeb1a083e00b98e 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
@@
-58,6
+58,6
@@
private:
void clear();
};
void clear();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
b/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
index 837a8e63469ee5626cd657e4a4e172a2dbe92e01..15850b2a6f2c3e45eaa581af7cc0a6a338b8cc70 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
@@
-65,6
+65,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
b/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
index 791f010a8892ba38de4c95d45f66ee49d1178cfb..58359fa9efbf9ee52de808445499ae9c6942a1f5 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h
@@
-82,6
+82,6
@@
private:
DenseSet<uint32_t> ParsedCUOffsets;
};
DenseSet<uint32_t> ParsedCUOffsets;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
b/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
index f29d5fe9ecde7bb3343f9194b8856829ae9e4941..3cbae4119781111caded20b3035e0de3513b3652 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
@@
-155,6
+155,6
@@
struct DWARFDebugInfoEntryInlinedChain {
const DWARFUnit *U;
};
const DWARFUnit *U;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
b/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
index 93e7c790ccf90b8fb362d409a4a6482a40d9ad55..e728d59ebb84f6860b7943587dcb72e81779c877 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
@@
-248,6
+248,6
@@
private:
LineTableMapTy LineTableMap;
};
LineTableMapTy LineTableMap;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
b/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
index bd44c2e5aab9b9a43b240af06f817a13b470f79d..6a3f2adeb8f76487033da55a5c57e0f081b6c277 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
@@
-76,6
+76,6
@@
public:
void parse(DataExtractor data);
void dump(raw_ostream &OS) const;
};
void parse(DataExtractor data);
void dump(raw_ostream &OS) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
b/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
index 7ddcc0d81d594c8b4fb558ba093ce25b405b1704..2d6bb0e00537c73569fd64e6c5c4024e26bbe496 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
@@
-91,6
+91,6
@@
private:
void dumpString(raw_ostream &OS, const DWARFUnit *U) const;
};
void dumpString(raw_ostream &OS, const DWARFUnit *U) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
b/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
index f24e27819da28b5d0edf55033ace461161dca77d..de853c35cd89e988d58e3a522d9a4c7b487b9ac4 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
@@
-32,7
+32,7
@@
protected:
bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) override;
};
bool extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/DWARF/DWARFUnit.h
b/include/llvm/DebugInfo/DWARF/DWARFUnit.h
index 5604b93f220587cb1b40bbfcbc4de6debd889332..54209cff57b59e3b091bc9eb731497a16c023e5e 100644
(file)
--- a/
include/llvm/DebugInfo/DWARF/DWARFUnit.h
+++ b/
include/llvm/DebugInfo/DWARF/DWARFUnit.h
@@
-279,6
+279,6
@@
private:
const DWARFDebugInfoEntryMinimal *getSubprogramForAddress(uint64_t Address);
};
const DWARFDebugInfoEntryMinimal *getSubprogramForAddress(uint64_t Address);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
b/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
index b5fa8c33414dbd2d0a9ad2bc3fe00ad737bef8c0..8a06d55392d971435133319912465d61566a3f33 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
+++ b/
include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h
@@
-54,6
+54,6
@@
private:
std::unique_ptr<IPDBEnumSymbols> Enumerator;
};
std::unique_ptr<IPDBEnumSymbols> Enumerator;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/IPDBDataStream.h
b/include/llvm/DebugInfo/PDB/IPDBDataStream.h
index 808a0f3ec3a9df111fd9fe551fb3e5a0d69c92bb..429cd7e7ef749364765c7f08a346fbb289c243af 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/IPDBDataStream.h
+++ b/
include/llvm/DebugInfo/PDB/IPDBDataStream.h
@@
-32,6
+32,6
@@
public:
virtual void reset() = 0;
virtual IPDBDataStream *clone() const = 0;
};
virtual void reset() = 0;
virtual IPDBDataStream *clone() const = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
b/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
index 645ac96e23a5e6916d74a03485ddb461e2ac12a8..5001a95c25de417eb14eb7b3acc9e35068ac41b0 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
+++ b/
include/llvm/DebugInfo/PDB/IPDBEnumChildren.h
@@
-28,6
+28,6
@@
public:
virtual void reset() = 0;
virtual MyType *clone() const = 0;
};
virtual void reset() = 0;
virtual MyType *clone() const = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/IPDBLineNumber.h
b/include/llvm/DebugInfo/PDB/IPDBLineNumber.h
index 92cd58d866490da40c70e186b6af4a551d2c10fd..30036df42c91dc966ac4b3db984eaf91d49843e9 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/IPDBLineNumber.h
+++ b/
include/llvm/DebugInfo/PDB/IPDBLineNumber.h
@@
-31,6
+31,6
@@
public:
virtual uint32_t getCompilandId() const = 0;
virtual bool isStatement() const = 0;
};
virtual uint32_t getCompilandId() const = 0;
virtual bool isStatement() const = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/IPDBSession.h
b/include/llvm/DebugInfo/PDB/IPDBSession.h
index a130a38a653844272aac0a857ff1b65aeee9da86..1dca9117134dc82fd34d93d7d281fda371defe0e 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/IPDBSession.h
+++ b/
include/llvm/DebugInfo/PDB/IPDBSession.h
@@
-56,6
+56,6
@@
public:
virtual std::unique_ptr<IPDBEnumDataStreams> getDebugStreams() const = 0;
};
virtual std::unique_ptr<IPDBEnumDataStreams> getDebugStreams() const = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/IPDBSourceFile.h
b/include/llvm/DebugInfo/PDB/IPDBSourceFile.h
index 55000eff02f02fd38adb2a51baa3925a42629574..8081ea5d7712ced7a417a37bd59207741d411051 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/IPDBSourceFile.h
+++ b/
include/llvm/DebugInfo/PDB/IPDBSourceFile.h
@@
-32,6
+32,6
@@
public:
virtual PDB_Checksum getChecksumType() const = 0;
virtual std::unique_ptr<IPDBEnumSymbols> getCompilands() const = 0;
};
virtual PDB_Checksum getChecksumType() const = 0;
virtual std::unique_ptr<IPDBEnumSymbols> getCompilands() const = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/PDBContext.h
b/include/llvm/DebugInfo/PDB/PDBContext.h
index 2bb97463f90dacda740b758e4e28cd650351bc39..3b4a77ec721fc673105729d3e90d6d30c74b716a 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/PDBContext.h
+++ b/
include/llvm/DebugInfo/PDB/PDBContext.h
@@
-55,6
+55,6
@@
private:
std::string getFunctionName(uint64_t Address, DINameKind NameKind) const;
std::unique_ptr<IPDBSession> Session;
};
std::string getFunctionName(uint64_t Address, DINameKind NameKind) const;
std::unique_ptr<IPDBSession> Session;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/PDBExtras.h
b/include/llvm/DebugInfo/PDB/PDBExtras.h
index 48ce1c127196f4c2575d09b55788d5e8cdbae1b0..64f9694147df5b4e7e761542de21471b64cba1fb 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/PDBExtras.h
+++ b/
include/llvm/DebugInfo/PDB/PDBExtras.h
@@
-33,6
+33,6
@@
raw_ostream &operator<<(raw_ostream &OS, const PDB_UniqueId &Id);
raw_ostream &operator<<(raw_ostream &OS, const Variant &Value);
raw_ostream &operator<<(raw_ostream &OS, const VersionInfo &Version);
raw_ostream &operator<<(raw_ostream &OS, const TagStats &Stats);
raw_ostream &operator<<(raw_ostream &OS, const Variant &Value);
raw_ostream &operator<<(raw_ostream &OS, const VersionInfo &Version);
raw_ostream &operator<<(raw_ostream &OS, const TagStats &Stats);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/PDBSymDumper.h
b/include/llvm/DebugInfo/PDB/PDBSymDumper.h
index 65110f39366f98a4009b2e1da51e110d0e145c05..ffd31a55116d120fc953f7d8db460c3c1f6798f1 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/PDBSymDumper.h
+++ b/
include/llvm/DebugInfo/PDB/PDBSymDumper.h
@@
-56,6
+56,6
@@
public:
private:
bool RequireImpl;
};
private:
bool RequireImpl;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
b/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
index c055dd7f3d49c0af25f76694e11b7708003a155b..bd85e600a17bb7ae963bcfb78d5ceed00b410f13 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
+++ b/
include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h
@@
-34,6
+34,6
@@
public:
// FORWARD_SYMBOL_METHOD(getValue)
FORWARD_SYMBOL_METHOD(getVirtualAddress)
};
// FORWARD_SYMBOL_METHOD(getValue)
FORWARD_SYMBOL_METHOD(getVirtualAddress)
};
-}
+}
// namespace llvm
#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLANNOTATION_H
diff --git
a/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
b/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
index 2ca12501d9f61ac61667a0f7beac6483e93e471a..67821793561d8b9ec7f443110608a6ee28613354 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
+++ b/
include/llvm/DebugInfo/PDB/PDBSymbolBlock.h
@@
-36,6
+36,6
@@
public:
FORWARD_SYMBOL_METHOD(getSymIndexId)
FORWARD_SYMBOL_METHOD(getVirtualAddress)
};
FORWARD_SYMBOL_METHOD(getSymIndexId)
FORWARD_SYMBOL_METHOD(getVirtualAddress)
};
-}
+}
// namespace llvm
#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLBLOCK_H
diff --git
a/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
b/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
index f8c796ae5bdca834fb261bee91b260679de2e8fb..d92830fe3fec8eb53688c56304ee14dd657dff00 100644
(file)
--- a/
include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
+++ b/
include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h
@@
-33,6
+33,6
@@
public:
FORWARD_SYMBOL_METHOD(getSourceFileName)
FORWARD_SYMBOL_METHOD(getSymIndexId)
};
FORWARD_SYMBOL_METHOD(getSourceFileName)
FORWARD_SYMBOL_METHOD(getSymIndexId)
};
-}
+}
// namespace llvm
#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
#endif // LLVM_DEBUGINFO_PDB_PDBSYMBOLCOMPILAND_H
diff --git
a/include/llvm/ExecutionEngine/ExecutionEngine.h
b/include/llvm/ExecutionEngine/ExecutionEngine.h
index f99c4f50c92f91d2f4bf7d81ada39518e667a39c..f4e5d3850ca04c95aa269bc7faac778ca731e5ec 100644
(file)
--- a/
include/llvm/ExecutionEngine/ExecutionEngine.h
+++ b/
include/llvm/ExecutionEngine/ExecutionEngine.h
@@
-629,6
+629,6
@@
public:
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ExecutionEngine, LLVMExecutionEngineRef)
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ExecutionEngine, LLVMExecutionEngineRef)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ExecutionEngine/GenericValue.h
b/include/llvm/ExecutionEngine/GenericValue.h
index 0e92f79eba8f3c88d1cedc5b608c793913a854fb..ea5ddfc3274e9f28aba38baf4e47f5e6be6e1b3d 100644
(file)
--- a/
include/llvm/ExecutionEngine/GenericValue.h
+++ b/
include/llvm/ExecutionEngine/GenericValue.h
@@
-49,5
+49,5
@@
struct GenericValue {
inline GenericValue PTOGV(void *P) { return GenericValue(P); }
inline void* GVTOP(const GenericValue &GV) { return GV.PointerVal; }
inline GenericValue PTOGV(void *P) { return GenericValue(P); }
inline void* GVTOP(const GenericValue &GV) { return GV.PointerVal; }
-} //
End llvm namespace.
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/ExecutionEngine/MCJIT.h
b/include/llvm/ExecutionEngine/MCJIT.h
index 66ddb7cdb87598fed9c4dac52b990c79b308b450..294f11d332c2eed9bcaccf3a3802b9d276f1421e 100644
(file)
--- a/
include/llvm/ExecutionEngine/MCJIT.h
+++ b/
include/llvm/ExecutionEngine/MCJIT.h
@@
-33,6
+33,6
@@
namespace {
LLVMLinkInMCJIT();
}
} ForceMCJITLinking;
LLVMLinkInMCJIT();
}
} ForceMCJITLinking;
-}
+}
// namespace
#endif
#endif
diff --git
a/include/llvm/ExecutionEngine/ObjectCache.h
b/include/llvm/ExecutionEngine/ObjectCache.h
index cc01a4e58999e8699e412d4c97e7ddd7e3d94fe6..1084de82a49be66cb702c13cca0fdf4e2108a379 100644
(file)
--- a/
include/llvm/ExecutionEngine/ObjectCache.h
+++ b/
include/llvm/ExecutionEngine/ObjectCache.h
@@
-35,6
+35,6
@@
public:
virtual std::unique_ptr<MemoryBuffer> getObject(const Module* M) = 0;
};
virtual std::unique_ptr<MemoryBuffer> getObject(const Module* M) = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/ExecutionEngine/SectionMemoryManager.h
b/include/llvm/ExecutionEngine/SectionMemoryManager.h
index 0b0dcb021f148729f4ab953d01e200ab8c4f8e67..bbf996842188215bc453320171cb6f45886188f5 100644
(file)
--- a/
include/llvm/ExecutionEngine/SectionMemoryManager.h
+++ b/
include/llvm/ExecutionEngine/SectionMemoryManager.h
@@
-100,7
+100,7
@@
private:
MemoryGroup RODataMem;
};
MemoryGroup RODataMem;
};
-}
+}
// namespace llvm
#endif // LLVM_EXECUTION_ENGINE_SECTION_MEMORY_MANAGER_H
#endif // LLVM_EXECUTION_ENGINE_SECTION_MEMORY_MANAGER_H
diff --git
a/include/llvm/IR/Argument.h
b/include/llvm/IR/Argument.h
index fc04fe71cbf06d2ec3252f77c027c46399064591..12c8df570cce66beff790e75ed1313a9f235c26c 100644
(file)
--- a/
include/llvm/IR/Argument.h
+++ b/
include/llvm/IR/Argument.h
@@
-131,6
+131,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/AssemblyAnnotationWriter.h
b/include/llvm/IR/AssemblyAnnotationWriter.h
index 19e32a2dcdccf7be117203d9da0385f8b38e0c85..1ae30188770cf7530071d6be3c53dbc527a83f3b 100644
(file)
--- a/
include/llvm/IR/AssemblyAnnotationWriter.h
+++ b/
include/llvm/IR/AssemblyAnnotationWriter.h
@@
-58,6
+58,6
@@
public:
virtual void printInfoComment(const Value &, formatted_raw_ostream &) {}
};
virtual void printInfoComment(const Value &, formatted_raw_ostream &) {}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Attributes.h
b/include/llvm/IR/Attributes.h
index 366bf709ab164a9a7b09e2bac77fd3d90adc3159..1d92d187d54ea84bd058a102a96c1702d1dbe539 100644
(file)
--- a/
include/llvm/IR/Attributes.h
+++ b/
include/llvm/IR/Attributes.h
@@
-575,6
+575,6
@@
AttrBuilder typeIncompatible(const Type *Ty);
} // end AttributeFuncs namespace
} // end AttributeFuncs namespace
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/AutoUpgrade.h
b/include/llvm/IR/AutoUpgrade.h
index a4b3c410c4f652ee8848829133a1c3653051ffc5..9ecabec63f656d4bd532e32c4c3253adcf0602b7 100644
(file)
--- a/
include/llvm/IR/AutoUpgrade.h
+++ b/
include/llvm/IR/AutoUpgrade.h
@@
-66,6
+66,6
@@
namespace llvm {
/// Upgrade a metadata string constant in place.
void UpgradeMDStringConstant(std::string &String);
/// Upgrade a metadata string constant in place.
void UpgradeMDStringConstant(std::string &String);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/BasicBlock.h
b/include/llvm/IR/BasicBlock.h
index 66581bfedbe6681fd07349ba3554ea2421741d67..b0fad4f2981febbf7b44bea6268430f02fdaab28 100644
(file)
--- a/
include/llvm/IR/BasicBlock.h
+++ b/
include/llvm/IR/BasicBlock.h
@@
-346,6
+346,6
@@
inline BasicBlock *ilist_traits<BasicBlock>::createSentinel() const {
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(BasicBlock, LLVMBasicBlockRef)
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(BasicBlock, LLVMBasicBlockRef)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/CFG.h
b/include/llvm/IR/CFG.h
index f78220a5203320dbbefe44f8bde947f8d86d1191..e6e21b4b3be1101934a9df41769259fc3d4ee79e 100644
(file)
--- a/
include/llvm/IR/CFG.h
+++ b/
include/llvm/IR/CFG.h
@@
-396,6
+396,6
@@
template <> struct GraphTraits<Inverse<const Function*> > :
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/CallSite.h
b/include/llvm/IR/CallSite.h
index 1da025f802f34504f3244cb64fe22ddd657dc1b5..0270caaaf13743c48a8d8620a7fa03fbf8ad2572 100644
(file)
--- a/
include/llvm/IR/CallSite.h
+++ b/
include/llvm/IR/CallSite.h
@@
-397,6
+397,6
@@
public:
ImmutableCallSite(CallSite CS) : CallSiteBase(CS.getInstruction()) {}
};
ImmutableCallSite(CallSite CS) : CallSiteBase(CS.getInstruction()) {}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/CallingConv.h
b/include/llvm/IR/CallingConv.h
index 9872e6ec794d8ddd01f20323c3cd2bc2e39133aa..846e58c714c334f9df595615a6644799a4593f60 100644
(file)
--- a/
include/llvm/IR/CallingConv.h
+++ b/
include/llvm/IR/CallingConv.h
@@
-146,8
+146,8
@@
namespace CallingConv {
/// in SSE registers.
X86_VectorCall = 80
};
/// in SSE registers.
X86_VectorCall = 80
};
-} //
End CallingConv namespace
+} //
namespace CallingConv
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Comdat.h
b/include/llvm/IR/Comdat.h
index 4d4c15fb68cda73ff5acd7d795c846283aad0690..50b11be6c818a846c3c68f7d51672877b8e0aca0 100644
(file)
--- a/
include/llvm/IR/Comdat.h
+++ b/
include/llvm/IR/Comdat.h
@@
-61,6
+61,6
@@
inline raw_ostream &operator<<(raw_ostream &OS, const Comdat &C) {
return OS;
}
return OS;
}
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Constant.h
b/include/llvm/IR/Constant.h
index 75499e0a4db3a94623145854de4686f9d4a8273b..7db09d0b108facdc123beb1d2a63c6927297f301 100644
(file)
--- a/
include/llvm/IR/Constant.h
+++ b/
include/llvm/IR/Constant.h
@@
-187,6
+187,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/ConstantFolder.h
b/include/llvm/IR/ConstantFolder.h
index fb6ca3b3184c8b35699f8f3989b600c067a707d2..4e87cd052afdf1fecb3f0d7b8b7fce7973c67815 100644
(file)
--- a/
include/llvm/IR/ConstantFolder.h
+++ b/
include/llvm/IR/ConstantFolder.h
@@
-240,6
+240,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/ConstantRange.h
b/include/llvm/IR/ConstantRange.h
index 9ded3ca36a70ec417947fcacfec82a28f33d7c10..8a7488e13125514fa96f41b2d56cbf6fad612021 100644
(file)
--- a/
include/llvm/IR/ConstantRange.h
+++ b/
include/llvm/IR/ConstantRange.h
@@
-273,6
+273,6
@@
inline raw_ostream &operator<<(raw_ostream &OS, const ConstantRange &CR) {
return OS;
}
return OS;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Constants.h
b/include/llvm/IR/Constants.h
index e97bda54e8f0c66763d2dc1ac03f77320dad1b52..b2ef77b2c3eca37b4d209266bbce46fe4174ac7a 100644
(file)
--- a/
include/llvm/IR/Constants.h
+++ b/
include/llvm/IR/Constants.h
@@
-1232,6
+1232,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/DataLayout.h
b/include/llvm/IR/DataLayout.h
index 3e1f9744f9e8139c7fe2b83aa1b18f3b154979ec..81cf665090426495e761a84613d0ba0c2d93797d 100644
(file)
--- a/
include/llvm/IR/DataLayout.h
+++ b/
include/llvm/IR/DataLayout.h
@@
-542,6
+542,6
@@
inline uint64_t DataLayout::getTypeSizeInBits(Type *Ty) const {
}
}
}
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/DerivedTypes.h
b/include/llvm/IR/DerivedTypes.h
index 4a94499b4cf508606e7b1114f5431d4ee2527e8c..9f2671a08dc157fe8ae4c3b0539020f026ae3c82 100644
(file)
--- a/
include/llvm/IR/DerivedTypes.h
+++ b/
include/llvm/IR/DerivedTypes.h
@@
-477,6
+477,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Dominators.h
b/include/llvm/IR/Dominators.h
index c1f208e3d72fffb5f81aa0cbe6d63c432c55581f..93f5ede5fc9c62b36ec3b7607490d4205ccd4409 100644
(file)
--- a/
include/llvm/IR/Dominators.h
+++ b/
include/llvm/IR/Dominators.h
@@
-230,6
+230,6
@@
public:
void print(raw_ostream &OS, const Module *M = nullptr) const override;
};
void print(raw_ostream &OS, const Module *M = nullptr) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Function.h
b/include/llvm/IR/Function.h
index 02ea056de39b46df90cdf049dff60519c5d95873..f66ac0b69b4b9fc320cb35219995b0e0565ada29 100644
(file)
--- a/
include/llvm/IR/Function.h
+++ b/
include/llvm/IR/Function.h
@@
-618,6
+618,6
@@
struct OperandTraits<Function> : public OptionalOperandTraits<Function> {};
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(Function, Value)
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(Function, Value)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/GVMaterializer.h
b/include/llvm/IR/GVMaterializer.h
index 1d6c9157f0b8a13aceec7d6f9566b859409c0e99..433de3feecdce21ca6723d5c9fab9ba4b8e00ce9 100644
(file)
--- a/
include/llvm/IR/GVMaterializer.h
+++ b/
include/llvm/IR/GVMaterializer.h
@@
-59,6
+59,6
@@
public:
virtual std::vector<StructType *> getIdentifiedStructTypes() const = 0;
};
virtual std::vector<StructType *> getIdentifiedStructTypes() const = 0;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/GlobalAlias.h
b/include/llvm/IR/GlobalAlias.h
index ce73b7af8ca1a0600613b6a6c66859ed326712da..2316749584c6849c65e661d0a04dc1ca7003346a 100644
(file)
--- a/
include/llvm/IR/GlobalAlias.h
+++ b/
include/llvm/IR/GlobalAlias.h
@@
-118,6
+118,6
@@
struct OperandTraits<GlobalAlias> :
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalAlias, Constant)
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalAlias, Constant)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/GlobalObject.h
b/include/llvm/IR/GlobalObject.h
index f0552410b61d972b0a2e6f0175bbde93f1e96b6a..5f58c9c6a52c0fce5acafb0ab78fcc1fe531ba7a 100644
(file)
--- a/
include/llvm/IR/GlobalObject.h
+++ b/
include/llvm/IR/GlobalObject.h
@@
-71,6
+71,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/GlobalValue.h
b/include/llvm/IR/GlobalValue.h
index 21471c7763580d0472d0d392646672d24850f950..5e1c5ffe9b13985a09e633495f544070ffa82e6e 100644
(file)
--- a/
include/llvm/IR/GlobalValue.h
+++ b/
include/llvm/IR/GlobalValue.h
@@
-367,6
+367,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/GlobalVariable.h
b/include/llvm/IR/GlobalVariable.h
index 126bebbdcb15743e79ca0d0554999959199ae8b5..4269a70666f7d4fc8a647d80058e5c444cc4db9a 100644
(file)
--- a/
include/llvm/IR/GlobalVariable.h
+++ b/
include/llvm/IR/GlobalVariable.h
@@
-183,6
+183,6
@@
struct OperandTraits<GlobalVariable> :
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalVariable, Value)
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(GlobalVariable, Value)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/IRBuilder.h
b/include/llvm/IR/IRBuilder.h
index 9c4af8dd13ada7dce719367092084ed3f6dbc9da..0472ec553ce46695db0f4175fa427dc3c407da4b 100644
(file)
--- a/
include/llvm/IR/IRBuilder.h
+++ b/
include/llvm/IR/IRBuilder.h
@@
-1679,6
+1679,6
@@
public:
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(IRBuilder<>, LLVMBuilderRef)
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(IRBuilder<>, LLVMBuilderRef)
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/IRPrintingPasses.h
b/include/llvm/IR/IRPrintingPasses.h
index 5f1d56f7e831ae53c2e52920966ddfef2d2a25af..3969c838758f57cc57aac1c6c0387bdc14af64e4 100644
(file)
--- a/
include/llvm/IR/IRPrintingPasses.h
+++ b/
include/llvm/IR/IRPrintingPasses.h
@@
-83,6
+83,6
@@
public:
static StringRef name() { return "PrintFunctionPass"; }
};
static StringRef name() { return "PrintFunctionPass"; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/InlineAsm.h
b/include/llvm/IR/InlineAsm.h
index 08b51021116c6a4342f4619748b2ce52bca9d38a..b5174c81b1606b7cd67fa01d7ec6297efafb3a7a 100644
(file)
--- a/
include/llvm/IR/InlineAsm.h
+++ b/
include/llvm/IR/InlineAsm.h
@@
-358,6
+358,6
@@
public:
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/InstIterator.h
b/include/llvm/IR/InstIterator.h
index f3ce6490fb66691505d4e903cfd9eeb1b999a089..a73d4898c14239110ba1bc733a81f050b8ddc108 100644
(file)
--- a/
include/llvm/IR/InstIterator.h
+++ b/
include/llvm/IR/InstIterator.h
@@
-153,6
+153,6
@@
inline iterator_range<const_inst_iterator> inst_range(const Function &F) {
return iterator_range<const_inst_iterator>(inst_begin(F), inst_end(F));
}
return iterator_range<const_inst_iterator>(inst_begin(F), inst_end(F));
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/InstVisitor.h
b/include/llvm/IR/InstVisitor.h
index 581e860b8382d582da5724c6dd516ae80cfe3be5..0eb337e816bafd658215df7dff75c4c9fb360970 100644
(file)
--- a/
include/llvm/IR/InstVisitor.h
+++ b/
include/llvm/IR/InstVisitor.h
@@
-284,6
+284,6
@@
private:
#undef DELEGATE
#undef DELEGATE
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/InstrTypes.h
b/include/llvm/IR/InstrTypes.h
index 108b9eb36b7e160b55850060c71283f5ebfce32e..9df70436a825225163d304fac4815992afbe9641 100644
(file)
--- a/
include/llvm/IR/InstrTypes.h
+++ b/
include/llvm/IR/InstrTypes.h
@@
-894,6
+894,6
@@
struct OperandTraits<CmpInst> : public FixedNumOperandTraits<CmpInst, 2> {
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CmpInst, Value)
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(CmpInst, Value)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Instruction.h
b/include/llvm/IR/Instruction.h
index 752c3f09bdedc6af4b034dd374ffd0c333572d40..6fea926e7e9f582a8abc6d06a96cd6d3c29d9c90 100644
(file)
--- a/
include/llvm/IR/Instruction.h
+++ b/
include/llvm/IR/Instruction.h
@@
-536,6
+536,6
@@
public:
enum { NumLowBitsAvailable = 2 };
};
enum { NumLowBitsAvailable = 2 };
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Instructions.h
b/include/llvm/IR/Instructions.h
index 218537d9e006055287156e8c9bc0c66e5685d199..369b7db0d2953bef9b015b9f00491f55217b60c8 100644
(file)
--- a/
include/llvm/IR/Instructions.h
+++ b/
include/llvm/IR/Instructions.h
@@
-3983,6
+3983,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/IntrinsicInst.h
b/include/llvm/IR/IntrinsicInst.h
index 2c8b6eb6f39aed5f8a8805b6f56677c7d12ff699..102cbef3b680a8d4677b9d77c99f55862bca003f 100644
(file)
--- a/
include/llvm/IR/IntrinsicInst.h
+++ b/
include/llvm/IR/IntrinsicInst.h
@@
-372,6
+372,6
@@
namespace llvm {
return cast<ConstantInt>(const_cast<Value *>(getArgOperand(3)));
}
};
return cast<ConstantInt>(const_cast<Value *>(getArgOperand(3)));
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Intrinsics.h
b/include/llvm/IR/Intrinsics.h
index 43b8325107fa429ea025f5434994a21781bfef36..01781d51bec13858c478a336b6afc224ac457a8e 100644
(file)
--- a/
include/llvm/IR/Intrinsics.h
+++ b/
include/llvm/IR/Intrinsics.h
@@
-126,8
+126,8
@@
namespace Intrinsic {
/// of IITDescriptors.
void getIntrinsicInfoTableEntries(ID id, SmallVectorImpl<IITDescriptor> &T);
/// of IITDescriptors.
void getIntrinsicInfoTableEntries(ID id, SmallVectorImpl<IITDescriptor> &T);
-} //
End Intrinsic namespace
+} //
namespace Intrinsic
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/LLVMContext.h
b/include/llvm/IR/LLVMContext.h
index e6c22090ab6d8044dd57e93c5d5b86d3765d0789..53c8b3a3fdebbc9b0940a212d3df05b894d0bdac 100644
(file)
--- a/
include/llvm/IR/LLVMContext.h
+++ b/
include/llvm/IR/LLVMContext.h
@@
-209,6
+209,6
@@
inline LLVMContextRef *wrap(const LLVMContext **Tys) {
return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys));
}
return reinterpret_cast<LLVMContextRef*>(const_cast<LLVMContext**>(Tys));
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/LegacyPassManager.h
b/include/llvm/IR/LegacyPassManager.h
index 5257a0eed488cd9b1574a146e8e5d91a9f3bb8f6..7c678fb321f98eba68885cb1f5679db6e90d0e9e 100644
(file)
--- a/
include/llvm/IR/LegacyPassManager.h
+++ b/
include/llvm/IR/LegacyPassManager.h
@@
-93,11
+93,11
@@
private:
Module *M;
};
Module *M;
};
-} //
End legacy namespace
+} //
namespace legacy
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_STDCXX_CONVERSION_FUNCTIONS(legacy::PassManagerBase, LLVMPassManagerRef)
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_STDCXX_CONVERSION_FUNCTIONS(legacy::PassManagerBase, LLVMPassManagerRef)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/LegacyPassManagers.h
b/include/llvm/IR/LegacyPassManagers.h
index 7f7889ad5fb3da6c3113a2af46eb1ee38bc739bd..e2f1ab48b725840371c38f068f3d3ca0cd938ed3 100644
(file)
--- a/
include/llvm/IR/LegacyPassManagers.h
+++ b/
include/llvm/IR/LegacyPassManagers.h
@@
-474,6
+474,6
@@
public:
Timer *getPassTimer(Pass *);
Timer *getPassTimer(Pass *);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/LegacyPassNameParser.h
b/include/llvm/IR/LegacyPassNameParser.h
index 39ae80d797c707302225ee852eef168532aeefbc..3f98e764fbc4c1651c215f8a9da0194e500cb2c7 100644
(file)
--- a/
include/llvm/IR/LegacyPassNameParser.h
+++ b/
include/llvm/IR/LegacyPassNameParser.h
@@
-134,6
+134,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Mangler.h
b/include/llvm/IR/Mangler.h
index 1e6b5b1dca0062f5b7f8e7e26e1bc9db0369357f..6bda3190db0ecfed7a99eef0a187fbff4c05d02d 100644
(file)
--- a/
include/llvm/IR/Mangler.h
+++ b/
include/llvm/IR/Mangler.h
@@
-64,6
+64,6
@@
public:
ManglerPrefixTy PrefixTy = Mangler::Default) const;
};
ManglerPrefixTy PrefixTy = Mangler::Default) const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Metadata.h
b/include/llvm/IR/Metadata.h
index 60718f531bd7a13818eb25d5e4b2082347098354..bf4a030cd362e44a8f12b45e4506164c4964d341 100644
(file)
--- a/
include/llvm/IR/Metadata.h
+++ b/
include/llvm/IR/Metadata.h
@@
-1203,6
+1203,6
@@
public:
}
};
}
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Module.h
b/include/llvm/IR/Module.h
index 4bc03fb574f791cc02b5f7c696c12bf5fec76fbc..598a58e2bd92eaf3e737db8543c47b04b6d2de81 100644
(file)
--- a/
include/llvm/IR/Module.h
+++ b/
include/llvm/IR/Module.h
@@
-694,6
+694,6
@@
inline Module *unwrap(LLVMModuleProviderRef MP) {
return reinterpret_cast<Module*>(MP);
}
return reinterpret_cast<Module*>(MP);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/NoFolder.h
b/include/llvm/IR/NoFolder.h
index 61f4817a9b6267031889a1dfb5ee805959ed2e3f..55b6798c7b3ea70bb1aaf6adc79847ee8d8f9a2b 100644
(file)
--- a/
include/llvm/IR/NoFolder.h
+++ b/
include/llvm/IR/NoFolder.h
@@
-294,6
+294,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/OperandTraits.h
b/include/llvm/IR/OperandTraits.h
index e97a8009ccc03cb406298c79c98927b49484f0bd..91ec8d2db7502f5ecb027bbf9258eb3231001ed8 100644
(file)
--- a/
include/llvm/IR/OperandTraits.h
+++ b/
include/llvm/IR/OperandTraits.h
@@
-155,6
+155,6
@@
template <int Idx_nocapture> const Use &CLASS::Op() const { \
}
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Operator.h
b/include/llvm/IR/Operator.h
index 1b9102ecc7e431fca7b8ddd78b9ee5666613d78c..82f516eb88691607385f0452e492b9128100f6e1 100644
(file)
--- a/
include/llvm/IR/Operator.h
+++ b/
include/llvm/IR/Operator.h
@@
-491,6
+491,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/PassManager.h
b/include/llvm/IR/PassManager.h
index 4166babd63e529a3cae4242bb56386b8f864c8c5..2ff1a6fb2fa2b8ea44aa46d3eca83ecee896a869 100644
(file)
--- a/
include/llvm/IR/PassManager.h
+++ b/
include/llvm/IR/PassManager.h
@@
-890,6
+890,6
@@
struct InvalidateAllAnalysesPass {
static StringRef name() { return "InvalidateAllAnalysesPass"; }
};
static StringRef name() { return "InvalidateAllAnalysesPass"; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/PassManagerInternal.h
b/include/llvm/IR/PassManagerInternal.h
index 92de10bcd75b20fd842e07a08c8978393bae68a6..7921b4f953691a01919610833b65157c179be0bc 100644
(file)
--- a/
include/llvm/IR/PassManagerInternal.h
+++ b/
include/llvm/IR/PassManagerInternal.h
@@
-345,6
+345,6
@@
struct AnalysisPassModel<IRUnitT, PassT, false> : AnalysisPassConcept<IRUnitT> {
};
} // End namespace detail
};
} // End namespace detail
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Statepoint.h
b/include/llvm/IR/Statepoint.h
index cd09618e3eee4125342bd20bca25df7e178ba03a..7c08b74fdb23c900380702c95a9171a85d153fc9 100644
(file)
--- a/
include/llvm/IR/Statepoint.h
+++ b/
include/llvm/IR/Statepoint.h
@@
-349,6
+349,6
@@
StatepointBase<InstructionTy, ValueTy, CallSiteTy>::getRelocates(
}
return Result;
}
}
return Result;
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/SymbolTableListTraits.h
b/include/llvm/IR/SymbolTableListTraits.h
index 0a5149c3d938cad9bb3ac663f1fbce1877a5dc73..ef69498123fb84bcc73f5ce3261ae980e0985de6 100644
(file)
--- a/
include/llvm/IR/SymbolTableListTraits.h
+++ b/
include/llvm/IR/SymbolTableListTraits.h
@@
-73,6
+73,6
@@
public:
static ValueSymbolTable *toPtr(ValueSymbolTable &R) { return &R; }
};
static ValueSymbolTable *toPtr(ValueSymbolTable &R) { return &R; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Type.h
b/include/llvm/IR/Type.h
index 6ab0bd0631a0191afc9299677123d76ba15bb2d6..a62604625bd81b4ece28cf666cafbaa1c1596585 100644
(file)
--- a/
include/llvm/IR/Type.h
+++ b/
include/llvm/IR/Type.h
@@
-484,6
+484,6
@@
inline LLVMTypeRef *wrap(Type **Tys) {
return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
}
return reinterpret_cast<LLVMTypeRef*>(const_cast<Type**>(Tys));
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/TypeFinder.h
b/include/llvm/IR/TypeFinder.h
index 73a63ad0349e08c4063b5ce14b842ddd8e43faed..aa50d0e411da5c27b47c6902f22a0d54209ebee5 100644
(file)
--- a/
include/llvm/IR/TypeFinder.h
+++ b/
include/llvm/IR/TypeFinder.h
@@
-74,6
+74,6
@@
private:
void incorporateMDNode(const MDNode *V);
};
void incorporateMDNode(const MDNode *V);
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Use.h
b/include/llvm/IR/Use.h
index 160d71b03e7ff4d868219e1e65b51dc164c5771f..8f87df67057b5e3bb02ac2ceee5ad86fa2987e3d 100644
(file)
--- a/
include/llvm/IR/Use.h
+++ b/
include/llvm/IR/Use.h
@@
-168,6
+168,6
@@
template <> struct simplify_type<const Use> {
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Use, LLVMUseRef)
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(Use, LLVMUseRef)
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/User.h
b/include/llvm/IR/User.h
index 93614fab5759ba4cda8a639e9045b21096e11e0f..41d57703ab013831957a6cbbf70b5d3a03a5cd2d 100644
(file)
--- a/
include/llvm/IR/User.h
+++ b/
include/llvm/IR/User.h
@@
-259,6
+259,6
@@
template<> struct simplify_type<User::const_op_iterator> {
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Value.h
b/include/llvm/IR/Value.h
index b175e0ee96976a6b8d779c69b1c67bec90fa4d7d..6b36ba6debfbc339009d593c40b102f555c0a2aa 100644
(file)
--- a/
include/llvm/IR/Value.h
+++ b/
include/llvm/IR/Value.h
@@
-716,6
+716,6
@@
inline LLVMValueRef *wrap(const Value **Vals) {
return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
}
return reinterpret_cast<LLVMValueRef*>(const_cast<Value**>(Vals));
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/ValueHandle.h
b/include/llvm/IR/ValueHandle.h
index 355748e059770b46c86df92a643d309f36850f8f..e92aed35c5acdbc820bbfbd8008febd89316684f 100644
(file)
--- a/
include/llvm/IR/ValueHandle.h
+++ b/
include/llvm/IR/ValueHandle.h
@@
-380,6
+380,6
@@
public:
virtual void allUsesReplacedWith(Value *) {}
};
virtual void allUsesReplacedWith(Value *) {}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/ValueSymbolTable.h
b/include/llvm/IR/ValueSymbolTable.h
index bf1fade1ccef92c9680f7e0882bc30f55e6fca62..8219f5099690b48e3db1e1e47826b6f6bf24bd66 100644
(file)
--- a/
include/llvm/IR/ValueSymbolTable.h
+++ b/
include/llvm/IR/ValueSymbolTable.h
@@
-128,6
+128,6
@@
private:
/// @}
};
/// @}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IR/Verifier.h
b/include/llvm/IR/Verifier.h
index 89039d24195eeacde8e7fb4f7179bff9136aac30..7da4d97488ad28e568f06ae0b629b8cfe53ce0f8 100644
(file)
--- a/
include/llvm/IR/Verifier.h
+++ b/
include/llvm/IR/Verifier.h
@@
-72,6
+72,6
@@
public:
static StringRef name() { return "VerifierPass"; }
};
static StringRef name() { return "VerifierPass"; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/IRReader/IRReader.h
b/include/llvm/IRReader/IRReader.h
index 2d9ace0b62a0426ba8bb3d77bab9c6eb133cf3a6..bdaea6d6c0cf4145d8f573052c863f9c85483f7e 100644
(file)
--- a/
include/llvm/IRReader/IRReader.h
+++ b/
include/llvm/IRReader/IRReader.h
@@
-43,6
+43,6
@@
std::unique_ptr<Module> parseIR(MemoryBufferRef Buffer, SMDiagnostic &Err,
/// for it.
std::unique_ptr<Module> parseIRFile(StringRef Filename, SMDiagnostic &Err,
LLVMContext &Context);
/// for it.
std::unique_ptr<Module> parseIRFile(StringRef Filename, SMDiagnostic &Err,
LLVMContext &Context);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/InitializePasses.h
b/include/llvm/InitializePasses.h
index 74fbc0f94b030f611ff0124ae70c9569e46c18f4..33ffadb6848c156b7f988406e9de7c229599631a 100644
(file)
--- a/
include/llvm/InitializePasses.h
+++ b/
include/llvm/InitializePasses.h
@@
-302,6
+302,6
@@
void initializePlaceSafepointsPass(PassRegistry&);
void initializeDwarfEHPreparePass(PassRegistry&);
void initializeFloat2IntPass(PassRegistry&);
void initializeLoopDistributePass(PassRegistry&);
void initializeDwarfEHPreparePass(PassRegistry&);
void initializeFloat2IntPass(PassRegistry&);
void initializeLoopDistributePass(PassRegistry&);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/LTO/LTOCodeGenerator.h
b/include/llvm/LTO/LTOCodeGenerator.h
index 0c46fc048a43b8772dd973d7d737081e675de80e..c079f791c24f104e4c38de2fd444fbb53684fa19 100644
(file)
--- a/
include/llvm/LTO/LTOCodeGenerator.h
+++ b/
include/llvm/LTO/LTOCodeGenerator.h
@@
-177,5
+177,5
@@
private:
bool ShouldInternalize = true;
bool ShouldEmbedUselists = false;
};
bool ShouldInternalize = true;
bool ShouldEmbedUselists = false;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/LTO/LTOModule.h
b/include/llvm/LTO/LTOModule.h
index 8204e8f3ed2fc4ab652bd0feaee6e2f00697c278..c2eb36220e84b2125d66ca84cc9e313d55f6cc24 100644
(file)
--- a/
include/llvm/LTO/LTOModule.h
+++ b/
include/llvm/LTO/LTOModule.h
@@
-224,5
+224,5
@@
private:
static LTOModule *makeLTOModule(MemoryBufferRef Buffer, TargetOptions options,
std::string &errMsg, LLVMContext *Context);
};
static LTOModule *makeLTOModule(MemoryBufferRef Buffer, TargetOptions options,
std::string &errMsg, LLVMContext *Context);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/LineEditor/LineEditor.h
b/include/llvm/LineEditor/LineEditor.h
index bb106f87ca48759ca9dac52a2e9a82a33b49c412..e644b1990f9628395281841c17d1e6e75edd93c3 100644
(file)
--- a/
include/llvm/LineEditor/LineEditor.h
+++ b/
include/llvm/LineEditor/LineEditor.h
@@
-148,6
+148,6
@@
private:
std::unique_ptr<const CompleterConcept> Completer;
};
std::unique_ptr<const CompleterConcept> Completer;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Linker/Linker.h
b/include/llvm/Linker/Linker.h
index c43b90e9cd2638aece501fef86cc25dd86ab2735..de23acb7e524ce358389cab4d05a8b45f4a445ed 100644
(file)
--- a/
include/llvm/Linker/Linker.h
+++ b/
include/llvm/Linker/Linker.h
@@
-90,6
+90,6
@@
private:
DiagnosticHandlerFunction DiagnosticHandler;
};
DiagnosticHandlerFunction DiagnosticHandler;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCAsmBackend.h
b/include/llvm/MC/MCAsmBackend.h
index 2bfad2d355b87d6d79213f6a4dd0300c2311e2fd..07bba904788a4571178eadf07c229480450558b3 100644
(file)
--- a/
include/llvm/MC/MCAsmBackend.h
+++ b/
include/llvm/MC/MCAsmBackend.h
@@
-138,6
+138,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCAsmInfo.h
b/include/llvm/MC/MCAsmInfo.h
index 9bb0fa63c523f6a2d693fcad458e8dc264d2c348..f72959a5c5a066d79a92fee52922115090455ef5 100644
(file)
--- a/
include/llvm/MC/MCAsmInfo.h
+++ b/
include/llvm/MC/MCAsmInfo.h
@@
-39,7
+39,7
@@
enum class EncodingType {
X86, /// Windows x86, uses no CFI, just EH tables
MIPS = Alpha,
};
X86, /// Windows x86, uses no CFI, just EH tables
MIPS = Alpha,
};
-}
+}
// namespace WinEH
enum class ExceptionHandling {
None, /// No exception support
enum class ExceptionHandling {
None, /// No exception support
@@
-555,6
+555,6
@@
public:
bool shouldUseLogicalShr() const { return UseLogicalShr; }
};
bool shouldUseLogicalShr() const { return UseLogicalShr; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCAsmInfoCOFF.h
b/include/llvm/MC/MCAsmInfoCOFF.h
index 56444f3c7cf576bf91f6b7636f78c064d55c83d3..24f03e4c9bad265caf29419ab87b8c78e4d0ec02 100644
(file)
--- a/
include/llvm/MC/MCAsmInfoCOFF.h
+++ b/
include/llvm/MC/MCAsmInfoCOFF.h
@@
-30,7
+30,7
@@
namespace llvm {
protected:
explicit MCAsmInfoGNUCOFF();
};
protected:
explicit MCAsmInfoGNUCOFF();
};
-}
+}
// namespace llvm
#endif // LLVM_MC_MCASMINFOCOFF_H
#endif // LLVM_MC_MCASMINFOCOFF_H
diff --git
a/include/llvm/MC/MCCodeEmitter.h
b/include/llvm/MC/MCCodeEmitter.h
index b6c19150c12a574a943aa508a563b318686120b4..b4445d10c337fd5b2e5a4c5cc10eb5cb7d0b156c 100644
(file)
--- a/
include/llvm/MC/MCCodeEmitter.h
+++ b/
include/llvm/MC/MCCodeEmitter.h
@@
-41,6
+41,6
@@
public:
const MCSubtargetInfo &STI) const = 0;
};
const MCSubtargetInfo &STI) const = 0;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCELFObjectWriter.h
b/include/llvm/MC/MCELFObjectWriter.h
index 01f694d3b75639b3ae575a07dc677f3c694e8860..855013a9cbbe05ad0bcaf3070870c7f0520ece82 100644
(file)
--- a/
include/llvm/MC/MCELFObjectWriter.h
+++ b/
include/llvm/MC/MCELFObjectWriter.h
@@
-132,6
+132,6
@@
public:
MCObjectWriter *createELFObjectWriter(MCELFObjectTargetWriter *MOTW,
raw_pwrite_stream &OS,
bool IsLittleEndian);
MCObjectWriter *createELFObjectWriter(MCELFObjectTargetWriter *MOTW,
raw_pwrite_stream &OS,
bool IsLittleEndian);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCExternalSymbolizer.h
b/include/llvm/MC/MCExternalSymbolizer.h
index 2c7d23707c95682727ef8ecc0fac2b9c895b69c0..a88b32e215e8677648ea61474e68aeec699b635c 100644
(file)
--- a/
include/llvm/MC/MCExternalSymbolizer.h
+++ b/
include/llvm/MC/MCExternalSymbolizer.h
@@
-53,6
+53,6
@@
public:
uint64_t Address) override;
};
uint64_t Address) override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCFixedLenDisassembler.h
b/include/llvm/MC/MCFixedLenDisassembler.h
index ad99943df2c387aea71a8e3bb96eb71891c5a13e..9fbdf9c22fba3466b3e04d51c535de3b65850d08 100644
(file)
--- a/
include/llvm/MC/MCFixedLenDisassembler.h
+++ b/
include/llvm/MC/MCFixedLenDisassembler.h
@@
-26,7
+26,7
@@
enum DecoderOps {
OPC_Fail // OPC_Fail()
};
OPC_Fail // OPC_Fail()
};
-} // namespace MCD
ecode
+} // namespace MCD
} // namespace llvm
#endif
} // namespace llvm
#endif
diff --git
a/include/llvm/MC/MCFixup.h
b/include/llvm/MC/MCFixup.h
index 8ab477c401a1c02747bd648803f768377117ad9d..c09f55a8ffc42a01130f09a3686d5d0971bb213f 100644
(file)
--- a/
include/llvm/MC/MCFixup.h
+++ b/
include/llvm/MC/MCFixup.h
@@
-108,6
+108,6
@@
public:
SMLoc getLoc() const { return Loc; }
};
SMLoc getLoc() const { return Loc; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCFixupKindInfo.h
b/include/llvm/MC/MCFixupKindInfo.h
index 58183bd778e634c9ca2f3e2be823891dbe9d1145..b779781f49bdac9770cf8cc94af69147f8bacb33 100644
(file)
--- a/
include/llvm/MC/MCFixupKindInfo.h
+++ b/
include/llvm/MC/MCFixupKindInfo.h
@@
-38,6
+38,6
@@
struct MCFixupKindInfo {
unsigned Flags;
};
unsigned Flags;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCInstrAnalysis.h
b/include/llvm/MC/MCInstrAnalysis.h
index 8f5159e9e1c85319f73b1b0a8f516e7d19597559..a0a68106bc80aeb84cf2a102bb73514641d4d48b 100644
(file)
--- a/
include/llvm/MC/MCInstrAnalysis.h
+++ b/
include/llvm/MC/MCInstrAnalysis.h
@@
-66,6
+66,6
@@
public:
uint64_t &Target) const;
};
uint64_t &Target) const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCInstrDesc.h
b/include/llvm/MC/MCInstrDesc.h
index 3209a2ce040832b071a05099409271acd116c529..fe67e4407672c2a4e260d4097de781d04ca51700 100644
(file)
--- a/
include/llvm/MC/MCInstrDesc.h
+++ b/
include/llvm/MC/MCInstrDesc.h
@@
-49,7
+49,7
@@
enum OperandType {
OPERAND_PCREL = 4,
OPERAND_FIRST_TARGET = 5
};
OPERAND_PCREL = 4,
OPERAND_FIRST_TARGET = 5
};
-}
+}
// namespace MCOI
/// \brief This holds information about one operand of a machine instruction,
/// indicating the register class for register operands, etc.
/// \brief This holds information about one operand of a machine instruction,
/// indicating the register class for register operands, etc.
@@
-128,7
+128,7
@@
enum Flag {
InsertSubreg,
Convergent
};
InsertSubreg,
Convergent
};
-}
+}
// namespace MCID
/// \brief Describe properties that are true of each instruction in the target
/// description file. This captures information about side effects, register
/// \brief Describe properties that are true of each instruction in the target
/// description file. This captures information about side effects, register
diff --git
a/include/llvm/MC/MCInstrInfo.h
b/include/llvm/MC/MCInstrInfo.h
index 70c86587b08c5b053a20022492095184e77d9a3c..d75c4cad1f1a721cb12196dc3a13c45cf9945232 100644
(file)
--- a/
include/llvm/MC/MCInstrInfo.h
+++ b/
include/llvm/MC/MCInstrInfo.h
@@
-54,6
+54,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCInstrItineraries.h
b/include/llvm/MC/MCInstrItineraries.h
index 161705de7c4e1b5c5bad28b9a56a3c2276ebbc62..a58bd7b4d39637de12d8139fcb4f33e6a85ce4fc 100644
(file)
--- a/
include/llvm/MC/MCInstrItineraries.h
+++ b/
include/llvm/MC/MCInstrItineraries.h
@@
-234,6
+234,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCMachObjectWriter.h
b/include/llvm/MC/MCMachObjectWriter.h
index 175d73e72c1056791c396f0f44958bb4ddc4fb6d..10b7905a82defad68357c1072afcec050cb3c5cd 100644
(file)
--- a/
include/llvm/MC/MCMachObjectWriter.h
+++ b/
include/llvm/MC/MCMachObjectWriter.h
@@
-264,6
+264,6
@@
MCObjectWriter *createMachObjectWriter(MCMachObjectTargetWriter *MOTW,
raw_pwrite_stream &OS,
bool IsLittleEndian);
raw_pwrite_stream &OS,
bool IsLittleEndian);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCObjectWriter.h
b/include/llvm/MC/MCObjectWriter.h
index 2211673efc31e484355113b6996a23ce3803c86d..ca7fba547dc3ffb6c9b1e8fab8d53212ab4df288 100644
(file)
--- a/
include/llvm/MC/MCObjectWriter.h
+++ b/
include/llvm/MC/MCObjectWriter.h
@@
-188,6
+188,6
@@
public:
/// @}
};
/// @}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCParser/MCAsmLexer.h
b/include/llvm/MC/MCParser/MCAsmLexer.h
index 71f15b37c331e70458e497fa1e896bfef15eba5d..0bf8aa6d899a2b64b1305070726977b98df8231d 100644
(file)
--- a/
include/llvm/MC/MCParser/MCAsmLexer.h
+++ b/
include/llvm/MC/MCParser/MCAsmLexer.h
@@
-190,6
+190,6
@@
public:
void setAllowAtInIdentifier(bool v) { AllowAtInIdentifier = v; }
};
void setAllowAtInIdentifier(bool v) { AllowAtInIdentifier = v; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCParser/MCAsmParser.h
b/include/llvm/MC/MCParser/MCAsmParser.h
index 0538b9457f9ebc72d35ec9271d4cba72e8307191..c840958fa91eed4333665240e1f8b053b9cca931 100644
(file)
--- a/
include/llvm/MC/MCParser/MCAsmParser.h
+++ b/
include/llvm/MC/MCParser/MCAsmParser.h
@@
-203,6
+203,6
@@
public:
MCAsmParser *createMCAsmParser(SourceMgr &, MCContext &, MCStreamer &,
const MCAsmInfo &);
MCAsmParser *createMCAsmParser(SourceMgr &, MCContext &, MCStreamer &,
const MCAsmInfo &);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCParser/MCAsmParserExtension.h
b/include/llvm/MC/MCParser/MCAsmParserExtension.h
index 077fd21e073ce15d38b199a04de97f793d3d5713..46f716e68e67131bc4919dc8a8db0f362ad15de8 100644
(file)
--- a/
include/llvm/MC/MCParser/MCAsmParserExtension.h
+++ b/
include/llvm/MC/MCParser/MCAsmParserExtension.h
@@
-84,6
+84,6
@@
public:
/// @}
};
/// @}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCRegisterInfo.h
b/include/llvm/MC/MCRegisterInfo.h
index 8e25ee18e08d52ba2e6b659515e5653bda93fe3e..7a41abcbf7284952c6d33dc4ac626767b32417f7 100644
(file)
--- a/
include/llvm/MC/MCRegisterInfo.h
+++ b/
include/llvm/MC/MCRegisterInfo.h
@@
-686,6
+686,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCRelocationInfo.h
b/include/llvm/MC/MCRelocationInfo.h
index 40e0217b8d830ed894d8ec935fa4e085203573c7..8fc5c9f53a46d3468ea2f545ad76f1c608135453 100644
(file)
--- a/
include/llvm/MC/MCRelocationInfo.h
+++ b/
include/llvm/MC/MCRelocationInfo.h
@@
-50,6
+50,6
@@
public:
unsigned VariantKind);
};
unsigned VariantKind);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCSchedule.h
b/include/llvm/MC/MCSchedule.h
index 1adfedd2638a865d4095e6c64e979b1e83059727..635eab99be6a8656ec44fea1f7ce011876914be7 100644
(file)
--- a/
include/llvm/MC/MCSchedule.h
+++ b/
include/llvm/MC/MCSchedule.h
@@
-245,6
+245,6
@@
struct MCSchedModel {
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCSubtargetInfo.h
b/include/llvm/MC/MCSubtargetInfo.h
index b8ad02fbe696880c2d0333bbea90db962cacc26f..0a23306fa694d6fb48d71fabcc73199d19440417 100644
(file)
--- a/
include/llvm/MC/MCSubtargetInfo.h
+++ b/
include/llvm/MC/MCSubtargetInfo.h
@@
-160,6
+160,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCSymbolCOFF.h
b/include/llvm/MC/MCSymbolCOFF.h
index 2172c67981c0234e9ffebbba3afdcab5fbbec5d9..3b853f788c8d0405a526b1cdb9c1a1970388ff22 100644
(file)
--- a/
include/llvm/MC/MCSymbolCOFF.h
+++ b/
include/llvm/MC/MCSymbolCOFF.h
@@
-59,6
+59,6
@@
public:
static bool classof(const MCSymbol *S) { return S->isCOFF(); }
};
static bool classof(const MCSymbol *S) { return S->isCOFF(); }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCSymbolELF.h
b/include/llvm/MC/MCSymbolELF.h
index bbcd22e8e7dbe15fac4238ee86a28b3198d133fe..b0ce3fe158c4cca5959928e4d703c05882951aaa 100644
(file)
--- a/
include/llvm/MC/MCSymbolELF.h
+++ b/
include/llvm/MC/MCSymbolELF.h
@@
-49,6
+49,6
@@
public:
private:
void setIsBindingSet() const;
};
private:
void setIsBindingSet() const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCSymbolMachO.h
b/include/llvm/MC/MCSymbolMachO.h
index 166ae9e755a1ce247813accb25d0f956cea3d346..a16208088b9954df31829b360e58c0d443dfb8b2 100644
(file)
--- a/
include/llvm/MC/MCSymbolMachO.h
+++ b/
include/llvm/MC/MCSymbolMachO.h
@@
-118,6
+118,6
@@
public:
static bool classof(const MCSymbol *S) { return S->isMachO(); }
};
static bool classof(const MCSymbol *S) { return S->isMachO(); }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCSymbolizer.h
b/include/llvm/MC/MCSymbolizer.h
index 2ef17673f091e679f97a5f482028f578ebdbac18..41c1b0d897f9d27443dc363305387fed0191044c 100644
(file)
--- a/
include/llvm/MC/MCSymbolizer.h
+++ b/
include/llvm/MC/MCSymbolizer.h
@@
-80,6
+80,6
@@
public:
uint64_t Address) = 0;
};
uint64_t Address) = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCTargetAsmParser.h
b/include/llvm/MC/MCTargetAsmParser.h
index 36db3914f01746c67672032e74c819efe00ef7fa..4ee53adee5998a915515ad69a46b4642a997c6bf 100644
(file)
--- a/
include/llvm/MC/MCTargetAsmParser.h
+++ b/
include/llvm/MC/MCTargetAsmParser.h
@@
-201,6
+201,6
@@
public:
virtual void onLabelParsed(MCSymbol *Symbol) { };
};
virtual void onLabelParsed(MCSymbol *Symbol) { };
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCWin64EH.h
b/include/llvm/MC/MCWin64EH.h
index 0e81a191cd2c61f9549116693478510de1f8d542..f2211d73f60ad29dec6f47e44f2183e53dbbaa87 100644
(file)
--- a/
include/llvm/MC/MCWin64EH.h
+++ b/
include/llvm/MC/MCWin64EH.h
@@
-57,7
+57,7
@@
public:
void Emit(MCStreamer &Streamer) const override;
void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI) const override;
};
void Emit(MCStreamer &Streamer) const override;
void EmitUnwindInfo(MCStreamer &Streamer, WinEH::FrameInfo *FI) const override;
};
-}
+}
// namespace Win64EH
} // end namespace llvm
#endif
} // end namespace llvm
#endif
diff --git
a/include/llvm/MC/MCWinCOFFObjectWriter.h
b/include/llvm/MC/MCWinCOFFObjectWriter.h
index e2e95c7df7101c697ccf75b4cd826810441dc9d9..edf87f5f9cf9e1316b1319af21ecce2068183cfa 100644
(file)
--- a/
include/llvm/MC/MCWinCOFFObjectWriter.h
+++ b/
include/llvm/MC/MCWinCOFFObjectWriter.h
@@
-42,6
+42,6
@@
class raw_pwrite_stream;
/// \returns The constructed object writer.
MCObjectWriter *createWinCOFFObjectWriter(MCWinCOFFObjectTargetWriter *MOTW,
raw_pwrite_stream &OS);
/// \returns The constructed object writer.
MCObjectWriter *createWinCOFFObjectWriter(MCWinCOFFObjectTargetWriter *MOTW,
raw_pwrite_stream &OS);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCWinCOFFStreamer.h
b/include/llvm/MC/MCWinCOFFStreamer.h
index 6fbc754f1125917abbbd0f610afa9369208bd9a7..fcca838bbf1727a07fe8512431ca3487baa95f06 100644
(file)
--- a/
include/llvm/MC/MCWinCOFFStreamer.h
+++ b/
include/llvm/MC/MCWinCOFFStreamer.h
@@
-75,7
+75,7
@@
protected:
private:
LLVM_ATTRIBUTE_NORETURN void FatalError(const Twine &Msg) const;
};
private:
LLVM_ATTRIBUTE_NORETURN void FatalError(const Twine &Msg) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MCWinEH.h
b/include/llvm/MC/MCWinEH.h
index 723d7a397c496576d78a01034954724c16cdee76..d22791e239d5f6df06d402cffa6f290817160137 100644
(file)
--- a/
include/llvm/MC/MCWinEH.h
+++ b/
include/llvm/MC/MCWinEH.h
@@
-78,7
+78,7
@@
public:
virtual void Emit(MCStreamer &Streamer) const = 0;
virtual void EmitUnwindInfo(MCStreamer &Streamer, FrameInfo *FI) const = 0;
};
virtual void Emit(MCStreamer &Streamer) const = 0;
virtual void EmitUnwindInfo(MCStreamer &Streamer, FrameInfo *FI) const = 0;
};
-}
-}
+}
// namespace WinEH
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/MachineLocation.h
b/include/llvm/MC/MachineLocation.h
index 2a18615eff6253367ecbc74ccda6747c65970628..1c421821ce9dad8f545f607fafb3655b0bb424de 100644
(file)
--- a/
include/llvm/MC/MachineLocation.h
+++ b/
include/llvm/MC/MachineLocation.h
@@
-78,6
+78,6
@@
inline bool operator!=(const MachineLocation &LHS, const MachineLocation &RHS) {
return !(LHS == RHS);
}
return !(LHS == RHS);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/StringTableBuilder.h
b/include/llvm/MC/StringTableBuilder.h
index 897d449254eab4d4d93909b6fe2b8aecb82d9736..700a8a6e340d3d979646c99f5b6c3587b14e6b58 100644
(file)
--- a/
include/llvm/MC/StringTableBuilder.h
+++ b/
include/llvm/MC/StringTableBuilder.h
@@
-62,6
+62,6
@@
private:
}
};
}
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/MC/YAML.h
b/include/llvm/MC/YAML.h
index 383cdc6785fabbc3e1d578a34d3d9b9bebbcf03b..ae8329829a5962221951a58847670705bef2aa2f 100644
(file)
--- a/
include/llvm/MC/YAML.h
+++ b/
include/llvm/MC/YAML.h
@@
-89,6
+89,6
@@
template <> struct ScalarTraits<BinaryRef> {
static StringRef input(StringRef, void *, BinaryRef &);
static bool mustQuote(StringRef S) { return needsQuotes(S); }
};
static StringRef input(StringRef, void *, BinaryRef &);
static bool mustQuote(StringRef S) { return needsQuotes(S); }
};
-}
-}
+}
// namespace yaml
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/Archive.h
b/include/llvm/Object/Archive.h
index 8da6919a46555cf515e8ab379c87f2bf47fcf9a1..3a52a9dc9be30c6d4644e13e3e3c57e1193f036e 100644
(file)
--- a/
include/llvm/Object/Archive.h
+++ b/
include/llvm/Object/Archive.h
@@
-217,7
+217,7
@@
private:
unsigned IsThin : 1;
};
unsigned IsThin : 1;
};
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/ArchiveWriter.h
b/include/llvm/Object/ArchiveWriter.h
index 1616e46d3e6fb9a63569645d775f8fcf6c115b09..8a394fa4f44efb6c8777bea423b7a14fa364ec7b 100644
(file)
--- a/
include/llvm/Object/ArchiveWriter.h
+++ b/
include/llvm/Object/ArchiveWriter.h
@@
-46,6
+46,6
@@
std::pair<StringRef, std::error_code>
writeArchive(StringRef ArcName, std::vector<NewArchiveIterator> &NewMembers,
bool WriteSymtab);
writeArchive(StringRef ArcName, std::vector<NewArchiveIterator> &NewMembers,
bool WriteSymtab);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/Binary.h
b/include/llvm/Object/Binary.h
index a3d6d0d4d428b6a671bdaf04e88b39f9f4d30836..949edf8e781127835a4c139bdf2e0dfa0053f089 100644
(file)
--- a/
include/llvm/Object/Binary.h
+++ b/
include/llvm/Object/Binary.h
@@
-178,7
+178,7
@@
template <typename T> const T* OwningBinary<T>::getBinary() const {
}
ErrorOr<OwningBinary<Binary>> createBinary(StringRef Path);
}
ErrorOr<OwningBinary<Binary>> createBinary(StringRef Path);
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/COFFYAML.h
b/include/llvm/Object/COFFYAML.h
index 12a25223bd37e71016de9f7c899068d558f87edd..5ba3db3e679d37ea3fa79fdcb3a4371fbb3d804a 100644
(file)
--- a/
include/llvm/Object/COFFYAML.h
+++ b/
include/llvm/Object/COFFYAML.h
@@
-37,7
+37,7
@@
inline DLLCharacteristics operator|(DLLCharacteristics a,
uint16_t Ret = static_cast<uint16_t>(a) | static_cast<uint16_t>(b);
return static_cast<DLLCharacteristics>(Ret);
}
uint16_t Ret = static_cast<uint16_t>(a) | static_cast<uint16_t>(b);
return static_cast<DLLCharacteristics>(Ret);
}
-}
+}
// namespace COFF
// The structure of the yaml files is not an exact 1:1 match to COFF. In order
// to use yaml::IO, we use these structures which are closer to the source.
// The structure of the yaml files is not an exact 1:1 match to COFF. In order
// to use yaml::IO, we use these structures which are closer to the source.
@@
-87,8
+87,8
@@
namespace COFFYAML {
std::vector<Symbol> Symbols;
Object();
};
std::vector<Symbol> Symbols;
Object();
};
-}
-}
+}
// namespace COFFYAML
+}
// namespace llvm
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Section)
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Symbol)
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Section)
LLVM_YAML_IS_SEQUENCE_VECTOR(COFFYAML::Symbol)
diff --git
a/include/llvm/Object/ELFObjectFile.h
b/include/llvm/Object/ELFObjectFile.h
index 78d77be5be8d6e1f00d1bb536ef201d1d025db40..45e6f749c1f2fc2ad14e018e7e884317baf90711 100644
(file)
--- a/
include/llvm/Object/ELFObjectFile.h
+++ b/
include/llvm/Object/ELFObjectFile.h
@@
-898,7
+898,7
@@
inline std::error_code GetELFSymbolVersion(const ObjectFile *Obj,
return cast<ELFObjectFileBase>(Obj)
->getSymbolVersion(Sym, Version, IsDefault);
}
return cast<ELFObjectFileBase>(Obj)
->getSymbolVersion(Sym, Version, IsDefault);
}
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/IRObjectFile.h
b/include/llvm/Object/IRObjectFile.h
index ef655287c34c6aa9d7fb735538a3224e2d60e5bf..f7135706cc4e176aee5dbbc9d1524ff779a641e8 100644
(file)
--- a/
include/llvm/Object/IRObjectFile.h
+++ b/
include/llvm/Object/IRObjectFile.h
@@
-68,7
+68,7
@@
public:
static ErrorOr<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
LLVMContext &Context);
};
static ErrorOr<std::unique_ptr<IRObjectFile>> create(MemoryBufferRef Object,
LLVMContext &Context);
};
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/MachO.h
b/include/llvm/Object/MachO.h
index b163534fd9df4f66d8301f75c9b4f7059002cb46..72db49aac984604422b0649f21212f4af0efc04d 100644
(file)
--- a/
include/llvm/Object/MachO.h
+++ b/
include/llvm/Object/MachO.h
@@
-503,8
+503,8
@@
inline const ObjectFile *DiceRef::getObjectFile() const {
return OwningObject;
}
return OwningObject;
}
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/MachOUniversal.h
b/include/llvm/Object/MachOUniversal.h
index 05119b293310445d80e38afb1bbffbe13a21c12b..ebc8b906691a4420d28c842c8921aac33d4445d7 100644
(file)
--- a/
include/llvm/Object/MachOUniversal.h
+++ b/
include/llvm/Object/MachOUniversal.h
@@
-112,7
+112,7
@@
public:
getObjectForArch(Triple::ArchType Arch) const;
};
getObjectForArch(Triple::ArchType Arch) const;
};
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/RelocVisitor.h
b/include/llvm/Object/RelocVisitor.h
index 02ffda5642d55e17e2c8ca0e3d44b3a785a5aa2e..bc2002d2d31de39951b37ab0d7d238d4d2b909e6 100644
(file)
--- a/
include/llvm/Object/RelocVisitor.h
+++ b/
include/llvm/Object/RelocVisitor.h
@@
-446,6
+446,6
@@
private:
}
};
}
};
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Object/SymbolicFile.h
b/include/llvm/Object/SymbolicFile.h
index 2bfff4c6b5a0f8d516c9e0d916505cedc9e9dd29..bf465997838fc9315364f762a824b20091f7867a 100644
(file)
--- a/
include/llvm/Object/SymbolicFile.h
+++ b/
include/llvm/Object/SymbolicFile.h
@@
-195,7
+195,7
@@
inline const SymbolicFile *BasicSymbolRef::getObject() const {
return OwningObject;
}
return OwningObject;
}
-}
-}
+}
// namespace object
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Option/OptSpecifier.h
b/include/llvm/Option/OptSpecifier.h
index 0b2aaaec3afc8dc7a21f4a465e12030abe49c0d5..f9b121e352db03d3a0348975d6157a2a153ca191 100644
(file)
--- a/
include/llvm/Option/OptSpecifier.h
+++ b/
include/llvm/Option/OptSpecifier.h
@@
-35,7
+35,7
@@
namespace opt {
bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }
bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
};
bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }
bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
};
-}
-}
+}
// namespace opt
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Pass.h
b/include/llvm/Pass.h
index 3c4d838a465268f42e82a989e84d29bee35140e5..ccd6f2728230ab1e54f35a11ddc593172a3e5b58 100644
(file)
--- a/
include/llvm/Pass.h
+++ b/
include/llvm/Pass.h
@@
-369,7
+369,7
@@
protected:
/// @brief This is the storage for the -time-passes option.
extern bool TimePassesIsEnabled;
/// @brief This is the storage for the -time-passes option.
extern bool TimePassesIsEnabled;
-} //
End llvm namespace
+} //
namespace llvm
// Include support files that contain important APIs commonly used by Passes,
// but that we want to separate out to make it easier to read the header files.
// Include support files that contain important APIs commonly used by Passes,
// but that we want to separate out to make it easier to read the header files.
diff --git
a/include/llvm/PassAnalysisSupport.h
b/include/llvm/PassAnalysisSupport.h
index 38adb2dbb69b3366f30fe902548f51334a5b24f0..d356097d0b94e6af1e733e4d403948145ea6ff77 100644
(file)
--- a/
include/llvm/PassAnalysisSupport.h
+++ b/
include/llvm/PassAnalysisSupport.h
@@
-248,6
+248,6
@@
AnalysisType &Pass::getAnalysisID(AnalysisID PI, Function &F) {
return *(AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI);
}
return *(AnalysisType*)ResultPass->getAdjustedAnalysisPointer(PI);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/PassInfo.h
b/include/llvm/PassInfo.h
index d10761831b3a781db16b108f5b1cab8532412f70..6a2f942bbca7d54d3cc2f5dc97a087ac5025a845 100644
(file)
--- a/
include/llvm/PassInfo.h
+++ b/
include/llvm/PassInfo.h
@@
-142,6
+142,6
@@
private:
PassInfo(const PassInfo &) = delete;
};
PassInfo(const PassInfo &) = delete;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/PassRegistry.h
b/include/llvm/PassRegistry.h
index 8c28ef5e7e614e9de71e18eb5462ecb2349eb5ea..0d2cd24e81a6d7422d1467090c688cac9de5d36f 100644
(file)
--- a/
include/llvm/PassRegistry.h
+++ b/
include/llvm/PassRegistry.h
@@
-95,6
+95,6
@@
public:
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassRegistry, LLVMPassRegistryRef)
// Create wrappers for C Binding types (see CBindingWrapping.h).
DEFINE_STDCXX_CONVERSION_FUNCTIONS(PassRegistry, LLVMPassRegistryRef)
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/PassSupport.h
b/include/llvm/PassSupport.h
index 6cb6516412e8c750f4a83910b961d60f96077938..af1a195dfd8c0990ef764dc6890b71e29321fa1f 100644
(file)
--- a/
include/llvm/PassSupport.h
+++ b/
include/llvm/PassSupport.h
@@
-245,6
+245,6
@@
struct PassRegistrationListener {
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Passes/PassBuilder.h
b/include/llvm/Passes/PassBuilder.h
index 1e605e374178ca2ebcab07031bb68c180314fff6..bbf80f8ca4bf9dd1c9e70e7bc191a867e7def1f4 100644
(file)
--- a/
include/llvm/Passes/PassBuilder.h
+++ b/
include/llvm/Passes/PassBuilder.h
@@
-100,6
+100,6
@@
private:
bool VerifyEachPass, bool DebugLogging);
};
bool VerifyEachPass, bool DebugLogging);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/ARMEHABI.h
b/include/llvm/Support/ARMEHABI.h
index 9b052df0a908a6113813b43c11ca2ba1f1b02c33..db045a8a3efa04f91da286978511f815f9349419 100644
(file)
--- a/
include/llvm/Support/ARMEHABI.h
+++ b/
include/llvm/Support/ARMEHABI.h
@@
-127,8
+127,8
@@
namespace EHABI {
NUM_PERSONALITY_INDEX
};
NUM_PERSONALITY_INDEX
};
-}
-}
-}
+}
// namespace EHABI
+}
// namespace ARM
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/ARMWinEH.h
b/include/llvm/Support/ARMWinEH.h
index 1463629f45dc46f44bf3b16fd9e57a09ec218bfc..0b379032c20084cefe6a6e2a523addc316a3d451 100644
(file)
--- a/
include/llvm/Support/ARMWinEH.h
+++ b/
include/llvm/Support/ARMWinEH.h
@@
-375,8
+375,8
@@
struct ExceptionDataRecord {
inline size_t HeaderWords(const ExceptionDataRecord &XR) {
return (XR.Data[0] & 0xff800000) ? 1 : 2;
}
inline size_t HeaderWords(const ExceptionDataRecord &XR) {
return (XR.Data[0] & 0xff800000) ? 1 : 2;
}
-}
-}
-}
+}
// namespace WinEH
+}
// namespace ARM
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/ArrayRecycler.h
b/include/llvm/Support/ArrayRecycler.h
index 36f644af288081e5e117efbcf44f92f92c23804b..5907c79db2be4d9438746770d80ca85ca2332b50 100644
(file)
--- a/
include/llvm/Support/ArrayRecycler.h
+++ b/
include/llvm/Support/ArrayRecycler.h
@@
-138,6
+138,6
@@
public:
}
};
}
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Atomic.h
b/include/llvm/Support/Atomic.h
index 9ec23e8270238eff268fb9b0a8c712fa4c73f7e0..a3cec47563b881329aa11ffc450a8389cd229fb2 100644
(file)
--- a/
include/llvm/Support/Atomic.h
+++ b/
include/llvm/Support/Atomic.h
@@
-33,7
+33,7
@@
namespace llvm {
cas_flag AtomicAdd(volatile cas_flag* ptr, cas_flag val);
cas_flag AtomicMul(volatile cas_flag* ptr, cas_flag val);
cas_flag AtomicDiv(volatile cas_flag* ptr, cas_flag val);
cas_flag AtomicAdd(volatile cas_flag* ptr, cas_flag val);
cas_flag AtomicMul(volatile cas_flag* ptr, cas_flag val);
cas_flag AtomicDiv(volatile cas_flag* ptr, cas_flag val);
- }
-}
+ }
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/BlockFrequency.h
b/include/llvm/Support/BlockFrequency.h
index 4304a253b287c29fdd5091a38f11050fa0e00712..20b2782ad61a7710dc92c19fd50db051ee7bce09 100644
(file)
--- a/
include/llvm/Support/BlockFrequency.h
+++ b/
include/llvm/Support/BlockFrequency.h
@@
-69,6
+69,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/BranchProbability.h
b/include/llvm/Support/BranchProbability.h
index a6429dd22a3b7ce6e82a8875280049d0ac20fb53..df89d2dd4da993b1dbe0a8041f9bfa498ab2bbc4 100644
(file)
--- a/
include/llvm/Support/BranchProbability.h
+++ b/
include/llvm/Support/BranchProbability.h
@@
-84,6
+84,6
@@
inline raw_ostream &operator<<(raw_ostream &OS, const BranchProbability &Prob) {
return Prob.print(OS);
}
return Prob.print(OS);
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/COM.h
b/include/llvm/Support/COM.h
index a2d5a7a68ba9f866b24d23fbf2a258a300555259..45559b0ec14927db67f22726ac1cf032090a25e7 100644
(file)
--- a/
include/llvm/Support/COM.h
+++ b/
include/llvm/Support/COM.h
@@
-30,7
+30,7
@@
private:
InitializeCOMRAII(const InitializeCOMRAII &) = delete;
void operator=(const InitializeCOMRAII &) = delete;
};
InitializeCOMRAII(const InitializeCOMRAII &) = delete;
void operator=(const InitializeCOMRAII &) = delete;
};
-}
-}
+}
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Casting.h
b/include/llvm/Support/Casting.h
index 6ba5efa4755498195c6a056314887d6b4e9e5d12..e84676abc7795f82e9eaaac75e092d457fcb8e03 100644
(file)
--- a/
include/llvm/Support/Casting.h
+++ b/
include/llvm/Support/Casting.h
@@
-321,6
+321,6
@@
dyn_cast_or_null(Y *Val) {
return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
}
return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/CodeGen.h
b/include/llvm/Support/CodeGen.h
index 243f2dd7498c3b55662b7fcf27a9b3e761d41841..1eca5681e4498d1b7050796f5dc046a5b43aa41f 100644
(file)
--- a/
include/llvm/Support/CodeGen.h
+++ b/
include/llvm/Support/CodeGen.h
@@
-90,6
+90,6
@@
namespace llvm {
}
llvm_unreachable("Bad CodeModel!");
}
}
llvm_unreachable("Bad CodeModel!");
}
-}
// end llvm namespace
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/CrashRecoveryContext.h
b/include/llvm/Support/CrashRecoveryContext.h
index c08c3c1f0d2156de6e1994638e4bece66a98e2f5..13aff7a37b7a95cb70ca00974cbf3b08025da9c7 100644
(file)
--- a/
include/llvm/Support/CrashRecoveryContext.h
+++ b/
include/llvm/Support/CrashRecoveryContext.h
@@
-199,6
+199,6
@@
public:
cleanup = 0;
}
};
cleanup = 0;
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/DOTGraphTraits.h
b/include/llvm/Support/DOTGraphTraits.h
index 95e37c01d7d54128a2ee709f49f9dfa91a0de534..3d21129066ec7181cb965edc0be86d1bce0b40ca 100644
(file)
--- a/
include/llvm/Support/DOTGraphTraits.h
+++ b/
include/llvm/Support/DOTGraphTraits.h
@@
-161,6
+161,6
@@
struct DOTGraphTraits : public DefaultDOTGraphTraits {
DOTGraphTraits (bool simple=false) : DefaultDOTGraphTraits (simple) {}
};
DOTGraphTraits (bool simple=false) : DefaultDOTGraphTraits (simple) {}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/DataStream.h
b/include/llvm/Support/DataStream.h
index a544316f430d83d1be7a63c0ab87cd953af29ed4..9a4daec1e9cce274f9041abdf816b240aa9a886a 100644
(file)
--- a/
include/llvm/Support/DataStream.h
+++ b/
include/llvm/Support/DataStream.h
@@
-33,6
+33,6
@@
public:
std::unique_ptr<DataStreamer> getDataFileStreamer(const std::string &Filename,
std::string *Err);
std::unique_ptr<DataStreamer> getDataFileStreamer(const std::string &Filename,
std::string *Err);
-}
+}
// namespace llvm
#endif // LLVM_SUPPORT_DATASTREAM_H_
#endif // LLVM_SUPPORT_DATASTREAM_H_
diff --git
a/include/llvm/Support/Debug.h
b/include/llvm/Support/Debug.h
index fff4f986a6c04dcb4938ddb285c97c650319ef7b..2f3fe77f0e50aaff9fad6d061e3fc29537267ac9 100644
(file)
--- a/
include/llvm/Support/Debug.h
+++ b/
include/llvm/Support/Debug.h
@@
-91,6
+91,6
@@
raw_ostream &dbgs();
//
#define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)
//
#define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/DynamicLibrary.h
b/include/llvm/Support/DynamicLibrary.h
index a7d22212dbdb5e39e295048136fb530853ccba12..d6ff9043c46a7e1d33297b28c821647e277458d4 100644
(file)
--- a/
include/llvm/Support/DynamicLibrary.h
+++ b/
include/llvm/Support/DynamicLibrary.h
@@
-99,7
+99,7
@@
namespace sys {
static void AddSymbol(StringRef symbolName, void *symbolValue);
};
static void AddSymbol(StringRef symbolName, void *symbolValue);
};
-} //
End sys namespace
-} //
End llvm namespace
+} //
namespace sys
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Errc.h
b/include/llvm/Support/Errc.h
index 80bfe2ac2ee5c6a3740086bc23091648d6afca09..7efca026d1e42aa295a487e35409e90f9188e647 100644
(file)
--- a/
include/llvm/Support/Errc.h
+++ b/
include/llvm/Support/Errc.h
@@
-78,7
+78,7
@@
enum class errc {
inline std::error_code make_error_code(errc E) {
return std::error_code(static_cast<int>(E), std::generic_category());
}
inline std::error_code make_error_code(errc E) {
return std::error_code(static_cast<int>(E), std::generic_category());
}
-}
+}
// namespace llvm
namespace std {
template <> struct is_error_code_enum<llvm::errc> : std::true_type {};
namespace std {
template <> struct is_error_code_enum<llvm::errc> : std::true_type {};
diff --git
a/include/llvm/Support/ErrorHandling.h
b/include/llvm/Support/ErrorHandling.h
index 9afd52d1abc72765d27ada096baf85e4a42f6631..427d8ea2c570eeffbeba8125d36180eabd26149c 100644
(file)
--- a/
include/llvm/Support/ErrorHandling.h
+++ b/
include/llvm/Support/ErrorHandling.h
@@
-84,7
+84,7
@@
namespace llvm {
LLVM_ATTRIBUTE_NORETURN void
llvm_unreachable_internal(const char *msg=nullptr, const char *file=nullptr,
unsigned line=0);
LLVM_ATTRIBUTE_NORETURN void
llvm_unreachable_internal(const char *msg=nullptr, const char *file=nullptr,
unsigned line=0);
-}
+}
// namespace llvm
/// Marks that the current location is not supposed to be reachable.
/// In !NDEBUG builds, prints the message and location info to stderr.
/// Marks that the current location is not supposed to be reachable.
/// In !NDEBUG builds, prints the message and location info to stderr.
diff --git
a/include/llvm/Support/FileSystem.h
b/include/llvm/Support/FileSystem.h
index a736c324f8aae2bf46de853d84ff82bf9d784e52..5a857e41b95af70d3aaf90a44d9c2fdb4708aa15 100644
(file)
--- a/
include/llvm/Support/FileSystem.h
+++ b/
include/llvm/Support/FileSystem.h
@@
-724,7
+724,7
@@
namespace detail {
intptr_t IterationHandle;
directory_entry CurrentEntry;
};
intptr_t IterationHandle;
directory_entry CurrentEntry;
};
-}
+}
// namespace detail
/// directory_iterator - Iterates through the entries in path. There is no
/// operator++ because we need an error_code. If it's really needed we can make
/// directory_iterator - Iterates through the entries in path. There is no
/// operator++ because we need an error_code. If it's really needed we can make
@@
-786,7
+786,7
@@
namespace detail {
uint16_t Level;
bool HasNoPushRequest;
};
uint16_t Level;
bool HasNoPushRequest;
};
-}
+}
// namespace detail
/// recursive_directory_iterator - Same as directory_iterator except for it
/// recurses down into child directories.
/// recursive_directory_iterator - Same as directory_iterator except for it
/// recurses down into child directories.
diff --git
a/include/llvm/Support/FileUtilities.h
b/include/llvm/Support/FileUtilities.h
index 2ee2c60b9964b6159d2f26dfc6542d6411099909..8a790dece225a339eb5de95ce815d31b9b63ed19 100644
(file)
--- a/
include/llvm/Support/FileUtilities.h
+++ b/
include/llvm/Support/FileUtilities.h
@@
-73,6
+73,6
@@
namespace llvm {
/// will not be removed when the object is destroyed.
void releaseFile() { DeleteIt = false; }
};
/// will not be removed when the object is destroyed.
void releaseFile() { DeleteIt = false; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/FormattedStream.h
b/include/llvm/Support/FormattedStream.h
index 4a135cd23174f007c21cc0fc64c6e144f9f85ab9..145d8984a418cdc9e42e8c6d84a5452b1a275011 100644
(file)
--- a/
include/llvm/Support/FormattedStream.h
+++ b/
include/llvm/Support/FormattedStream.h
@@
-156,7
+156,7
@@
formatted_raw_ostream &ferrs();
/// debug output. Use it like: fdbgs() << "foo" << "bar";
formatted_raw_ostream &fdbgs();
/// debug output. Use it like: fdbgs() << "foo" << "bar";
formatted_raw_ostream &fdbgs();
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/GCOV.h
b/include/llvm/Support/GCOV.h
index c2e34bd3eaeb49a19663e82344c654bfc7e79e7e..138b9dbe0a37b180a092d51edb48feb3c12c4e6c 100644
(file)
--- a/
include/llvm/Support/GCOV.h
+++ b/
include/llvm/Support/GCOV.h
@@
-435,6
+435,6
@@
private:
FileCoverageList FileCoverages;
FuncCoverageMap FuncCoverages;
};
FileCoverageList FileCoverages;
FuncCoverageMap FuncCoverages;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/GenericDomTree.h
b/include/llvm/Support/GenericDomTree.h
index 63678bb98bb10fc9b5253b4a94d37ef8b46ea63b..cd59f82eea72d6d6b29bee08722c6275b1dd5770 100644
(file)
--- a/
include/llvm/Support/GenericDomTree.h
+++ b/
include/llvm/Support/GenericDomTree.h
@@
-772,6
+772,6
@@
bool DominatorTreeBase<NodeT>::properlyDominates(const NodeT *A,
getNode(const_cast<NodeT *>(B)));
}
getNode(const_cast<NodeT *>(B)));
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/GenericDomTreeConstruction.h
b/include/llvm/Support/GenericDomTreeConstruction.h
index 7c065f939256bf8fbf5aff51517a062d891db069..76e3cc8af40c648c61393088599d30d0fad15ead 100644
(file)
--- a/
include/llvm/Support/GenericDomTreeConstruction.h
+++ b/
include/llvm/Support/GenericDomTreeConstruction.h
@@
-288,6
+288,6
@@
void Calculate(DominatorTreeBase<typename GraphTraits<NodeT>::NodeType>& DT,
DT.updateDFSNumbers();
}
DT.updateDFSNumbers();
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/GraphWriter.h
b/include/llvm/Support/GraphWriter.h
index 7d1c273c988d1c039f84066932bf6f477b36c370..04b40848cb76293448d96c96b69811022a095c7c 100644
(file)
--- a/
include/llvm/Support/GraphWriter.h
+++ b/
include/llvm/Support/GraphWriter.h
@@
-356,6
+356,6
@@
void ViewGraph(const GraphType &G, const Twine &Name,
DisplayGraph(Filename, true, Program);
}
DisplayGraph(Filename, true, Program);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Host.h
b/include/llvm/Support/Host.h
index 8f4bf3c1ba56d87a0e9d14446411af7108b268c4..f2519df41aa2608786d10ddd03b7b3eba6d76ea0 100644
(file)
--- a/
include/llvm/Support/Host.h
+++ b/
include/llvm/Support/Host.h
@@
-68,7
+68,7
@@
namespace sys {
///
/// \return - True on success.
bool getHostCPUFeatures(StringMap<bool> &Features);
///
/// \return - True on success.
bool getHostCPUFeatures(StringMap<bool> &Features);
-}
-}
+}
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/LineIterator.h
b/include/llvm/Support/LineIterator.h
index 9d4cd3bd4c6d95def0cef731d55c049528a46ed0..d0f7d30a7076ee59a55bfdb7a01189cacd639c23 100644
(file)
--- a/
include/llvm/Support/LineIterator.h
+++ b/
include/llvm/Support/LineIterator.h
@@
-83,6
+83,6
@@
private:
/// \brief Advance the iterator to the next line.
void advance();
};
/// \brief Advance the iterator to the next line.
void advance();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/MD5.h
b/include/llvm/Support/MD5.h
index f6e1e92c9fa82020862514ab2cb4977fbe671d17..8658c8ef5c2468522ff7499945fb6180e82aa00a 100644
(file)
--- a/
include/llvm/Support/MD5.h
+++ b/
include/llvm/Support/MD5.h
@@
-65,6
+65,6
@@
private:
const uint8_t *body(ArrayRef<uint8_t> Data);
};
const uint8_t *body(ArrayRef<uint8_t> Data);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/ManagedStatic.h
b/include/llvm/Support/ManagedStatic.h
index addd34e704bc7a4b8b1a5674951825b9d385bc25..1187e055aadd7b3e4a073049d37a11aeb15dc8bf 100644
(file)
--- a/
include/llvm/Support/ManagedStatic.h
+++ b/
include/llvm/Support/ManagedStatic.h
@@
-106,6
+106,6
@@
struct llvm_shutdown_obj {
~llvm_shutdown_obj() { llvm_shutdown(); }
};
~llvm_shutdown_obj() { llvm_shutdown(); }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/MathExtras.h
b/include/llvm/Support/MathExtras.h
index 2cf7e0e5d0b3972053017ca426c8299480c7bb85..7c63aaa06998b105680471c16b8ccae9be8dd996 100644
(file)
--- a/
include/llvm/Support/MathExtras.h
+++ b/
include/llvm/Support/MathExtras.h
@@
-642,6
+642,6
@@
inline int64_t SignExtend64(uint64_t X, unsigned B) {
}
extern const float huge_valf;
}
extern const float huge_valf;
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Memory.h
b/include/llvm/Support/Memory.h
index b4305cb697d0c720d254f3c17badb8938895add1..6abb17aff8c63ea34ec26ef4116cceec15dd95d4 100644
(file)
--- a/
include/llvm/Support/Memory.h
+++ b/
include/llvm/Support/Memory.h
@@
-155,7
+155,7
@@
namespace sys {
/// as writable.
static bool setRangeWritable(const void *Addr, size_t Size);
};
/// as writable.
static bool setRangeWritable(const void *Addr, size_t Size);
};
-}
-}
+}
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/MemoryObject.h
b/include/llvm/Support/MemoryObject.h
index e0c8749da34602def7e96631f37c1d53d1cb2f67..deff6c1c667f0bdff74b2c40a3ed917693cf3f70 100644
(file)
--- a/
include/llvm/Support/MemoryObject.h
+++ b/
include/llvm/Support/MemoryObject.h
@@
-63,6
+63,6
@@
public:
virtual bool isValidAddress(uint64_t address) const = 0;
};
virtual bool isValidAddress(uint64_t address) const = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/MipsABIFlags.h
b/include/llvm/Support/MipsABIFlags.h
index 93f6b416ba8860e8d6ab63ea81c01d4c12db66ba..8740823dac4284ece71489229a0d6ae835c60a58 100644
(file)
--- a/
include/llvm/Support/MipsABIFlags.h
+++ b/
include/llvm/Support/MipsABIFlags.h
@@
-96,7
+96,7
@@
enum Val_GNU_MIPS_ABI_MSA {
Val_GNU_MIPS_ABI_MSA_ANY = 0, // not tagged
Val_GNU_MIPS_ABI_MSA_128 = 1 // 128-bit MSA
};
Val_GNU_MIPS_ABI_MSA_ANY = 0, // not tagged
Val_GNU_MIPS_ABI_MSA_128 = 1 // 128-bit MSA
};
-}
-}
+}
// namespace Mips
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Mutex.h
b/include/llvm/Support/Mutex.h
index 0f4e61af443950ffae66722981302a7641ae793a..47f0ab6d5c6f522357f309e5a38bb979dbdcaaaa 100644
(file)
--- a/
include/llvm/Support/Mutex.h
+++ b/
include/llvm/Support/Mutex.h
@@
-152,7
+152,7
@@
namespace llvm
};
typedef SmartScopedLock<false> ScopedLock;
};
typedef SmartScopedLock<false> ScopedLock;
- }
-}
+ }
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/MutexGuard.h
b/include/llvm/Support/MutexGuard.h
index 07b64b611960448871b28f85c212f0f2a14ba05c..ea5861761acdb329bdad1ab27ad8fde6268eb1a0 100644
(file)
--- a/
include/llvm/Support/MutexGuard.h
+++ b/
include/llvm/Support/MutexGuard.h
@@
-36,6
+36,6
@@
namespace llvm {
/// is held.
bool holds(const sys::Mutex& lock) const { return &M == &lock; }
};
/// is held.
bool holds(const sys::Mutex& lock) const { return &M == &lock; }
};
-}
+}
// namespace llvm
#endif // LLVM_SUPPORT_MUTEXGUARD_H
#endif // LLVM_SUPPORT_MUTEXGUARD_H
diff --git
a/include/llvm/Support/PluginLoader.h
b/include/llvm/Support/PluginLoader.h
index bdbb134b28ebba5066cd7b4cf5bed255dc6d36d4..da4324e6c13f5837bc894e83c395519464ad29f7 100644
(file)
--- a/
include/llvm/Support/PluginLoader.h
+++ b/
include/llvm/Support/PluginLoader.h
@@
-32,6
+32,6
@@
namespace llvm {
LoadOpt("load", cl::ZeroOrMore, cl::value_desc("pluginfilename"),
cl::desc("Load the specified plugin"));
#endif
LoadOpt("load", cl::ZeroOrMore, cl::value_desc("pluginfilename"),
cl::desc("Load the specified plugin"));
#endif
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Process.h
b/include/llvm/Support/Process.h
index cfdd06c62f33eb6652cfe99dc5c6137c1d7028a3..089894cf90208f1c5f52817beb4ff64a84434e96 100644
(file)
--- a/
include/llvm/Support/Process.h
+++ b/
include/llvm/Support/Process.h
@@
-184,7
+184,7
@@
public:
static unsigned GetRandomNumber();
};
static unsigned GetRandomNumber();
};
-}
-}
+}
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Program.h
b/include/llvm/Support/Program.h
index b89a0f73ec681e491f3b7cd9fdf4dd833eeff402..5f1bc12601b1d76c7b9c1a6b9fc52cfaabd4c0a2 100644
(file)
--- a/
include/llvm/Support/Program.h
+++ b/
include/llvm/Support/Program.h
@@
-187,7
+187,7
@@
struct ProcessInfo {
///< string is non-empty upon return an error occurred while invoking the
///< program.
);
///< string is non-empty upon return an error occurred while invoking the
///< program.
);
- }
-}
+ }
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/RWMutex.h
b/include/llvm/Support/RWMutex.h
index 4be9313377659752132b081b8beb9ed790281a23..5299708c6a6a64d73f46dec912b96691972e3f43 100644
(file)
--- a/
include/llvm/Support/RWMutex.h
+++ b/
include/llvm/Support/RWMutex.h
@@
-171,7
+171,7
@@
namespace llvm
}
};
typedef SmartScopedWriter<false> ScopedWriter;
}
};
typedef SmartScopedWriter<false> ScopedWriter;
- }
-}
+ }
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/RandomNumberGenerator.h
b/include/llvm/Support/RandomNumberGenerator.h
index 7446558f0c8811b551ef33de5548ab50b04877ac..316778b00e5eb3598a8679081d5bac3ec86df48c 100644
(file)
--- a/
include/llvm/Support/RandomNumberGenerator.h
+++ b/
include/llvm/Support/RandomNumberGenerator.h
@@
-53,6
+53,6
@@
private:
friend class Module;
};
friend class Module;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Recycler.h
b/include/llvm/Support/Recycler.h
index e97f36a735fdf64ece518c5afac4200565b19dd6..a909b9d5737627f510d6cd7d16bbb51e07c20cb6 100644
(file)
--- a/
include/llvm/Support/Recycler.h
+++ b/
include/llvm/Support/Recycler.h
@@
-123,6
+123,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/RecyclingAllocator.h
b/include/llvm/Support/RecyclingAllocator.h
index 001d1cf7c3df2f08e85776ef7cb94e63a12479ca..fded4edcad445b461fb6ffd69896fef9f25667d3 100644
(file)
--- a/
include/llvm/Support/RecyclingAllocator.h
+++ b/
include/llvm/Support/RecyclingAllocator.h
@@
-57,7
+57,7
@@
public:
}
};
}
};
-}
+}
// namespace llvm
template<class AllocatorType, class T, size_t Size, size_t Align>
inline void *operator new(size_t size,
template<class AllocatorType, class T, size_t Size, size_t Align>
inline void *operator new(size_t size,
diff --git
a/include/llvm/Support/Regex.h
b/include/llvm/Support/Regex.h
index 31b35ed0cad61f86712bb30b1f0a60559d6c7ea6..15f20a668ae571ae3e281259882b7440c8b62b91 100644
(file)
--- a/
include/llvm/Support/Regex.h
+++ b/
include/llvm/Support/Regex.h
@@
-100,6
+100,6
@@
namespace llvm {
struct llvm_regex *preg;
int error;
};
struct llvm_regex *preg;
int error;
};
-}
+}
// namespace llvm
#endif // LLVM_SUPPORT_REGEX_H
#endif // LLVM_SUPPORT_REGEX_H
diff --git
a/include/llvm/Support/Registry.h
b/include/llvm/Support/Registry.h
index 95c4e96f7f2995a0df08a47e006467cce3900736..7eb1090a393beb72458111cce6e0f1317f24760f 100644
(file)
--- a/
include/llvm/Support/Registry.h
+++ b/
include/llvm/Support/Registry.h
@@
-228,6
+228,6
@@
namespace llvm {
template <typename T, typename U>
typename Registry<T,U>::listener *Registry<T,U>::ListenerTail;
template <typename T, typename U>
typename Registry<T,U>::listener *Registry<T,U>::ListenerTail;
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Signals.h
b/include/llvm/Support/Signals.h
index 7e165d7f3a4287bac093cfb0c4964288ae24a64b..0cb421bcf32b06ddb07ca800ff390535bb8fb60a 100644
(file)
--- a/
include/llvm/Support/Signals.h
+++ b/
include/llvm/Support/Signals.h
@@
-62,7
+62,7
@@
namespace sys {
/// different thread on some platforms.
/// @brief Register a function to be called when ctrl-c is pressed.
void SetInterruptFunction(void (*IF)());
/// different thread on some platforms.
/// @brief Register a function to be called when ctrl-c is pressed.
void SetInterruptFunction(void (*IF)());
-} //
End sys namespace
-} //
End llvm namespace
+} //
namespace sys
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/SourceMgr.h
b/include/llvm/Support/SourceMgr.h
index 1f8b1a01865f59091dc70c1c644d2b0e5203c0b9..5eef9a075c4640085342d2b34c7f4d1bde92cc06 100644
(file)
--- a/
include/llvm/Support/SourceMgr.h
+++ b/
include/llvm/Support/SourceMgr.h
@@
-280,6
+280,6
@@
public:
bool ShowKindLabel = true) const;
};
bool ShowKindLabel = true) const;
};
-}
// end llvm namespace
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/StreamingMemoryObject.h
b/include/llvm/Support/StreamingMemoryObject.h
index 7cb6438d1342c190b5d78740b5b14f3c733189dd..fe0cc7e71f97c757770dc6ee174007d305f2f50b 100644
(file)
--- a/
include/llvm/Support/StreamingMemoryObject.h
+++ b/
include/llvm/Support/StreamingMemoryObject.h
@@
-89,5
+89,5
@@
private:
MemoryObject *getNonStreamedMemoryObject(
const unsigned char *Start, const unsigned char *End);
MemoryObject *getNonStreamedMemoryObject(
const unsigned char *Start, const unsigned char *End);
-}
+}
// namespace llvm
#endif // STREAMINGMEMORYOBJECT_H_
#endif // STREAMINGMEMORYOBJECT_H_
diff --git
a/include/llvm/Support/StringPool.h
b/include/llvm/Support/StringPool.h
index 2ec0c3b76c11f13557ee5f810baa46a3bf7d512d..3aa826b5ae9f5091fec5fa1d229c9837152c86bc 100644
(file)
--- a/
include/llvm/Support/StringPool.h
+++ b/
include/llvm/Support/StringPool.h
@@
-133,6
+133,6
@@
namespace llvm {
inline bool operator!=(const PooledStringPtr &That) const { return S != That.S; }
};
inline bool operator!=(const PooledStringPtr &That) const { return S != That.S; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/StringSaver.h
b/include/llvm/Support/StringSaver.h
index f3853ee91570965bf6a0754806ecaf8692a967ca..c7a2e8f48e866345e0c16fd2d834495bc99d8484 100644
(file)
--- a/
include/llvm/Support/StringSaver.h
+++ b/
include/llvm/Support/StringSaver.h
@@
-38,5
+38,5
@@
class BumpPtrStringSaver final : public StringSaver {
public:
BumpPtrStringSaver(BumpPtrAllocator &Alloc) : StringSaver(Alloc) {}
};
public:
BumpPtrStringSaver(BumpPtrAllocator &Alloc) : StringSaver(Alloc) {}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/SystemUtils.h
b/include/llvm/Support/SystemUtils.h
index 2997b1b0c9cf2e2711fb73af506bf39747f917bc..f8c5dc85a5e99e34ca5e7f5e84e861db22b361bb 100644
(file)
--- a/
include/llvm/Support/SystemUtils.h
+++ b/
include/llvm/Support/SystemUtils.h
@@
-27,6
+27,6
@@
bool CheckBitcodeOutputToConsole(
bool print_warning = true ///< Control whether warnings are printed
);
bool print_warning = true ///< Control whether warnings are printed
);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/TargetRegistry.h
b/include/llvm/Support/TargetRegistry.h
index d2e8b95d74f395af92cad81457d8ca8a8755e1d7..1c11ef31f82cc9cde152c3fc14148cd9f60db6cf 100644
(file)
--- a/
include/llvm/Support/TargetRegistry.h
+++ b/
include/llvm/Support/TargetRegistry.h
@@
-1178,6
+1178,6
@@
private:
return new MCCodeEmitterImpl();
}
};
return new MCCodeEmitterImpl();
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/TargetSelect.h
b/include/llvm/Support/TargetSelect.h
index a86e953f00ea502e1672e552f8e4a371f51a82b7..96ecf0b5e5c6921208002511a668e210d0ba7143 100644
(file)
--- a/
include/llvm/Support/TargetSelect.h
+++ b/
include/llvm/Support/TargetSelect.h
@@
-161,6
+161,6
@@
namespace llvm {
#endif
}
#endif
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/ThreadLocal.h
b/include/llvm/Support/ThreadLocal.h
index 427a67e2a96d0ead04980385f60f91593a7ba101..db61f5c17b96e5f1251ce3ee6b8b0ddda55e8ab7 100644
(file)
--- a/
include/llvm/Support/ThreadLocal.h
+++ b/
include/llvm/Support/ThreadLocal.h
@@
-57,7
+57,7
@@
namespace llvm {
// erase - Removes the pointer associated with the current thread.
void erase() { removeInstance(); }
};
// erase - Removes the pointer associated with the current thread.
void erase() { removeInstance(); }
};
- }
-}
+ }
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Threading.h
b/include/llvm/Support/Threading.h
index 3cca1d6a9913f82aea1a6146f8f6474e81077ab0..365fb9ee9b8e66e1a5245151aab536db170f3f1a 100644
(file)
--- a/
include/llvm/Support/Threading.h
+++ b/
include/llvm/Support/Threading.h
@@
-34,6
+34,6
@@
namespace llvm {
/// the thread stack.
void llvm_execute_on_thread(void (*UserFn)(void*), void *UserData,
unsigned RequestedStackSize = 0);
/// the thread stack.
void llvm_execute_on_thread(void (*UserFn)(void*), void *UserData,
unsigned RequestedStackSize = 0);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/TimeValue.h
b/include/llvm/Support/TimeValue.h
index 6bca58b6bc2085e376e6952740680ea889ca5a5d..a9efb1b9f78ee00d6727ff29c035116758e8ac18 100644
(file)
--- a/
include/llvm/Support/TimeValue.h
+++ b/
include/llvm/Support/TimeValue.h
@@
-380,7
+380,7
@@
inline TimeValue operator - (const TimeValue &tv1, const TimeValue &tv2) {
return difference;
}
return difference;
}
-}
-}
+}
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Timer.h
b/include/llvm/Support/Timer.h
index 2cd30e2aaf32221555c5a0d5d0c8a5e5a0bd6250..56fbcccc5cd9ff6f234acdd0b4646908f56f5e37 100644
(file)
--- a/
include/llvm/Support/Timer.h
+++ b/
include/llvm/Support/Timer.h
@@
-184,6
+184,6
@@
private:
void PrintQueuedTimers(raw_ostream &OS);
};
void PrintQueuedTimers(raw_ostream &OS);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/ToolOutputFile.h
b/include/llvm/Support/ToolOutputFile.h
index 1be26c2cb58baccf22f99d0f488122a4568ef5aa..e7a65456e3de37b1cbad62a348102d1b92b1c736 100644
(file)
--- a/
include/llvm/Support/ToolOutputFile.h
+++ b/
include/llvm/Support/ToolOutputFile.h
@@
-58,6
+58,6
@@
public:
void keep() { Installer.Keep = true; }
};
void keep() { Installer.Keep = true; }
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/UniqueLock.h
b/include/llvm/Support/UniqueLock.h
index 529284d3868bcd7d5fac784967f1d176ed169f00..c5f37a7b8ce0482349bb388bc33f8bd6dd5cba14 100644
(file)
--- a/
include/llvm/Support/UniqueLock.h
+++ b/
include/llvm/Support/UniqueLock.h
@@
-62,6
+62,6
@@
namespace llvm {
bool owns_lock() { return locked; }
};
bool owns_lock() { return locked; }
};
-}
+}
// namespace llvm
#endif // LLVM_SUPPORT_UNIQUE_LOCK_H
#endif // LLVM_SUPPORT_UNIQUE_LOCK_H
diff --git
a/include/llvm/Support/Valgrind.h
b/include/llvm/Support/Valgrind.h
index cebf75c49c1966ab5b0013e6d2475e43753c7414..7eabca93d6b49a48ea52494b4505f111b0ddd334 100644
(file)
--- a/
include/llvm/Support/Valgrind.h
+++ b/
include/llvm/Support/Valgrind.h
@@
-67,7
+67,7
@@
namespace sys {
#define TsanIgnoreWritesBegin()
#define TsanIgnoreWritesEnd()
#endif
#define TsanIgnoreWritesBegin()
#define TsanIgnoreWritesEnd()
#endif
-}
-}
+}
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/Watchdog.h
b/include/llvm/Support/Watchdog.h
index 01e1d926eb9569684cf93d54c73942a7c623b2b3..5642ae2e2322bddd397a38db085a3a03fca7ea5b 100644
(file)
--- a/
include/llvm/Support/Watchdog.h
+++ b/
include/llvm/Support/Watchdog.h
@@
-32,7
+32,7
@@
namespace llvm {
Watchdog(const Watchdog &other) = delete;
Watchdog &operator=(const Watchdog &other) = delete;
};
Watchdog(const Watchdog &other) = delete;
Watchdog &operator=(const Watchdog &other) = delete;
};
- }
-}
+ }
// namespace sys
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/circular_raw_ostream.h
b/include/llvm/Support/circular_raw_ostream.h
index 19f9c2c4b15573ef5bdf107fcff6bfedebe75ee5..89d6421e1e33318b4191f206037d1367923f72c3 100644
(file)
--- a/
include/llvm/Support/circular_raw_ostream.h
+++ b/
include/llvm/Support/circular_raw_ostream.h
@@
-152,7
+152,7
@@
namespace llvm
delete TheStream;
}
};
delete TheStream;
}
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/raw_os_ostream.h
b/include/llvm/Support/raw_os_ostream.h
index a983aeb90879c5fe71eb85d5d094dcc585ed23a8..c13e7792821ba82e41d0b9bdb097231b686d6530 100644
(file)
--- a/
include/llvm/Support/raw_os_ostream.h
+++ b/
include/llvm/Support/raw_os_ostream.h
@@
-37,6
+37,6
@@
public:
~raw_os_ostream() override;
};
~raw_os_ostream() override;
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/raw_ostream.h
b/include/llvm/Support/raw_ostream.h
index b59317112c4400616787588b305ab2daba8b1c2a..4b4f933aa0179cbe38b55e37d727e30b7f9e7676 100644
(file)
--- a/
include/llvm/Support/raw_ostream.h
+++ b/
include/llvm/Support/raw_ostream.h
@@
-545,6
+545,6
@@
public:
~buffer_ostream() { OS << str(); }
};
~buffer_ostream() { OS << str(); }
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Support/type_traits.h
b/include/llvm/Support/type_traits.h
index 45465aea004b3b10b48473e81057d5c046c91c49..6e2e202b0f2da3d1a0b17f8d35619cba9c76d903 100644
(file)
--- a/
include/llvm/Support/type_traits.h
+++ b/
include/llvm/Support/type_traits.h
@@
-91,7
+91,7
@@
struct add_const_past_pointer<
typedef const typename std::remove_pointer<T>::type *type;
};
typedef const typename std::remove_pointer<T>::type *type;
};
-}
+}
// namespace llvm
#ifdef LLVM_DEFINED_HAS_FEATURE
#undef __has_feature
#ifdef LLVM_DEFINED_HAS_FEATURE
#undef __has_feature
diff --git
a/include/llvm/TableGen/Error.h
b/include/llvm/TableGen/Error.h
index 3df658df8809abca6a0c966f0524c1b329bae498..2ecc9d26792c1e74188562a6f7d1bf71d19760aa 100644
(file)
--- a/
include/llvm/TableGen/Error.h
+++ b/
include/llvm/TableGen/Error.h
@@
-34,6
+34,6
@@
LLVM_ATTRIBUTE_NORETURN void PrintFatalError(ArrayRef<SMLoc> ErrorLoc,
extern SourceMgr SrcMgr;
extern unsigned ErrorsPrinted;
extern SourceMgr SrcMgr;
extern unsigned ErrorsPrinted;
-} //
end namespace "llvm"
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/TableGen/Record.h
b/include/llvm/TableGen/Record.h
index 5760a1cf9a422a64afa5996f4003a365709160d3..c5a43018d6676e9486059ac8bd68985285117f3b 100644
(file)
--- a/
include/llvm/TableGen/Record.h
+++ b/
include/llvm/TableGen/Record.h
@@
-1589,6
+1589,6
@@
Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass,
Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass,
const std::string &Name, const std::string &Scoper);
Init *QualifyName(Record &CurRec, MultiClass *CurMultiClass,
const std::string &Name, const std::string &Scoper);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/TableGen/StringMatcher.h
b/include/llvm/TableGen/StringMatcher.h
index b4387791083460e77cc9c6d6e6066717bac8096f..5a77f5ee3d29e7d046360934e816a0730d67b0ce 100644
(file)
--- a/
include/llvm/TableGen/StringMatcher.h
+++ b/
include/llvm/TableGen/StringMatcher.h
@@
-49,6
+49,6
@@
private:
unsigned CharNo, unsigned IndentCount) const;
};
unsigned CharNo, unsigned IndentCount) const;
};
-} //
end llvm namespace.
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetCallingConv.h
b/include/llvm/Target/TargetCallingConv.h
index 9d4e7a04d905a72ac836c68d321736767d9e0a2a..11a2cfdf815ba045ea935e907535984ddb7b19a1 100644
(file)
--- a/
include/llvm/Target/TargetCallingConv.h
+++ b/
include/llvm/Target/TargetCallingConv.h
@@
-190,8
+190,8
@@
namespace ISD {
ArgVT = argvt;
}
};
ArgVT = argvt;
}
};
-}
+}
// namespace ISD
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetFrameLowering.h
b/include/llvm/Target/TargetFrameLowering.h
index 0e317247a59f26f73dc6eb2159a359ca9d1d0cf1..2e8fe217fd12100b9de74cd2657a4fc467812097 100644
(file)
--- a/
include/llvm/Target/TargetFrameLowering.h
+++ b/
include/llvm/Target/TargetFrameLowering.h
@@
-283,6
+283,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetInstrInfo.h
b/include/llvm/Target/TargetInstrInfo.h
index 10123bbcebae26ebf02697d3bd370436302abe6a..f544b978e58513407f700d4ad8819f135a93b667 100644
(file)
--- a/
include/llvm/Target/TargetInstrInfo.h
+++ b/
include/llvm/Target/TargetInstrInfo.h
@@
-1270,6
+1270,6
@@
private:
unsigned CallFrameSetupOpcode, CallFrameDestroyOpcode;
};
unsigned CallFrameSetupOpcode, CallFrameDestroyOpcode;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetIntrinsicInfo.h
b/include/llvm/Target/TargetIntrinsicInfo.h
index c630f5b12a15d020c7e009480ace26652565e862..3732959302886786f28acd7aa66a86f089e4a203 100644
(file)
--- a/
include/llvm/Target/TargetIntrinsicInfo.h
+++ b/
include/llvm/Target/TargetIntrinsicInfo.h
@@
-60,6
+60,6
@@
public:
unsigned numTys = 0) const = 0;
};
unsigned numTys = 0) const = 0;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetLowering.h
b/include/llvm/Target/TargetLowering.h
index 710e82d6b3d5c380a63a54cdcc618c5efc3fd58c..a536e004c0ea984c18c3bcbd11229c99894c1b03 100644
(file)
--- a/
include/llvm/Target/TargetLowering.h
+++ b/
include/llvm/Target/TargetLowering.h
@@
-2801,6
+2801,6
@@
void GetReturnInfo(Type* ReturnType, AttributeSet attr,
SmallVectorImpl<ISD::OutputArg> &Outs,
const TargetLowering &TLI);
SmallVectorImpl<ISD::OutputArg> &Outs,
const TargetLowering &TLI);
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetMachine.h
b/include/llvm/Target/TargetMachine.h
index 64a923b80edfd035820b70167bbcc66166751e0b..768157549043f8d3ff0e7201ff18cdad56c453e3 100644
(file)
--- a/
include/llvm/Target/TargetMachine.h
+++ b/
include/llvm/Target/TargetMachine.h
@@
-273,6
+273,6
@@
public:
bool DisableVerify = true) override;
};
bool DisableVerify = true) override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetOptions.h
b/include/llvm/Target/TargetOptions.h
index a4e0954129d47af716d2146da810b653860253dc..f27411e47412b2d8315c55ba6156f67d00d7a786 100644
(file)
--- a/
include/llvm/Target/TargetOptions.h
+++ b/
include/llvm/Target/TargetOptions.h
@@
-252,6
+252,6
@@
inline bool operator!=(const TargetOptions &LHS,
return !(LHS == RHS);
}
return !(LHS == RHS);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetRecip.h
b/include/llvm/Target/TargetRecip.h
index 4cc3672d758d7089967f9778b57fbf1499068948..c3beb40fca00b2940683a6b255d76565b2b2ab93 100644
(file)
--- a/
include/llvm/Target/TargetRecip.h
+++ b/
include/llvm/Target/TargetRecip.h
@@
-68,6
+68,6
@@
private:
void parseIndividualParams(const std::vector<std::string> &Args);
};
void parseIndividualParams(const std::vector<std::string> &Args);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetRegisterInfo.h
b/include/llvm/Target/TargetRegisterInfo.h
index 1fd99a3199325b2eb316e80fd61e8690e259b0cb..1377b38799b6dbadbc9df8dc7b72a0b876c1bb89 100644
(file)
--- a/
include/llvm/Target/TargetRegisterInfo.h
+++ b/
include/llvm/Target/TargetRegisterInfo.h
@@
-998,6
+998,6
@@
static inline raw_ostream &operator<<(raw_ostream &OS,
return OS;
}
return OS;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetSelectionDAGInfo.h
b/include/llvm/Target/TargetSelectionDAGInfo.h
index bacdd950705b4b6ede6446526f2939873422401c..c3343caedd189863ab57561ad67ea2a8c531d86b 100644
(file)
--- a/
include/llvm/Target/TargetSelectionDAGInfo.h
+++ b/
include/llvm/Target/TargetSelectionDAGInfo.h
@@
-163,6
+163,6
@@
public:
}
};
}
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Target/TargetSubtargetInfo.h
b/include/llvm/Target/TargetSubtargetInfo.h
index e42c56add7b1d9546dca9bcbbbd2778eed2e46e9..640e1123e9285fb7d4f907667264acb1c4215279 100644
(file)
--- a/
include/llvm/Target/TargetSubtargetInfo.h
+++ b/
include/llvm/Target/TargetSubtargetInfo.h
@@
-178,6
+178,6
@@
public:
virtual bool enableSubRegLiveness() const { return false; }
};
virtual bool enableSubRegLiveness() const { return false; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/IPO.h
b/include/llvm/Transforms/IPO.h
index fbd999cbc946968c46f6f558ad708e9decf82ac2..59cd921820a28e5ca26d1f5aecbb85cafdbe5d29 100644
(file)
--- a/
include/llvm/Transforms/IPO.h
+++ b/
include/llvm/Transforms/IPO.h
@@
-203,6
+203,6
@@
ModulePass *createBarrierNoopPass();
/// to bitsets.
ModulePass *createLowerBitSetsPass();
/// to bitsets.
ModulePass *createLowerBitSetsPass();
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/IPO/InlinerPass.h
b/include/llvm/Transforms/IPO/InlinerPass.h
index 6a644ad4a63b84b9f49f799a2f5ceafa7c50f83e..4abb92d21537c8106239a8facab19b69aba2f1e2 100644
(file)
--- a/
include/llvm/Transforms/IPO/InlinerPass.h
+++ b/
include/llvm/Transforms/IPO/InlinerPass.h
@@
-86,6
+86,6
@@
private:
bool shouldInline(CallSite CS);
};
bool shouldInline(CallSite CS);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/InstCombine/InstCombine.h
b/include/llvm/Transforms/InstCombine/InstCombine.h
index f48ec13107bc9cefaf1e23082dbca31e187d1ab4..cfb31569f13e95910d331530bb595a7de487e445 100644
(file)
--- a/
include/llvm/Transforms/InstCombine/InstCombine.h
+++ b/
include/llvm/Transforms/InstCombine/InstCombine.h
@@
-41,6
+41,6
@@
public:
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
};
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Instrumentation.h
b/include/llvm/Transforms/Instrumentation.h
index 250e3893cb15c24f6a88232d609a19600d393e67..4447d0da900c86db3c49e883315ed3fad5f328a5 100644
(file)
--- a/
include/llvm/Transforms/Instrumentation.h
+++ b/
include/llvm/Transforms/Instrumentation.h
@@
-136,6
+136,6
@@
FunctionPass *createBoundsCheckingPass();
/// protect against stack-based overflow vulnerabilities.
FunctionPass *createSafeStackPass();
/// protect against stack-based overflow vulnerabilities.
FunctionPass *createSafeStackPass();
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/ObjCARC.h
b/include/llvm/Transforms/ObjCARC.h
index 1897adc2ffbf5960efb3604837135b6a3f03980e..367cdf6e47c7cd11a03f174adedd9e3ec3ff8b57 100644
(file)
--- a/
include/llvm/Transforms/ObjCARC.h
+++ b/
include/llvm/Transforms/ObjCARC.h
@@
-43,6
+43,6
@@
Pass *createObjCARCContractPass();
//
Pass *createObjCARCOptPass();
//
Pass *createObjCARCOptPass();
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Scalar.h
b/include/llvm/Transforms/Scalar.h
index 4676c95d7cd43933b1c8564f4bcca5dee7301a16..99fff376ecd1603316ec05fb0338176e87d79e1e 100644
(file)
--- a/
include/llvm/Transforms/Scalar.h
+++ b/
include/llvm/Transforms/Scalar.h
@@
-486,6
+486,6
@@
FunctionPass *createNaryReassociatePass();
//
FunctionPass *createLoopDistributePass();
//
FunctionPass *createLoopDistributePass();
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Scalar/EarlyCSE.h
b/include/llvm/Transforms/Scalar/EarlyCSE.h
index e3dd3c050df61005095be5e6b44d9bd76b467ff0..5cd4a69cafab76e65432b7f0d1d1fdd5e2ebe1d5 100644
(file)
--- a/
include/llvm/Transforms/Scalar/EarlyCSE.h
+++ b/
include/llvm/Transforms/Scalar/EarlyCSE.h
@@
-34,6
+34,6
@@
public:
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
};
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
b/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
index 40283203f3a3820f042c83e63f2f86e2f0075421..ce3674267b661946d0619dab45489131b2061b31 100644
(file)
--- a/
include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
+++ b/
include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h
@@
-35,6
+35,6
@@
public:
PreservedAnalyses run(Function &F);
};
PreservedAnalyses run(Function &F);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Scalar/SimplifyCFG.h
b/include/llvm/Transforms/Scalar/SimplifyCFG.h
index ef28e0f78a4c191a213aa1796a6aabf9adaf6ec7..d8b638de70f4b1e48552e970a861668d8370143e 100644
(file)
--- a/
include/llvm/Transforms/Scalar/SimplifyCFG.h
+++ b/
include/llvm/Transforms/Scalar/SimplifyCFG.h
@@
-41,6
+41,6
@@
public:
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
};
PreservedAnalyses run(Function &F, AnalysisManager<Function> *AM);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/ASanStackFrameLayout.h
b/include/llvm/Transforms/Utils/ASanStackFrameLayout.h
index 4e4f02c84ece0b57f53d1838253096eb9d05c33c..7f6a264b29de926974843b6c48b6521a083a3953 100644
(file)
--- a/
include/llvm/Transforms/Utils/ASanStackFrameLayout.h
+++ b/
include/llvm/Transforms/Utils/ASanStackFrameLayout.h
@@
-59,6
+59,6
@@
void ComputeASanStackFrameLayout(
// The result is put here.
ASanStackFrameLayout *Layout);
// The result is put here.
ASanStackFrameLayout *Layout);
-} //
llvm namespace
+} //
namespace llvm
#endif // LLVM_TRANSFORMS_UTILS_ASANSTACKFRAMELAYOUT_H
#endif // LLVM_TRANSFORMS_UTILS_ASANSTACKFRAMELAYOUT_H
diff --git
a/include/llvm/Transforms/Utils/BasicBlockUtils.h
b/include/llvm/Transforms/Utils/BasicBlockUtils.h
index 710db03c45d69943316a3e743aceb7acb927b363..3004f9eba5ae6f16a0cf02018a715e02f1520ca1 100644
(file)
--- a/
include/llvm/Transforms/Utils/BasicBlockUtils.h
+++ b/
include/llvm/Transforms/Utils/BasicBlockUtils.h
@@
-308,6
+308,6
@@
void SplitBlockAndInsertIfThenElse(Value *Cond, Instruction *SplitBefore,
/// entered if the condition is false.
Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
BasicBlock *&IfFalse);
/// entered if the condition is false.
Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
BasicBlock *&IfFalse);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/BuildLibCalls.h
b/include/llvm/Transforms/Utils/BuildLibCalls.h
index 879f295caf0cceb591efc0f7c0e371f535dfa588..508122949b6b5488e9cfee802537cde5887eb0e5 100644
(file)
--- a/
include/llvm/Transforms/Utils/BuildLibCalls.h
+++ b/
include/llvm/Transforms/Utils/BuildLibCalls.h
@@
-111,6
+111,6
@@
namespace llvm {
/// a pointer, Size is an 'intptr_t', and File is a pointer to FILE.
Value *EmitFWrite(Value *Ptr, Value *Size, Value *File, IRBuilder<> &B,
const DataLayout &DL, const TargetLibraryInfo *TLI);
/// a pointer, Size is an 'intptr_t', and File is a pointer to FILE.
Value *EmitFWrite(Value *Ptr, Value *Size, Value *File, IRBuilder<> &B,
const DataLayout &DL, const TargetLibraryInfo *TLI);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/Cloning.h
b/include/llvm/Transforms/Utils/Cloning.h
index cb187ec103d0d9feb5f7eab7a7dbdc6ea59eea88..9ba6bea499f664c51d6566f5083a6b3813910913 100644
(file)
--- a/
include/llvm/Transforms/Utils/Cloning.h
+++ b/
include/llvm/Transforms/Utils/Cloning.h
@@
-233,6
+233,6
@@
bool InlineFunction(InvokeInst *II, InlineFunctionInfo &IFI,
bool InlineFunction(CallSite CS, InlineFunctionInfo &IFI,
bool InsertLifetime = true);
bool InlineFunction(CallSite CS, InlineFunctionInfo &IFI,
bool InsertLifetime = true);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/CodeExtractor.h
b/include/llvm/Transforms/Utils/CodeExtractor.h
index 3a96d955cac2d62e2daa67fb49ef6949c983e9ce..c3c2f3e793ace4314ada81cebd1c8694992a56bb 100644
(file)
--- a/
include/llvm/Transforms/Utils/CodeExtractor.h
+++ b/
include/llvm/Transforms/Utils/CodeExtractor.h
@@
-121,6
+121,6
@@
namespace llvm {
ValueSet &inputs,
ValueSet &outputs);
};
ValueSet &inputs,
ValueSet &outputs);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/CtorUtils.h
b/include/llvm/Transforms/Utils/CtorUtils.h
index 63e564dcb87a9cd7b0120b885ef80f68b8f5fb7e..1213324af19f9d0858bd53293cfef36f21b91ce6 100644
(file)
--- a/
include/llvm/Transforms/Utils/CtorUtils.h
+++ b/
include/llvm/Transforms/Utils/CtorUtils.h
@@
-27,6
+27,6
@@
class Module;
bool optimizeGlobalCtorsList(Module &M,
function_ref<bool(Function *)> ShouldRemove);
bool optimizeGlobalCtorsList(Module &M,
function_ref<bool(Function *)> ShouldRemove);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/GlobalStatus.h
b/include/llvm/Transforms/Utils/GlobalStatus.h
index c36609508808d52c7f07f859311fcaa28012b5bd..658449c9fab12c0c43f4a8ae5780e40db3b1ffdc 100644
(file)
--- a/
include/llvm/Transforms/Utils/GlobalStatus.h
+++ b/
include/llvm/Transforms/Utils/GlobalStatus.h
@@
-77,6
+77,6
@@
struct GlobalStatus {
GlobalStatus();
};
GlobalStatus();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/IntegerDivision.h
b/include/llvm/Transforms/Utils/IntegerDivision.h
index 0ec3321b9cf8bcfa112a8e160dc2bc72f35959cd..5ba6685fdc69c81ea2513669788f4e5a817886c5 100644
(file)
--- a/
include/llvm/Transforms/Utils/IntegerDivision.h
+++ b/
include/llvm/Transforms/Utils/IntegerDivision.h
@@
-68,6
+68,6
@@
namespace llvm {
/// @brief Replace Rem with generated code.
bool expandDivisionUpTo64Bits(BinaryOperator *Div);
/// @brief Replace Rem with generated code.
bool expandDivisionUpTo64Bits(BinaryOperator *Div);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/Local.h
b/include/llvm/Transforms/Utils/Local.h
index a1bb367ac7b67214758aeee4b76d8c995e87e011..1063f5fa9f0701b5616de70e9e73e0c853e80491 100644
(file)
--- a/
include/llvm/Transforms/Utils/Local.h
+++ b/
include/llvm/Transforms/Utils/Local.h
@@
-291,6
+291,6
@@
void combineMetadata(Instruction *K, const Instruction *J, ArrayRef<unsigned> Kn
/// the given edge. Returns the number of replacements made.
unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
const BasicBlockEdge &Edge);
/// the given edge. Returns the number of replacements made.
unsigned replaceDominatedUsesWith(Value *From, Value *To, DominatorTree &DT,
const BasicBlockEdge &Edge);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/LoopUtils.h
b/include/llvm/Transforms/Utils/LoopUtils.h
index 15747bc7f1ac57a55ad897a5b3a62951b2205820..3aa40cfaa25a6e79a180e0c86eab0816211178ea 100644
(file)
--- a/
include/llvm/Transforms/Utils/LoopUtils.h
+++ b/
include/llvm/Transforms/Utils/LoopUtils.h
@@
-263,6
+263,6
@@
void computeLICMSafetyInfo(LICMSafetyInfo *, Loop *);
/// variable. Returns true if this is an induction PHI along with the step
/// value.
bool isInductionPHI(PHINode *, ScalarEvolution *, ConstantInt *&);
/// variable. Returns true if this is an induction PHI along with the step
/// value.
bool isInductionPHI(PHINode *, ScalarEvolution *, ConstantInt *&);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/ModuleUtils.h
b/include/llvm/Transforms/Utils/ModuleUtils.h
index 622265bae143b499d5250ba4cf2f0dab6bc6c52b..120d14ab87bbf4af071107aef8c4da17c687c779 100644
(file)
--- a/
include/llvm/Transforms/Utils/ModuleUtils.h
+++ b/
include/llvm/Transforms/Utils/ModuleUtils.h
@@
-57,6
+57,6
@@
Function *checkSanitizerInterfaceFunction(Constant *FuncOrBitcast);
std::pair<Function *, Function *> createSanitizerCtorAndInitFunctions(
Module &M, StringRef CtorName, StringRef InitName,
ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs);
std::pair<Function *, Function *> createSanitizerCtorAndInitFunctions(
Module &M, StringRef CtorName, StringRef InitName,
ArrayRef<Type *> InitArgTypes, ArrayRef<Value *> InitArgs);
-} //
End llvm namespace
+} //
namespace llvm
#endif // LLVM_TRANSFORMS_UTILS_MODULEUTILS_H
#endif // LLVM_TRANSFORMS_UTILS_MODULEUTILS_H
diff --git
a/include/llvm/Transforms/Utils/PromoteMemToReg.h
b/include/llvm/Transforms/Utils/PromoteMemToReg.h
index d0602bf47c92759054d3e018db67e06a0cbb02ae..6c3d2ea9b4397dd4f050f181bf547b1e933c3159 100644
(file)
--- a/
include/llvm/Transforms/Utils/PromoteMemToReg.h
+++ b/
include/llvm/Transforms/Utils/PromoteMemToReg.h
@@
-45,6
+45,6
@@
void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
AliasSetTracker *AST = nullptr,
AssumptionCache *AC = nullptr);
AliasSetTracker *AST = nullptr,
AssumptionCache *AC = nullptr);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/SSAUpdater.h
b/include/llvm/Transforms/Utils/SSAUpdater.h
index 1c7b2c587a36abc413ba1dbdb08bab60e1d82836..5179d587176f2131f2ed45868eeb5f54be6ff3b0 100644
(file)
--- a/
include/llvm/Transforms/Utils/SSAUpdater.h
+++ b/
include/llvm/Transforms/Utils/SSAUpdater.h
@@
-173,6
+173,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
b/include/llvm/Transforms/Utils/SSAUpdaterImpl.h
index ed0841c46c27e7ae24225a608ac7a79775aa05cd..1b9cb48a83c635eb97f793aed27aaac092179dd5 100644
(file)
--- a/
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
+++ b/
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
@@
-455,6
+455,6
@@
public:
#undef DEBUG_TYPE // "ssaupdater"
#undef DEBUG_TYPE // "ssaupdater"
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/SimplifyLibCalls.h
b/include/llvm/Transforms/Utils/SimplifyLibCalls.h
index 41159603aae5ead751143e7bf2ba666435d4aef6..d7c8338bafb5aea68a4f6586e9bbcef4d9f718ac 100644
(file)
--- a/
include/llvm/Transforms/Utils/SimplifyLibCalls.h
+++ b/
include/llvm/Transforms/Utils/SimplifyLibCalls.h
@@
-166,6
+166,6
@@
private:
/// function by checking for an existing function with name FuncName + f
bool hasFloatVersion(StringRef FuncName);
};
/// function by checking for an existing function with name FuncName + f
bool hasFloatVersion(StringRef FuncName);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/SymbolRewriter.h
b/include/llvm/Transforms/Utils/SymbolRewriter.h
index 5ccee98f97e7bc6a23c01c960cad7c70be62fdf5..d7983585787390be2c565daf42e3c5853c9914c6 100644
(file)
--- a/
include/llvm/Transforms/Utils/SymbolRewriter.h
+++ b/
include/llvm/Transforms/Utils/SymbolRewriter.h
@@
-108,7
+108,7
@@
private:
yaml::MappingNode *V,
RewriteDescriptorList *DL);
};
yaml::MappingNode *V,
RewriteDescriptorList *DL);
};
-}
+}
// namespace SymbolRewriter
template <>
struct ilist_traits<SymbolRewriter::RewriteDescriptor>
template <>
struct ilist_traits<SymbolRewriter::RewriteDescriptor>
@@
-147,6
+147,6
@@
public:
ModulePass *createRewriteSymbolsPass();
ModulePass *createRewriteSymbolsPass(SymbolRewriter::RewriteDescriptorList &);
ModulePass *createRewriteSymbolsPass();
ModulePass *createRewriteSymbolsPass(SymbolRewriter::RewriteDescriptorList &);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
index 550292f6b7a3b5a669e4cf4e3de5f3b96ff7ca8a..b19c6fab70e5b0842217c22caed0b3c357085fd2 100644
(file)
--- a/
include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
+++ b/
include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
@@
-47,6
+47,6
@@
public:
Pass *createUnifyFunctionExitNodesPass();
Pass *createUnifyFunctionExitNodesPass();
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/UnrollLoop.h
b/include/llvm/Transforms/Utils/UnrollLoop.h
index 7f2cf8d7f59e598b0b8d4d95a3268b72a1a90a38..ba5866876e7a5c1bdbbb82f414b540bee0cae393 100644
(file)
--- a/
include/llvm/Transforms/Utils/UnrollLoop.h
+++ b/
include/llvm/Transforms/Utils/UnrollLoop.h
@@
-37,6
+37,6
@@
bool UnrollRuntimeLoopProlog(Loop *L, unsigned Count,
LPPassManager *LPM);
MDNode *GetUnrollMetadata(MDNode *LoopID, StringRef Name);
LPPassManager *LPM);
MDNode *GetUnrollMetadata(MDNode *LoopID, StringRef Name);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/ValueMapper.h
b/include/llvm/Transforms/Utils/ValueMapper.h
index 047ab818711b2b5477be538ba7a99731940daa53..737ad4f7ed80bef5630a887faed5adf0903deb20 100644
(file)
--- a/
include/llvm/Transforms/Utils/ValueMapper.h
+++ b/
include/llvm/Transforms/Utils/ValueMapper.h
@@
-96,6
+96,6
@@
namespace llvm {
Materializer));
}
Materializer));
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Utils/VectorUtils.h
b/include/llvm/Transforms/Utils/VectorUtils.h
index 9f0fb19d667a10a29e91ba74217cac7809e7be0c..6a35247950d32bb4980d9d0b732a723ed388c880 100644
(file)
--- a/
include/llvm/Transforms/Utils/VectorUtils.h
+++ b/
include/llvm/Transforms/Utils/VectorUtils.h
@@
-200,6
+200,6
@@
getIntrinsicIDForCall(CallInst *CI, const TargetLibraryInfo *TLI) {
return Intrinsic::not_intrinsic;
}
return Intrinsic::not_intrinsic;
}
-} //
llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/include/llvm/Transforms/Vectorize.h
b/include/llvm/Transforms/Vectorize.h
index aec3993d68fcf49f78d27abbfceae70266d1da11..aab2790c0ab1f05b7c22847dd563550482bb33ac 100644
(file)
--- a/
include/llvm/Transforms/Vectorize.h
+++ b/
include/llvm/Transforms/Vectorize.h
@@
-139,6
+139,6
@@
Pass *createSLPVectorizerPass();
bool vectorizeBasicBlock(Pass *P, BasicBlock &BB,
const VectorizeConfig &C = VectorizeConfig());
bool vectorizeBasicBlock(Pass *P, BasicBlock &BB,
const VectorizeConfig &C = VectorizeConfig());
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Analysis/AliasAnalysisCounter.cpp
b/lib/Analysis/AliasAnalysisCounter.cpp
index 77fe64baf71785f5e788bec6d216646753baf5bd..0112186720bd1d722c5e317428bdb75a793fa7af 100644
(file)
--- a/
lib/Analysis/AliasAnalysisCounter.cpp
+++ b/
lib/Analysis/AliasAnalysisCounter.cpp
@@
-115,7
+115,7
@@
namespace {
return AliasAnalysis::getModRefInfo(CS1,CS2);
}
};
return AliasAnalysis::getModRefInfo(CS1,CS2);
}
};
-}
+}
// namespace
char AliasAnalysisCounter::ID = 0;
INITIALIZE_AG_PASS(AliasAnalysisCounter, AliasAnalysis, "count-aa",
char AliasAnalysisCounter::ID = 0;
INITIALIZE_AG_PASS(AliasAnalysisCounter, AliasAnalysis, "count-aa",
diff --git
a/lib/Analysis/AliasAnalysisEvaluator.cpp
b/lib/Analysis/AliasAnalysisEvaluator.cpp
index efbce0daa45c0e0c8d5cea82ed244b5c293c9f32..1501b5f64aa6475130bb0102376b73f7e6a69e00 100644
(file)
--- a/
lib/Analysis/AliasAnalysisEvaluator.cpp
+++ b/
lib/Analysis/AliasAnalysisEvaluator.cpp
@@
-76,7
+76,7
@@
namespace {
bool runOnFunction(Function &F) override;
bool doFinalization(Module &M) override;
};
bool runOnFunction(Function &F) override;
bool doFinalization(Module &M) override;
};
-}
+}
// namespace
char AAEval::ID = 0;
INITIALIZE_PASS_BEGIN(AAEval, "aa-eval",
char AAEval::ID = 0;
INITIALIZE_PASS_BEGIN(AAEval, "aa-eval",
diff --git
a/lib/Analysis/AliasDebugger.cpp
b/lib/Analysis/AliasDebugger.cpp
index 1ef49fc02fef99ca0b42cd112d4d5cc4993d5d5e..fde0eeb43d48c81924be43f5646503bb403126a5 100644
(file)
--- a/
lib/Analysis/AliasDebugger.cpp
+++ b/
lib/Analysis/AliasDebugger.cpp
@@
-130,7
+130,7
@@
namespace {
}
};
}
};
-}
+}
// namespace
char AliasDebugger::ID = 0;
INITIALIZE_AG_PASS(AliasDebugger, AliasAnalysis, "debug-aa",
char AliasDebugger::ID = 0;
INITIALIZE_AG_PASS(AliasDebugger, AliasAnalysis, "debug-aa",
diff --git
a/lib/Analysis/AliasSetTracker.cpp
b/lib/Analysis/AliasSetTracker.cpp
index 4690cd668e3e93f3dc8d5ca81a2419ff0de34863..f7a803c5f4ce16a9873c6ffaba64f48e4261d247 100644
(file)
--- a/
lib/Analysis/AliasSetTracker.cpp
+++ b/
lib/Analysis/AliasSetTracker.cpp
@@
-666,7
+666,7
@@
namespace {
return false;
}
};
return false;
}
};
-}
+}
// namespace
char AliasSetPrinter::ID = 0;
INITIALIZE_PASS_BEGIN(AliasSetPrinter, "print-alias-sets",
char AliasSetPrinter::ID = 0;
INITIALIZE_PASS_BEGIN(AliasSetPrinter, "print-alias-sets",
diff --git
a/lib/Analysis/BasicAliasAnalysis.cpp
b/lib/Analysis/BasicAliasAnalysis.cpp
index 8d5a6c2cec100bd8f7a5d7321816b825b7be97d7..d11a748e4bf92694868d9ccef21d61b9179b852c 100644
(file)
--- a/
lib/Analysis/BasicAliasAnalysis.cpp
+++ b/
lib/Analysis/BasicAliasAnalysis.cpp
@@
-182,7
+182,7
@@
namespace {
return !operator==(Other);
}
};
return !operator==(Other);
}
};
-}
+}
// namespace
/// GetLinearExpression - Analyze the specified value as a linear expression:
/// GetLinearExpression - Analyze the specified value as a linear expression:
diff --git
a/lib/Analysis/BlockFrequencyInfoImpl.cpp
b/lib/Analysis/BlockFrequencyInfoImpl.cpp
index 6ceda06aac14aa9a956daf0375690533f2c7a678..daa77b81d6b3c11e450125cb5f18e86228b471ea 100644
(file)
--- a/
lib/Analysis/BlockFrequencyInfoImpl.cpp
+++ b/
lib/Analysis/BlockFrequencyInfoImpl.cpp
@@
-598,7
+598,7
@@
template <> struct GraphTraits<IrreducibleGraph> {
static ChildIteratorType child_begin(NodeType *N) { return N->succ_begin(); }
static ChildIteratorType child_end(NodeType *N) { return N->succ_end(); }
};
static ChildIteratorType child_begin(NodeType *N) { return N->succ_begin(); }
static ChildIteratorType child_end(NodeType *N) { return N->succ_end(); }
};
-}
+}
// namespace llvm
/// \brief Find extra irreducible headers.
///
/// \brief Find extra irreducible headers.
///
diff --git
a/lib/Analysis/CFGPrinter.cpp
b/lib/Analysis/CFGPrinter.cpp
index c86f1f55954b7764a8bdf2a7da23c2053ae69256..edd02c2fa0b2529c7735df7779e4031b42a7a749 100644
(file)
--- a/
lib/Analysis/CFGPrinter.cpp
+++ b/
lib/Analysis/CFGPrinter.cpp
@@
-40,7
+40,7
@@
namespace {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
char CFGViewer::ID = 0;
INITIALIZE_PASS(CFGViewer, "view-cfg", "View CFG of function", false, true)
char CFGViewer::ID = 0;
INITIALIZE_PASS(CFGViewer, "view-cfg", "View CFG of function", false, true)
@@
-63,7
+63,7
@@
namespace {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
char CFGOnlyViewer::ID = 0;
INITIALIZE_PASS(CFGOnlyViewer, "view-cfg-only",
char CFGOnlyViewer::ID = 0;
INITIALIZE_PASS(CFGOnlyViewer, "view-cfg-only",
@@
-97,7
+97,7
@@
namespace {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
char CFGPrinter::ID = 0;
INITIALIZE_PASS(CFGPrinter, "dot-cfg", "Print CFG of function to 'dot' file",
char CFGPrinter::ID = 0;
INITIALIZE_PASS(CFGPrinter, "dot-cfg", "Print CFG of function to 'dot' file",
@@
-130,7
+130,7
@@
namespace {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
char CFGOnlyPrinter::ID = 0;
INITIALIZE_PASS(CFGOnlyPrinter, "dot-cfg-only",
char CFGOnlyPrinter::ID = 0;
INITIALIZE_PASS(CFGOnlyPrinter, "dot-cfg-only",
diff --git
a/lib/Analysis/CFLAliasAnalysis.cpp
b/lib/Analysis/CFLAliasAnalysis.cpp
index ee76317ca71efde82057e048a05c76c2aff937e0..9e2c9fb513830db8351b088a4f494c4cc34cd440 100644
(file)
--- a/
lib/Analysis/CFLAliasAnalysis.cpp
+++ b/
lib/Analysis/CFLAliasAnalysis.cpp
@@
-726,7
+726,7
@@
public:
typedef WeightedBidirectionalGraph<std::pair<EdgeType, StratifiedAttrs>> GraphT;
typedef DenseMap<Value *, GraphT::Node> NodeMapT;
typedef WeightedBidirectionalGraph<std::pair<EdgeType, StratifiedAttrs>> GraphT;
typedef DenseMap<Value *, GraphT::Node> NodeMapT;
-}
+}
// namespace
// -- Setting up/registering CFLAA pass -- //
char CFLAliasAnalysis::ID = 0;
// -- Setting up/registering CFLAA pass -- //
char CFLAliasAnalysis::ID = 0;
diff --git
a/lib/Analysis/CaptureTracking.cpp
b/lib/Analysis/CaptureTracking.cpp
index 5a5475417951603fe8782b4c9acc2730bae1baeb..92f6932bf8b9a11f658eccabe86758e849576186 100644
(file)
--- a/
lib/Analysis/CaptureTracking.cpp
+++ b/
lib/Analysis/CaptureTracking.cpp
@@
-110,7
+110,7
@@
namespace {
bool Captured;
};
bool Captured;
};
-}
+}
// namespace
/// PointerMayBeCaptured - Return true if this pointer value may be captured
/// by the enclosing function (which is required to exist). This routine can
/// PointerMayBeCaptured - Return true if this pointer value may be captured
/// by the enclosing function (which is required to exist). This routine can
diff --git
a/lib/Analysis/DivergenceAnalysis.cpp
b/lib/Analysis/DivergenceAnalysis.cpp
index e5ee2959c15d9e6c99e529ae7cf54fcc10a042a4..3765adf4d98cc9ba510a4e0f0a771cc5e3aa66bd 100644
(file)
--- a/
lib/Analysis/DivergenceAnalysis.cpp
+++ b/
lib/Analysis/DivergenceAnalysis.cpp
@@
-284,7
+284,7
@@
void DivergencePropagator::propagate() {
}
}
}
}
-} //
/ end namespace anonymous
+} //
namespace
FunctionPass *llvm::createDivergenceAnalysisPass() {
return new DivergenceAnalysis();
FunctionPass *llvm::createDivergenceAnalysisPass() {
return new DivergenceAnalysis();
diff --git
a/lib/Analysis/DomPrinter.cpp
b/lib/Analysis/DomPrinter.cpp
index 0c880df54f8e9fdb5c7f1ccc605673ae740e4b33..0e0d174c2a48333abe14200e54b4619d47fb8a1c 100644
(file)
--- a/
lib/Analysis/DomPrinter.cpp
+++ b/
lib/Analysis/DomPrinter.cpp
@@
-78,7
+78,7
@@
struct DOTGraphTraits<PostDominatorTree*>
return DOTGraphTraits<DomTreeNode*>::getNodeLabel(Node, G->getRootNode());
}
};
return DOTGraphTraits<DomTreeNode*>::getNodeLabel(Node, G->getRootNode());
}
};
-}
+}
// namespace llvm
namespace {
struct DominatorTreeWrapperPassAnalysisGraphTraits {
namespace {
struct DominatorTreeWrapperPassAnalysisGraphTraits {
diff --git
a/lib/Analysis/IPA/CallPrinter.cpp
b/lib/Analysis/IPA/CallPrinter.cpp
index 68dcd3c064274d46bd345230465bf2c80f8b71bc..f183625dd776231f3466f07f76a5cf9f9e03416d 100644
(file)
--- a/
lib/Analysis/IPA/CallPrinter.cpp
+++ b/
lib/Analysis/IPA/CallPrinter.cpp
@@
-41,7
+41,7
@@
struct AnalysisCallGraphWrapperPassTraits {
}
};
}
};
-} //
end llvm namespace
+} //
namespace llvm
namespace {
namespace {
diff --git
a/lib/Analysis/IPA/GlobalsModRef.cpp
b/lib/Analysis/IPA/GlobalsModRef.cpp
index 3e47c69a1ee4dd39ecfefbc895990f0af630de90..a32631d0c3b23d8dc70f790980222b18f61118d6 100644
(file)
--- a/
lib/Analysis/IPA/GlobalsModRef.cpp
+++ b/
lib/Analysis/IPA/GlobalsModRef.cpp
@@
-189,7
+189,7
@@
namespace {
GlobalValue *OkayStoreDest = nullptr);
bool AnalyzeIndirectGlobalMemory(GlobalValue *GV);
};
GlobalValue *OkayStoreDest = nullptr);
bool AnalyzeIndirectGlobalMemory(GlobalValue *GV);
};
-}
+}
// namespace
char GlobalsModRef::ID = 0;
INITIALIZE_AG_PASS_BEGIN(GlobalsModRef, AliasAnalysis,
char GlobalsModRef::ID = 0;
INITIALIZE_AG_PASS_BEGIN(GlobalsModRef, AliasAnalysis,
diff --git
a/lib/Analysis/InstCount.cpp
b/lib/Analysis/InstCount.cpp
index de2b9c0c56dba4573838e7ddbca9e9dc7c4dc29d..e76d26e8530bc37d8e792c1e5342f9c9c3d6eeb1 100644
(file)
--- a/
lib/Analysis/InstCount.cpp
+++ b/
lib/Analysis/InstCount.cpp
@@
-64,7
+64,7
@@
namespace {
void print(raw_ostream &O, const Module *M) const override {}
};
void print(raw_ostream &O, const Module *M) const override {}
};
-}
+}
// namespace
char InstCount::ID = 0;
INITIALIZE_PASS(InstCount, "instcount",
char InstCount::ID = 0;
INITIALIZE_PASS(InstCount, "instcount",
diff --git
a/lib/Analysis/LazyValueInfo.cpp
b/lib/Analysis/LazyValueInfo.cpp
index a6ae7f2229c55b261b575a730b033d78e43204b8..f421d286e8428825d67faa22c7803088af9a793c 100644
(file)
--- a/
lib/Analysis/LazyValueInfo.cpp
+++ b/
lib/Analysis/LazyValueInfo.cpp
@@
-286,7
+286,7
@@
raw_ostream &operator<<(raw_ostream &OS, const LVILatticeVal &Val) {
<< Val.getConstantRange().getUpper() << '>';
return OS << "constant<" << *Val.getConstant() << '>';
}
<< Val.getConstantRange().getUpper() << '>';
return OS << "constant<" << *Val.getConstant() << '>';
}
-}
+}
// namespace llvm
//===----------------------------------------------------------------------===//
// LazyValueInfoCache Decl
//===----------------------------------------------------------------------===//
// LazyValueInfoCache Decl
@@
-306,7
+306,7
@@
namespace {
deleted();
}
};
deleted();
}
};
-}
+}
// namespace
namespace {
/// This is the cache kept by LazyValueInfo which
namespace {
/// This is the cache kept by LazyValueInfo which
diff --git
a/lib/Analysis/Lint.cpp
b/lib/Analysis/Lint.cpp
index 539dd0fbcfd8fc86b3c0b488765072dfc8a7fa0d..6ea6ccbfbe99ccafe71e440e0407f568af28d97c 100644
(file)
--- a/
lib/Analysis/Lint.cpp
+++ b/
lib/Analysis/Lint.cpp
@@
-157,7
+157,7
@@
namespace {
WriteValues({V1, Vs...});
}
};
WriteValues({V1, Vs...});
}
};
-}
+}
// namespace
char Lint::ID = 0;
INITIALIZE_PASS_BEGIN(Lint, "lint", "Statically lint-checks LLVM IR",
char Lint::ID = 0;
INITIALIZE_PASS_BEGIN(Lint, "lint", "Statically lint-checks LLVM IR",
diff --git
a/lib/Analysis/LoopPass.cpp
b/lib/Analysis/LoopPass.cpp
index e9fcf02118b978351e322c3932b89f9e4f8227a8..81b7ecd480bfd6531bfb6cb20c6c489210aa3109 100644
(file)
--- a/
lib/Analysis/LoopPass.cpp
+++ b/
lib/Analysis/LoopPass.cpp
@@
-56,7
+56,7
@@
public:
};
char PrintLoopPass::ID = 0;
};
char PrintLoopPass::ID = 0;
-}
+}
// namespace
//===----------------------------------------------------------------------===//
// LPPassManager
//===----------------------------------------------------------------------===//
// LPPassManager
diff --git
a/lib/Analysis/MemDepPrinter.cpp
b/lib/Analysis/MemDepPrinter.cpp
index da3b829b6d31fd8b4c355f0b9944f0b86da05ef8..54a04d9856b7e97a31970f68d2378f2358a03c1e 100644
(file)
--- a/
lib/Analysis/MemDepPrinter.cpp
+++ b/
lib/Analysis/MemDepPrinter.cpp
@@
-74,7
+74,7
@@
namespace {
return InstTypePair(inst, type);
}
};
return InstTypePair(inst, type);
}
};
-}
+}
// namespace
char MemDepPrinter::ID = 0;
INITIALIZE_PASS_BEGIN(MemDepPrinter, "print-memdeps",
char MemDepPrinter::ID = 0;
INITIALIZE_PASS_BEGIN(MemDepPrinter, "print-memdeps",
diff --git
a/lib/Analysis/MemDerefPrinter.cpp
b/lib/Analysis/MemDerefPrinter.cpp
index fa292a28ec87c13701cefeec0652133e677d7440..b0194d33d0e83e34e1dad045c3753d1cb1a7d46b 100644
(file)
--- a/
lib/Analysis/MemDerefPrinter.cpp
+++ b/
lib/Analysis/MemDerefPrinter.cpp
@@
-37,7
+37,7
@@
namespace {
Vec.clear();
}
};
Vec.clear();
}
};
-}
+}
// namespace
char MemDerefPrinter::ID = 0;
INITIALIZE_PASS_BEGIN(MemDerefPrinter, "print-memderefs",
char MemDerefPrinter::ID = 0;
INITIALIZE_PASS_BEGIN(MemDerefPrinter, "print-memderefs",
diff --git
a/lib/Analysis/ModuleDebugInfoPrinter.cpp
b/lib/Analysis/ModuleDebugInfoPrinter.cpp
index 36c47141a45ff9826aef6eaa80e3ef4c67e86ffb..45ae818c35bf15e6d77bae5ad61cd26cadfef6af 100644
(file)
--- a/
lib/Analysis/ModuleDebugInfoPrinter.cpp
+++ b/
lib/Analysis/ModuleDebugInfoPrinter.cpp
@@
-40,7
+40,7
@@
namespace {
}
void print(raw_ostream &O, const Module *M) const override;
};
}
void print(raw_ostream &O, const Module *M) const override;
};
-}
+}
// namespace
char ModuleDebugInfoPrinter::ID = 0;
INITIALIZE_PASS(ModuleDebugInfoPrinter, "module-debuginfo",
char ModuleDebugInfoPrinter::ID = 0;
INITIALIZE_PASS(ModuleDebugInfoPrinter, "module-debuginfo",
diff --git
a/lib/Analysis/RegionPrinter.cpp
b/lib/Analysis/RegionPrinter.cpp
index d7f5109848817f9db132d4eb50226ffc5e878928..2b09becaac38ca2ce403decc1d53e0f036709644 100644
(file)
--- a/
lib/Analysis/RegionPrinter.cpp
+++ b/
lib/Analysis/RegionPrinter.cpp
@@
-194,7
+194,7
@@
struct RegionOnlyPrinter
}
};
}
};
-}
+}
// namespace
char RegionOnlyPrinter::ID = 0;
INITIALIZE_PASS(RegionOnlyPrinter, "dot-regions-only",
char RegionOnlyPrinter::ID = 0;
INITIALIZE_PASS(RegionOnlyPrinter, "dot-regions-only",
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 0e9f812c05e27cd34dd4009bd123e230af550ddc..81e07e99dca14dc91f6a7eb7cf4567e1991371a9 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-627,7
+627,7
@@
namespace {
llvm_unreachable("Unknown SCEV kind!");
}
};
llvm_unreachable("Unknown SCEV kind!");
}
};
-}
+}
// namespace
/// GroupByComplexity - Given a list of SCEV objects, order them by their
/// complexity, and group objects of the same complexity together by value.
/// GroupByComplexity - Given a list of SCEV objects, order them by their
/// complexity, and group objects of the same complexity together by value.
@@
-689,7
+689,7
@@
struct FindSCEVSize {
return false;
}
};
return false;
}
};
-}
+}
// namespace
// Returns the size of the SCEV S.
static inline int sizeOfSCEV(const SCEV *S) {
// Returns the size of the SCEV S.
static inline int sizeOfSCEV(const SCEV *S) {
@@
-937,7
+937,7
@@
private:
const SCEV *Denominator, *Quotient, *Remainder, *Zero, *One;
};
const SCEV *Denominator, *Quotient, *Remainder, *Zero, *One;
};
-}
+}
// namespace
//===----------------------------------------------------------------------===//
// Simple SCEV method implementations
//===----------------------------------------------------------------------===//
// Simple SCEV method implementations
@@
-1248,7
+1248,7
@@
struct ExtendOpTraits<SCEVZeroExtendExpr> : public ExtendOpTraitsBase {
const ExtendOpTraitsBase::GetExtendExprTy ExtendOpTraits<
SCEVZeroExtendExpr>::GetExtendExpr = &ScalarEvolution::getZeroExtendExpr;
const ExtendOpTraitsBase::GetExtendExprTy ExtendOpTraits<
SCEVZeroExtendExpr>::GetExtendExpr = &ScalarEvolution::getZeroExtendExpr;
-}
+}
// namespace
// The recurrence AR has been shown to have no signed/unsigned wrap or something
// close to it. Typically, if we can prove NSW/NUW for AR, then we can just as
// The recurrence AR has been shown to have no signed/unsigned wrap or something
// close to it. Typically, if we can prove NSW/NUW for AR, then we can just as
@@
-3300,7
+3300,7
@@
namespace {
}
bool isDone() const { return FindOne; }
};
}
bool isDone() const { return FindOne; }
};
-}
+}
// namespace
bool ScalarEvolution::checkValidity(const SCEV *S) const {
FindInvalidSCEVUnknown F;
bool ScalarEvolution::checkValidity(const SCEV *S) const {
FindInvalidSCEVUnknown F;
@@
-7594,7
+7594,7
@@
struct FindUndefs {
return Found;
}
};
return Found;
}
};
-}
+}
// namespace
// Return true when S contains at least an undef value.
static inline bool
// Return true when S contains at least an undef value.
static inline bool
@@
-7644,7
+7644,7
@@
struct SCEVCollectTerms {
}
bool isDone() const { return false; }
};
}
bool isDone() const { return false; }
};
-}
+}
// namespace
/// Find parametric terms in this SCEVAddRecExpr.
void SCEVAddRecExpr::collectParametricTerms(
/// Find parametric terms in this SCEVAddRecExpr.
void SCEVAddRecExpr::collectParametricTerms(
@@
-7737,7
+7737,7
@@
struct FindParameter {
return FoundParameter;
}
};
return FoundParameter;
}
};
-}
+}
// namespace
// Returns true when S contains at least a SCEVUnknown parameter.
static inline bool
// Returns true when S contains at least a SCEVUnknown parameter.
static inline bool
@@
-8418,7
+8418,7
@@
struct SCEVSearch {
}
bool isDone() const { return IsFound; }
};
}
bool isDone() const { return IsFound; }
};
-}
+}
// namespace
bool ScalarEvolution::hasOperand(const SCEV *S, const SCEV *Op) const {
SCEVSearch Search(Op);
bool ScalarEvolution::hasOperand(const SCEV *S, const SCEV *Op) const {
SCEVSearch Search(Op);
diff --git
a/lib/Analysis/ScalarEvolutionExpander.cpp
b/lib/Analysis/ScalarEvolutionExpander.cpp
index 8274374621c0754bca6443673fd80b72ba50d360..0264ad143f4966f7abfea1334abcabe19b93447d 100644
(file)
--- a/
lib/Analysis/ScalarEvolutionExpander.cpp
+++ b/
lib/Analysis/ScalarEvolutionExpander.cpp
@@
-661,7
+661,7
@@
public:
}
};
}
};
-}
+}
// namespace
Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) {
Type *Ty = SE.getEffectiveSCEVType(S->getType());
Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) {
Type *Ty = SE.getEffectiveSCEVType(S->getType());
@@
-1933,7
+1933,7
@@
struct SCEVFindUnsafe {
}
bool isDone() const { return IsUnsafe; }
};
}
bool isDone() const { return IsUnsafe; }
};
-}
+}
// namespace
namespace llvm {
bool isSafeToExpand(const SCEV *S, ScalarEvolution &SE) {
namespace llvm {
bool isSafeToExpand(const SCEV *S, ScalarEvolution &SE) {
diff --git
a/lib/Analysis/StratifiedSets.h
b/lib/Analysis/StratifiedSets.h
index fd3fbc0d86ad631fc2a413c35bc7dfec8a965dc0..878ca3d4c70b6a8895c23c1a8ce485c655b88ae8 100644
(file)
--- a/
lib/Analysis/StratifiedSets.h
+++ b/
lib/Analysis/StratifiedSets.h
@@
-688,5
+688,5
@@
private:
bool inbounds(StratifiedIndex N) const { return N < Links.size(); }
};
bool inbounds(StratifiedIndex N) const { return N < Links.size(); }
};
-}
+}
// namespace llvm
#endif // LLVM_ADT_STRATIFIEDSETS_H
#endif // LLVM_ADT_STRATIFIEDSETS_H
diff --git
a/lib/Analysis/TypeBasedAliasAnalysis.cpp
b/lib/Analysis/TypeBasedAliasAnalysis.cpp
index aadee9e3fcc093ba11ddd669d063d7a03621c072..82d29e0dc3fbf8629ac95a5fee1dce5e148b9a29 100644
(file)
--- a/
lib/Analysis/TypeBasedAliasAnalysis.cpp
+++ b/
lib/Analysis/TypeBasedAliasAnalysis.cpp
@@
-270,7
+270,7
@@
namespace {
return TBAAStructTypeNode(P);
}
};
return TBAAStructTypeNode(P);
}
};
-}
+}
// namespace
namespace {
/// TypeBasedAliasAnalysis - This is a simple alias analysis
namespace {
/// TypeBasedAliasAnalysis - This is a simple alias analysis
diff --git
a/lib/AsmParser/LLParser.h
b/lib/AsmParser/LLParser.h
index a43a4b06a946723f37addf47a8128c37085cabb3..9f554c023f084101548adba8ffa91bfed9c02bd0 100644
(file)
--- a/
lib/AsmParser/LLParser.h
+++ b/
lib/AsmParser/LLParser.h
@@
-469,6
+469,6
@@
namespace llvm {
bool ParseUseListOrderIndexes(SmallVectorImpl<unsigned> &Indexes);
bool sortUseListOrder(Value *V, ArrayRef<unsigned> Indexes, SMLoc Loc);
};
bool ParseUseListOrderIndexes(SmallVectorImpl<unsigned> &Indexes);
bool sortUseListOrder(Value *V, ArrayRef<unsigned> Indexes, SMLoc Loc);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Bitcode/Reader/BitcodeReader.cpp
b/lib/Bitcode/Reader/BitcodeReader.cpp
index ccb9d5dd0381bc015ab6a19375963ac2d8332390..0cadd6c5555b2fba410a224470e233b2dc160f88 100644
(file)
--- a/
lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/
lib/Bitcode/Reader/BitcodeReader.cpp
@@
-731,7
+731,7
@@
public:
/// Provide fast operand accessors
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
};
/// Provide fast operand accessors
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
};
-}
+}
// namespace
// FIXME: can we inherit this from ConstantExpr?
template <>
// FIXME: can we inherit this from ConstantExpr?
template <>
@@
-739,7
+739,7
@@
struct OperandTraits<ConstantPlaceHolder> :
public FixedNumOperandTraits<ConstantPlaceHolder, 1> {
};
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantPlaceHolder, Value)
public FixedNumOperandTraits<ConstantPlaceHolder, 1> {
};
DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ConstantPlaceHolder, Value)
-}
+}
// namespace llvm
void BitcodeReaderValueList::assignValue(Value *V, unsigned Idx) {
if (Idx == size()) {
void BitcodeReaderValueList::assignValue(Value *V, unsigned Idx) {
if (Idx == size()) {
@@
-4618,7
+4618,7
@@
class BitcodeErrorCategoryType : public std::error_category {
llvm_unreachable("Unknown error type!");
}
};
llvm_unreachable("Unknown error type!");
}
};
-}
+}
// namespace
static ManagedStatic<BitcodeErrorCategoryType> ErrorCategory;
static ManagedStatic<BitcodeErrorCategoryType> ErrorCategory;
diff --git
a/lib/Bitcode/Writer/BitcodeWriterPass.cpp
b/lib/Bitcode/Writer/BitcodeWriterPass.cpp
index 3165743576ec58a50412061ac271a7c555052258..c890380e07df5a4383afa722103b55a6ed4fe8e2 100644
(file)
--- a/
lib/Bitcode/Writer/BitcodeWriterPass.cpp
+++ b/
lib/Bitcode/Writer/BitcodeWriterPass.cpp
@@
-41,7
+41,7
@@
namespace {
return false;
}
};
return false;
}
};
-}
+}
// namespace
char WriteBitcodePass::ID = 0;
char WriteBitcodePass::ID = 0;
diff --git
a/lib/Bitcode/Writer/ValueEnumerator.cpp
b/lib/Bitcode/Writer/ValueEnumerator.cpp
index fbbe93f68771b65901b897be9739a5999ad583ba..53c3a4094ea60c2098e87fb7e69c1e94cdcb9308 100644
(file)
--- a/
lib/Bitcode/Writer/ValueEnumerator.cpp
+++ b/
lib/Bitcode/Writer/ValueEnumerator.cpp
@@
-52,7
+52,7
@@
struct OrderMap {
IDs[V].first = ID;
}
};
IDs[V].first = ID;
}
};
-}
+}
// namespace
static void orderValue(const Value *V, OrderMap &OM) {
if (OM.lookup(V).first)
static void orderValue(const Value *V, OrderMap &OM) {
if (OM.lookup(V).first)
diff --git
a/lib/Bitcode/Writer/ValueEnumerator.h
b/lib/Bitcode/Writer/ValueEnumerator.h
index 92d166e3ba92cc5e91699ee1a74a193b681c6e5d..b2daa48f135708bedc8defb460c5253a848ac555 100644
(file)
--- a/
lib/Bitcode/Writer/ValueEnumerator.h
+++ b/
lib/Bitcode/Writer/ValueEnumerator.h
@@
-203,6
+203,6
@@
private:
void EnumerateNamedMetadata(const Module &M);
};
void EnumerateNamedMetadata(const Module &M);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AggressiveAntiDepBreaker.h
b/lib/CodeGen/AggressiveAntiDepBreaker.h
index 18c8bb591c1c823d167f32dd17fa654f468d4cad..63d2085148b6e3fe5b16e16aae7b0a53a46e9207 100644
(file)
--- a/
lib/CodeGen/AggressiveAntiDepBreaker.h
+++ b/
lib/CodeGen/AggressiveAntiDepBreaker.h
@@
-174,6
+174,6
@@
class RegisterClassInfo;
RenameOrderType& RenameOrder,
std::map<unsigned, unsigned> &RenameMap);
};
RenameOrderType& RenameOrder,
std::map<unsigned, unsigned> &RenameMap);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AntiDepBreaker.h
b/lib/CodeGen/AntiDepBreaker.h
index a61a8efa4da01bdc871254912a3dd62110e00ab5..7985241c6635a7537d700b238167c0158647cd63 100644
(file)
--- a/
lib/CodeGen/AntiDepBreaker.h
+++ b/
lib/CodeGen/AntiDepBreaker.h
@@
-62,6
+62,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/AddressPool.h
b/lib/CodeGen/AsmPrinter/AddressPool.h
index 211fc98c7f6f18bd977c36c0d43c56a0c019be29..e0ce3f90bc3425c3f4e12161662195d84ce08f10 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/AddressPool.h
+++ b/
lib/CodeGen/AsmPrinter/AddressPool.h
@@
-48,5
+48,5
@@
public:
void resetUsedFlag() { HasBeenUsed = false; }
};
void resetUsedFlag() { HasBeenUsed = false; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/ByteStreamer.h
b/lib/CodeGen/AsmPrinter/ByteStreamer.h
index 0cc829fffc544d0afead6770a73de36ad64ec0fc..7a712a076dd9a1ee4a49a441bd14281e0f7a8cc0 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/ByteStreamer.h
+++ b/
lib/CodeGen/AsmPrinter/ByteStreamer.h
@@
-103,6
+103,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DIEHash.h
b/lib/CodeGen/AsmPrinter/DIEHash.h
index 1850e042f924b7ae29fe9c66903572dfd4d9ac19..789e6dd91e01201b32e39fecbb0df1bd73068386 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DIEHash.h
+++ b/
lib/CodeGen/AsmPrinter/DIEHash.h
@@
-157,6
+157,6
@@
private:
AsmPrinter *AP;
DenseMap<const DIE *, unsigned> Numbering;
};
AsmPrinter *AP;
DenseMap<const DIE *, unsigned> Numbering;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h
b/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h
index 546d1b44378139228b6686ae3fa89c1bacd9485a..5d4005018013cc3206d892c8d9bdeec1892515c0 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h
+++ b/
lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h
@@
-55,6
+55,6
@@
public:
void calculateDbgValueHistory(const MachineFunction *MF,
const TargetRegisterInfo *TRI,
DbgValueHistoryMap &Result);
void calculateDbgValueHistory(const MachineFunction *MF,
const TargetRegisterInfo *TRI,
DbgValueHistoryMap &Result);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DebugLocEntry.h
b/lib/CodeGen/AsmPrinter/DebugLocEntry.h
index 6a943c64ea22f7be27622d77d7ba825d5f5e724b..083228b8fd410945f05a1bbe00d9f95f248fb12f 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DebugLocEntry.h
+++ b/
lib/CodeGen/AsmPrinter/DebugLocEntry.h
@@
-175,6
+175,6
@@
inline bool operator<(const DebugLocEntry::Value &A,
B.getExpression()->getBitPieceOffset();
}
B.getExpression()->getBitPieceOffset();
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DebugLocStream.h
b/lib/CodeGen/AsmPrinter/DebugLocStream.h
index 3001da21b907e166abbc4c93a804cf4222e95635..1ae385db4a55a391acfdd05e3e8dddfd99648356 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DebugLocStream.h
+++ b/
lib/CodeGen/AsmPrinter/DebugLocStream.h
@@
-129,5
+129,5
@@
private:
return Entries[EI + 1].CommentOffset - Entries[EI].CommentOffset;
}
};
return Entries[EI + 1].CommentOffset - Entries[EI].CommentOffset;
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
b/lib/CodeGen/AsmPrinter/DwarfAccelTable.h
index 4d81441f6a725de28584284149a971b893789eaa..cc677c26007138f6685be488b5436286807ee005 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfAccelTable.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfAccelTable.h
@@
-252,5
+252,5
@@
public:
void dump() { print(dbgs()); }
#endif
};
void dump() { print(dbgs()); }
#endif
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index 689184a651ed13533be6aaebe707c1cdefd64663..45c56fbb44630a1bb372281010a06c4e6b9404ff 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@
-817,4
+817,4
@@
bool DwarfCompileUnit::includeMinimalInlineScopes() const {
return getCUNode()->getEmissionKind() == DIBuilder::LineTablesOnly ||
(DD->useSplitDwarf() && !Skeleton);
}
return getCUNode()->getEmissionKind() == DIBuilder::LineTablesOnly ||
(DD->useSplitDwarf() && !Skeleton);
}
-} //
end llvm namespace
+} //
namespace llvm
diff --git
a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
index 50e4a54eb3e0b5d8d41192ecc2dc57eda7831cd4..48c302bf9c18af835bb68046dfbf8f4bff5cfc03 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
@@
-231,6
+231,6
@@
public:
const MCSymbol *getBaseAddress() const { return BaseAddress; }
};
const MCSymbol *getBaseAddress() const { return BaseAddress; }
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DwarfExpression.h
b/lib/CodeGen/AsmPrinter/DwarfExpression.h
index 78ec937a6b602d35bec8fcac5a05e63afeb6f45a..154d7d9b964597164b34d6c6944f35bb7994d761 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfExpression.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfExpression.h
@@
-131,6
+131,6
@@
public:
void EmitUnsigned(uint64_t Value) override;
bool isFrameRegister(unsigned MachineReg) override;
};
void EmitUnsigned(uint64_t Value) override;
bool isFrameRegister(unsigned MachineReg) override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DwarfFile.cpp
b/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index 5ef333c4cf4432c54cc6180840d47f042b3c091e..fdefb1df84b684879b8603f9400cabd2f2341354 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@
-170,4
+170,4
@@
bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
Vars.push_back(Var);
return true;
}
Vars.push_back(Var);
return true;
}
-}
+}
// namespace llvm
diff --git
a/lib/CodeGen/AsmPrinter/DwarfFile.h
b/lib/CodeGen/AsmPrinter/DwarfFile.h
index 8402027edd6ff34924cf50350120a3edce9c2764..22759fdecccf072d730ceccd573f8527dee14fcc 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfFile.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfFile.h
@@
-114,5
+114,5
@@
public:
return DITypeNodeToDieMap.lookup(TypeMD);
}
};
return DITypeNodeToDieMap.lookup(TypeMD);
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DwarfStringPool.h
b/lib/CodeGen/AsmPrinter/DwarfStringPool.h
index 93a168485a54a92336f8a78598378054cee36721..c10725815351275c0898b9279facd5ce26472b8b 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfStringPool.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfStringPool.h
@@
-45,5
+45,5
@@
public:
/// Get a reference to an entry in the string pool.
EntryRef getEntry(AsmPrinter &Asm, StringRef Str);
};
/// Get a reference to an entry in the string pool.
EntryRef getEntry(AsmPrinter &Asm, StringRef Str);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/DwarfUnit.h
b/lib/CodeGen/AsmPrinter/DwarfUnit.h
index f56c9b4eb13e7239da058338a9b07f591e0f03f8..200ddf0f3cbe49938f9464e7993db54038ce6873 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfUnit.h
+++ b/
lib/CodeGen/AsmPrinter/DwarfUnit.h
@@
-402,5
+402,5
@@
public:
}
DwarfCompileUnit &getCU() override { return CU; }
};
}
DwarfCompileUnit &getCU() override { return CU; }
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/EHStreamer.h
b/lib/CodeGen/AsmPrinter/EHStreamer.h
index 65973fab6b2185e06aeb10f1c463a2f1fc9dd61c..128a8ad39255e44aaffc4815b01cee71f64979a8 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/EHStreamer.h
+++ b/
lib/CodeGen/AsmPrinter/EHStreamer.h
@@
-132,7
+132,7
@@
public:
void beginInstruction(const MachineInstr *MI) override {}
void endInstruction() override {}
};
void beginInstruction(const MachineInstr *MI) override {}
void endInstruction() override {}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
b/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
index 535b1f605853b8d85fc4816777e79fe17d58f67b..11bfe767a27b25f16a8b564322602604545b39f2 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
+++ b/
lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
@@
-378,4
+378,4
@@
void WinCodeViewLineTables::beginInstruction(const MachineInstr *MI) {
return;
maybeRecordLocation(DL, Asm->MF);
}
return;
maybeRecordLocation(DL, Asm->MF);
}
-}
+}
// namespace llvm
diff --git
a/lib/CodeGen/AsmPrinter/WinException.h
b/lib/CodeGen/AsmPrinter/WinException.h
index 4e276bc95f2b668631cf8fa59fc4a365431c4be5..bbff3c24cffc087699023010838e624e349f9050 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/WinException.h
+++ b/
lib/CodeGen/AsmPrinter/WinException.h
@@
-70,7
+70,7
@@
public:
/// Gather and emit post-function exception information.
void endFunction(const MachineFunction *) override;
};
/// Gather and emit post-function exception information.
void endFunction(const MachineFunction *) override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/AtomicExpandPass.cpp
b/lib/CodeGen/AtomicExpandPass.cpp
index 530ab46db03b8b55f8f4efc989f1172f4b2d7e65..0bb0fa34e314d746dfcf2d5dd0e27b68e4e08f48 100644
(file)
--- a/
lib/CodeGen/AtomicExpandPass.cpp
+++ b/
lib/CodeGen/AtomicExpandPass.cpp
@@
-55,7
+55,7
@@
namespace {
bool isIdempotentRMW(AtomicRMWInst *AI);
bool simplifyIdempotentRMW(AtomicRMWInst *AI);
};
bool isIdempotentRMW(AtomicRMWInst *AI);
bool simplifyIdempotentRMW(AtomicRMWInst *AI);
};
-}
+}
// namespace
char AtomicExpand::ID = 0;
char &llvm::AtomicExpandID = AtomicExpand::ID;
char AtomicExpand::ID = 0;
char &llvm::AtomicExpandID = AtomicExpand::ID;
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index a884833d4715930589a0be655ba81d9b04cfb8f9..42bf9343c99ca667789a41f56d2fa30809fb9f37 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-79,7
+79,7
@@
namespace {
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char BranchFolderPass::ID = 0;
char &llvm::BranchFolderPassID = BranchFolderPass::ID;
char BranchFolderPass::ID = 0;
char &llvm::BranchFolderPassID = BranchFolderPass::ID;
diff --git
a/lib/CodeGen/BranchFolding.h
b/lib/CodeGen/BranchFolding.h
index 3653a2ccd62375462bf2d1e911ae74c8c16ef9b4..d1b17dd31aaba1e40ade3e0618e8f5959a63fe9f 100644
(file)
--- a/
lib/CodeGen/BranchFolding.h
+++ b/
lib/CodeGen/BranchFolding.h
@@
-142,6
+142,6
@@
namespace llvm {
bool HoistCommonCode(MachineFunction &MF);
bool HoistCommonCodeInSuccs(MachineBasicBlock *MBB);
};
bool HoistCommonCode(MachineFunction &MF);
bool HoistCommonCodeInSuccs(MachineBasicBlock *MBB);
};
-}
+}
// namespace llvm
#endif /* LLVM_CODEGEN_BRANCHFOLDING_HPP */
#endif /* LLVM_CODEGEN_BRANCHFOLDING_HPP */
diff --git
a/lib/CodeGen/CodeGenPrepare.cpp
b/lib/CodeGen/CodeGenPrepare.cpp
index 70de4e7ebd11ad560e9413175f13c57aac92148f..247c45bd43664d69378b9d864df3dfd0f87e408e 100644
(file)
--- a/
lib/CodeGen/CodeGenPrepare.cpp
+++ b/
lib/CodeGen/CodeGenPrepare.cpp
@@
-189,7
+189,7
@@
class TypePromotionTransaction;
bool splitBranchCondition(Function &F);
bool simplifyOffsetableRelocate(Instruction &I);
};
bool splitBranchCondition(Function &F);
bool simplifyOffsetableRelocate(Instruction &I);
};
-}
+}
// namespace
char CodeGenPrepare::ID = 0;
INITIALIZE_TM_PASS(CodeGenPrepare, "codegenprepare",
char CodeGenPrepare::ID = 0;
INITIALIZE_TM_PASS(CodeGenPrepare, "codegenprepare",
diff --git
a/lib/CodeGen/CoreCLRGC.cpp
b/lib/CodeGen/CoreCLRGC.cpp
index 28c97ba71bd98f2d62f4d1b900b7989e2316ed20..0816d1488c284d150d0da5a12473d308a90e877d 100644
(file)
--- a/
lib/CodeGen/CoreCLRGC.cpp
+++ b/
lib/CodeGen/CoreCLRGC.cpp
@@
-45,7
+45,7
@@
public:
return (1 == PT->getAddressSpace());
}
};
return (1 == PT->getAddressSpace());
}
};
-}
+}
// namespace
static GCRegistry::Add<CoreCLRGC> X("coreclr", "CoreCLR-compatible GC");
static GCRegistry::Add<CoreCLRGC> X("coreclr", "CoreCLR-compatible GC");
diff --git
a/lib/CodeGen/CriticalAntiDepBreaker.h
b/lib/CodeGen/CriticalAntiDepBreaker.h
index af011a0a65f682cade9efc039df3dfd82ff94477..1ca530087c44f11cd237d6d0f5a636016215336b 100644
(file)
--- a/
lib/CodeGen/CriticalAntiDepBreaker.h
+++ b/
lib/CodeGen/CriticalAntiDepBreaker.h
@@
-103,6
+103,6
@@
class TargetRegisterInfo;
const TargetRegisterClass *RC,
SmallVectorImpl<unsigned> &Forbid);
};
const TargetRegisterClass *RC,
SmallVectorImpl<unsigned> &Forbid);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/DFAPacketizer.cpp
b/lib/CodeGen/DFAPacketizer.cpp
index 0a188c0935adba07a0b6eca2b737e0ed468c82a9..02cdb5086de2887932b0287abb6b0f91dc517ae3 100644
(file)
--- a/
lib/CodeGen/DFAPacketizer.cpp
+++ b/
lib/CodeGen/DFAPacketizer.cpp
@@
-110,7
+110,7
@@
public:
// Schedule - Actual scheduling work.
void schedule() override;
};
// Schedule - Actual scheduling work.
void schedule() override;
};
-}
+}
// namespace llvm
DefaultVLIWScheduler::DefaultVLIWScheduler(MachineFunction &MF,
MachineLoopInfo &MLI, bool IsPostRA)
DefaultVLIWScheduler::DefaultVLIWScheduler(MachineFunction &MF,
MachineLoopInfo &MLI, bool IsPostRA)
diff --git
a/lib/CodeGen/DeadMachineInstructionElim.cpp
b/lib/CodeGen/DeadMachineInstructionElim.cpp
index 963d573ea7f055e78cfb44b39cdcd0adf2e8d320..efaf47c40c8207d7d68e73c95ad7a6a3ecf5ca5e 100644
(file)
--- a/
lib/CodeGen/DeadMachineInstructionElim.cpp
+++ b/
lib/CodeGen/DeadMachineInstructionElim.cpp
@@
-45,7
+45,7
@@
namespace {
private:
bool isDead(const MachineInstr *MI) const;
};
private:
bool isDead(const MachineInstr *MI) const;
};
-}
+}
// namespace
char DeadMachineInstructionElim::ID = 0;
char &llvm::DeadMachineInstructionElimID = DeadMachineInstructionElim::ID;
char DeadMachineInstructionElim::ID = 0;
char &llvm::DeadMachineInstructionElimID = DeadMachineInstructionElim::ID;
diff --git
a/lib/CodeGen/EdgeBundles.cpp
b/lib/CodeGen/EdgeBundles.cpp
index aea7c31ba316f1d491be3e3a6f073f5794495e07..f43b2f1264d2203139eec8f3e9012dfa1cf42f59 100644
(file)
--- a/
lib/CodeGen/EdgeBundles.cpp
+++ b/
lib/CodeGen/EdgeBundles.cpp
@@
-89,7
+89,7
@@
raw_ostream &WriteGraph<>(raw_ostream &O, const EdgeBundles &G,
O << "}\n";
return O;
}
O << "}\n";
return O;
}
-}
+}
// namespace llvm
/// view - Visualize the annotated bipartite CFG with Graphviz.
void EdgeBundles::view() const {
/// view - Visualize the annotated bipartite CFG with Graphviz.
void EdgeBundles::view() const {
diff --git
a/lib/CodeGen/ExecutionDepsFix.cpp
b/lib/CodeGen/ExecutionDepsFix.cpp
index 5b09cf1a0fd7176dd2f71033826d0a393abd4f7b..dd508b3e5e328a7cbdad6e759c3345db8218f78b 100644
(file)
--- a/
lib/CodeGen/ExecutionDepsFix.cpp
+++ b/
lib/CodeGen/ExecutionDepsFix.cpp
@@
-110,7
+110,7
@@
struct DomainValue {
Instrs.clear();
}
};
Instrs.clear();
}
};
-}
+}
// namespace
namespace {
/// Information about a live register.
namespace {
/// Information about a live register.
@@
-201,7
+201,7
@@
private:
bool shouldBreakDependence(MachineInstr*, unsigned OpIdx, unsigned Pref);
void processUndefReads(MachineBasicBlock*);
};
bool shouldBreakDependence(MachineInstr*, unsigned OpIdx, unsigned Pref);
void processUndefReads(MachineBasicBlock*);
};
-}
+}
// namespace
char ExeDepsFix::ID = 0;
char ExeDepsFix::ID = 0;
diff --git
a/lib/CodeGen/GCMetadata.cpp
b/lib/CodeGen/GCMetadata.cpp
index c8116a453d2dc6567309e6dafece6d0d3a7aab87..cba7f5fda5c3b491509dc8f97415477caa84383b 100644
(file)
--- a/
lib/CodeGen/GCMetadata.cpp
+++ b/
lib/CodeGen/GCMetadata.cpp
@@
-38,7
+38,7
@@
public:
bool runOnFunction(Function &F) override;
bool doFinalization(Module &M) override;
};
bool runOnFunction(Function &F) override;
bool doFinalization(Module &M) override;
};
-}
+}
// namespace
INITIALIZE_PASS(GCModuleInfo, "collector-metadata",
"Create Garbage Collector Module Metadata", false, false)
INITIALIZE_PASS(GCModuleInfo, "collector-metadata",
"Create Garbage Collector Module Metadata", false, false)
diff --git
a/lib/CodeGen/GCRootLowering.cpp
b/lib/CodeGen/GCRootLowering.cpp
index d8edd7e4063fc9758f33374dbe00e89f7797c357..fcef3226ed796f84232027aa8d13befb72ec25e5 100644
(file)
--- a/
lib/CodeGen/GCRootLowering.cpp
+++ b/
lib/CodeGen/GCRootLowering.cpp
@@
-76,7
+76,7
@@
public:
bool runOnMachineFunction(MachineFunction &MF) override;
};
bool runOnMachineFunction(MachineFunction &MF) override;
};
-}
+}
// namespace
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
diff --git
a/lib/CodeGen/IfConversion.cpp
b/lib/CodeGen/IfConversion.cpp
index e861ceb2a664b817d3311c20a2fda118b049ffd2..963dfe74742e11095f4680b28d2da0d089947230 100644
(file)
--- a/
lib/CodeGen/IfConversion.cpp
+++ b/
lib/CodeGen/IfConversion.cpp
@@
-264,7
+264,7
@@
namespace {
};
char IfConverter::ID = 0;
};
char IfConverter::ID = 0;
-}
+}
// namespace
char &llvm::IfConverterID = IfConverter::ID;
char &llvm::IfConverterID = IfConverter::ID;
diff --git
a/lib/CodeGen/ImplicitNullChecks.cpp
b/lib/CodeGen/ImplicitNullChecks.cpp
index d7644a6676c6a1cd4af37fb2be3322fa584f69d2..b1176ce184cb59bb2e6f03227ee94ac2262e8e69 100644
(file)
--- a/
lib/CodeGen/ImplicitNullChecks.cpp
+++ b/
lib/CodeGen/ImplicitNullChecks.cpp
@@
-99,7
+99,7
@@
public:
bool runOnMachineFunction(MachineFunction &MF) override;
};
bool runOnMachineFunction(MachineFunction &MF) override;
};
-}
+}
// namespace
bool ImplicitNullChecks::runOnMachineFunction(MachineFunction &MF) {
TII = MF.getSubtarget().getInstrInfo();
bool ImplicitNullChecks::runOnMachineFunction(MachineFunction &MF) {
TII = MF.getSubtarget().getInstrInfo();
diff --git
a/lib/CodeGen/InlineSpiller.cpp
b/lib/CodeGen/InlineSpiller.cpp
index 9989f233d09c10ba48cfb9dd6755ac7f1ec64b5a..48c95c9b691f1e173828c01068662caabdcb00cf 100644
(file)
--- a/
lib/CodeGen/InlineSpiller.cpp
+++ b/
lib/CodeGen/InlineSpiller.cpp
@@
-181,7
+181,7
@@
private:
void spillAroundUses(unsigned Reg);
void spillAll();
};
void spillAroundUses(unsigned Reg);
void spillAll();
};
-}
+}
// namespace
namespace llvm {
namespace llvm {
@@
-194,7
+194,7
@@
Spiller *createInlineSpiller(MachineFunctionPass &pass,
return new InlineSpiller(pass, mf, vrm);
}
return new InlineSpiller(pass, mf, vrm);
}
-}
+}
// namespace llvm
//===----------------------------------------------------------------------===//
// Snippets
//===----------------------------------------------------------------------===//
// Snippets
diff --git
a/lib/CodeGen/MachineBlockPlacement.cpp
b/lib/CodeGen/MachineBlockPlacement.cpp
index 2969bad4ff98b1decb94da8c5c8af02613693393..141990bbe87df09271f99e3922d8619566943861 100644
(file)
--- a/
lib/CodeGen/MachineBlockPlacement.cpp
+++ b/
lib/CodeGen/MachineBlockPlacement.cpp
@@
-179,7
+179,7
@@
public:
/// in-loop predecessors of this chain.
unsigned LoopPredecessors;
};
/// in-loop predecessors of this chain.
unsigned LoopPredecessors;
};
-}
+}
// namespace
namespace {
class MachineBlockPlacement : public MachineFunctionPass {
namespace {
class MachineBlockPlacement : public MachineFunctionPass {
@@
-267,7
+267,7
@@
public:
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char MachineBlockPlacement::ID = 0;
char &llvm::MachineBlockPlacementID = MachineBlockPlacement::ID;
char MachineBlockPlacement::ID = 0;
char &llvm::MachineBlockPlacementID = MachineBlockPlacement::ID;
@@
-1185,7
+1185,7
@@
public:
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char MachineBlockPlacementStats::ID = 0;
char &llvm::MachineBlockPlacementStatsID = MachineBlockPlacementStats::ID;
char MachineBlockPlacementStats::ID = 0;
char &llvm::MachineBlockPlacementStatsID = MachineBlockPlacementStats::ID;
diff --git
a/lib/CodeGen/MachineCombiner.cpp
b/lib/CodeGen/MachineCombiner.cpp
index 39adce380719a0a9d78161e9126d686006611884..cc9b1be8c0d368acc761c16ac5db61ea9435dbd2 100644
(file)
--- a/
lib/CodeGen/MachineCombiner.cpp
+++ b/
lib/CodeGen/MachineCombiner.cpp
@@
-78,7
+78,7
@@
private:
void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
SmallVectorImpl<const MCSchedClassDesc *> &InstrsSC);
};
void instr2instrSC(SmallVectorImpl<MachineInstr *> &Instrs,
SmallVectorImpl<const MCSchedClassDesc *> &InstrsSC);
};
-}
+}
// namespace
char MachineCombiner::ID = 0;
char &llvm::MachineCombinerID = MachineCombiner::ID;
char MachineCombiner::ID = 0;
char &llvm::MachineCombinerID = MachineCombiner::ID;
diff --git
a/lib/CodeGen/MachineCopyPropagation.cpp
b/lib/CodeGen/MachineCopyPropagation.cpp
index a6863412132bdb800b907c43406764f205051f80..ec171b0cae0c5539b60651b355b58a4a0b385a31 100644
(file)
--- a/
lib/CodeGen/MachineCopyPropagation.cpp
+++ b/
lib/CodeGen/MachineCopyPropagation.cpp
@@
-55,7
+55,7
@@
namespace {
DenseMap<unsigned, MachineInstr*> &AvailCopyMap);
bool CopyPropagateBlock(MachineBasicBlock &MBB);
};
DenseMap<unsigned, MachineInstr*> &AvailCopyMap);
bool CopyPropagateBlock(MachineBasicBlock &MBB);
};
-}
+}
// namespace
char MachineCopyPropagation::ID = 0;
char &llvm::MachineCopyPropagationID = MachineCopyPropagation::ID;
char MachineCopyPropagation::ID = 0;
char &llvm::MachineCopyPropagationID = MachineCopyPropagation::ID;
diff --git
a/lib/CodeGen/MachineFunction.cpp
b/lib/CodeGen/MachineFunction.cpp
index 960e06af2e3f0a4714c0cc6e1a0941af271b9acc..67b9d77697e95f9f7e1697360d3a7b2da885ffcf 100644
(file)
--- a/
lib/CodeGen/MachineFunction.cpp
+++ b/
lib/CodeGen/MachineFunction.cpp
@@
-404,7
+404,7
@@
namespace llvm {
return OutStr;
}
};
return OutStr;
}
};
-}
+}
// namespace llvm
void MachineFunction::viewCFG() const
{
void MachineFunction::viewCFG() const
{
diff --git
a/lib/CodeGen/MachineFunctionPrinterPass.cpp
b/lib/CodeGen/MachineFunctionPrinterPass.cpp
index 790f5accdb26fa289ab6e441099c2ebff0fb6475..57b7230e6cd5ff3c2d8a20c4b315efde02b27bc5 100644
(file)
--- a/
lib/CodeGen/MachineFunctionPrinterPass.cpp
+++ b/
lib/CodeGen/MachineFunctionPrinterPass.cpp
@@
-49,7
+49,7
@@
struct MachineFunctionPrinterPass : public MachineFunctionPass {
};
char MachineFunctionPrinterPass::ID = 0;
};
char MachineFunctionPrinterPass::ID = 0;
-}
+}
// namespace
char &llvm::MachineFunctionPrinterPassID = MachineFunctionPrinterPass::ID;
INITIALIZE_PASS(MachineFunctionPrinterPass, "machineinstr-printer",
char &llvm::MachineFunctionPrinterPassID = MachineFunctionPrinterPass::ID;
INITIALIZE_PASS(MachineFunctionPrinterPass, "machineinstr-printer",
diff --git
a/lib/CodeGen/MachineModuleInfo.cpp
b/lib/CodeGen/MachineModuleInfo.cpp
index 5c544f163fccc8ac2a6a24201a583c732d265e73..a303426b420c28173ed683ff4affea6497faeca5 100644
(file)
--- a/
lib/CodeGen/MachineModuleInfo.cpp
+++ b/
lib/CodeGen/MachineModuleInfo.cpp
@@
-97,7
+97,7
@@
public:
void UpdateForDeletedBlock(BasicBlock *BB);
void UpdateForRAUWBlock(BasicBlock *Old, BasicBlock *New);
};
void UpdateForDeletedBlock(BasicBlock *BB);
void UpdateForRAUWBlock(BasicBlock *Old, BasicBlock *New);
};
-}
+}
// namespace llvm
MCSymbol *MMIAddrLabelMap::getAddrLabelSymbol(BasicBlock *BB) {
assert(BB->hasAddressTaken() &&
MCSymbol *MMIAddrLabelMap::getAddrLabelSymbol(BasicBlock *BB) {
assert(BB->hasAddressTaken() &&
diff --git
a/lib/CodeGen/MachineSSAUpdater.cpp
b/lib/CodeGen/MachineSSAUpdater.cpp
index 71a6ebaba243117aec7b2c54190ba144083f0f30..fd1bf31aa3e56f6a1e9621c2c01577b852bc6224 100644
(file)
--- a/
lib/CodeGen/MachineSSAUpdater.cpp
+++ b/
lib/CodeGen/MachineSSAUpdater.cpp
@@
-340,7
+340,7
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
/// GetValueAtEndOfBlockInternal - Check to see if AvailableVals has an entry
/// for the specified BB and if so, return it. If not, construct SSA form by
/// GetValueAtEndOfBlockInternal - Check to see if AvailableVals has an entry
/// for the specified BB and if so, return it. If not, construct SSA form by
diff --git
a/lib/CodeGen/MachineScheduler.cpp
b/lib/CodeGen/MachineScheduler.cpp
index a48e54caf3fe5930a37e721e8ce2468511d6e520..dd7654b1e55635c6bc0b4370ec67603ae577554c 100644
(file)
--- a/
lib/CodeGen/MachineScheduler.cpp
+++ b/
lib/CodeGen/MachineScheduler.cpp
@@
-1262,7
+1262,7
@@
public:
protected:
void clusterNeighboringLoads(ArrayRef<SUnit*> Loads, ScheduleDAGMI *DAG);
};
protected:
void clusterNeighboringLoads(ArrayRef<SUnit*> Loads, ScheduleDAGMI *DAG);
};
-} //
anonymous
+} //
namespace
void LoadClusterMutation::clusterNeighboringLoads(ArrayRef<SUnit*> Loads,
ScheduleDAGMI *DAG) {
void LoadClusterMutation::clusterNeighboringLoads(ArrayRef<SUnit*> Loads,
ScheduleDAGMI *DAG) {
@@
-1355,7
+1355,7
@@
public:
void apply(ScheduleDAGMI *DAG) override;
};
void apply(ScheduleDAGMI *DAG) override;
};
-} //
anonymous
+} //
namespace
/// \brief Callback from DAG postProcessing to create cluster edges to encourage
/// fused operations.
/// \brief Callback from DAG postProcessing to create cluster edges to encourage
/// fused operations.
@@
-1407,7
+1407,7
@@
public:
protected:
void constrainLocalCopy(SUnit *CopySU, ScheduleDAGMILive *DAG);
};
protected:
void constrainLocalCopy(SUnit *CopySU, ScheduleDAGMILive *DAG);
};
-} //
anonymous
+} //
namespace
/// constrainLocalCopy handles two possibilities:
/// 1) Local src:
/// constrainLocalCopy handles two possibilities:
/// 1) Local src:
diff --git
a/lib/CodeGen/MachineTraceMetrics.cpp
b/lib/CodeGen/MachineTraceMetrics.cpp
index 34ac9d5b0ed7a33224e350a2a39c007ef0c1c157..7704d1498be04d6a4cd1a22a0a442d9284677fdf 100644
(file)
--- a/
lib/CodeGen/MachineTraceMetrics.cpp
+++ b/
lib/CodeGen/MachineTraceMetrics.cpp
@@
-306,7
+306,7
@@
public:
MinInstrCountEnsemble(MachineTraceMetrics *mtm)
: MachineTraceMetrics::Ensemble(mtm) {}
};
MinInstrCountEnsemble(MachineTraceMetrics *mtm)
: MachineTraceMetrics::Ensemble(mtm) {}
};
-}
+}
// namespace
// Select the preferred predecessor for MBB.
const MachineBasicBlock*
// Select the preferred predecessor for MBB.
const MachineBasicBlock*
@@
-414,7
+414,7
@@
struct LoopBounds {
const MachineLoopInfo *loops)
: Blocks(blocks), Loops(loops), Downward(false) {}
};
const MachineLoopInfo *loops)
: Blocks(blocks), Loops(loops), Downward(false) {}
};
-}
+}
// namespace
// Specialize po_iterator_storage in order to prune the post-order traversal so
// it is limited to the current loop and doesn't traverse the loop back edges.
// Specialize po_iterator_storage in order to prune the post-order traversal so
// it is limited to the current loop and doesn't traverse the loop back edges.
@@
-447,7
+447,7
@@
public:
return LB.Visited.insert(To).second;
}
};
return LB.Visited.insert(To).second;
}
};
-}
+}
// namespace llvm
/// Compute the trace through MBB.
void MachineTraceMetrics::Ensemble::computeTrace(const MachineBasicBlock *MBB) {
/// Compute the trace through MBB.
void MachineTraceMetrics::Ensemble::computeTrace(const MachineBasicBlock *MBB) {
@@
-619,7
+619,7
@@
struct DataDep {
assert((++DefI).atEnd() && "Register has multiple defs");
}
};
assert((++DefI).atEnd() && "Register has multiple defs");
}
};
-}
+}
// namespace
// Get the input data dependencies that must be ready before UseMI can issue.
// Return true if UseMI has any physreg operands.
// Get the input data dependencies that must be ready before UseMI can issue.
// Return true if UseMI has any physreg operands.
@@
-681,7
+681,7
@@
struct LiveRegUnit {
LiveRegUnit(unsigned RU) : RegUnit(RU), Cycle(0), MI(nullptr), Op(0) {}
};
LiveRegUnit(unsigned RU) : RegUnit(RU), Cycle(0), MI(nullptr), Op(0) {}
};
-}
+}
// namespace
// Identify physreg dependencies for UseMI, and update the live regunit
// tracking set when scanning instructions downwards.
// Identify physreg dependencies for UseMI, and update the live regunit
// tracking set when scanning instructions downwards.
diff --git
a/lib/CodeGen/MachineVerifier.cpp
b/lib/CodeGen/MachineVerifier.cpp
index ca35ec5fdcf8238e243122b1351777f0b55c4cec..72a67690614cd7fc3ca1df366a8d5fcdf1ad4c59 100644
(file)
--- a/
lib/CodeGen/MachineVerifier.cpp
+++ b/
lib/CodeGen/MachineVerifier.cpp
@@
-258,7
+258,7
@@
namespace {
}
};
}
};
-}
+}
// namespace
char MachineVerifierPass::ID = 0;
INITIALIZE_PASS(MachineVerifierPass, "machineverifier",
char MachineVerifierPass::ID = 0;
INITIALIZE_PASS(MachineVerifierPass, "machineverifier",
@@
-1710,7
+1710,7
@@
namespace {
bool EntryIsSetup;
bool ExitIsSetup;
};
bool EntryIsSetup;
bool ExitIsSetup;
};
-}
+}
// namespace
/// Make sure on every path through the CFG, a FrameSetup <n> is always followed
/// by a FrameDestroy <n>, stack adjustments are identical on all
/// Make sure on every path through the CFG, a FrameSetup <n> is always followed
/// by a FrameDestroy <n>, stack adjustments are identical on all
diff --git
a/lib/CodeGen/OptimizePHIs.cpp
b/lib/CodeGen/OptimizePHIs.cpp
index a1042e720c37585c1299abe47c14d751a25091cd..9780d75eb0d2a6ea347bcb22203979e39c6868fb 100644
(file)
--- a/
lib/CodeGen/OptimizePHIs.cpp
+++ b/
lib/CodeGen/OptimizePHIs.cpp
@@
-55,7
+55,7
@@
namespace {
bool IsDeadPHICycle(MachineInstr *MI, InstrSet &PHIsInCycle);
bool OptimizeBB(MachineBasicBlock &MBB);
};
bool IsDeadPHICycle(MachineInstr *MI, InstrSet &PHIsInCycle);
bool OptimizeBB(MachineBasicBlock &MBB);
};
-}
+}
// namespace
char OptimizePHIs::ID = 0;
char &llvm::OptimizePHIsID = OptimizePHIs::ID;
char OptimizePHIs::ID = 0;
char &llvm::OptimizePHIsID = OptimizePHIs::ID;
diff --git
a/lib/CodeGen/PHIElimination.cpp
b/lib/CodeGen/PHIElimination.cpp
index d3433018004cc5c363c5af28d07bcb4e3edbe022..471c78a6d8ca7c9f4e811c2568f6fea8de26acf2 100644
(file)
--- a/
lib/CodeGen/PHIElimination.cpp
+++ b/
lib/CodeGen/PHIElimination.cpp
@@
-104,7
+104,7
@@
namespace {
MachineInstrExpressionTrait> LoweredPHIMap;
LoweredPHIMap LoweredPHIs;
};
MachineInstrExpressionTrait> LoweredPHIMap;
LoweredPHIMap LoweredPHIs;
};
-}
+}
// namespace
STATISTIC(NumLowered, "Number of phis lowered");
STATISTIC(NumCriticalEdgesSplit, "Number of critical edges split");
STATISTIC(NumLowered, "Number of phis lowered");
STATISTIC(NumCriticalEdgesSplit, "Number of critical edges split");
diff --git
a/lib/CodeGen/PeepholeOptimizer.cpp
b/lib/CodeGen/PeepholeOptimizer.cpp
index ebe05e3f27316bc15fd6a69ea3befc87fbd22117..71c0a64325bae36b50ed3f40a07dcdaa853a39a7 100644
(file)
--- a/
lib/CodeGen/PeepholeOptimizer.cpp
+++ b/
lib/CodeGen/PeepholeOptimizer.cpp
@@
-293,7
+293,7
@@
namespace {
/// register of the last source.
unsigned getReg() const { return Reg; }
};
/// register of the last source.
unsigned getReg() const { return Reg; }
};
-}
+}
// namespace
char PeepholeOptimizer::ID = 0;
char &llvm::PeepholeOptimizerID = PeepholeOptimizer::ID;
char PeepholeOptimizer::ID = 0;
char &llvm::PeepholeOptimizerID = PeepholeOptimizer::ID;
diff --git
a/lib/CodeGen/PostRASchedulerList.cpp
b/lib/CodeGen/PostRASchedulerList.cpp
index 6f76116da1ebdaabde4840e886d47516a64da0c6..6760b5f95097569b2a7a4b8b927a508daaa61324 100644
(file)
--- a/
lib/CodeGen/PostRASchedulerList.cpp
+++ b/
lib/CodeGen/PostRASchedulerList.cpp
@@
-184,7
+184,7
@@
namespace {
void dumpSchedule() const;
void emitNoop(unsigned CurCycle);
};
void dumpSchedule() const;
void emitNoop(unsigned CurCycle);
};
-}
+}
// namespace
char &llvm::PostRASchedulerID = PostRAScheduler::ID;
char &llvm::PostRASchedulerID = PostRAScheduler::ID;
diff --git
a/lib/CodeGen/RegAllocFast.cpp
b/lib/CodeGen/RegAllocFast.cpp
index fd3d4d78968b23d821cb46c46343ea7019255dee..4a466381b9db7fd191617aa1845af0e017285544 100644
(file)
--- a/
lib/CodeGen/RegAllocFast.cpp
+++ b/
lib/CodeGen/RegAllocFast.cpp
@@
-194,7
+194,7
@@
namespace {
bool setPhysReg(MachineInstr *MI, unsigned OpNum, unsigned PhysReg);
};
char RAFast::ID = 0;
bool setPhysReg(MachineInstr *MI, unsigned OpNum, unsigned PhysReg);
};
char RAFast::ID = 0;
-}
+}
// namespace
/// getStackSpaceFor - This allocates space for the specified virtual register
/// to be held on the stack.
/// getStackSpaceFor - This allocates space for the specified virtual register
/// to be held on the stack.
diff --git
a/lib/CodeGen/RegisterCoalescer.cpp
b/lib/CodeGen/RegisterCoalescer.cpp
index 7b7c75021720689c81ec9d9797247e69fd1e879c..e2061fe1dbaea7783c050f1ffe8da32b308ba7e6 100644
(file)
--- a/
lib/CodeGen/RegisterCoalescer.cpp
+++ b/
lib/CodeGen/RegisterCoalescer.cpp
@@
-2697,7
+2697,7
@@
struct MBBPriorityInfo {
MBBPriorityInfo(MachineBasicBlock *mbb, unsigned depth, bool issplit)
: MBB(mbb), Depth(depth), IsSplit(issplit) {}
};
MBBPriorityInfo(MachineBasicBlock *mbb, unsigned depth, bool issplit)
: MBB(mbb), Depth(depth), IsSplit(issplit) {}
};
-}
+}
// namespace
/// C-style comparator that sorts first based on the loop depth of the basic
/// block (the unsigned), and then on the MBB number.
/// C-style comparator that sorts first based on the loop depth of the basic
/// block (the unsigned), and then on the MBB number.
diff --git
a/lib/CodeGen/RegisterCoalescer.h
b/lib/CodeGen/RegisterCoalescer.h
index 04067a1427af2e72d24f9ac11c635735770251c9..4ba74417a16cc52467c947f3257bb881d5dab8c1 100644
(file)
--- a/
lib/CodeGen/RegisterCoalescer.h
+++ b/
lib/CodeGen/RegisterCoalescer.h
@@
-111,6
+111,6
@@
namespace llvm {
/// Return the register class of the coalesced register.
const TargetRegisterClass *getNewRC() const { return NewRC; }
};
/// Return the register class of the coalesced register.
const TargetRegisterClass *getNewRC() const { return NewRC; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/ScheduleDAGInstrs.cpp
b/lib/CodeGen/ScheduleDAGInstrs.cpp
index b8b72713a026092f40679ac77c43bd51de4f8159..ae4b935d719a8218f24f33a3cde74d29c3841331 100644
(file)
--- a/
lib/CodeGen/ScheduleDAGInstrs.cpp
+++ b/
lib/CodeGen/ScheduleDAGInstrs.cpp
@@
-1508,7
+1508,7
@@
public:
return getCurr()->Preds.end();
}
};
return getCurr()->Preds.end();
}
};
-} //
anonymous
+} //
namespace
static bool hasDataSucc(const SUnit *SU) {
for (SUnit::const_succ_iterator
static bool hasDataSucc(const SUnit *SU) {
for (SUnit::const_succ_iterator
diff --git
a/lib/CodeGen/ScheduleDAGPrinter.cpp
b/lib/CodeGen/ScheduleDAGPrinter.cpp
index b2e4617720ff53f3bb100aa0d1dbd719fad4a042..cdf27ae5fedde58453a6abc90444c4d60603a353 100644
(file)
--- a/
lib/CodeGen/ScheduleDAGPrinter.cpp
+++ b/
lib/CodeGen/ScheduleDAGPrinter.cpp
@@
-72,7
+72,7
@@
namespace llvm {
return G->addCustomGraphFeatures(GW);
}
};
return G->addCustomGraphFeatures(GW);
}
};
-}
+}
// namespace llvm
std::string DOTGraphTraits<ScheduleDAG*>::getNodeLabel(const SUnit *SU,
const ScheduleDAG *G) {
std::string DOTGraphTraits<ScheduleDAG*>::getNodeLabel(const SUnit *SU,
const ScheduleDAG *G) {
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 284905e9e70382d45112fd3c8f3e9b54a296835a..5fea52c97496618852906f9832aaf5719339d6cc 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-459,7
+459,7
@@
namespace {
return TLI.getSetCCResultType(*DAG.getContext(), VT);
}
};
return TLI.getSetCCResultType(*DAG.getContext(), VT);
}
};
-}
+}
// namespace
namespace {
namespace {
@@
-475,7
+475,7
@@
public:
DC.removeFromWorklist(N);
}
};
DC.removeFromWorklist(N);
}
};
-}
+}
// namespace
//===----------------------------------------------------------------------===//
// TargetLowering::DAGCombinerInfo implementation
//===----------------------------------------------------------------------===//
// TargetLowering::DAGCombinerInfo implementation
@@
-9954,7
+9954,7
@@
struct LoadedSlice {
return true;
}
};
return true;
}
};
-}
+}
// namespace
/// \brief Check that all bits set in \p UsedBits form a dense region, i.e.,
/// \p UsedBits looks like 0..0 1..1 0..0.
/// \brief Check that all bits set in \p UsedBits form a dense region, i.e.,
/// \p UsedBits looks like 0..0 1..1 0..0.
diff --git
a/lib/CodeGen/SelectionDAG/InstrEmitter.h
b/lib/CodeGen/SelectionDAG/InstrEmitter.h
index 7b86f7dd8de06d07206f115107cc8a5d45309a32..2a61914eecd320fde314cdddc35dc8e74ea2a689 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/InstrEmitter.h
+++ b/
lib/CodeGen/SelectionDAG/InstrEmitter.h
@@
-140,6
+140,6
@@
private:
DenseMap<SDValue, unsigned> &VRBaseMap);
};
DenseMap<SDValue, unsigned> &VRBaseMap);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 7d98872f8af1f6fdd031e47cfb04c414e5a6042c..37f95e5a22b9082f49b34c3fe0c415cf5f86aaf3 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-198,7
+198,7
@@
public:
ReplacedNode(Old);
}
};
ReplacedNode(Old);
}
};
-}
+}
// namespace
/// Return a vector shuffle operation which
/// performs the same shuffe in terms of order or result bytes, but on a type
/// Return a vector shuffle operation which
/// performs the same shuffe in terms of order or result bytes, but on a type
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
b/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
index 9c297698c1db16f941a6041606e0537e7f56bed4..c3e3b7c525b9a71082e4a33acba1360f75407f4b 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
@@
-676,7
+676,7
@@
namespace {
NodesToAnalyze.insert(N);
}
};
NodesToAnalyze.insert(N);
}
};
-}
+}
// namespace
/// ReplaceValueWith - The specified value was legalized to the specified other
/// ReplaceValueWith - The specified value was legalized to the specified other
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
b/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
index c06227bd9701aef49f1d6352f68aec634c3ff523..50ad2391d15be29ab30f8a7a3ec97032af3d59c5 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@
-1010,7
+1010,7
@@
SDValue VectorLegalizer::UnrollVSETCC(SDValue Op) {
return DAG.getNode(ISD::BUILD_VECTOR, dl, VT, Ops);
}
return DAG.getNode(ISD::BUILD_VECTOR, dl, VT, Ops);
}
-}
+}
// namespace
bool SelectionDAG::LegalizeVectors() {
return VectorLegalizer(*this).Run();
bool SelectionDAG::LegalizeVectors() {
return VectorLegalizer(*this).Run();
diff --git
a/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
b/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
index c27f8de601f24a7fc0ecea07a28fcd9b8113e43d..949353256938f6be7b101db173304e01880b65a4 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
+++ b/
lib/CodeGen/SelectionDAG/SDNodeDbgValue.h
@@
-119,6
+119,6
@@
public:
bool isInvalidated() const { return Invalid; }
};
bool isInvalidated() const { return Invalid; }
};
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
index 6351fa2c4a2f09745905d6dcd83c81d0e3a6f884..4c74182014a038d79271206e469d142e20aa081a 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
+++ b/
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
@@
-180,6
+180,6
@@
namespace llvm {
void EmitPhysRegCopy(SUnit *SU, DenseMap<SUnit*, unsigned> &VRBaseMap,
MachineBasicBlock::iterator InsertPos);
};
void EmitPhysRegCopy(SUnit *SU, DenseMap<SUnit*, unsigned> &VRBaseMap,
MachineBasicBlock::iterator InsertPos);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 566c9a0c932a497c5df254c2c2039e8b05e31c0e..0eff930ceddd62b7d8146b852f785f79167cd82f 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@
-6134,7
+6134,7
@@
public:
: SelectionDAG::DAGUpdateListener(d), UI(ui), UE(ue) {}
};
: SelectionDAG::DAGUpdateListener(d), UI(ui), UE(ue) {}
};
-}
+}
// namespace
/// ReplaceAllUsesWith - Modify anything using 'From' to use 'To' instead.
/// This can cause recursive merging of nodes in the DAG.
/// ReplaceAllUsesWith - Modify anything using 'From' to use 'To' instead.
/// This can cause recursive merging of nodes in the DAG.
@@
-6344,7
+6344,7
@@
namespace {
bool operator<(const UseMemo &L, const UseMemo &R) {
return (intptr_t)L.User < (intptr_t)R.User;
}
bool operator<(const UseMemo &L, const UseMemo &R) {
return (intptr_t)L.User < (intptr_t)R.User;
}
-}
+}
// namespace
/// ReplaceAllUsesOfValuesWith - Replace any uses of From with To, leaving
/// uses of other values produced by From.getNode() alone. The same value
/// ReplaceAllUsesOfValuesWith - Replace any uses of From with To, leaving
/// uses of other values produced by From.getNode() alone. The same value
@@
-6589,7
+6589,7
@@
namespace {
VTs.push_back(MVT((MVT::SimpleValueType)i));
}
};
VTs.push_back(MVT((MVT::SimpleValueType)i));
}
};
-}
+}
// namespace
static ManagedStatic<std::set<EVT, EVT::compareRawBits> > EVTs;
static ManagedStatic<EVTArray> SimpleVTArray;
static ManagedStatic<std::set<EVT, EVT::compareRawBits> > EVTs;
static ManagedStatic<EVTArray> SimpleVTArray;
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index ec5a6bfa3dd175ce4e44279079dc9c90d8807bee..c5562cd31067ed1afdaaef99ea96064b79cf7674 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@
-307,7
+307,7
@@
namespace llvm {
"Unknown sched type!");
return createILPListDAGScheduler(IS, OptLevel);
}
"Unknown sched type!");
return createILPListDAGScheduler(IS, OptLevel);
}
-}
+}
// namespace llvm
// EmitInstrWithCustomInserter - This method should be implemented by targets
// that mark instructions with the 'usesCustomInserter' flag. These
// EmitInstrWithCustomInserter - This method should be implemented by targets
// that mark instructions with the 'usesCustomInserter' flag. These
@@
-2542,7
+2542,7
@@
public:
J.setNode(E);
}
};
J.setNode(E);
}
};
-}
+}
// namespace
SDNode *SelectionDAGISel::
SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
SDNode *SelectionDAGISel::
SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable,
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index 4df5ede388fc6aed6269ad3d67fcf025da02bc62..19b5d160c8a93a0262ed83104a88b5f6d39e0c15 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@
-132,7
+132,7
@@
namespace llvm {
"color=blue,style=dashed");
}
};
"color=blue,style=dashed");
}
};
-}
+}
// namespace llvm
std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
const SelectionDAG *G) {
std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node,
const SelectionDAG *G) {
diff --git
a/lib/CodeGen/ShadowStackGCLowering.cpp
b/lib/CodeGen/ShadowStackGCLowering.cpp
index e7b2a8e72d2cf81a91ada1cde524c7fad84bb3ad..d60e5f9ba099fee37f677666c30f5e1073dff4a6 100644
(file)
--- a/
lib/CodeGen/ShadowStackGCLowering.cpp
+++ b/
lib/CodeGen/ShadowStackGCLowering.cpp
@@
-59,7
+59,7
@@
private:
Type *Ty, Value *BasePtr, int Idx1, int Idx2,
const char *Name);
};
Type *Ty, Value *BasePtr, int Idx1, int Idx2,
const char *Name);
};
-}
+}
// namespace
INITIALIZE_PASS_BEGIN(ShadowStackGCLowering, "shadow-stack-gc-lowering",
"Shadow Stack GC Lowering", false, false)
INITIALIZE_PASS_BEGIN(ShadowStackGCLowering, "shadow-stack-gc-lowering",
"Shadow Stack GC Lowering", false, false)
@@
-189,7
+189,7
@@
public:
}
}
};
}
}
};
-}
+}
// namespace
Constant *ShadowStackGCLowering::GetFrameMap(Function &F) {
Constant *ShadowStackGCLowering::GetFrameMap(Function &F) {
diff --git
a/lib/CodeGen/Spiller.h
b/lib/CodeGen/Spiller.h
index 08f99ec78adc70fa561f1a2332fc9a50322105f4..b1019c1affd718e65fdb6046784285f5f763badf 100644
(file)
--- a/
lib/CodeGen/Spiller.h
+++ b/
lib/CodeGen/Spiller.h
@@
-37,6
+37,6
@@
namespace llvm {
MachineFunction &mf,
VirtRegMap &vrm);
MachineFunction &mf,
VirtRegMap &vrm);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/SplitKit.h
b/lib/CodeGen/SplitKit.h
index a0627634a822270e26af3e507426d0d2c3ceac0c..4eaf03ef2e63be16f40407a7bc16bc5d92a10106 100644
(file)
--- a/
lib/CodeGen/SplitKit.h
+++ b/
lib/CodeGen/SplitKit.h
@@
-466,6
+466,6
@@
public:
unsigned IntvOut, SlotIndex EnterAfter);
};
unsigned IntvOut, SlotIndex EnterAfter);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/CodeGen/StatepointExampleGC.cpp
b/lib/CodeGen/StatepointExampleGC.cpp
index 95dfd75018c13b28de77b439106f94301c390c17..b9523e55b0c37fab6ae04ecd88f88d0086bf9357 100644
(file)
--- a/
lib/CodeGen/StatepointExampleGC.cpp
+++ b/
lib/CodeGen/StatepointExampleGC.cpp
@@
-45,7
+45,7
@@
public:
return (1 == PT->getAddressSpace());
}
};
return (1 == PT->getAddressSpace());
}
};
-}
+}
// namespace
static GCRegistry::Add<StatepointGC> X("statepoint-example",
"an example strategy for statepoint");
static GCRegistry::Add<StatepointGC> X("statepoint-example",
"an example strategy for statepoint");
diff --git
a/lib/CodeGen/TailDuplication.cpp
b/lib/CodeGen/TailDuplication.cpp
index 23f41c8dd4bd3112b19a0b75664c3b5f942c5d4d..164badd29381abc1c108eb874ea54c59fc1411ee 100644
(file)
--- a/
lib/CodeGen/TailDuplication.cpp
+++ b/
lib/CodeGen/TailDuplication.cpp
@@
-125,7
+125,7
@@
namespace {
};
char TailDuplicatePass::ID = 0;
};
char TailDuplicatePass::ID = 0;
-}
+}
// namespace
char &llvm::TailDuplicateID = TailDuplicatePass::ID;
char &llvm::TailDuplicateID = TailDuplicatePass::ID;
diff --git
a/lib/CodeGen/UnreachableBlockElim.cpp
b/lib/CodeGen/UnreachableBlockElim.cpp
index d393e103104df5c29fcbf601a41bb71129f3b57a..5c54cdbc1d5f1f2ac03f9b61a8edc6fe0e501ff6 100644
(file)
--- a/
lib/CodeGen/UnreachableBlockElim.cpp
+++ b/
lib/CodeGen/UnreachableBlockElim.cpp
@@
-51,7
+51,7
@@
namespace {
AU.addPreserved<DominatorTreeWrapperPass>();
}
};
AU.addPreserved<DominatorTreeWrapperPass>();
}
};
-}
+}
// namespace
char UnreachableBlockElim::ID = 0;
INITIALIZE_PASS(UnreachableBlockElim, "unreachableblockelim",
"Remove unreachable blocks from the CFG", false, false)
char UnreachableBlockElim::ID = 0;
INITIALIZE_PASS(UnreachableBlockElim, "unreachableblockelim",
"Remove unreachable blocks from the CFG", false, false)
diff --git
a/lib/CodeGen/WinEHPrepare.cpp
b/lib/CodeGen/WinEHPrepare.cpp
index d04d93f11e4120f959677fb13a96a0e2a99fc996..8c932cfc6b378ba1694fbb62f82dedf5d20aa122 100644
(file)
--- a/
lib/CodeGen/WinEHPrepare.cpp
+++ b/
lib/CodeGen/WinEHPrepare.cpp
@@
-2518,7
+2518,7
@@
struct WinEHNumbering {
void calculateStateNumbers(const Function &F);
void findActionRootLPads(const Function &F);
};
void calculateStateNumbers(const Function &F);
void findActionRootLPads(const Function &F);
};
-}
+}
// namespace
void WinEHNumbering::createUnwindMapEntry(int ToState, ActionHandler *AH) {
WinEHUnwindMapEntry UME;
void WinEHNumbering::createUnwindMapEntry(int ToState, ActionHandler *AH) {
WinEHUnwindMapEntry UME;
diff --git
a/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
b/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
index 8ae05432869a23e10d3e73ee6e7237f8a041ae7d..fd33c7d547494f6abc2db4c3e6532c89577db123 100644
(file)
--- a/
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
+++ b/
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
@@
-129,4
+129,4
@@
void DWARFAcceleratorTable::dump(raw_ostream &OS) const {
}
}
}
}
}
}
-}
+}
// namespace llvm
diff --git
a/lib/DebugInfo/DWARF/DWARFFormValue.cpp
b/lib/DebugInfo/DWARF/DWARFFormValue.cpp
index 53a676efaf3f78a34e6067a3705ddc67ca8d6498..48e1d55be5f704756626d7380b70ec9f7e6e729e 100644
(file)
--- a/
lib/DebugInfo/DWARF/DWARFFormValue.cpp
+++ b/
lib/DebugInfo/DWARF/DWARFFormValue.cpp
@@
-61,7
+61,7
@@
ArrayRef<uint8_t> makeFixedFormSizesArrayRef() {
};
return makeArrayRef(sizes);
}
};
return makeArrayRef(sizes);
}
-}
+}
// namespace
ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize,
uint16_t Version) {
ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize,
uint16_t Version) {
diff --git
a/lib/DebugInfo/DWARF/SyntaxHighlighting.h
b/lib/DebugInfo/DWARF/SyntaxHighlighting.h
index 946a31308aa1c1d76ba6a1a6aa438e5263b40c60..84afd37c540a0371db95c01e79bfcd651441e9d0 100644
(file)
--- a/
lib/DebugInfo/DWARF/SyntaxHighlighting.h
+++ b/
lib/DebugInfo/DWARF/SyntaxHighlighting.h
@@
-32,8
+32,8
@@
public:
llvm::raw_ostream& get() { return OS; }
operator llvm::raw_ostream& () { return OS; }
};
llvm::raw_ostream& get() { return OS; }
operator llvm::raw_ostream& () { return OS; }
};
-}
-}
-}
+}
// namespace syntax
+}
// namespace dwarf
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/DebugInfo/PDB/PDBSymbolFunc.cpp
b/lib/DebugInfo/PDB/PDBSymbolFunc.cpp
index 0aff327366cbda6392dc8c2fe6aa80e37ebd7528..8f56de80496423435261ff3ee198d26185a76c35 100644
(file)
--- a/
lib/DebugInfo/PDB/PDBSymbolFunc.cpp
+++ b/
lib/DebugInfo/PDB/PDBSymbolFunc.cpp
@@
-80,7
+80,7
@@
private:
ArgListType Args;
ArgListType::const_iterator CurIter;
};
ArgListType Args;
ArgListType::const_iterator CurIter;
};
-}
+}
// namespace
PDBSymbolFunc::PDBSymbolFunc(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol)
PDBSymbolFunc::PDBSymbolFunc(const IPDBSession &PDBSession,
std::unique_ptr<IPDBRawSymbol> Symbol)
diff --git
a/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
b/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
index af3563f891f8177a105db1be1835bcef811709a3..fcee1825f7d70506c7fde72546d11e3491760d99 100644
(file)
--- a/
lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
+++ b/
lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp
@@
-63,7
+63,7
@@
private:
const IPDBSession &Session;
std::unique_ptr<ArgEnumeratorType> Enumerator;
};
const IPDBSession &Session;
std::unique_ptr<ArgEnumeratorType> Enumerator;
};
-}
+}
// namespace
PDBSymbolTypeFunctionSig::PDBSymbolTypeFunctionSig(
const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
PDBSymbolTypeFunctionSig::PDBSymbolTypeFunctionSig(
const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
diff --git
a/lib/ExecutionEngine/Interpreter/Interpreter.h
b/lib/ExecutionEngine/Interpreter/Interpreter.h
index f97664181a871a30a91977dd5324803b149e6cdb..f6cac580e26f6470845822bc9a900302788eefff 100644
(file)
--- a/
lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/
lib/ExecutionEngine/Interpreter/Interpreter.h
@@
-251,6
+251,6
@@
private: // Helper functions
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/ExecutionEngine/MCJIT/MCJIT.h
b/lib/ExecutionEngine/MCJIT/MCJIT.h
index e1d19afbfb5614ab5835941e71e32d0ef73a16df..20924e55806e2bf960876fda2bca31846b02de5b 100644
(file)
--- a/
lib/ExecutionEngine/MCJIT/MCJIT.h
+++ b/
lib/ExecutionEngine/MCJIT/MCJIT.h
@@
-325,6
+325,6
@@
protected:
bool CheckFunctionsOnly);
};
bool CheckFunctionsOnly);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
index c8d3d22966de74ed13c1280d263e330479ea45b6..9f80e5a87cd0a3a21c903f2905535d107e758a45 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
@@
-36,7
+36,7
@@
public:
return OwningBinary<ObjectFile>();
}
};
return OwningBinary<ObjectFile>();
}
};
-}
+}
// namespace
namespace llvm {
namespace llvm {
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
index 957571b092dab131af4c53c0f384d99a30469b5b..c8c25169ab0e12321afb778c962bd284ec2beccc 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
@@
-673,7
+673,7
@@
private:
return (S == MCDisassembler::Success);
}
};
return (S == MCDisassembler::Success);
}
};
-}
+}
// namespace llvm
RuntimeDyldCheckerImpl::RuntimeDyldCheckerImpl(RuntimeDyld &RTDyld,
MCDisassembler *Disassembler,
RuntimeDyldCheckerImpl::RuntimeDyldCheckerImpl(RuntimeDyld &RTDyld,
MCDisassembler *Disassembler,
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h
index 69d2a7d6b668aea5ea54a42803d7ba31b162842f..a0a11188f5ca8d49eab0677b774acb490de6f196 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h
@@
-72,6
+72,6
@@
private:
StubMap Stubs;
};
StubMap Stubs;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
index d4a680d749a163e95a2aa33a727ea6965b0187ab..f7a4fcc7214f9e9643ecb16b5e946a6b3a579d69 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
@@
-39,7
+39,7
@@
public:
}
};
}
};
-}
+}
// namespace
namespace llvm {
namespace llvm {
diff --git
a/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
b/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
index 99fd6e333b470041ee0a9ff43ff81c5e99921a5f..5149d010a8c62a4c4fc360f40f30103bf4b232e4 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
+++ b/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
@@
-400,7
+400,7
@@
private:
addRelocationForSection(TargetRE, RE.SectionID);
}
};
addRelocationForSection(TargetRE, RE.SectionID);
}
};
-}
+}
// namespace llvm
#undef DEBUG_TYPE
#undef DEBUG_TYPE
diff --git
a/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
b/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
index 09e51f27da4fd9e3b90069b2f3c58703245aad33..8600763b844853f8e14465256eb2711a72bd0015 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
+++ b/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
@@
-272,7
+272,7
@@
private:
}
};
}
};
-}
+}
// namespace llvm
#undef DEBUG_TYPE
#undef DEBUG_TYPE
diff --git
a/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
b/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
index dd454ae54f261e3de1d32f052b96c9ba7048e997..f36f940ffd5a5c89c963b4e87c432573a2591839 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
+++ b/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
@@
-254,7
+254,7
@@
private:
}
};
}
};
-}
+}
// namespace llvm
#undef DEBUG_TYPE
#undef DEBUG_TYPE
diff --git
a/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
b/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
index 4b3b01ba3c967624c29affcf26969aaf5a2251b5..419b27a1da8b2d8b25e1f2ffcb956eaf3a4802a7 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
+++ b/
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h
@@
-131,7
+131,7
@@
private:
resolveRelocation(TargetRE, (uint64_t)Addr);
}
};
resolveRelocation(TargetRE, (uint64_t)Addr);
}
};
-}
+}
// namespace llvm
#undef DEBUG_TYPE
#undef DEBUG_TYPE
diff --git
a/lib/IR/AsmWriter.cpp
b/lib/IR/AsmWriter.cpp
index 23393ccd5c04db0f89a50858d9af3d791611250c..bc35cb3986b3d456b9a7320eed7a0dcc7bbe57ac 100644
(file)
--- a/
lib/IR/AsmWriter.cpp
+++ b/
lib/IR/AsmWriter.cpp
@@
-67,7
+67,7
@@
struct OrderMap {
IDs[V].first = ID;
}
};
IDs[V].first = ID;
}
};
-}
+}
// namespace
static void orderValue(const Value *V, OrderMap &OM) {
if (OM.lookup(V).first)
static void orderValue(const Value *V, OrderMap &OM) {
if (OM.lookup(V).first)
diff --git
a/lib/IR/AttributeImpl.h
b/lib/IR/AttributeImpl.h
index 6f338ae835fa98aa9b8d88297930c3e62c8119a6..8159dcefb5c330bc1e0a79530255927abf6ea9b3 100644
(file)
--- a/
lib/IR/AttributeImpl.h
+++ b/
lib/IR/AttributeImpl.h
@@
-278,6
+278,6
@@
static_assert(
AlignOf<AttributeSetImpl::IndexAttrPair>::Alignment,
"Alignment is insufficient for objects appended to AttributeSetImpl");
AlignOf<AttributeSetImpl::IndexAttrPair>::Alignment,
"Alignment is insufficient for objects appended to AttributeSetImpl");
-} //
end llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/IR/ConstantFold.h
b/lib/IR/ConstantFold.h
index 42a9c6ba908a8bb63421280673ba0c066e2a5e75..715c42958fd0457dd87148f63507a91b570d7d79 100644
(file)
--- a/
lib/IR/ConstantFold.h
+++ b/
lib/IR/ConstantFold.h
@@
-55,6
+55,6
@@
namespace llvm {
ArrayRef<Constant *> Idxs);
Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds,
ArrayRef<Value *> Idxs);
ArrayRef<Constant *> Idxs);
Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds,
ArrayRef<Value *> Idxs);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/IR/DIBuilder.cpp
b/lib/IR/DIBuilder.cpp
index f23f280c978ac9b1d5c1c44c228c11650678f647..c41d84492b86526400f543d84f6045895ea44cc4 100644
(file)
--- a/
lib/IR/DIBuilder.cpp
+++ b/
lib/IR/DIBuilder.cpp
@@
-55,7
+55,7
@@
public:
return HeaderBuilder().concat("0x" + Twine::utohexstr(Tag));
}
};
return HeaderBuilder().concat("0x" + Twine::utohexstr(Tag));
}
};
-}
+}
// namespace
DIBuilder::DIBuilder(Module &m, bool AllowUnresolvedNodes)
: M(m), VMContext(M.getContext()), TempEnumTypes(nullptr),
DIBuilder::DIBuilder(Module &m, bool AllowUnresolvedNodes)
: M(m), VMContext(M.getContext()), TempEnumTypes(nullptr),
diff --git
a/lib/IR/DiagnosticInfo.cpp
b/lib/IR/DiagnosticInfo.cpp
index b8f77eda15a6dc3039793fbf4b103dcf525e5eb8..5de928965f2c6ccd60dba03bf13155941ff5a0f1 100644
(file)
--- a/
lib/IR/DiagnosticInfo.cpp
+++ b/
lib/IR/DiagnosticInfo.cpp
@@
-84,7
+84,7
@@
PassRemarksAnalysis(
"the given regular expression"),
cl::Hidden, cl::location(PassRemarksAnalysisOptLoc), cl::ValueRequired,
cl::ZeroOrMore);
"the given regular expression"),
cl::Hidden, cl::location(PassRemarksAnalysisOptLoc), cl::ValueRequired,
cl::ZeroOrMore);
-}
+}
// namespace
int llvm::getNextAvailablePluginDiagnosticKind() {
static std::atomic<int> PluginKindID(DK_FirstPluginKind);
int llvm::getNextAvailablePluginDiagnosticKind() {
static std::atomic<int> PluginKindID(DK_FirstPluginKind);
diff --git
a/lib/IR/GCOV.cpp
b/lib/IR/GCOV.cpp
index 6ed589131725e82700fbe97f01a60ed96ed33ab6..a0a3db42a7b7e042123913b95f9076e0b0881500 100644
(file)
--- a/
lib/IR/GCOV.cpp
+++ b/
lib/IR/GCOV.cpp
@@
-496,7
+496,7
@@
public:
OS << format("%5u:", LineNum) << Line << "\n";
}
};
OS << format("%5u:", LineNum) << Line << "\n";
}
};
-}
+}
// namespace
/// Convert a path to a gcov filename. If PreservePaths is true, this
/// translates "/" to "#", ".." to "^", and drops ".", to match gcov.
/// Convert a path to a gcov filename. If PreservePaths is true, this
/// translates "/" to "#", ".." to "^", and drops ".", to match gcov.
diff --git
a/lib/IR/IRPrintingPasses.cpp
b/lib/IR/IRPrintingPasses.cpp
index c1ac336c1fbfafa287f5cfd3568dee72d8f3ae13..03e7d55383b76f0199b02cab6c4f908036023776 100644
(file)
--- a/
lib/IR/IRPrintingPasses.cpp
+++ b/
lib/IR/IRPrintingPasses.cpp
@@
-103,7
+103,7
@@
public:
}
};
}
};
-}
+}
// namespace
char PrintModulePassWrapper::ID = 0;
INITIALIZE_PASS(PrintModulePassWrapper, "print-module",
char PrintModulePassWrapper::ID = 0;
INITIALIZE_PASS(PrintModulePassWrapper, "print-module",
diff --git
a/lib/IR/LLVMContextImpl.cpp
b/lib/IR/LLVMContextImpl.cpp
index 1e2080770fcd596da00cb62d50ea4a4a9c79d483..d3d2fcd577d4cfdc82412d3062a8d111bb6ffff4 100644
(file)
--- a/
lib/IR/LLVMContextImpl.cpp
+++ b/
lib/IR/LLVMContextImpl.cpp
@@
-65,7
+65,7
@@
struct DropFirst {
P.first->dropAllReferences();
}
};
P.first->dropAllReferences();
}
};
-}
+}
// namespace
LLVMContextImpl::~LLVMContextImpl() {
// NOTE: We need to delete the contents of OwnedModules, but Module's dtor
LLVMContextImpl::~LLVMContextImpl() {
// NOTE: We need to delete the contents of OwnedModules, but Module's dtor
@@
-199,7
+199,7
@@
namespace llvm {
/// does not cause MDOperand to be transparent. In particular, a bare pointer
/// doesn't get hashed before it's combined, whereas \a MDOperand would.
static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); }
/// does not cause MDOperand to be transparent. In particular, a bare pointer
/// doesn't get hashed before it's combined, whereas \a MDOperand would.
static const Metadata *get_hashable_data(const MDOperand &X) { return X.get(); }
-}
+}
// namespace llvm
unsigned MDNodeOpsKey::calculateHash(MDNode *N, unsigned Offset) {
unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end());
unsigned MDNodeOpsKey::calculateHash(MDNode *N, unsigned Offset) {
unsigned Hash = hash_combine_range(N->op_begin() + Offset, N->op_end());
diff --git
a/lib/IR/LLVMContextImpl.h
b/lib/IR/LLVMContextImpl.h
index 3a573362b4114f5dd379a3b1bb18d2198a8cde2f..41a898b42a757303c3e618e1812c15e78f632cfb 100644
(file)
--- a/
lib/IR/LLVMContextImpl.h
+++ b/
lib/IR/LLVMContextImpl.h
@@
-1025,6
+1025,6
@@
public:
void dropTriviallyDeadConstantArrays();
};
void dropTriviallyDeadConstantArrays();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/IR/LegacyPassManager.cpp
b/lib/IR/LegacyPassManager.cpp
index 27d98a279fe28c85c7046841ac90d32fe877eca4..881d7802580e38b728f95945f3a2e18b49722fff 100644
(file)
--- a/
lib/IR/LegacyPassManager.cpp
+++ b/
lib/IR/LegacyPassManager.cpp
@@
-275,8
+275,8
@@
public:
void FunctionPassManagerImpl::anchor() {}
char FunctionPassManagerImpl::ID = 0;
void FunctionPassManagerImpl::anchor() {}
char FunctionPassManagerImpl::ID = 0;
-} //
End of legacy namespace
-} //
End of llvm namespace
+} //
namespace legacy
+} //
namespace llvm
namespace {
//===----------------------------------------------------------------------===//
namespace {
//===----------------------------------------------------------------------===//
@@
-439,8
+439,8
@@
public:
void PassManagerImpl::anchor() {}
char PassManagerImpl::ID = 0;
void PassManagerImpl::anchor() {}
char PassManagerImpl::ID = 0;
-} //
End of legacy namespace
-} //
End of llvm namespace
+} //
namespace legacy
+} //
namespace llvm
namespace {
namespace {
@@
-486,7
+486,7
@@
public:
}
};
}
};
-} //
End of anon
namespace
+} // namespace
static TimingInfo *TheTimeInfo;
static TimingInfo *TheTimeInfo;
diff --git
a/lib/IR/Operator.cpp
b/lib/IR/Operator.cpp
index 77dc680af1108356962b120a4f94004114dce26b..bea1f80d9bf6d83165f7de95c1217709537646d7 100644
(file)
--- a/
lib/IR/Operator.cpp
+++ b/
lib/IR/Operator.cpp
@@
-41,4
+41,4
@@
bool GEPOperator::accumulateConstantOffset(const DataLayout &DL,
}
return true;
}
}
return true;
}
-}
+}
// namespace llvm
diff --git
a/lib/IR/Pass.cpp
b/lib/IR/Pass.cpp
index df45460a6ccaca930e41b2a7ca7f5e04b3cc1f35..2fa1e7c85d4fc76ec7843d09f5d4de4e7100825c 100644
(file)
--- a/
lib/IR/Pass.cpp
+++ b/
lib/IR/Pass.cpp
@@
-249,7
+249,7
@@
namespace {
CFGOnlyList.push_back(P->getTypeInfo());
}
};
CFGOnlyList.push_back(P->getTypeInfo());
}
};
-}
+}
// namespace
// setPreservesCFG - This function should be called to by the pass, iff they do
// not:
// setPreservesCFG - This function should be called to by the pass, iff they do
// not:
diff --git
a/lib/IR/SymbolTableListTraitsImpl.h
b/lib/IR/SymbolTableListTraitsImpl.h
index a18f98261abc5ffce00e0868f1908be521daa59a..f94def7d3d097d77b0f1fb40b021307fc62c4a4b 100644
(file)
--- a/
lib/IR/SymbolTableListTraitsImpl.h
+++ b/
lib/IR/SymbolTableListTraitsImpl.h
@@
-113,6
+113,6
@@
void SymbolTableListTraits<ValueSubClass,ItemParentClass>
}
}
}
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/IR/Use.cpp
b/lib/IR/Use.cpp
index cae845d99fe58fe3a943b4d38566f3339c7af805..fd06fdbb46b16ccd13364eaa06da1e72be1f428c 100644
(file)
--- a/
lib/IR/Use.cpp
+++ b/
lib/IR/Use.cpp
@@
-124,4
+124,4
@@
const Use *Use::getImpliedUser() const {
}
}
}
}
-} //
End llvm namespace
+} //
namespace llvm
diff --git
a/lib/IR/User.cpp
b/lib/IR/User.cpp
index 522722d701bac5b92c68892a8bad6ec2a1bc7014..21f48493d3b53fbdab76aeade4c6a6b5a434517c 100644
(file)
--- a/
lib/IR/User.cpp
+++ b/
lib/IR/User.cpp
@@
-144,4
+144,4
@@
Operator::~Operator() {
llvm_unreachable("should never destroy an Operator");
}
llvm_unreachable("should never destroy an Operator");
}
-} //
End llvm namespace
+} //
namespace llvm
diff --git
a/lib/IR/Verifier.cpp
b/lib/IR/Verifier.cpp
index 51d1cdbb117067d98dddead67b73895e627e59a1..19b11b45ac3233a7a0227bf5d357c8369819e4d6 100644
(file)
--- a/
lib/IR/Verifier.cpp
+++ b/
lib/IR/Verifier.cpp
@@
-3691,7
+3691,7
@@
struct VerifierLegacyPass : public FunctionPass {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
char VerifierLegacyPass::ID = 0;
INITIALIZE_PASS(VerifierLegacyPass, "verify", "Module Verifier", false, false)
char VerifierLegacyPass::ID = 0;
INITIALIZE_PASS(VerifierLegacyPass, "verify", "Module Verifier", false, false)
diff --git
a/lib/LibDriver/LibDriver.cpp
b/lib/LibDriver/LibDriver.cpp
index 44929580f826fcfb80a4d5d64a9b35b159ebd18d..fb8e0a86892256d0a427618f39be89c46f77c136 100644
(file)
--- a/
lib/LibDriver/LibDriver.cpp
+++ b/
lib/LibDriver/LibDriver.cpp
@@
-53,7
+53,7
@@
public:
LibOptTable() : OptTable(infoTable, llvm::array_lengthof(infoTable), true) {}
};
LibOptTable() : OptTable(infoTable, llvm::array_lengthof(infoTable), true) {}
};
-}
+}
// namespace
static std::string getOutputPath(llvm::opt::InputArgList *Args) {
if (auto *Arg = Args->getLastArg(OPT_out))
static std::string getOutputPath(llvm::opt::InputArgList *Args) {
if (auto *Arg = Args->getLastArg(OPT_out))
diff --git
a/lib/Linker/LinkModules.cpp
b/lib/Linker/LinkModules.cpp
index 7ae8c025e333a1f2ae852f551814aa8d6785cad9..f80f6bc4ce457e7b7f8b5d83ea85788202ee61cc 100644
(file)
--- a/
lib/Linker/LinkModules.cpp
+++ b/
lib/Linker/LinkModules.cpp
@@
-99,7
+99,7
@@
private:
bool areTypesIsomorphic(Type *DstTy, Type *SrcTy);
};
bool areTypesIsomorphic(Type *DstTy, Type *SrcTy);
};
-}
+}
// namespace
void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) {
assert(SpeculativeTypes.empty());
void TypeMapTy::addTypeMapping(Type *DstTy, Type *SrcTy) {
assert(SpeculativeTypes.empty());
@@
-507,7
+507,7
@@
private:
void linkNamedMDNodes();
void stripReplacedSubprograms();
};
void linkNamedMDNodes();
void stripReplacedSubprograms();
};
-}
+}
// namespace
/// The LLVM SymbolTable class autorenames globals that conflict in the symbol
/// table. This is good for all clients except for us. Go through the trouble
/// The LLVM SymbolTable class autorenames globals that conflict in the symbol
/// table. This is good for all clients except for us. Go through the trouble
diff --git
a/lib/MC/ELFObjectWriter.cpp
b/lib/MC/ELFObjectWriter.cpp
index bbf0b2b69d3c8b3abdf62b16d5e1a6533c551525..2fe8db92195893c9172baa60c79c2706c10d0d39 100644
(file)
--- a/
lib/MC/ELFObjectWriter.cpp
+++ b/
lib/MC/ELFObjectWriter.cpp
@@
-231,7
+231,7
@@
class ELFObjectWriter : public MCObjectWriter {
uint32_t GroupSymbolIndex, uint64_t Offset, uint64_t Size,
const MCSectionELF &Section);
};
uint32_t GroupSymbolIndex, uint64_t Offset, uint64_t Size,
const MCSectionELF &Section);
};
-}
+}
// namespace
void ELFObjectWriter::align(unsigned Alignment) {
uint64_t Padding = OffsetToAlignment(OS.tell(), Alignment);
void ELFObjectWriter::align(unsigned Alignment) {
uint64_t Padding = OffsetToAlignment(OS.tell(), Alignment);
diff --git
a/lib/MC/MCAssembler.cpp
b/lib/MC/MCAssembler.cpp
index 76be67cafc5656022f9824bd05a1da92c17f0a4d..34211aa901fa955083b959192468095228131097 100644
(file)
--- a/
lib/MC/MCAssembler.cpp
+++ b/
lib/MC/MCAssembler.cpp
@@
-54,8
+54,8
@@
STATISTIC(FragmentLayouts, "Number of fragment layouts");
STATISTIC(ObjectBytes, "Number of emitted object file bytes");
STATISTIC(RelaxationSteps, "Number of assembler layout and relaxation steps");
STATISTIC(RelaxedInstructions, "Number of relaxed instructions");
STATISTIC(ObjectBytes, "Number of emitted object file bytes");
STATISTIC(RelaxationSteps, "Number of assembler layout and relaxation steps");
STATISTIC(RelaxedInstructions, "Number of relaxed instructions");
-}
-}
+}
// namespace stats
+}
// namespace
// FIXME FIXME FIXME: There are number of places in this file where we convert
// what is a 64-bit assembler value used for computation into a value in the
// FIXME FIXME FIXME: There are number of places in this file where we convert
// what is a 64-bit assembler value used for computation into a value in the
diff --git
a/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
b/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
index 68948d36d65c375f1ef7012e34fb3612c03053aa..b9aebfc617f9768b12ac6e34a3ec5ad9d7caccfd 100644
(file)
--- a/
lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
+++ b/
lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
@@
-193,4
+193,4
@@
MCSymbolizer *createMCSymbolizer(StringRef TT, LLVMOpInfoCallback GetOpInfo,
return new MCExternalSymbolizer(*Ctx, std::move(RelInfo), GetOpInfo,
SymbolLookUp, DisInfo);
}
return new MCExternalSymbolizer(*Ctx, std::move(RelInfo), GetOpInfo,
SymbolLookUp, DisInfo);
}
-}
+}
// namespace llvm
diff --git
a/lib/MC/MCDwarf.cpp
b/lib/MC/MCDwarf.cpp
index c84c4865f51e43ea7b9407c16aad32f15280c96c..4ae2bcfab72ba4c7a40d0ee291737cad2c8869c0 100644
(file)
--- a/
lib/MC/MCDwarf.cpp
+++ b/
lib/MC/MCDwarf.cpp
@@
-1461,7
+1461,7
@@
namespace {
bool IsSignalFrame;
bool IsSimple;
};
bool IsSignalFrame;
bool IsSimple;
};
-}
+}
// namespace
namespace llvm {
template <>
namespace llvm {
template <>
@@
-1488,7
+1488,7
@@
namespace llvm {
LHS.IsSimple == RHS.IsSimple;
}
};
LHS.IsSimple == RHS.IsSimple;
}
};
-}
+}
// namespace llvm
void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB,
bool IsEH) {
void MCDwarfFrameEmitter::Emit(MCObjectStreamer &Streamer, MCAsmBackend *MAB,
bool IsEH) {
diff --git
a/lib/MC/MCNullStreamer.cpp
b/lib/MC/MCNullStreamer.cpp
index eb2d91254b34227031aadea5c910f40a4cd2e61a..e0f610bf4ac43ac4991f42169fdf5592edb42680 100644
(file)
--- a/
lib/MC/MCNullStreamer.cpp
+++ b/
lib/MC/MCNullStreamer.cpp
@@
-36,7
+36,7
@@
namespace {
void EmitGPRel32Value(const MCExpr *Value) override {}
};
void EmitGPRel32Value(const MCExpr *Value) override {}
};
-}
+}
// namespace
MCStreamer *llvm::createNullStreamer(MCContext &Context) {
return new MCNullStreamer(Context);
MCStreamer *llvm::createNullStreamer(MCContext &Context) {
return new MCNullStreamer(Context);
diff --git
a/lib/MC/MCParser/AsmParser.cpp
b/lib/MC/MCParser/AsmParser.cpp
index 20366dc4e4f5f503d6fda9a8d2b333be2130fd72..5400bb9f31a683c75123432b5a05419942a0d729 100644
(file)
--- a/
lib/MC/MCParser/AsmParser.cpp
+++ b/
lib/MC/MCParser/AsmParser.cpp
@@
-484,7
+484,7
@@
private:
void initializeDirectiveKindMap();
};
void initializeDirectiveKindMap();
};
-}
+}
// namespace
namespace llvm {
namespace llvm {
@@
-1942,7
+1942,7
@@
public:
private:
AsmLexer &Lexer;
};
private:
AsmLexer &Lexer;
};
-}
+}
// namespace
bool AsmParser::parseMacroArgument(MCAsmMacroArgument &MA, bool Vararg) {
bool AsmParser::parseMacroArgument(MCAsmMacroArgument &MA, bool Vararg) {
diff --git
a/lib/MC/MCParser/COFFAsmParser.cpp
b/lib/MC/MCParser/COFFAsmParser.cpp
index f09bce005d6a7b8500d5e7ffa85553f27bc5df6c..1480f5b4576c766644bcfa75251a51796d3b80e0 100644
(file)
--- a/
lib/MC/MCParser/COFFAsmParser.cpp
+++ b/
lib/MC/MCParser/COFFAsmParser.cpp
@@
-145,7
+145,7
@@
public:
COFFAsmParser() {}
};
COFFAsmParser() {}
};
-} //
end annonomous namespace.
+} //
namespace
static SectionKind computeSectionKind(unsigned Flags) {
if (Flags & COFF::IMAGE_SCN_MEM_EXECUTE)
static SectionKind computeSectionKind(unsigned Flags) {
if (Flags & COFF::IMAGE_SCN_MEM_EXECUTE)
diff --git
a/lib/MC/MCParser/ELFAsmParser.cpp
b/lib/MC/MCParser/ELFAsmParser.cpp
index e3585bd276327f72e6096524e0b2a0f60b95aeaa..e131b238965ddefa7e403c6c01f2f37c69edb542 100644
(file)
--- a/
lib/MC/MCParser/ELFAsmParser.cpp
+++ b/
lib/MC/MCParser/ELFAsmParser.cpp
@@
-154,7
+154,7
@@
private:
unsigned parseSunStyleSectionFlags();
};
unsigned parseSunStyleSectionFlags();
};
-}
+}
// namespace
/// ParseDirectiveSymbolAttribute
/// ::= { ".local", ".weak", ... } [ identifier ( , identifier )* ]
/// ParseDirectiveSymbolAttribute
/// ::= { ".local", ".weak", ... } [ identifier ( , identifier )* ]
diff --git
a/lib/MC/MCSymbolELF.cpp
b/lib/MC/MCSymbolELF.cpp
index ec7ef447ff89f705c7d37fdfaf983fd5831d5f58..6ec70ed3a9fe7dc53695129742d717f727ff9344 100644
(file)
--- a/
lib/MC/MCSymbolELF.cpp
+++ b/
lib/MC/MCSymbolELF.cpp
@@
-38,7
+38,7
@@
enum {
// One bit.
ELF_BindingSet_Shift = 12
};
// One bit.
ELF_BindingSet_Shift = 12
};
-}
+}
// namespace
void MCSymbolELF::setBinding(unsigned Binding) const {
setIsBindingSet();
void MCSymbolELF::setBinding(unsigned Binding) const {
setIsBindingSet();
@@
-198,4
+198,4
@@
void MCSymbolELF::setIsBindingSet() const {
bool MCSymbolELF::isBindingSet() const {
return getFlags() & (0x1 << ELF_BindingSet_Shift);
}
bool MCSymbolELF::isBindingSet() const {
return getFlags() & (0x1 << ELF_BindingSet_Shift);
}
-}
+}
// namespace llvm
diff --git
a/lib/MC/MCWin64EH.cpp
b/lib/MC/MCWin64EH.cpp
index 1b73b7afb6a00ef28248b7792fad2759dfba2e68..d8280c7c014119198bfd19496c1aaee78eed2c7b 100644
(file)
--- a/
lib/MC/MCWin64EH.cpp
+++ b/
lib/MC/MCWin64EH.cpp
@@
-247,6
+247,6
@@
void UnwindEmitter::EmitUnwindInfo(MCStreamer &Streamer,
llvm::EmitUnwindInfo(Streamer, info);
}
llvm::EmitUnwindInfo(Streamer, info);
}
-}
+}
// namespace Win64EH
} // End of namespace llvm
} // End of namespace llvm
diff --git
a/lib/MC/MCWinEH.cpp
b/lib/MC/MCWinEH.cpp
index d5d9eadf39a0a288e004cb380a17a9e519a1926f..9cf2edf2a56ca5eefa50b5f38ecd6c5364791bb4 100644
(file)
--- a/
lib/MC/MCWinEH.cpp
+++ b/
lib/MC/MCWinEH.cpp
@@
-74,6
+74,6
@@
MCSection *UnwindEmitter::getXDataSection(const MCSymbol *Function,
return getUnwindInfoSection(".xdata", XData, Function, Context);
}
return getUnwindInfoSection(".xdata", XData, Function, Context);
}
-}
-}
+}
// namespace WinEH
+}
// namespace llvm
diff --git
a/lib/MC/WinCOFFObjectWriter.cpp
b/lib/MC/WinCOFFObjectWriter.cpp
index 56ef1c7a2735d2fcf3c979c5b77d163c04cc329f..5bc1404e83aacb3b04d7f417d8e01f5060473ecc 100644
(file)
--- a/
lib/MC/WinCOFFObjectWriter.cpp
+++ b/
lib/MC/WinCOFFObjectWriter.cpp
@@
-191,7
+191,7
@@
public:
void writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
};
void writeObject(MCAssembler &Asm, const MCAsmLayout &Layout) override;
};
-}
+}
// namespace
static inline void write_uint32_le(void *Data, uint32_t Value) {
support::endian::write<uint32_t, support::little, support::unaligned>(Data,
static inline void write_uint32_le(void *Data, uint32_t Value) {
support::endian::write<uint32_t, support::little, support::unaligned>(Data,
diff --git
a/lib/MC/WinCOFFStreamer.cpp
b/lib/MC/WinCOFFStreamer.cpp
index 36dd691f07b8764c086992b4a501a860bf9d650d..4ecdc3b79a762dd604a25a96b6ca743e7113dba6 100644
(file)
--- a/
lib/MC/WinCOFFStreamer.cpp
+++ b/
lib/MC/WinCOFFStreamer.cpp
@@
-291,5
+291,5
@@
LLVM_ATTRIBUTE_NORETURN
void MCWinCOFFStreamer::FatalError(const Twine &Msg) const {
getContext().reportFatalError(SMLoc(), Msg);
}
void MCWinCOFFStreamer::FatalError(const Twine &Msg) const {
getContext().reportFatalError(SMLoc(), Msg);
}
-}
+}
// namespace llvm
diff --git
a/lib/Object/COFFYAML.cpp
b/lib/Object/COFFYAML.cpp
index 9a24b531da9e5abe839570e54ab2fd304cf0d879..dda4b7f8c87eed69f55058fff87d02d68bc17587 100644
(file)
--- a/
lib/Object/COFFYAML.cpp
+++ b/
lib/Object/COFFYAML.cpp
@@
-335,7
+335,7
@@
struct NDLLCharacteristics {
COFF::DLLCharacteristics Characteristics;
};
COFF::DLLCharacteristics Characteristics;
};
-}
+}
// namespace
void MappingTraits<COFFYAML::Relocation>::mapping(IO &IO,
COFFYAML::Relocation &Rel) {
void MappingTraits<COFFYAML::Relocation>::mapping(IO &IO,
COFFYAML::Relocation &Rel) {
@@
-497,5
+497,5
@@
void MappingTraits<COFFYAML::Object>::mapping(IO &IO, COFFYAML::Object &Obj) {
IO.mapRequired("symbols", Obj.Symbols);
}
IO.mapRequired("symbols", Obj.Symbols);
}
-}
-}
+}
// namespace yaml
+}
// namespace llvm
diff --git
a/lib/Object/ELFYAML.cpp
b/lib/Object/ELFYAML.cpp
index ecdd468305bebf9f4772f92fde6ae39959f980e4..50730a99655ce0198412b0c58ca0fdae13b6bee5 100644
(file)
--- a/
lib/Object/ELFYAML.cpp
+++ b/
lib/Object/ELFYAML.cpp
@@
-590,7
+590,7
@@
struct NormalizedOther {
ELFYAML::ELF_STV Visibility;
ELFYAML::ELF_STO Other;
};
ELFYAML::ELF_STV Visibility;
ELFYAML::ELF_STO Other;
};
-}
+}
// namespace
void MappingTraits<ELFYAML::Symbol>::mapping(IO &IO, ELFYAML::Symbol &Symbol) {
IO.mapOptional("Name", Symbol.Name, StringRef());
void MappingTraits<ELFYAML::Symbol>::mapping(IO &IO, ELFYAML::Symbol &Symbol) {
IO.mapOptional("Name", Symbol.Name, StringRef());
@@
-723,7
+723,7
@@
struct NormalizedMips64RelType {
ELFYAML::ELF_REL Type3;
ELFYAML::ELF_RSS SpecSym;
};
ELFYAML::ELF_REL Type3;
ELFYAML::ELF_RSS SpecSym;
};
-}
+}
// namespace
void MappingTraits<ELFYAML::Relocation>::mapping(IO &IO,
ELFYAML::Relocation &Rel) {
void MappingTraits<ELFYAML::Relocation>::mapping(IO &IO,
ELFYAML::Relocation &Rel) {
diff --git
a/lib/Object/RecordStreamer.h
b/lib/Object/RecordStreamer.h
index d8610610c332f764c511afc09bf9ea410e1ef104..d694a9fb8b0d8d2bbbb6738c47b75f7d2bbcd471 100644
(file)
--- a/
lib/Object/RecordStreamer.h
+++ b/
lib/Object/RecordStreamer.h
@@
-38,5
+38,5
@@
public:
void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
unsigned ByteAlignment) override;
};
void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
unsigned ByteAlignment) override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Option/OptTable.cpp
b/lib/Option/OptTable.cpp
index 96ba1836f4cd76d3b3fb0ab9505c80adcff05cb1..c37f193fa64e9cc25b6b5f53e974f66eaa41a9e6 100644
(file)
--- a/
lib/Option/OptTable.cpp
+++ b/
lib/Option/OptTable.cpp
@@
-79,8
+79,8
@@
static inline bool operator<(const OptTable::Info &A, const OptTable::Info &B) {
static inline bool operator<(const OptTable::Info &I, const char *Name) {
return StrCmpOptionNameIgnoreCase(I.Name, Name) < 0;
}
static inline bool operator<(const OptTable::Info &I, const char *Name) {
return StrCmpOptionNameIgnoreCase(I.Name, Name) < 0;
}
-}
-}
+}
// namespace opt
+}
// namespace llvm
OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {}
OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {}
diff --git
a/lib/ProfileData/CoverageMapping.cpp
b/lib/ProfileData/CoverageMapping.cpp
index 0804bd05f7408af60ec36dd9bd48089aa3dd82e2..b6c2489bd5c68c1c8ad09cfe1d21dbf4ba308933 100644
(file)
--- a/
lib/ProfileData/CoverageMapping.cpp
+++ b/
lib/ProfileData/CoverageMapping.cpp
@@
-350,7
+350,7
@@
public:
return Segments;
}
};
return Segments;
}
};
-}
+}
// namespace
std::vector<StringRef> CoverageMapping::getUniqueSourceFiles() const {
std::vector<StringRef> Filenames;
std::vector<StringRef> CoverageMapping::getUniqueSourceFiles() const {
std::vector<StringRef> Filenames;
@@
-521,7
+521,7
@@
class CoverageMappingErrorCategoryType : public std::error_category {
llvm_unreachable("A value of coveragemap_error has no message.");
}
};
llvm_unreachable("A value of coveragemap_error has no message.");
}
};
-}
+}
// namespace
static ManagedStatic<CoverageMappingErrorCategoryType> ErrorCategory;
static ManagedStatic<CoverageMappingErrorCategoryType> ErrorCategory;
diff --git
a/lib/ProfileData/CoverageMappingReader.cpp
b/lib/ProfileData/CoverageMappingReader.cpp
index ec531c3753ec2446b28d0e71fb7c1eb1cd83954b..32de0babcb2fb2712a64a1e5517d8332737d0072 100644
(file)
--- a/
lib/ProfileData/CoverageMappingReader.cpp
+++ b/
lib/ProfileData/CoverageMappingReader.cpp
@@
-315,7
+315,7
@@
struct SectionData {
return std::error_code();
}
};
return std::error_code();
}
};
-}
+}
// namespace
template <typename T, support::endianness Endian>
std::error_code readCoverageMappingData(
template <typename T, support::endianness Endian>
std::error_code readCoverageMappingData(
diff --git
a/lib/ProfileData/CoverageMappingWriter.cpp
b/lib/ProfileData/CoverageMappingWriter.cpp
index d90d2f5651551f0a651209247a6123b00e4c4794..128003c270d766ef031d87a3f7f828d0de8cedf7 100644
(file)
--- a/
lib/ProfileData/CoverageMappingWriter.cpp
+++ b/
lib/ProfileData/CoverageMappingWriter.cpp
@@
-74,7
+74,7
@@
public:
return C;
}
};
return C;
}
};
-}
+}
// namespace
/// \brief Encode the counter.
///
/// \brief Encode the counter.
///
diff --git
a/lib/ProfileData/InstrProf.cpp
b/lib/ProfileData/InstrProf.cpp
index 92822a71402fc8d4eca92d71e3c26fc1aea8d14a..805d6d16aace639fd1245a5727347a348d66c6d3 100644
(file)
--- a/
lib/ProfileData/InstrProf.cpp
+++ b/
lib/ProfileData/InstrProf.cpp
@@
-54,7
+54,7
@@
class InstrProfErrorCategoryType : public std::error_category {
llvm_unreachable("A value of instrprof_error has no message.");
}
};
llvm_unreachable("A value of instrprof_error has no message.");
}
};
-}
+}
// namespace
static ManagedStatic<InstrProfErrorCategoryType> ErrorCategory;
static ManagedStatic<InstrProfErrorCategoryType> ErrorCategory;
diff --git
a/lib/ProfileData/InstrProfIndexed.h
b/lib/ProfileData/InstrProfIndexed.h
index ebca7b22fbfbf16e44e7c365a678103cba56b3a9..afd8cfb7430635a9fb0f75de1ebc23225818f6e1 100644
(file)
--- a/
lib/ProfileData/InstrProfIndexed.h
+++ b/
lib/ProfileData/InstrProfIndexed.h
@@
-49,7
+49,7
@@
static inline uint64_t ComputeHash(HashT Type, StringRef K) {
const uint64_t Magic = 0x8169666f72706cff; // "\xfflprofi\x81"
const uint64_t Version = 2;
const HashT HashType = HashT::MD5;
const uint64_t Magic = 0x8169666f72706cff; // "\xfflprofi\x81"
const uint64_t Version = 2;
const HashT HashType = HashT::MD5;
-}
+}
// namespace IndexedInstrProf
} // end namespace llvm
} // end namespace llvm
diff --git
a/lib/ProfileData/InstrProfWriter.cpp
b/lib/ProfileData/InstrProfWriter.cpp
index 2188543ed61c3002f93825dddca18940026b8534..efac2926b6cfba3873335e18c67ba69ebbf932db 100644
(file)
--- a/
lib/ProfileData/InstrProfWriter.cpp
+++ b/
lib/ProfileData/InstrProfWriter.cpp
@@
-69,7
+69,7
@@
public:
}
}
};
}
}
};
-}
+}
// namespace
std::error_code
InstrProfWriter::addFunctionCounts(StringRef FunctionName,
std::error_code
InstrProfWriter::addFunctionCounts(StringRef FunctionName,
diff --git
a/lib/ProfileData/SampleProf.cpp
b/lib/ProfileData/SampleProf.cpp
index 920c48a246400a0d1cf39232ecb237a1f92d8eee..e2894c64be01e3d67f88d24be2cb839eae0b94df 100644
(file)
--- a/
lib/ProfileData/SampleProf.cpp
+++ b/
lib/ProfileData/SampleProf.cpp
@@
-42,7
+42,7
@@
class SampleProfErrorCategoryType : public std::error_category {
llvm_unreachable("A value of sampleprof_error has no message.");
}
};
llvm_unreachable("A value of sampleprof_error has no message.");
}
};
-}
+}
// namespace
static ManagedStatic<SampleProfErrorCategoryType> ErrorCategory;
static ManagedStatic<SampleProfErrorCategoryType> ErrorCategory;
diff --git
a/lib/Support/APFloat.cpp
b/lib/Support/APFloat.cpp
index 4b0a0e5d4819a662b2603ab06d4c8d4104340af1..48830e83e9a4ebd7ee87a69b331e938cbe40e762 100644
(file)
--- a/
lib/Support/APFloat.cpp
+++ b/
lib/Support/APFloat.cpp
@@
-90,7
+90,7
@@
namespace llvm {
const unsigned int maxPowerOfFiveExponent = maxExponent + maxPrecision - 1;
const unsigned int maxPowerOfFiveParts = 2 + ((maxPowerOfFiveExponent * 815)
/ (351 * integerPartWidth));
const unsigned int maxPowerOfFiveExponent = maxExponent + maxPrecision - 1;
const unsigned int maxPowerOfFiveParts = 2 + ((maxPowerOfFiveExponent * 815)
/ (351 * integerPartWidth));
-}
+}
// namespace llvm
/* A bunch of private, handy routines. */
/* A bunch of private, handy routines. */
@@
-3539,7
+3539,7
@@
namespace {
exp += FirstSignificant;
buffer.erase(&buffer[0], &buffer[FirstSignificant]);
}
exp += FirstSignificant;
buffer.erase(&buffer[0], &buffer[FirstSignificant]);
}
-}
+}
// namespace
void APFloat::toString(SmallVectorImpl<char> &Str,
unsigned FormatPrecision,
void APFloat::toString(SmallVectorImpl<char> &Str,
unsigned FormatPrecision,
diff --git
a/lib/Support/APInt.cpp
b/lib/Support/APInt.cpp
index 23f89bb66f9e562204cd136d5ed21c9ad5f414a4..aa026d49c070f851e8b8f7e931ad4823db633b74 100644
(file)
--- a/
lib/Support/APInt.cpp
+++ b/
lib/Support/APInt.cpp
@@
-2331,7
+2331,7
@@
namespace {
{
return findFirstSet(value, ZB_Max);
}
{
return findFirstSet(value, ZB_Max);
}
-}
+}
// namespace
/* Sets the least significant part of a bignum to the input value, and
zeroes out higher parts. */
/* Sets the least significant part of a bignum to the input value, and
zeroes out higher parts. */
diff --git
a/lib/Support/ARMBuildAttrs.cpp
b/lib/Support/ARMBuildAttrs.cpp
index 960a0f13c674eefc19bc6762964ef00413fe4c53..9c8bb15dc0ae3c9a8746d559a348e168a331524b 100644
(file)
--- a/
lib/Support/ARMBuildAttrs.cpp
+++ b/
lib/Support/ARMBuildAttrs.cpp
@@
-66,7
+66,7
@@
const struct {
{ ARMBuildAttrs::ABI_align_needed, "Tag_ABI_align8_needed" },
{ ARMBuildAttrs::ABI_align_preserved, "Tag_ABI_align8_preserved" },
};
{ ARMBuildAttrs::ABI_align_needed, "Tag_ABI_align8_needed" },
{ ARMBuildAttrs::ABI_align_preserved, "Tag_ABI_align8_preserved" },
};
-}
+}
// namespace
namespace llvm {
namespace ARMBuildAttrs {
namespace llvm {
namespace ARMBuildAttrs {
@@
-90,6
+90,6
@@
int AttrTypeFromString(StringRef Tag) {
return ARMAttributeTags[TI].Attr;
return -1;
}
return ARMAttributeTags[TI].Attr;
return -1;
}
-}
-}
+}
// namespace ARMBuildAttrs
+}
// namespace llvm
diff --git
a/lib/Support/ARMWinEH.cpp
b/lib/Support/ARMWinEH.cpp
index 03c150f1150b166ffe8886d6d83403d2727e9b3c..8d21ca5698c1b28f9bce8b6a896517624b2de52d 100644
(file)
--- a/
lib/Support/ARMWinEH.cpp
+++ b/
lib/Support/ARMWinEH.cpp
@@
-32,7
+32,7
@@
std::pair<uint16_t, uint32_t> SavedRegisterMask(const RuntimeFunction &RF) {
return std::make_pair(GPRMask, VFPMask);
}
return std::make_pair(GPRMask, VFPMask);
}
-}
-}
-}
+}
// namespace WinEH
+}
// namespace ARM
+}
// namespace llvm
diff --git
a/lib/Support/Allocator.cpp
b/lib/Support/Allocator.cpp
index f48edac0598ce13ece81ec075fbfbb9b0ca35a10..021037a2b3ddbac46247b58c2e1e521436849460 100644
(file)
--- a/
lib/Support/Allocator.cpp
+++ b/
lib/Support/Allocator.cpp
@@
-37,4
+37,4
@@
void PrintRecyclerStats(size_t Size,
<< "Number of elements free for recycling: " << FreeListSize << '\n';
}
<< "Number of elements free for recycling: " << FreeListSize << '\n';
}
-}
+}
// namespace llvm
diff --git
a/lib/Support/CommandLine.cpp
b/lib/Support/CommandLine.cpp
index dcaacf6248d15fb14beff84909b717d31b8944fe..3638f0df5e2d49e332361a5d3cfd79c338a96b09 100644
(file)
--- a/
lib/Support/CommandLine.cpp
+++ b/
lib/Support/CommandLine.cpp
@@
-61,8
+61,8
@@
TEMPLATE_INSTANTIATION(class opt<int>);
TEMPLATE_INSTANTIATION(class opt<std::string>);
TEMPLATE_INSTANTIATION(class opt<char>);
TEMPLATE_INSTANTIATION(class opt<bool>);
TEMPLATE_INSTANTIATION(class opt<std::string>);
TEMPLATE_INSTANTIATION(class opt<char>);
TEMPLATE_INSTANTIATION(class opt<bool>);
-}
-} //
end namespace llvm::cl
+}
// namespace cl
+} //
namespace llvm
// Pin the vtables to this file.
void GenericOptionValue::anchor() {}
// Pin the vtables to this file.
void GenericOptionValue::anchor() {}
diff --git
a/lib/Support/CrashRecoveryContext.cpp
b/lib/Support/CrashRecoveryContext.cpp
index aba0f1ddeee86c4ada53494ba6909a34be887f43..929f5dacd729147fbcee169ac6646773814e89cf 100644
(file)
--- a/
lib/Support/CrashRecoveryContext.cpp
+++ b/
lib/Support/CrashRecoveryContext.cpp
@@
-60,7
+60,7
@@
public:
}
};
}
};
-}
+}
// namespace
static ManagedStatic<sys::Mutex> gCrashRecoveryContextMutex;
static bool gCrashRecoveryEnabled = false;
static ManagedStatic<sys::Mutex> gCrashRecoveryContextMutex;
static bool gCrashRecoveryEnabled = false;
diff --git
a/lib/Support/DAGDeltaAlgorithm.cpp
b/lib/Support/DAGDeltaAlgorithm.cpp
index f1a334bfc7bea6fd2c18e61f6c231348866840dd..0f447808cc4d459a980ab65e81f83b7d1be49567 100644
(file)
--- a/
lib/Support/DAGDeltaAlgorithm.cpp
+++ b/
lib/Support/DAGDeltaAlgorithm.cpp
@@
-175,7
+175,7
@@
public:
: DDAI(DDAI), Required(Required) {}
};
: DDAI(DDAI), Required(Required) {}
};
-}
+}
// namespace
DAGDeltaAlgorithmImpl::DAGDeltaAlgorithmImpl(
DAGDeltaAlgorithm &DDA, const changeset_ty &Changes,
DAGDeltaAlgorithmImpl::DAGDeltaAlgorithmImpl(
DAGDeltaAlgorithm &DDA, const changeset_ty &Changes,
diff --git
a/lib/Support/DataStream.cpp
b/lib/Support/DataStream.cpp
index 3b10fc5eecaa3442e40da172429a5573a4e43be9..ad05494f9c67472ce7011d45ad90a5ac5584876c 100644
(file)
--- a/
lib/Support/DataStream.cpp
+++ b/
lib/Support/DataStream.cpp
@@
-72,7
+72,7
@@
public:
}
};
}
};
-}
+}
// namespace
std::unique_ptr<DataStreamer>
llvm::getDataFileStreamer(const std::string &Filename, std::string *StrError) {
std::unique_ptr<DataStreamer>
llvm::getDataFileStreamer(const std::string &Filename, std::string *StrError) {
diff --git
a/lib/Support/Debug.cpp
b/lib/Support/Debug.cpp
index 47751fce3fcdca4c74853d288e038adb6300c492..2052662ab1bf5a5715a88593e0edd2b63458d5cc 100644
(file)
--- a/
lib/Support/Debug.cpp
+++ b/
lib/Support/Debug.cpp
@@
-99,7
+99,7
@@
struct DebugOnlyOpt {
}
};
}
};
-}
+}
// namespace
static DebugOnlyOpt DebugOnlyOptLoc;
static DebugOnlyOpt DebugOnlyOptLoc;
diff --git
a/lib/Support/FileOutputBuffer.cpp
b/lib/Support/FileOutputBuffer.cpp
index 307ff09afedc1a350e18dce03dec155902e26c02..6f064c9836115b3f1050e393c3731e4fcea0ee53 100644
(file)
--- a/
lib/Support/FileOutputBuffer.cpp
+++ b/
lib/Support/FileOutputBuffer.cpp
@@
-109,4
+109,4
@@
std::error_code FileOutputBuffer::commit() {
// Rename file to final name.
return sys::fs::rename(Twine(TempPath), Twine(FinalPath));
}
// Rename file to final name.
return sys::fs::rename(Twine(TempPath), Twine(FinalPath));
}
-} // namespace
+} // namespace
llvm
diff --git
a/lib/Support/MD5.cpp
b/lib/Support/MD5.cpp
index ceab580984d436fb52a760609aea3f5568d0f64d..6ed81fbe49e09f00851165b1853ff23baf6f8533 100644
(file)
--- a/
lib/Support/MD5.cpp
+++ b/
lib/Support/MD5.cpp
@@
-283,4
+283,4
@@
void MD5::stringifyResult(MD5Result &Result, SmallString<32> &Str) {
Res << format("%.2x", Result[i]);
}
Res << format("%.2x", Result[i]);
}
-}
+}
// namespace llvm
diff --git
a/lib/Support/MathExtras.cpp
b/lib/Support/MathExtras.cpp
index ba0924540cebc33829c104ab0401ff1b2b4a7ee5..9265a43d38c3a5301db226af7f6238b37764962e 100644
(file)
--- a/
lib/Support/MathExtras.cpp
+++ b/
lib/Support/MathExtras.cpp
@@
-29,4
+29,4
@@
namespace llvm {
const float huge_valf = HUGE_VALF;
#endif
const float huge_valf = HUGE_VALF;
#endif
-}
+}
// namespace llvm
diff --git
a/lib/Support/MemoryBuffer.cpp
b/lib/Support/MemoryBuffer.cpp
index 98862e96b74923bb930f741d7a9074db8582cdcf..1d69b9692c2437aceaeb9f17382deb5a1020e1c4 100644
(file)
--- a/
lib/Support/MemoryBuffer.cpp
+++ b/
lib/Support/MemoryBuffer.cpp
@@
-94,7
+94,7
@@
public:
return MemoryBuffer_Malloc;
}
};
return MemoryBuffer_Malloc;
}
};
-}
+}
// namespace
static ErrorOr<std::unique_ptr<MemoryBuffer>>
getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
static ErrorOr<std::unique_ptr<MemoryBuffer>>
getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
@@
-220,7
+220,7
@@
public:
return MemoryBuffer_MMap;
}
};
return MemoryBuffer_MMap;
}
};
-}
+}
// namespace
static ErrorOr<std::unique_ptr<MemoryBuffer>>
getMemoryBufferForStream(int FD, const Twine &BufferName) {
static ErrorOr<std::unique_ptr<MemoryBuffer>>
getMemoryBufferForStream(int FD, const Twine &BufferName) {
diff --git
a/lib/Support/Mutex.cpp
b/lib/Support/Mutex.cpp
index c8d3844d0c9618a19133836c06aabac831f42e35..42867c94b737203961709febc25a990c92ed6313 100644
(file)
--- a/
lib/Support/Mutex.cpp
+++ b/
lib/Support/Mutex.cpp
@@
-110,7
+110,7
@@
MutexImpl::tryacquire()
return errorcode == 0;
}
return errorcode == 0;
}
-}
+}
// namespace llvm
#elif defined(LLVM_ON_UNIX)
#include "Unix/Mutex.inc"
#elif defined(LLVM_ON_UNIX)
#include "Unix/Mutex.inc"
diff --git
a/lib/Support/RWMutex.cpp
b/lib/Support/RWMutex.cpp
index 3b6309cef21acc941deae3c3ead410fee98cfb72..21ba5a428e6ff5f1472158319fe394289a3d46ab 100644
(file)
--- a/
lib/Support/RWMutex.cpp
+++ b/
lib/Support/RWMutex.cpp
@@
-113,7
+113,7
@@
RWMutexImpl::writer_release()
return errorcode == 0;
}
return errorcode == 0;
}
-}
+}
// namespace llvm
#elif defined(LLVM_ON_UNIX)
#include "Unix/RWMutex.inc"
#elif defined(LLVM_ON_UNIX)
#include "Unix/RWMutex.inc"
diff --git
a/lib/Support/Statistic.cpp
b/lib/Support/Statistic.cpp
index 56c3b0f5659fa716e7c43cc567b9ac4d5f4bdc7d..90f5fdb019e74a8f7dca922bd94cbda9aa42e173 100644
(file)
--- a/
lib/Support/Statistic.cpp
+++ b/
lib/Support/Statistic.cpp
@@
-60,7
+60,7
@@
public:
Stats.push_back(S);
}
};
Stats.push_back(S);
}
};
-}
+}
// namespace
static ManagedStatic<StatisticInfo> StatInfo;
static ManagedStatic<sys::SmartMutex<true> > StatLock;
static ManagedStatic<StatisticInfo> StatInfo;
static ManagedStatic<sys::SmartMutex<true> > StatLock;
diff --git
a/lib/Support/StreamingMemoryObject.cpp
b/lib/Support/StreamingMemoryObject.cpp
index 5a44e624eb8cff0b04ac70cacab10675f52af820..891aa665e2c500d5106754c6ef2bd8dabe06fa9e 100644
(file)
--- a/
lib/Support/StreamingMemoryObject.cpp
+++ b/
lib/Support/StreamingMemoryObject.cpp
@@
-129,4
+129,4
@@
StreamingMemoryObject::StreamingMemoryObject(
BytesSkipped(0), ObjectSize(0), EOFReached(false) {
BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize);
}
BytesSkipped(0), ObjectSize(0), EOFReached(false) {
BytesRead = this->Streamer->GetBytes(&Bytes[0], kChunkSize);
}
-}
+}
// namespace llvm
diff --git
a/lib/Support/TimeValue.cpp
b/lib/Support/TimeValue.cpp
index 136b93eceefaa0484d2783f1f8d7c978f8a00785..caa5b5aa7e538eaab34616a43c0404eec9d49366 100644
(file)
--- a/
lib/Support/TimeValue.cpp
+++ b/
lib/Support/TimeValue.cpp
@@
-45,7
+45,7
@@
TimeValue::normalize( void ) {
}
}
}
}
-}
+}
// namespace llvm
/// Include the platform-specific portion of TimeValue class
#ifdef LLVM_ON_UNIX
/// Include the platform-specific portion of TimeValue class
#ifdef LLVM_ON_UNIX
diff --git
a/lib/Support/Timer.cpp
b/lib/Support/Timer.cpp
index d7b65155d6ef5bdfbdfee466ea9882d8c4043e1c..0ad253bec371170c7ddd6a3ac264c6fbfd0c80d9 100644
(file)
--- a/
lib/Support/Timer.cpp
+++ b/
lib/Support/Timer.cpp
@@
-50,7
+50,7
@@
namespace {
InfoOutputFilename("info-output-file", cl::value_desc("filename"),
cl::desc("File to append -stats and -timer output to"),
cl::Hidden, cl::location(getLibSupportInfoOutputFilename()));
InfoOutputFilename("info-output-file", cl::value_desc("filename"),
cl::desc("File to append -stats and -timer output to"),
cl::Hidden, cl::location(getLibSupportInfoOutputFilename()));
-}
+}
// namespace
// CreateInfoOutputFile - Return a file stream to print our output on.
raw_ostream *llvm::CreateInfoOutputFile() {
// CreateInfoOutputFile - Return a file stream to print our output on.
raw_ostream *llvm::CreateInfoOutputFile() {
@@
-218,7
+218,7
@@
public:
}
};
}
};
-}
+}
// namespace
static ManagedStatic<Name2TimerMap> NamedTimers;
static ManagedStatic<Name2PairMap> NamedGroupedTimers;
static ManagedStatic<Name2TimerMap> NamedTimers;
static ManagedStatic<Name2PairMap> NamedGroupedTimers;
diff --git
a/lib/Support/Unix/Process.inc
b/lib/Support/Unix/Process.inc
index df13bd2217390b46c859872aa88b7db2a9f1949f..b15cedd7f6dcaef73f9db06ac92cc6918ccf8bcd 100644
(file)
--- a/
lib/Support/Unix/Process.inc
+++ b/
lib/Support/Unix/Process.inc
@@
-205,7
+205,7
@@
private:
int &FD;
bool KeepOpen;
};
int &FD;
bool KeepOpen;
};
-}
+}
// namespace
std::error_code Process::FixupStandardFileDescriptors() {
int NullFD = -1;
std::error_code Process::FixupStandardFileDescriptors() {
int NullFD = -1;
diff --git
a/lib/Support/Unix/Program.inc
b/lib/Support/Unix/Program.inc
index 8947b62e4dc28b0206e56e9e70392b6287aa7e2e..dc633ab313e9da6ece48c36de54ec8cfa28b222e 100644
(file)
--- a/
lib/Support/Unix/Program.inc
+++ b/
lib/Support/Unix/Program.inc
@@
-176,7
+176,7
@@
static void SetMemoryLimits (unsigned size)
#endif
}
#endif
}
-}
+}
// namespace llvm
static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
const char **envp, const StringRef **redirects,
static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
const char **envp, const StringRef **redirects,
@@
-473,4
+473,4
@@
bool llvm::sys::argumentsFitWithinSystemLimits(ArrayRef<const char*> Args) {
}
return true;
}
}
return true;
}
-}
+}
// namespace llvm
diff --git
a/lib/Support/Unix/ThreadLocal.inc
b/lib/Support/Unix/ThreadLocal.inc
index 31c3f3835b29501ca8ebef8377e0b78d30651de5..a04dd3ee402bf0581da6e395a8229d31de3e0eef 100644
(file)
--- a/
lib/Support/Unix/ThreadLocal.inc
+++ b/
lib/Support/Unix/ThreadLocal.inc
@@
-56,7
+56,7
@@
void ThreadLocalImpl::removeInstance() {
setInstance(nullptr);
}
setInstance(nullptr);
}
-}
+}
// namespace llvm
#else
namespace llvm {
using namespace sys;
#else
namespace llvm {
using namespace sys;
diff --git
a/lib/Support/Unix/TimeValue.inc
b/lib/Support/Unix/TimeValue.inc
index 042e0dacc346ccfbab772cc3d5a9991fe37765be..2c4f04c04f12cc603d3d107bbbd390116589e527 100644
(file)
--- a/
lib/Support/Unix/TimeValue.inc
+++ b/
lib/Support/Unix/TimeValue.inc
@@
-51,4
+51,4
@@
TimeValue TimeValue::now() {
NANOSECONDS_PER_MICROSECOND ) );
}
NANOSECONDS_PER_MICROSECOND ) );
}
-}
+}
// namespace llvm
diff --git
a/lib/Support/Unix/Watchdog.inc
b/lib/Support/Unix/Watchdog.inc
index 5d89c0e51b118cab04c2dbe8b90ce9838d14808e..9e335aaa8ca7bdcdd63398047c6fbb55d63b8db6 100644
(file)
--- a/
lib/Support/Unix/Watchdog.inc
+++ b/
lib/Support/Unix/Watchdog.inc
@@
-28,5
+28,5
@@
namespace llvm {
alarm(0);
#endif
}
alarm(0);
#endif
}
- }
-}
+ }
// namespace sys
+}
// namespace llvm
diff --git
a/lib/Support/YAMLParser.cpp
b/lib/Support/YAMLParser.cpp
index d55da5ef1e4a649c8051ca2f5dab314553d3ed21..5ca28a05206898af95482a918d87aecadfaf9753 100644
(file)
--- a/
lib/Support/YAMLParser.cpp
+++ b/
lib/Support/YAMLParser.cpp
@@
-144,8
+144,8
@@
struct Token : ilist_node<Token> {
Token() : Kind(TK_Error) {}
};
Token() : Kind(TK_Error) {}
};
-}
-}
+}
// namespace yaml
+}
// namespace llvm
namespace llvm {
template<>
namespace llvm {
template<>
@@
-178,7
+178,7
@@
struct ilist_node_traits<Token> {
BumpPtrAllocator Alloc;
};
BumpPtrAllocator Alloc;
};
-}
+}
// namespace llvm
typedef ilist<Token> TokenQueueT;
typedef ilist<Token> TokenQueueT;
@@
-203,7
+203,7
@@
struct SimpleKey {
return Tok == Other.Tok;
}
};
return Tok == Other.Tok;
}
};
-}
+}
// namespace
/// @brief The Unicode scalar value of a UTF-8 minimal well-formed code unit
/// subsequence and the subsequence's length in code units (uint8_t).
/// @brief The Unicode scalar value of a UTF-8 minimal well-formed code unit
/// subsequence and the subsequence's length in code units (uint8_t).
diff --git
a/lib/TableGen/TGLexer.h
b/lib/TableGen/TGLexer.h
index cbc30be8a572f5414f613d9c5bb7a64caeb0c7d2..d97d1caf6b880611b786fb64fd360e611aac59c2 100644
(file)
--- a/
lib/TableGen/TGLexer.h
+++ b/
lib/TableGen/TGLexer.h
@@
-60,7
+60,7
@@
namespace tgtok {
// String valued tokens.
Id, StrVal, VarName, CodeFragment
};
// String valued tokens.
Id, StrVal, VarName, CodeFragment
};
-}
+}
// namespace tgtok
/// TGLexer - TableGen Lexer class.
class TGLexer {
/// TGLexer - TableGen Lexer class.
class TGLexer {
diff --git
a/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
b/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
index bffd9e6e8c76afec57e83bd80995772c1e66c0a8..6c5a083b393d66f09c3be02987eed5f9b2942014 100644
(file)
--- a/
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
+++ b/
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
@@
-148,7
+148,7
@@
private:
Color getColor(unsigned Register);
Chain *getAndEraseNext(Color PreferredColor, std::vector<Chain*> &L);
};
Color getColor(unsigned Register);
Chain *getAndEraseNext(Color PreferredColor, std::vector<Chain*> &L);
};
-}
+}
// namespace
char AArch64A57FPLoadBalancing::ID = 0;
char AArch64A57FPLoadBalancing::ID = 0;
diff --git
a/lib/Target/AArch64/AArch64BranchRelaxation.cpp
b/lib/Target/AArch64/AArch64BranchRelaxation.cpp
index d973234dd86ae6b6374a1e063a2f40d7bd4cbf9d..176403ce124af29c0b2d766cb6cb9037f7c76c29 100644
(file)
--- a/
lib/Target/AArch64/AArch64BranchRelaxation.cpp
+++ b/
lib/Target/AArch64/AArch64BranchRelaxation.cpp
@@
-102,7
+102,7
@@
public:
}
};
char AArch64BranchRelaxation::ID = 0;
}
};
char AArch64BranchRelaxation::ID = 0;
-}
+}
// namespace
/// verify - check BBOffsets, BBSizes, alignment of islands
void AArch64BranchRelaxation::verify() {
/// verify - check BBOffsets, BBSizes, alignment of islands
void AArch64BranchRelaxation::verify() {
diff --git
a/lib/Target/AArch64/AArch64CallingConvention.h
b/lib/Target/AArch64/AArch64CallingConvention.h
index 1e2d1c3b93bded79eb5081120bf6afc18493398e..efc328a37e5f83cecef94e958f5227ecf8951750 100644
(file)
--- a/
lib/Target/AArch64/AArch64CallingConvention.h
+++ b/
lib/Target/AArch64/AArch64CallingConvention.h
@@
-136,6
+136,6
@@
static bool CC_AArch64_Custom_Block(unsigned &ValNo, MVT &ValVT, MVT &LocVT,
return finishStackBlock(PendingMembers, LocVT, ArgFlags, State, SlotAlign);
}
return finishStackBlock(PendingMembers, LocVT, ArgFlags, State, SlotAlign);
}
-}
+}
// namespace
#endif
#endif
diff --git
a/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
b/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
index 06ff9af37fd7a4df73a1a91b6cae4456a6075d69..11eefc4ff63d8c6b95deba506c46d58910d7e84a 100644
(file)
--- a/
lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
+++ b/
lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
@@
-135,7
+135,7
@@
struct LDTLSCleanup : public MachineFunctionPass {
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char LDTLSCleanup::ID = 0;
FunctionPass *llvm::createAArch64CleanupLocalDynamicTLSPass() {
char LDTLSCleanup::ID = 0;
FunctionPass *llvm::createAArch64CleanupLocalDynamicTLSPass() {
diff --git
a/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
b/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
index c2470f747a389a1a19041b3d875265956c281714..acb35251fc6d524cb3a0ecbcbb4fc0d6c71bdf40 100644
(file)
--- a/
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
+++ b/
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp
@@
-43,7
+43,7
@@
private:
unsigned BitSize);
};
char AArch64ExpandPseudo::ID = 0;
unsigned BitSize);
};
char AArch64ExpandPseudo::ID = 0;
-}
+}
// namespace
/// \brief Transfer implicit operands on the pseudo instruction to the
/// instructions created from the expansion.
/// \brief Transfer implicit operands on the pseudo instruction to the
/// instructions created from the expansion.
diff --git
a/lib/Target/AArch64/AArch64FrameLowering.h
b/lib/Target/AArch64/AArch64FrameLowering.h
index b496fccba349fba39d0fc1b5d9fd01bb6afb51b5..11227eeaf3d710fa370b138c9a53e77bc0e985a2 100644
(file)
--- a/
lib/Target/AArch64/AArch64FrameLowering.h
+++ b/
lib/Target/AArch64/AArch64FrameLowering.h
@@
-63,6
+63,6
@@
public:
RegScavenger *RS) const override;
};
RegScavenger *RS) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/AArch64/AArch64MCInstLower.h
b/lib/Target/AArch64/AArch64MCInstLower.h
index 1e29b80c2d626953d292f77027808180b29d708b..908f66f8e296cd6584cb70c79d64b29d9372ef97 100644
(file)
--- a/
lib/Target/AArch64/AArch64MCInstLower.h
+++ b/
lib/Target/AArch64/AArch64MCInstLower.h
@@
-47,6
+47,6
@@
public:
MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
};
MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
MCSymbol *GetExternalSymbolSymbol(const MachineOperand &MO) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/AArch64/AArch64MachineFunctionInfo.h
b/lib/Target/AArch64/AArch64MachineFunctionInfo.h
index 536a8d0f97a0e0dfb2a53c66dcf41c5352e53645..2a0f0a47b05c3f3422b6847c772b1b06b5904eb8 100644
(file)
--- a/
lib/Target/AArch64/AArch64MachineFunctionInfo.h
+++ b/
lib/Target/AArch64/AArch64MachineFunctionInfo.h
@@
-158,6
+158,6
@@
private:
MILOHContainer LOHContainerSet;
SetOfInstructions LOHRelated;
};
MILOHContainer LOHContainerSet;
SetOfInstructions LOHRelated;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
b/lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
index 5394875a6bc12f96ef219bddf8f9fafe56dcea05..bab84631f2b1ed7ff9406c4e583b2cc035d08e6a 100644
(file)
--- a/
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
+++ b/
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
@@
-154,7
+154,7
@@
bool haveSameParity(unsigned reg1, unsigned reg2) {
return isOdd(reg1) == isOdd(reg2);
}
return isOdd(reg1) == isOdd(reg2);
}
-}
+}
// namespace
bool A57ChainingConstraint::addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd,
unsigned Ra) {
bool A57ChainingConstraint::addIntraChainConstraint(PBQPRAGraph &G, unsigned Rd,
unsigned Ra) {
diff --git
a/lib/Target/AArch64/AArch64PBQPRegAlloc.h
b/lib/Target/AArch64/AArch64PBQPRegAlloc.h
index 4f656f94ea12f771427fbabe008965e748d1a78a..c83aea452513fa4020431413c9e816c4eb3b6106 100644
(file)
--- a/
lib/Target/AArch64/AArch64PBQPRegAlloc.h
+++ b/
lib/Target/AArch64/AArch64PBQPRegAlloc.h
@@
-33,6
+33,6
@@
private:
// Add constraints between existing chains
void addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
};
// Add constraints between existing chains
void addInterChainConstraint(PBQPRAGraph &G, unsigned Rd, unsigned Ra);
};
-}
+}
// namespace llvm
#endif // LLVM_LIB_TARGET_AARCH64_AARCH64PBQPREGALOC_H
#endif // LLVM_LIB_TARGET_AARCH64_AARCH64PBQPREGALOC_H
diff --git
a/lib/Target/AArch64/AArch64SelectionDAGInfo.h
b/lib/Target/AArch64/AArch64SelectionDAGInfo.h
index 11932d2b1c22cc2cb8ef4f226c408c8a18bdf80d..a993b60591312287fa049975613ceeeef2aa8293 100644
(file)
--- a/
lib/Target/AArch64/AArch64SelectionDAGInfo.h
+++ b/
lib/Target/AArch64/AArch64SelectionDAGInfo.h
@@
-28,6
+28,6
@@
public:
unsigned Align, bool isVolatile,
MachinePointerInfo DstPtrInfo) const override;
};
unsigned Align, bool isVolatile,
MachinePointerInfo DstPtrInfo) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/AArch64/AArch64StorePairSuppress.cpp
b/lib/Target/AArch64/AArch64StorePairSuppress.cpp
index 1c6b15790ea98515e9c7caa5c98ce24fad6dfeeb..e8165a8e408539d91d9fbdd5e5732e76f935cd6b 100644
(file)
--- a/
lib/Target/AArch64/AArch64StorePairSuppress.cpp
+++ b/
lib/Target/AArch64/AArch64StorePairSuppress.cpp
@@
-57,7
+57,7
@@
private:
}
};
char AArch64StorePairSuppress::ID = 0;
}
};
char AArch64StorePairSuppress::ID = 0;
-} //
anonymous
+} //
namespace
FunctionPass *llvm::createAArch64StorePairSuppressPass() {
return new AArch64StorePairSuppress();
FunctionPass *llvm::createAArch64StorePairSuppressPass() {
return new AArch64StorePairSuppress();
diff --git
a/lib/Target/AArch64/AArch64Subtarget.h
b/lib/Target/AArch64/AArch64Subtarget.h
index 6bb069423060bfed2aecae1d0f0ab4dc618b06b0..c9b54cc3819c1da2aac62c8817d97eaf0575f952 100644
(file)
--- a/
lib/Target/AArch64/AArch64Subtarget.h
+++ b/
lib/Target/AArch64/AArch64Subtarget.h
@@
-151,6
+151,6
@@
public:
std::unique_ptr<PBQPRAConstraint> getCustomPBQPConstraints() const override;
};
std::unique_ptr<PBQPRAConstraint> getCustomPBQPConstraints() const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
b/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
index 15dee978e2298ac30b46b908f74c7e6d0f1d8ba2..19544ac600d64e9dca6f7e2c763f8c67273022bf 100644
(file)
--- a/
lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
+++ b/
lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h
@@
-181,6
+181,6
@@
public:
static const char *getRegisterName(unsigned RegNo,
unsigned AltIdx = AArch64::NoRegAltName);
};
static const char *getRegisterName(unsigned RegNo,
unsigned AltIdx = AArch64::NoRegAltName);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
b/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
index 7624c7240d688d8b9463980b6d418c217cb9ecb4..3e982ee03986f1d66ab7a94eafa852950698499d 100644
(file)
--- a/
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
+++ b/
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
@@
-293,7
+293,7
@@
enum CompactUnwindEncodings {
UNWIND_AArch64_FRAME_D14_D15_PAIR = 0x00000800
};
UNWIND_AArch64_FRAME_D14_D15_PAIR = 0x00000800
};
-} //
end CU namespace
+} //
namespace CU
// FIXME: This should be in a separate file.
class DarwinAArch64AsmBackend : public AArch64AsmBackend {
// FIXME: This should be in a separate file.
class DarwinAArch64AsmBackend : public AArch64AsmBackend {
@@
-517,7
+517,7
@@
void ELFAArch64AsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
}
AArch64AsmBackend::applyFixup (Fixup, Data, DataSize, Value, IsPCRel);
}
}
AArch64AsmBackend::applyFixup (Fixup, Data, DataSize, Value, IsPCRel);
}
-}
+}
// namespace
MCAsmBackend *llvm::createAArch64leAsmBackend(const Target &T,
const MCRegisterInfo &MRI,
MCAsmBackend *llvm::createAArch64leAsmBackend(const Target &T,
const MCRegisterInfo &MRI,
diff --git
a/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
b/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
index 1f516d1db8968844f5fff667f470bef6700e2f6f..807679fb1a21f31a4b79d8b37bec99a0357b337a 100644
(file)
--- a/
lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
+++ b/
lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp
@@
-34,7
+34,7
@@
protected:
private:
};
private:
};
-}
+}
// namespace
AArch64ELFObjectWriter::AArch64ELFObjectWriter(uint8_t OSABI,
bool IsLittleEndian)
AArch64ELFObjectWriter::AArch64ELFObjectWriter(uint8_t OSABI,
bool IsLittleEndian)
diff --git
a/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
b/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
index 3a1d8dd76036f3ac75363340219f16798b4f0b02..bbcbf514069c4543a5f708c551055dc5410dbbac 100644
(file)
--- a/
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
+++ b/
lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
@@
-213,4
+213,4
@@
createAArch64ObjectTargetStreamer(MCStreamer &S, const MCSubtargetInfo &STI) {
return new AArch64TargetELFStreamer(S);
return nullptr;
}
return new AArch64TargetELFStreamer(S);
return nullptr;
}
-}
+}
// namespace llvm
diff --git
a/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
b/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
index 342384437c6a49e08dd029f5eab232f8284b4b44..ca56f6393c4143d2401e3f3594e96c897bc1af06 100644
(file)
--- a/
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
+++ b/
lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h
@@
-65,7
+65,7
@@
MCTargetStreamer *createAArch64AsmTargetStreamer(MCStreamer &S,
MCTargetStreamer *createAArch64ObjectTargetStreamer(MCStreamer &S,
const MCSubtargetInfo &STI);
MCTargetStreamer *createAArch64ObjectTargetStreamer(MCStreamer &S,
const MCSubtargetInfo &STI);
-} //
End llvm namespace
+} //
namespace llvm
// Defines symbolic names for AArch64 registers. This defines a mapping from
// register name to register number.
// Defines symbolic names for AArch64 registers. This defines a mapping from
// register name to register number.
diff --git
a/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
b/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
index 741b273073e48ea0a3a0c4414beddf73add497da..b2f5bf3cf4b5eaed87c6f56a0c179ea0acf98250 100644
(file)
--- a/
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
+++ b/
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
@@
-38,7
+38,7
@@
public:
const MCFixup &Fixup, MCValue Target,
uint64_t &FixedValue) override;
};
const MCFixup &Fixup, MCValue Target,
uint64_t &FixedValue) override;
};
-}
+}
// namespace
bool AArch64MachObjectWriter::getAArch64FixupKindMachOInfo(
const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym,
bool AArch64MachObjectWriter::getAArch64FixupKindMachOInfo(
const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym,
diff --git
a/lib/Target/AArch64/Utils/AArch64BaseInfo.h
b/lib/Target/AArch64/Utils/AArch64BaseInfo.h
index 7e42f8e3601e0318a55d290fe2b42bf8b9c40c4f..40071f6b6bb70c2949f390da749b9169fbfae6b0 100644
(file)
--- a/
lib/Target/AArch64/Utils/AArch64BaseInfo.h
+++ b/
lib/Target/AArch64/Utils/AArch64BaseInfo.h
@@
-346,7
+346,7
@@
namespace AArch64AT {
ATMapper();
};
ATMapper();
};
-}
+}
// namespace AArch64AT
namespace AArch64DB {
enum DBValues {
Invalid = -1,
namespace AArch64DB {
enum DBValues {
Invalid = -1,
@@
-369,7
+369,7
@@
namespace AArch64DB {
DBarrierMapper();
};
DBarrierMapper();
};
-}
+}
// namespace AArch64DB
namespace AArch64DC {
enum DCValues {
namespace AArch64DC {
enum DCValues {
@@
-390,7
+390,7
@@
namespace AArch64DC {
DCMapper();
};
DCMapper();
};
-}
+}
// namespace AArch64DC
namespace AArch64IC {
enum ICValues {
namespace AArch64IC {
enum ICValues {
@@
-410,7
+410,7
@@
namespace AArch64IC {
static inline bool NeedsRegister(ICValues Val) {
return Val == IVAU;
}
static inline bool NeedsRegister(ICValues Val) {
return Val == IVAU;
}
-}
+}
// namespace AArch64IC
namespace AArch64ISB {
enum ISBValues {
namespace AArch64ISB {
enum ISBValues {
@@
-422,7
+422,7
@@
namespace AArch64ISB {
ISBMapper();
};
ISBMapper();
};
-}
+}
// namespace AArch64ISB
namespace AArch64PRFM {
enum PRFMValues {
namespace AArch64PRFM {
enum PRFMValues {
@@
-452,7
+452,7
@@
namespace AArch64PRFM {
PRFMMapper();
};
PRFMMapper();
};
-}
+}
// namespace AArch64PRFM
namespace AArch64PState {
enum PStateValues {
namespace AArch64PState {
enum PStateValues {
@@
-471,7
+471,7
@@
namespace AArch64PState {
PStateMapper();
};
PStateMapper();
};
-}
+}
// namespace AArch64PState
namespace AArch64SE {
enum ShiftExtSpecifiers {
namespace AArch64SE {
enum ShiftExtSpecifiers {
@@
-492,7
+492,7
@@
namespace AArch64SE {
SXTW,
SXTX
};
SXTW,
SXTX
};
-}
+}
// namespace AArch64SE
namespace AArch64Layout {
enum VectorLayout {
namespace AArch64Layout {
enum VectorLayout {
@@
-514,7
+514,7
@@
namespace AArch64Layout {
VL_S,
VL_D
};
VL_S,
VL_D
};
-}
+}
// namespace AArch64Layout
inline static const char *
AArch64VectorLayoutToString(AArch64Layout::VectorLayout Layout) {
inline static const char *
AArch64VectorLayoutToString(AArch64Layout::VectorLayout Layout) {
@@
-1221,7
+1221,7
@@
namespace AArch64SysReg {
};
uint32_t ParseGenericRegister(StringRef Name, bool &Valid);
};
uint32_t ParseGenericRegister(StringRef Name, bool &Valid);
-}
+}
// namespace AArch64SysReg
namespace AArch64TLBI {
enum TLBIValues {
namespace AArch64TLBI {
enum TLBIValues {
@@
-1283,7
+1283,7
@@
namespace AArch64TLBI {
return true;
}
}
return true;
}
}
-}
+}
// namespace AArch64TLBI
namespace AArch64II {
/// Target Operand Flag enum.
namespace AArch64II {
/// Target Operand Flag enum.
diff --git
a/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
b/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
index 1acff3a3222fe688d21dae9ff7c30046715a5efb..92072512e6b5705bdf449ce45196deb577b65cc2 100644
(file)
--- a/
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
+++ b/
lib/Target/AMDGPU/AMDGPUAsmPrinter.h
@@
-108,6
+108,6
@@
protected:
size_t DisasmLineMaxLen;
};
size_t DisasmLineMaxLen;
};
-} //
End anonymous
llvm
+} //
namespace
llvm
#endif
#endif
diff --git
a/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
b/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
index d56838ec2019d4a92cb0d918e02b6e4be6e5e367..570473d855854e25985cab3f1efdedf4bc7f70df 100644
(file)
--- a/
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ b/
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@
-68,7
+68,7
@@
public:
};
int DiagnosticInfoUnsupported::KindID = 0;
};
int DiagnosticInfoUnsupported::KindID = 0;
-}
+}
// namespace
static bool allocateStack(unsigned ValNo, MVT ValVT, MVT LocVT,
static bool allocateStack(unsigned ValNo, MVT ValVT, MVT LocVT,
diff --git
a/lib/Target/AMDGPU/AMDGPUInstrInfo.h
b/lib/Target/AMDGPU/AMDGPUInstrInfo.h
index 86d3962b38562fd3d884f6cc1d11bb9af353c05b..31ae9a3c77600bae235d9d88cfb9dbfca521d2de 100644
(file)
--- a/
lib/Target/AMDGPU/AMDGPUInstrInfo.h
+++ b/
lib/Target/AMDGPU/AMDGPUInstrInfo.h
@@
-198,7
+198,7
@@
namespace AMDGPU {
int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIndex);
} // End namespace AMDGPU
int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIndex);
} // End namespace AMDGPU
-} //
End llvm namespace
+} //
namespace llvm
#define AMDGPU_FLAG_REGISTER_LOAD (UINT64_C(1) << 63)
#define AMDGPU_FLAG_REGISTER_STORE (UINT64_C(1) << 62)
#define AMDGPU_FLAG_REGISTER_LOAD (UINT64_C(1) << 63)
#define AMDGPU_FLAG_REGISTER_STORE (UINT64_C(1) << 62)
diff --git
a/lib/Target/AMDGPU/AMDGPUMachineFunction.h
b/lib/Target/AMDGPU/AMDGPUMachineFunction.h
index f5e4694e76f6ff854473751305d954bd71f8b428..e17b41ad5f21dbe730d591f42f8694c7ec6512e0 100644
(file)
--- a/
lib/Target/AMDGPU/AMDGPUMachineFunction.h
+++ b/
lib/Target/AMDGPU/AMDGPUMachineFunction.h
@@
-41,5
+41,5
@@
public:
bool IsKernel;
};
bool IsKernel;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
b/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
index 0c9a68804a305581433aef77e7e84aec96cc9e14..80081d40d089ea9bfb2760814579a5d213bec52d 100644
(file)
--- a/
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+++ b/
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
@@
-403,7
+403,7
@@
struct OptionalOperand {
bool (*ConvertResult)(int64_t&);
};
bool (*ConvertResult)(int64_t&);
};
-}
+}
// namespace
static unsigned getRegClass(bool IsVgpr, unsigned RegWidth) {
if (IsVgpr) {
static unsigned getRegClass(bool IsVgpr, unsigned RegWidth) {
if (IsVgpr) {
diff --git
a/lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h
b/lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h
index 01021d67ffd990eaca1bb478df04c950ebf95de6..fa3b3c3d94897887d8dcd0dca709dbb0f0d49e7d 100644
(file)
--- a/
lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h
+++ b/
lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h
@@
-28,7
+28,7
@@
enum Fixups {
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
-}
-}
+}
// namespace AMDGPU
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
b/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
index 92e29dc7037684b0b684374bb7247c5b384473bd..ac611b862a1adac2f7939487fff35e7409a371a9 100644
(file)
--- a/
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
+++ b/
lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h
@@
-47,7
+47,7
@@
MCAsmBackend *createAMDGPUAsmBackend(const Target &T, const MCRegisterInfo &MRI,
const Triple &TT, StringRef CPU);
MCObjectWriter *createAMDGPUELFObjectWriter(raw_pwrite_stream &OS);
const Triple &TT, StringRef CPU);
MCObjectWriter *createAMDGPUELFObjectWriter(raw_pwrite_stream &OS);
-} //
End llvm namespace
+} //
namespace llvm
#define GET_REGINFO_ENUM
#include "AMDGPUGenRegisterInfo.inc"
#define GET_REGINFO_ENUM
#include "AMDGPUGenRegisterInfo.inc"
diff --git
a/lib/Target/AMDGPU/R600Defines.h
b/lib/Target/AMDGPU/R600Defines.h
index 51d87eda31d1fa851c43b27bce943b65677e083b..6ff0a2204cfa9700e53cfee8dc315df6e6c7b8da 100644
(file)
--- a/
lib/Target/AMDGPU/R600Defines.h
+++ b/
lib/Target/AMDGPU/R600Defines.h
@@
-48,7
+48,7
@@
namespace R600_InstFlag {
IS_EXPORT = (1 << 17),
LDS_1A2D = (1 << 18)
};
IS_EXPORT = (1 << 17),
LDS_1A2D = (1 << 18)
};
-}
+}
// namespace R600_InstFlag
#define HAS_NATIVE_OPERANDS(Flags) ((Flags) & R600_InstFlag::NATIVE_OPERANDS)
#define HAS_NATIVE_OPERANDS(Flags) ((Flags) & R600_InstFlag::NATIVE_OPERANDS)
@@
-138,7
+138,7
@@
namespace OpName {
VEC_COUNT
};
VEC_COUNT
};
-}
+}
// namespace OpName
//===----------------------------------------------------------------------===//
// Config register definitions
//===----------------------------------------------------------------------===//
// Config register definitions
diff --git
a/lib/Target/AMDGPU/R600ISelLowering.h
b/lib/Target/AMDGPU/R600ISelLowering.h
index c06d3c4fd309e4d82a0ed8a8061db9fb746d5e1b..c25287806988ab669afddf23ff4716dfe5a4be1c 100644
(file)
--- a/
lib/Target/AMDGPU/R600ISelLowering.h
+++ b/
lib/Target/AMDGPU/R600ISelLowering.h
@@
-75,6
+75,6
@@
private:
SDNode *PostISelFolding(MachineSDNode *N, SelectionDAG &DAG) const override;
};
SDNode *PostISelFolding(MachineSDNode *N, SelectionDAG &DAG) const override;
};
-} //
End namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/AMDGPU/R600InstrInfo.h
b/lib/Target/AMDGPU/R600InstrInfo.h
index dee4c2b9ae315fbc6db367c18ab8bb83cc0aa674..9c5f76c882f1c3c27e3f6117ed373a37cdeb5042 100644
(file)
--- a/
lib/Target/AMDGPU/R600InstrInfo.h
+++ b/
lib/Target/AMDGPU/R600InstrInfo.h
@@
-298,6
+298,6
@@
int getLDSNoRetOp(uint16_t Opcode);
} //End namespace AMDGPU
} //End namespace AMDGPU
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/AMDGPU/R600MachineFunctionInfo.h
b/lib/Target/AMDGPU/R600MachineFunctionInfo.h
index 263561edd30d7348f1e21dab2aa79aef9c7a8298..f5556c1e81fc732399b03d4ebf37cf19e9addbb0 100644
(file)
--- a/
lib/Target/AMDGPU/R600MachineFunctionInfo.h
+++ b/
lib/Target/AMDGPU/R600MachineFunctionInfo.h
@@
-29,6
+29,6
@@
public:
unsigned StackSize;
};
unsigned StackSize;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
b/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
index 0c06ccc736d0d261646e155e09d78ba5a13d2da1..a1a1b4043429f4e66cb3ba5838756eb73e9f267e 100644
(file)
--- a/
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
+++ b/
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
@@
-375,7
+375,7
@@
bool R600VectorRegMerger::runOnMachineFunction(MachineFunction &Fn) {
return false;
}
return false;
}
-}
+}
// namespace
llvm::FunctionPass *llvm::createR600VectorRegMerger(TargetMachine &tm) {
return new R600VectorRegMerger(tm);
llvm::FunctionPass *llvm::createR600VectorRegMerger(TargetMachine &tm) {
return new R600VectorRegMerger(tm);
diff --git
a/lib/Target/AMDGPU/R600TextureIntrinsicsReplacer.cpp
b/lib/Target/AMDGPU/R600TextureIntrinsicsReplacer.cpp
index 2fc7b02f673f0fd7581c0306dc078106ce7466b1..93bcf680a022371fc447e2c8b4fff8a659a9f540 100644
(file)
--- a/
lib/Target/AMDGPU/R600TextureIntrinsicsReplacer.cpp
+++ b/
lib/Target/AMDGPU/R600TextureIntrinsicsReplacer.cpp
@@
-296,7
+296,7
@@
public:
char R600TextureIntrinsicsReplacer::ID = 0;
char R600TextureIntrinsicsReplacer::ID = 0;
-}
+}
// namespace
FunctionPass *llvm::createR600TextureIntrinsicsReplacer() {
return new R600TextureIntrinsicsReplacer();
FunctionPass *llvm::createR600TextureIntrinsicsReplacer() {
return new R600TextureIntrinsicsReplacer();
diff --git
a/lib/Target/AMDGPU/SIDefines.h
b/lib/Target/AMDGPU/SIDefines.h
index 4727d971ab7a97b3e323e5be6f1ed3e2622f6f8c..f1b4ba1ac07db0b17dca17d883f9ec265944258a 100644
(file)
--- a/
lib/Target/AMDGPU/SIDefines.h
+++ b/
lib/Target/AMDGPU/SIDefines.h
@@
-39,7
+39,7
@@
enum {
WQM = 1 << 20,
VGPRSpill = 1 << 21
};
WQM = 1 << 20,
VGPRSpill = 1 << 21
};
-}
+}
// namespace SIInstrFlags
namespace llvm {
namespace AMDGPU {
namespace llvm {
namespace AMDGPU {
@@
-74,7
+74,7
@@
namespace SIInstrFlags {
P_NORMAL = 1 << 8, // Positive normal
P_INFINITY = 1 << 9 // Positive infinity
};
P_NORMAL = 1 << 8, // Positive normal
P_INFINITY = 1 << 9 // Positive infinity
};
-}
+}
// namespace SIInstrFlags
namespace SISrcMods {
enum {
namespace SISrcMods {
enum {
diff --git
a/lib/Target/ARM/ARM.h
b/lib/Target/ARM/ARM.h
index 9550a3a3cad1243f04666ac79d9ccd103c52d1ab..d554fe5d4465bfd132cc80cc8fbc5c5d086a567c 100644
(file)
--- a/
lib/Target/ARM/ARM.h
+++ b/
lib/Target/ARM/ARM.h
@@
-46,6
+46,6
@@
FunctionPass *createThumb2SizeReductionPass(
void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
ARMAsmPrinter &AP);
void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI,
ARMAsmPrinter &AP);
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMBaseInstrInfo.cpp
b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index b3329e62977370454e3a6765b48c1ea3a13ab5cc..f2b7a6419be36d2c6d6d231c4807a1aca4857903 100644
(file)
--- a/
lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/
lib/Target/ARM/ARMBaseInstrInfo.cpp
@@
-594,7
+594,7
@@
template <> bool IsCPSRDead<MachineInstr>(MachineInstr *MI) {
// all definitions of CPSR are dead
return true;
}
// all definitions of CPSR are dead
return true;
}
-}
+}
// namespace llvm
/// GetInstSize - Return the size of the specified MachineInstr.
///
/// GetInstSize - Return the size of the specified MachineInstr.
///
diff --git
a/lib/Target/ARM/ARMBaseInstrInfo.h
b/lib/Target/ARM/ARMBaseInstrInfo.h
index b4706e3489337e5b33644d24fac531be32b2766d..6fc0edd101b9335fadc93693bf03375fe8376aa3 100644
(file)
--- a/
lib/Target/ARM/ARMBaseInstrInfo.h
+++ b/
lib/Target/ARM/ARMBaseInstrInfo.h
@@
-493,6
+493,6
@@
bool rewriteT2FrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
unsigned FrameReg, int &Offset,
const ARMBaseInstrInfo &TII);
unsigned FrameReg, int &Offset,
const ARMBaseInstrInfo &TII);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMCallingConv.h
b/lib/Target/ARM/ARMCallingConv.h
index d687568d7eb9bffc982f239fa1d4f526fbf466a1..2edb96adba42e5b8bc140d38dfb5f7cd3075858b 100644
(file)
--- a/
lib/Target/ARM/ARMCallingConv.h
+++ b/
lib/Target/ARM/ARMCallingConv.h
@@
-281,6
+281,6
@@
static bool CC_ARM_AAPCS_Custom_Aggregate(unsigned &ValNo, MVT &ValVT,
return true;
}
return true;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMConstantIslandPass.cpp
b/lib/Target/ARM/ARMConstantIslandPass.cpp
index f4ec8c67c977141249c93365ddc0f2031fe7d778..cb4eeb5fc43da88607652b5c30fd5de5c2562a24 100644
(file)
--- a/
lib/Target/ARM/ARMConstantIslandPass.cpp
+++ b/
lib/Target/ARM/ARMConstantIslandPass.cpp
@@
-335,7
+335,7
@@
namespace {
}
};
char ARMConstantIslands::ID = 0;
}
};
char ARMConstantIslands::ID = 0;
-}
+}
// namespace
/// verify - check BBOffsets, BBSizes, alignment of islands
void ARMConstantIslands::verify() {
/// verify - check BBOffsets, BBSizes, alignment of islands
void ARMConstantIslands::verify() {
diff --git
a/lib/Target/ARM/ARMConstantPoolValue.h
b/lib/Target/ARM/ARMConstantPoolValue.h
index 36f63e239a9e1a11136a17e55c67e62471b633d7..b429bed9ff252b0d9e8c7f33e1d45a18018ec645 100644
(file)
--- a/
lib/Target/ARM/ARMConstantPoolValue.h
+++ b/
lib/Target/ARM/ARMConstantPoolValue.h
@@
-44,7
+44,7
@@
namespace ARMCP {
GOTTPOFF,
TPOFF
};
GOTTPOFF,
TPOFF
};
-}
+}
// namespace ARMCP
/// ARMConstantPoolValue - ARM specific constantpool value. This is used to
/// represent PC-relative displacement between the address of the load
/// ARMConstantPoolValue - ARM specific constantpool value. This is used to
/// represent PC-relative displacement between the address of the load
@@
-254,6
+254,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMExpandPseudoInsts.cpp
b/lib/Target/ARM/ARMExpandPseudoInsts.cpp
index 4438f50758dc7fc1f902072a495b68f202874d75..963b46c98e00fdcfc09c3d9f85d3e83aad27734d 100644
(file)
--- a/
lib/Target/ARM/ARMExpandPseudoInsts.cpp
+++ b/
lib/Target/ARM/ARMExpandPseudoInsts.cpp
@@
-69,7
+69,7
@@
namespace {
MachineBasicBlock::iterator &MBBI);
};
char ARMExpandPseudo::ID = 0;
MachineBasicBlock::iterator &MBBI);
};
char ARMExpandPseudo::ID = 0;
-}
+}
// namespace
/// TransferImpOps - Transfer implicit operands on the pseudo instruction to
/// the instructions created from the expansion.
/// TransferImpOps - Transfer implicit operands on the pseudo instruction to
/// the instructions created from the expansion.
@@
-129,7
+129,7
@@
namespace {
return PseudoOpc < TE.PseudoOpc;
}
};
return PseudoOpc < TE.PseudoOpc;
}
};
-}
+}
// namespace
static const NEONLdStTableEntry NEONLdStTable[] = {
{ ARM::VLD1LNq16Pseudo, ARM::VLD1LNd16, true, false, false, EvenDblSpc, 1, 4 ,true},
static const NEONLdStTableEntry NEONLdStTable[] = {
{ ARM::VLD1LNq16Pseudo, ARM::VLD1LNd16, true, false, false, EvenDblSpc, 1, 4 ,true},
diff --git
a/lib/Target/ARM/ARMFastISel.cpp
b/lib/Target/ARM/ARMFastISel.cpp
index 4175b4af86e60cb08783c1c6627700c2930026fb..cead18f97d74ed8001abbd6546261eb3cb8fd462 100644
(file)
--- a/
lib/Target/ARM/ARMFastISel.cpp
+++ b/
lib/Target/ARM/ARMFastISel.cpp
@@
-2898,7
+2898,7
@@
const struct FoldableLoadExtendsStruct {
{ { ARM::SXTB, ARM::t2SXTB }, 0, 0, MVT::i8 },
{ { ARM::UXTB, ARM::t2UXTB }, 0, 1, MVT::i8 }
};
{ { ARM::SXTB, ARM::t2SXTB }, 0, 0, MVT::i8 },
{ { ARM::UXTB, ARM::t2UXTB }, 0, 1, MVT::i8 }
};
-}
+}
// namespace
/// \brief The specified machine instr operand is a vreg, and that
/// vreg is being provided by the specified load instruction. If possible,
/// \brief The specified machine instr operand is a vreg, and that
/// vreg is being provided by the specified load instruction. If possible,
diff --git
a/lib/Target/ARM/ARMFeatures.h
b/lib/Target/ARM/ARMFeatures.h
index 0c910ab6130f2d4167f9eb367a33675ef9a62f4c..5b4a44c72030331aeb86982fe54b906821298cc2 100644
(file)
--- a/
lib/Target/ARM/ARMFeatures.h
+++ b/
lib/Target/ARM/ARMFeatures.h
@@
-92,6
+92,6
@@
inline bool isV8EligibleForIT(InstrType *Instr) {
}
}
}
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMFrameLowering.cpp
b/lib/Target/ARM/ARMFrameLowering.cpp
index a52e49780e277f029e3450a225fcc61430f7666f..091086d3c429a64592ed7a189805020a56974156 100644
(file)
--- a/
lib/Target/ARM/ARMFrameLowering.cpp
+++ b/
lib/Target/ARM/ARMFrameLowering.cpp
@@
-221,7
+221,7
@@
struct StackAdjustingInsts {
}
}
};
}
}
};
-}
+}
// namespace
/// Emit an instruction sequence that will align the address in
/// register Reg by zero-ing out the lower bits. For versions of the
/// Emit an instruction sequence that will align the address in
/// register Reg by zero-ing out the lower bits. For versions of the
diff --git
a/lib/Target/ARM/ARMFrameLowering.h
b/lib/Target/ARM/ARMFrameLowering.h
index d763d17a506fa78d51625b4b3d6ccea681cf4bab..98313e60e234f7956caa4add746747f83a1e0ab2 100644
(file)
--- a/
lib/Target/ARM/ARMFrameLowering.h
+++ b/
lib/Target/ARM/ARMFrameLowering.h
@@
-78,6
+78,6
@@
public:
MachineBasicBlock::iterator MI) const override;
};
MachineBasicBlock::iterator MI) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMISelDAGToDAG.cpp
b/lib/Target/ARM/ARMISelDAGToDAG.cpp
index 50afb192b331d4ea05405cb6d28c487486aecdc6..575a9d9306755306971a3baad931c2221ac0f3a5 100644
(file)
--- a/
lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/
lib/Target/ARM/ARMISelDAGToDAG.cpp
@@
-279,7
+279,7
@@
private:
SDValue GetVLDSTAlign(SDValue Align, SDLoc dl, unsigned NumVecs,
bool is64BitVector);
};
SDValue GetVLDSTAlign(SDValue Align, SDLoc dl, unsigned NumVecs,
bool is64BitVector);
};
-}
+}
// namespace
/// isInt32Immediate - This method tests to see if the node is a 32-bit constant
/// operand. If so Imm will receive the 32-bit value.
/// isInt32Immediate - This method tests to see if the node is a 32-bit constant
/// operand. If so Imm will receive the 32-bit value.
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index ac4233cf92e73ce959cd84edaf5b55bb2b12a84e..94a026bf2cc8fc5cf9934d04da93fcf0b3019e50 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-83,7
+83,7
@@
namespace {
CallOrPrologue = PC;
}
};
CallOrPrologue = PC;
}
};
-}
+}
// namespace
// The APCS parameter registers.
static const MCPhysReg GPRArgRegs[] = {
// The APCS parameter registers.
static const MCPhysReg GPRArgRegs[] = {
diff --git
a/lib/Target/ARM/ARMISelLowering.h
b/lib/Target/ARM/ARMISelLowering.h
index c0b329c5a1e587faffdab4554fbf4280e42eab31..71a47a2cb81b17c964c009a048375a177c2130b1 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.h
+++ b/
lib/Target/ARM/ARMISelLowering.h
@@
-215,7
+215,7
@@
namespace llvm {
VST3LN_UPD,
VST4LN_UPD
};
VST3LN_UPD,
VST4LN_UPD
};
- }
+ }
// namespace ARMISD
/// Define some predicates that are used for node matching.
namespace ARM {
/// Define some predicates that are used for node matching.
namespace ARM {
@@
-638,6
+638,6
@@
namespace llvm {
FastISel *createFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo);
}
FastISel *createFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo);
}
-}
+}
// namespace llvm
#endif // ARMISELLOWERING_H
#endif // ARMISELLOWERING_H
diff --git
a/lib/Target/ARM/ARMInstrInfo.cpp
b/lib/Target/ARM/ARMInstrInfo.cpp
index 84f95be309912348be75f3e48018434b73eaa7c4..59e1535a6fe603fa48a01836882720d82e820205 100644
(file)
--- a/
lib/Target/ARM/ARMInstrInfo.cpp
+++ b/
lib/Target/ARM/ARMInstrInfo.cpp
@@
-198,7
+198,7
@@
namespace {
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char ARMCGBR::ID = 0;
FunctionPass*
char ARMCGBR::ID = 0;
FunctionPass*
diff --git
a/lib/Target/ARM/ARMInstrInfo.h
b/lib/Target/ARM/ARMInstrInfo.h
index 90f34ea08401397a6d2f97d0f49b916e8d5d254a..9e5700a256bd72a5dce53816e81f598823da8bac 100644
(file)
--- a/
lib/Target/ARM/ARMInstrInfo.h
+++ b/
lib/Target/ARM/ARMInstrInfo.h
@@
-43,6
+43,6
@@
private:
Reloc::Model RM) const override;
};
Reloc::Model RM) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
index 46ff326ba630c807c8f6ef6caf3b05bd2a981956..50e2292b8b6e5189e9b14a9a70dfdf300bc69803 100644
(file)
--- a/
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
+++ b/
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
@@
-142,7
+142,7
@@
namespace {
bool MergeReturnIntoLDM(MachineBasicBlock &MBB);
};
char ARMLoadStoreOpt::ID = 0;
bool MergeReturnIntoLDM(MachineBasicBlock &MBB);
};
char ARMLoadStoreOpt::ID = 0;
-}
+}
// namespace
static bool definesCPSR(const MachineInstr *MI) {
for (const auto &MO : MI->operands()) {
static bool definesCPSR(const MachineInstr *MI) {
for (const auto &MO : MI->operands()) {
@@
-1859,7
+1859,7
@@
namespace {
bool RescheduleLoadStoreInstrs(MachineBasicBlock *MBB);
};
char ARMPreAllocLoadStoreOpt::ID = 0;
bool RescheduleLoadStoreInstrs(MachineBasicBlock *MBB);
};
char ARMPreAllocLoadStoreOpt::ID = 0;
-}
+}
// namespace
bool ARMPreAllocLoadStoreOpt::runOnMachineFunction(MachineFunction &Fn) {
TD = Fn.getTarget().getDataLayout();
bool ARMPreAllocLoadStoreOpt::runOnMachineFunction(MachineFunction &Fn) {
TD = Fn.getTarget().getDataLayout();
diff --git
a/lib/Target/ARM/ARMMachineFunctionInfo.h
b/lib/Target/ARM/ARMMachineFunctionInfo.h
index 14dd9ef333afeacbc827830a571fcb5a1d7dec25..8b1210268eb2c45faf73a006e556d96f0cd5d7fa 100644
(file)
--- a/
lib/Target/ARM/ARMMachineFunctionInfo.h
+++ b/
lib/Target/ARM/ARMMachineFunctionInfo.h
@@
-229,6
+229,6
@@
public:
return It;
}
};
return It;
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMOptimizeBarriersPass.cpp
b/lib/Target/ARM/ARMOptimizeBarriersPass.cpp
index 30baf4263c111d9157cc28fa881acacd75fded8a..1c8e1f8b141236d557077e763f2fafa7cd9eafb3 100644
(file)
--- a/
lib/Target/ARM/ARMOptimizeBarriersPass.cpp
+++ b/
lib/Target/ARM/ARMOptimizeBarriersPass.cpp
@@
-32,7
+32,7
@@
public:
}
};
char ARMOptimizeBarriersPass::ID = 0;
}
};
char ARMOptimizeBarriersPass::ID = 0;
-}
+}
// namespace
// Returns whether the instruction can safely move past a DMB instruction
// The current implementation allows this iif MI does not have any possible
// Returns whether the instruction can safely move past a DMB instruction
// The current implementation allows this iif MI does not have any possible
diff --git
a/lib/Target/ARM/ARMSelectionDAGInfo.h
b/lib/Target/ARM/ARMSelectionDAGInfo.h
index 1db190f41e1a3bef5a656f5e515e9d71e2925211..4563caae9ffe154dea1b51bb7e76ee57c04177f1 100644
(file)
--- a/
lib/Target/ARM/ARMSelectionDAGInfo.h
+++ b/
lib/Target/ARM/ARMSelectionDAGInfo.h
@@
-70,6
+70,6
@@
public:
RTLIB::Libcall LC) const;
};
RTLIB::Libcall LC) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/ARMSubtarget.h
b/lib/Target/ARM/ARMSubtarget.h
index 9909a6a6d198dbe50ee9463323287919e3b3be74..f00594f82012d04fb1e4be06728fd6970e701628 100644
(file)
--- a/
lib/Target/ARM/ARMSubtarget.h
+++ b/
lib/Target/ARM/ARMSubtarget.h
@@
-453,6
+453,6
@@
public:
/// True if fast-isel is used.
bool useFastISel() const;
};
/// True if fast-isel is used.
bool useFastISel() const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif // ARMSUBTARGET_H
#endif // ARMSUBTARGET_H
diff --git
a/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
b/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
index 097ec04e70522d5b2bbc53c0173086a00be3f1a8..f973a8de8bcf03ae891dffcdcc07ccf79684ab66 100644
(file)
--- a/
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
+++ b/
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
@@
-81,7
+81,7
@@
namespace {
private:
std::vector<unsigned char> ITStates;
};
private:
std::vector<unsigned char> ITStates;
};
-}
+}
// namespace
namespace {
/// ARM disassembler for all ARM platforms.
namespace {
/// ARM disassembler for all ARM platforms.
@@
-118,7
+118,7
@@
private:
DecodeStatus AddThumbPredicate(MCInst&) const;
void UpdateThumbVFPPredicate(MCInst&) const;
};
DecodeStatus AddThumbPredicate(MCInst&) const;
void UpdateThumbVFPPredicate(MCInst&) const;
};
-}
+}
// namespace
static bool Check(DecodeStatus &Out, DecodeStatus In) {
switch (In) {
static bool Check(DecodeStatus &Out, DecodeStatus In) {
switch (In) {
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
b/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
index a6206e3d95858579f322c3aa9c1b08894a7cb725..e28f6e09742157de06103afdd71e9565b6578ebe 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
+++ b/
lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h
@@
-29,6
+29,6
@@
public:
Subtype);
}
};
Subtype);
}
};
-}
+}
// namespace
#endif
#endif
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h
b/lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h
index 68b12edd089e6e4baa32aa7ac17f62eaa31f41c9..412feb8873ca831d02be1582b7361e59d23e79a0 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h
+++ b/
lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h
@@
-23,6
+23,6
@@
public:
return createARMELFObjectWriter(OS, OSABI, isLittle());
}
};
return createARMELFObjectWriter(OS, OSABI, isLittle());
}
};
-}
+}
// namespace
#endif
#endif
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
b/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
index 4289a73e9d6b15fd1a713c93ed3f2e30cf5071e8..1975bcaa234e875d9c0b85ea28daf4b152353751 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
+++ b/
lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h
@@
-114,7
+114,7
@@
namespace ARM_PROC {
case ID: return "id";
}
}
case ID: return "id";
}
}
-}
+}
// namespace ARM_PROC
namespace ARM_MB {
// The Memory Barrier Option constants map directly to the 4-bit encoding of
namespace ARM_MB {
// The Memory Barrier Option constants map directly to the 4-bit encoding of
@@
-459,6
+459,6
@@
namespace ARMII {
} // end namespace ARMII
} // end namespace ARMII
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
b/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
index 804d3534096abf5fb753ab933ddec3c170c136dc..9fe27fbcff4af29adb14ba8c3df3f56870c881fe 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
@@
-40,7
+40,7
@@
namespace {
bool needsRelocateWithSymbol(const MCSymbol &Sym,
unsigned Type) const override;
};
bool needsRelocateWithSymbol(const MCSymbol &Sym,
unsigned Type) const override;
};
-}
+}
// namespace
ARMELFObjectWriter::ARMELFObjectWriter(uint8_t OSABI)
: MCELFObjectTargetWriter(/*Is64Bit*/ false, OSABI,
ARMELFObjectWriter::ARMELFObjectWriter(uint8_t OSABI)
: MCELFObjectTargetWriter(/*Is64Bit*/ false, OSABI,
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
b/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
index 7c28175fadc4af86e5e38bd79222971eb0a0a3b5..bbc0b37175df137c580dba78d697164318c4f495 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
@@
-1345,6
+1345,6
@@
MCELFStreamer *createARMELFStreamer(MCContext &Context, MCAsmBackend &TAB,
return S;
}
return S;
}
-}
+}
// namespace llvm
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h
b/lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h
index 46ba57170db5fc184be08bc5955ad5a4080ce33a..23ef50132900aff6f3a71ed64eb12d453c885164 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h
+++ b/
lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h
@@
-104,7
+104,7
@@
enum Fixups {
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
-}
-}
+}
// namespace ARM
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
b/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
index fafe25ae5be5278d8fae9d85b05bd81cdf0ee505..0fb395e473a62c77e07d92acbd38c4beece07f90 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
@@
-370,7
+370,7
@@
public:
}
};
}
};
-}
+}
// namespace
static MCInstrAnalysis *createARMMCInstrAnalysis(const MCInstrInfo *Info) {
return new ARMMCInstrAnalysis(Info);
static MCInstrAnalysis *createARMMCInstrAnalysis(const MCInstrInfo *Info) {
return new ARMMCInstrAnalysis(Info);
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
b/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
index fd30623d79af4ed349c72fdc16027b5fdb812afb..c6f2d13416239b36d33444b0158b5cac4bba5693 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
+++ b/
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h
@@
-103,7
+103,7
@@
MCObjectWriter *createARMWinCOFFObjectWriter(raw_pwrite_stream &OS,
/// Construct ARM Mach-O relocation info.
MCRelocationInfo *createARMMachORelocationInfo(MCContext &Ctx);
/// Construct ARM Mach-O relocation info.
MCRelocationInfo *createARMMachORelocationInfo(MCContext &Ctx);
-} //
End llvm namespace
+} //
namespace llvm
// Defines symbolic names for ARM registers. This defines a mapping from
// register name to register number.
// Defines symbolic names for ARM registers. This defines a mapping from
// register name to register number.
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
b/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
index 95d7ea7c04a3de719dd7faac3bfba963580dbc34..6ac778e0cecd6fcd9636c83aef63195c72a5fa56 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
@@
-56,7
+56,7
@@
public:
const MCFixup &Fixup, MCValue Target,
uint64_t &FixedValue) override;
};
const MCFixup &Fixup, MCValue Target,
uint64_t &FixedValue) override;
};
-}
+}
// namespace
static bool getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType,
unsigned &Log2Size) {
static bool getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType,
unsigned &Log2Size) {
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
b/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
index 173cc93d44fb3ce88380e09bc7b2f8b82c1a35c1..32481e276b00c8a17ef211322738b2baf6d77a7a 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp
@@
-60,7
+60,7
@@
namespace {
EmitByte(ARM::EHABI::UNWIND_OPCODE_FINISH);
}
};
EmitByte(ARM::EHABI::UNWIND_OPCODE_FINISH);
}
};
-}
+}
// namespace
void UnwindOpcodeAssembler::EmitRegSave(uint32_t RegSave) {
if (RegSave == 0u)
void UnwindOpcodeAssembler::EmitRegSave(uint32_t RegSave) {
if (RegSave == 0u)
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
b/lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
index 166c04b41a77b6a5335b9e5d755a7edf264ddae6..34b552f7a212a7ea25d8035cb7f475e5f83a2bf7 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp
@@
-79,7
+79,7
@@
unsigned ARMWinCOFFObjectWriter::getRelocType(const MCValue &Target,
bool ARMWinCOFFObjectWriter::recordRelocation(const MCFixup &Fixup) const {
return static_cast<unsigned>(Fixup.getKind()) != ARM::fixup_t2_movt_hi16;
}
bool ARMWinCOFFObjectWriter::recordRelocation(const MCFixup &Fixup) const {
return static_cast<unsigned>(Fixup.getKind()) != ARM::fixup_t2_movt_hi16;
}
-}
+}
// namespace
namespace llvm {
MCObjectWriter *createARMWinCOFFObjectWriter(raw_pwrite_stream &OS,
namespace llvm {
MCObjectWriter *createARMWinCOFFObjectWriter(raw_pwrite_stream &OS,
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
b/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
index b993b1be484761816f6dc027b3102a5e69572521..6515a650be59f34a8e4634dd648eb3e4575dcb22 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp
@@
-35,7
+35,7
@@
void ARMWinCOFFStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
void ARMWinCOFFStreamer::EmitThumbFunc(MCSymbol *Symbol) {
getAssembler().setIsThumbFunc(Symbol);
}
void ARMWinCOFFStreamer::EmitThumbFunc(MCSymbol *Symbol) {
getAssembler().setIsThumbFunc(Symbol);
}
-}
+}
// namespace
MCStreamer *llvm::createARMWinCOFFStreamer(MCContext &Context,
MCAsmBackend &MAB,
MCStreamer *llvm::createARMWinCOFFStreamer(MCContext &Context,
MCAsmBackend &MAB,
diff --git
a/lib/Target/ARM/MLxExpansionPass.cpp
b/lib/Target/ARM/MLxExpansionPass.cpp
index ed2deeaa24c09ae23ee9f32eed2a0fec8e653998..ca98f696b7ddfe2717a9c18ede3ce2cfab377142 100644
(file)
--- a/
lib/Target/ARM/MLxExpansionPass.cpp
+++ b/
lib/Target/ARM/MLxExpansionPass.cpp
@@
-71,7
+71,7
@@
namespace {
bool ExpandFPMLxInstructions(MachineBasicBlock &MBB);
};
char MLxExpansion::ID = 0;
bool ExpandFPMLxInstructions(MachineBasicBlock &MBB);
};
char MLxExpansion::ID = 0;
-}
+}
// namespace
void MLxExpansion::clearStack() {
std::fill(LastMIs, LastMIs + 4, nullptr);
void MLxExpansion::clearStack() {
std::fill(LastMIs, LastMIs + 4, nullptr);
diff --git
a/lib/Target/ARM/Thumb1FrameLowering.h
b/lib/Target/ARM/Thumb1FrameLowering.h
index 31d57325ebd6f6b6ff7d163328aa344d4ffa5ed7..e5e89fad3d713071a402902e54745ca403503af0 100644
(file)
--- a/
lib/Target/ARM/Thumb1FrameLowering.h
+++ b/
lib/Target/ARM/Thumb1FrameLowering.h
@@
-47,6
+47,6
@@
public:
MachineBasicBlock::iterator MI) const override;
};
MachineBasicBlock::iterator MI) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/Thumb1InstrInfo.h
b/lib/Target/ARM/Thumb1InstrInfo.h
index f3f493d89237dce286bb0e3a721ae4c4278aef40..31b4df2e5b0ce21fbbe5122af6963777439d89d3 100644
(file)
--- a/
lib/Target/ARM/Thumb1InstrInfo.h
+++ b/
lib/Target/ARM/Thumb1InstrInfo.h
@@
-58,6
+58,6
@@
private:
void expandLoadStackGuard(MachineBasicBlock::iterator MI,
Reloc::Model RM) const override;
};
void expandLoadStackGuard(MachineBasicBlock::iterator MI,
Reloc::Model RM) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/Thumb2ITBlockPass.cpp
b/lib/Target/ARM/Thumb2ITBlockPass.cpp
index 68736bc1decd3cfc1e51f69a793eba2f87c8f5ec..7ce602d326cde1fed11455df5a9e49cea9ea7007 100644
(file)
--- a/
lib/Target/ARM/Thumb2ITBlockPass.cpp
+++ b/
lib/Target/ARM/Thumb2ITBlockPass.cpp
@@
-48,7
+48,7
@@
namespace {
bool InsertITInstructions(MachineBasicBlock &MBB);
};
char Thumb2ITBlockPass::ID = 0;
bool InsertITInstructions(MachineBasicBlock &MBB);
};
char Thumb2ITBlockPass::ID = 0;
-}
+}
// namespace
/// TrackDefUses - Tracking what registers are being defined and used by
/// instructions in the IT block. This also tracks "dependencies", i.e. uses
/// TrackDefUses - Tracking what registers are being defined and used by
/// instructions in the IT block. This also tracks "dependencies", i.e. uses
diff --git
a/lib/Target/ARM/Thumb2InstrInfo.h
b/lib/Target/ARM/Thumb2InstrInfo.h
index 916ab06ec305d60e18efc2b55f50b09d40d2d462..d186dfb2ec91ad310ab9c7b8568bacbd6e1f7273 100644
(file)
--- a/
lib/Target/ARM/Thumb2InstrInfo.h
+++ b/
lib/Target/ARM/Thumb2InstrInfo.h
@@
-73,6
+73,6
@@
private:
ARMCC::CondCodes getITInstrPredicate(const MachineInstr *MI, unsigned &PredReg);
ARMCC::CondCodes getITInstrPredicate(const MachineInstr *MI, unsigned &PredReg);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/ARM/Thumb2SizeReduction.cpp
b/lib/Target/ARM/Thumb2SizeReduction.cpp
index d9ab824995c155b95d8a6cbc66cd94116dae463e..0dd1b4c15ef885134db2340fb550e11693431cb9 100644
(file)
--- a/
lib/Target/ARM/Thumb2SizeReduction.cpp
+++ b/
lib/Target/ARM/Thumb2SizeReduction.cpp
@@
-202,7
+202,7
@@
namespace {
std::function<bool(const Function &)> PredicateFtor;
};
char Thumb2SizeReduce::ID = 0;
std::function<bool(const Function &)> PredicateFtor;
};
char Thumb2SizeReduce::ID = 0;
-}
+}
// namespace
Thumb2SizeReduce::Thumb2SizeReduce(std::function<bool(const Function &)> Ftor)
: MachineFunctionPass(ID), PredicateFtor(Ftor) {
Thumb2SizeReduce::Thumb2SizeReduce(std::function<bool(const Function &)> Ftor)
: MachineFunctionPass(ID), PredicateFtor(Ftor) {
diff --git
a/lib/Target/ARM/ThumbRegisterInfo.h
b/lib/Target/ARM/ThumbRegisterInfo.h
index 23aaff37f409146b2c42635f1c3396fac1ffe88c..e55f88f53aecf0a7e1bc07fac592e27df3080147 100644
(file)
--- a/
lib/Target/ARM/ThumbRegisterInfo.h
+++ b/
lib/Target/ARM/ThumbRegisterInfo.h
@@
-60,6
+60,6
@@
public:
int SPAdj, unsigned FIOperandNum,
RegScavenger *RS = nullptr) const override;
};
int SPAdj, unsigned FIOperandNum,
RegScavenger *RS = nullptr) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/BPFAsmPrinter.cpp
b/lib/Target/BPF/BPFAsmPrinter.cpp
index 10ec6587550b7d280a576e69f5e54941ff254807..9d0aa7a98a6464398f2fcda0fe2a964196464fb3 100644
(file)
--- a/
lib/Target/BPF/BPFAsmPrinter.cpp
+++ b/
lib/Target/BPF/BPFAsmPrinter.cpp
@@
-44,7
+44,7
@@
public:
const char *Modifier = nullptr);
void EmitInstruction(const MachineInstr *MI) override;
};
const char *Modifier = nullptr);
void EmitInstruction(const MachineInstr *MI) override;
};
-}
+}
// namespace
void BPFAsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
raw_ostream &O, const char *Modifier) {
void BPFAsmPrinter::printOperand(const MachineInstr *MI, int OpNum,
raw_ostream &O, const char *Modifier) {
diff --git
a/lib/Target/BPF/BPFFrameLowering.h
b/lib/Target/BPF/BPFFrameLowering.h
index 3b9fc443e053984888339b28a36fdfc0c77b13b7..a6fe7c98115b3daf0f7dc78f9dd8da1ecb4e43f4 100644
(file)
--- a/
lib/Target/BPF/BPFFrameLowering.h
+++ b/
lib/Target/BPF/BPFFrameLowering.h
@@
-37,5
+37,5
@@
public:
MBB.erase(MI);
}
};
MBB.erase(MI);
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/BPFISelDAGToDAG.cpp
b/lib/Target/BPF/BPFISelDAGToDAG.cpp
index d9e654c76428e3354991c1fe612cb6f0514dab16..b49de3a270833031a93e679d77879ee75d4470cc 100644
(file)
--- a/
lib/Target/BPF/BPFISelDAGToDAG.cpp
+++ b/
lib/Target/BPF/BPFISelDAGToDAG.cpp
@@
-51,7
+51,7
@@
private:
// Complex Pattern for address selection.
bool SelectAddr(SDValue Addr, SDValue &Base, SDValue &Offset);
};
// Complex Pattern for address selection.
bool SelectAddr(SDValue Addr, SDValue &Base, SDValue &Offset);
};
-}
+}
// namespace
// ComplexPattern used on BPF Load/Store instructions
bool BPFDAGToDAGISel::SelectAddr(SDValue Addr, SDValue &Base, SDValue &Offset) {
// ComplexPattern used on BPF Load/Store instructions
bool BPFDAGToDAGISel::SelectAddr(SDValue Addr, SDValue &Base, SDValue &Offset) {
diff --git
a/lib/Target/BPF/BPFISelLowering.cpp
b/lib/Target/BPF/BPFISelLowering.cpp
index 38c56bbef81ec7f3230094edb5db596c4db606cb..21d160d49946b328dfa434a9003bb9566b420103 100644
(file)
--- a/
lib/Target/BPF/BPFISelLowering.cpp
+++ b/
lib/Target/BPF/BPFISelLowering.cpp
@@
-86,7
+86,7
@@
public:
};
int DiagnosticInfoUnsupported::KindID = 0;
};
int DiagnosticInfoUnsupported::KindID = 0;
-}
+}
// namespace
BPFTargetLowering::BPFTargetLowering(const TargetMachine &TM,
const BPFSubtarget &STI)
BPFTargetLowering::BPFTargetLowering(const TargetMachine &TM,
const BPFSubtarget &STI)
diff --git
a/lib/Target/BPF/BPFISelLowering.h
b/lib/Target/BPF/BPFISelLowering.h
index ec71dca2faeb1b35c74ad54020bab536cf66a850..b56bb39ca85df334e4c22195573d1efd56a6c48a 100644
(file)
--- a/
lib/Target/BPF/BPFISelLowering.h
+++ b/
lib/Target/BPF/BPFISelLowering.h
@@
-85,6
+85,6
@@
private:
return true;
}
};
return true;
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/BPFInstrInfo.h
b/lib/Target/BPF/BPFInstrInfo.h
index ac60188804d22d4816d5bcc59a85769cf76839ba..bd96f76a80756b7dc1c33d38fd49ed3fcd0a8980 100644
(file)
--- a/
lib/Target/BPF/BPFInstrInfo.h
+++ b/
lib/Target/BPF/BPFInstrInfo.h
@@
-54,6
+54,6
@@
public:
MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
DebugLoc DL) const override;
};
MachineBasicBlock *FBB, ArrayRef<MachineOperand> Cond,
DebugLoc DL) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/BPFMCInstLower.h
b/lib/Target/BPF/BPFMCInstLower.h
index 054e89407db281db82c3178c22a875e346673c10..ba9189792cbbcd5c606c4437df438d00479e1ef9 100644
(file)
--- a/
lib/Target/BPF/BPFMCInstLower.h
+++ b/
lib/Target/BPF/BPFMCInstLower.h
@@
-38,6
+38,6
@@
public:
MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
};
MCSymbol *GetGlobalAddressSymbol(const MachineOperand &MO) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/BPFRegisterInfo.h
b/lib/Target/BPF/BPFRegisterInfo.h
index 7072dd0bde1a5d9c7df475d63f7297b45c55477f..44977a21095928cd4c7351730338fef8ff018ee1 100644
(file)
--- a/
lib/Target/BPF/BPFRegisterInfo.h
+++ b/
lib/Target/BPF/BPFRegisterInfo.h
@@
-35,6
+35,6
@@
struct BPFRegisterInfo : public BPFGenRegisterInfo {
unsigned getFrameRegister(const MachineFunction &MF) const override;
};
unsigned getFrameRegister(const MachineFunction &MF) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/BPFSubtarget.h
b/lib/Target/BPF/BPFSubtarget.h
index 5ad58db75395e9e31bd8ce0f3d7f0d7f80480b02..701ac577dd741bed42ad60ccc7e0df230c65bde1 100644
(file)
--- a/
lib/Target/BPF/BPFSubtarget.h
+++ b/
lib/Target/BPF/BPFSubtarget.h
@@
-59,6
+59,6
@@
public:
return &InstrInfo.getRegisterInfo();
}
};
return &InstrInfo.getRegisterInfo();
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/BPFTargetMachine.cpp
b/lib/Target/BPF/BPFTargetMachine.cpp
index 06cba2252a25755c5f30ca35a8b11e22d9b3b430..5a888a955e332fc4386ec790bd7f9737bcd8b66c 100644
(file)
--- a/
lib/Target/BPF/BPFTargetMachine.cpp
+++ b/
lib/Target/BPF/BPFTargetMachine.cpp
@@
-60,7
+60,7
@@
public:
bool addInstSelector() override;
};
bool addInstSelector() override;
};
-}
+}
// namespace
TargetPassConfig *BPFTargetMachine::createPassConfig(PassManagerBase &PM) {
return new BPFPassConfig(this, PM);
TargetPassConfig *BPFTargetMachine::createPassConfig(PassManagerBase &PM) {
return new BPFPassConfig(this, PM);
diff --git
a/lib/Target/BPF/BPFTargetMachine.h
b/lib/Target/BPF/BPFTargetMachine.h
index a0086df2d32cbe4822cea82fb3648bd33d5f8607..c715fd5f00893cf128b8014dfe60601a99f86be5 100644
(file)
--- a/
lib/Target/BPF/BPFTargetMachine.h
+++ b/
lib/Target/BPF/BPFTargetMachine.h
@@
-38,6
+38,6
@@
public:
return TLOF.get();
}
};
return TLOF.get();
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/InstPrinter/BPFInstPrinter.h
b/lib/Target/BPF/InstPrinter/BPFInstPrinter.h
index adcaff68693316b7778c8cdd0c5b27486907fa5f..cb074713cce594801e1173e25ae54988662e827a 100644
(file)
--- a/
lib/Target/BPF/InstPrinter/BPFInstPrinter.h
+++ b/
lib/Target/BPF/InstPrinter/BPFInstPrinter.h
@@
-37,6
+37,6
@@
public:
void printInstruction(const MCInst *MI, raw_ostream &O);
static const char *getRegisterName(unsigned RegNo);
};
void printInstruction(const MCInst *MI, raw_ostream &O);
static const char *getRegisterName(unsigned RegNo);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
b/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
index 36f99262ed70830aabfdb613ae136d36b7503fd9..33aecb7b8ec391a56f2b67f1a9bf3a2d31218644 100644
(file)
--- a/
lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
+++ b/
lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp
@@
-84,7
+84,7
@@
void BPFAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
MCObjectWriter *BPFAsmBackend::createObjectWriter(raw_pwrite_stream &OS) const {
return createBPFELFObjectWriter(OS, 0, IsLittleEndian);
}
MCObjectWriter *BPFAsmBackend::createObjectWriter(raw_pwrite_stream &OS) const {
return createBPFELFObjectWriter(OS, 0, IsLittleEndian);
}
-}
+}
// namespace
MCAsmBackend *llvm::createBPFAsmBackend(const Target &T,
const MCRegisterInfo &MRI,
MCAsmBackend *llvm::createBPFAsmBackend(const Target &T,
const MCRegisterInfo &MRI,
diff --git
a/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
b/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
index 05ba6183e32271a6a46ca1f9e452a364fdc62caf..ef4f05f3d81052000e7cb414d5148f31fc820b8d 100644
(file)
--- a/
lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
+++ b/
lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp
@@
-25,7
+25,7
@@
protected:
unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel) const override;
};
unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel) const override;
};
-}
+}
// namespace
BPFELFObjectWriter::BPFELFObjectWriter(uint8_t OSABI)
: MCELFObjectTargetWriter(/*Is64Bit*/ true, OSABI, ELF::EM_NONE,
BPFELFObjectWriter::BPFELFObjectWriter(uint8_t OSABI)
: MCELFObjectTargetWriter(/*Is64Bit*/ true, OSABI, ELF::EM_NONE,
diff --git
a/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
b/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
index d63bbf49294efc762021548ce508f7eb71581c23..22376543bd0534fb09735f62386e1faf2615fe2b 100644
(file)
--- a/
lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
+++ b/
lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h
@@
-36,6
+36,6
@@
public:
HasDotTypeDotSizeDirective = false;
}
};
HasDotTypeDotSizeDirective = false;
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
b/lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
index dc4ede30f1919cd1335a9acfc0f8c393fb946671..b579afd690e9c1e21630b8bef275634de085024c 100644
(file)
--- a/
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
+++ b/
lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp
@@
-58,7
+58,7
@@
public:
SmallVectorImpl<MCFixup> &Fixups,
const MCSubtargetInfo &STI) const override;
};
SmallVectorImpl<MCFixup> &Fixups,
const MCSubtargetInfo &STI) const override;
};
-}
+}
// namespace
MCCodeEmitter *llvm::createBPFMCCodeEmitter(const MCInstrInfo &MCII,
const MCRegisterInfo &MRI,
MCCodeEmitter *llvm::createBPFMCCodeEmitter(const MCInstrInfo &MCII,
const MCRegisterInfo &MRI,
diff --git
a/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h
b/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h
index e2ae6526edc6f8bf6996749dea0b456ca1ea8b00..3d2583a11349f88d77dcd12bae87f1d5b4ded1c0 100644
(file)
--- a/
lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h
+++ b/
lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h
@@
-49,7
+49,7
@@
MCAsmBackend *createBPFbeAsmBackend(const Target &T, const MCRegisterInfo &MRI,
MCObjectWriter *createBPFELFObjectWriter(raw_pwrite_stream &OS,
uint8_t OSABI, bool IsLittleEndian);
MCObjectWriter *createBPFELFObjectWriter(raw_pwrite_stream &OS,
uint8_t OSABI, bool IsLittleEndian);
-}
+}
// namespace llvm
// Defines symbolic names for BPF registers. This defines a mapping from
// register name to register number.
// Defines symbolic names for BPF registers. This defines a mapping from
// register name to register number.
diff --git
a/lib/Target/CppBackend/CPPTargetMachine.h
b/lib/Target/CppBackend/CPPTargetMachine.h
index ebf0635b12e47fdc69a7dc42f9d934ab78d37605..0cd20daa12fab3b8bad5f73202db81c011f8200d 100644
(file)
--- a/
lib/Target/CppBackend/CPPTargetMachine.h
+++ b/
lib/Target/CppBackend/CPPTargetMachine.h
@@
-37,7
+37,7
@@
public:
extern Target TheCppBackendTarget;
extern Target TheCppBackendTarget;
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
b/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
index 9cc1e944d3590a8299edfee59c0387f2d72a52d4..837838afc0f2b620aa353ab2db3582df95534127 100644
(file)
--- a/
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
+++ b/
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
@@
-53,7
+53,7
@@
public:
raw_ostream &VStream,
raw_ostream &CStream) const override;
};
raw_ostream &VStream,
raw_ostream &CStream) const override;
};
-}
+}
// namespace
static DecodeStatus DecodeModRegsRegisterClass(MCInst &Inst, unsigned RegNo,
uint64_t Address,
static DecodeStatus DecodeModRegsRegisterClass(MCInst &Inst, unsigned RegNo,
uint64_t Address,
diff --git
a/lib/Target/Hexagon/Hexagon.h
b/lib/Target/Hexagon/Hexagon.h
index d360be2aa5b2577df96702d0f865220571f39d2a..b24d24a6d6f29dd5a4912841409a8f8cf0f1151d 100644
(file)
--- a/
lib/Target/Hexagon/Hexagon.h
+++ b/
lib/Target/Hexagon/Hexagon.h
@@
-58,6
+58,6
@@
namespace llvm {
/// \brief Creates a Hexagon-specific Target Transformation Info pass.
ImmutablePass *createHexagonTargetTransformInfoPass(const HexagonTargetMachine *TM);
/// \brief Creates a Hexagon-specific Target Transformation Info pass.
ImmutablePass *createHexagonTargetTransformInfoPass(const HexagonTargetMachine *TM);
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonAsmPrinter.h
b/lib/Target/Hexagon/HexagonAsmPrinter.h
index 792fc8b7af3a55180f4d06da0715827cb54d7826..f09a5b91fe8bd9d3308b9b0a47136a1288d2786f 100644
(file)
--- a/
lib/Target/Hexagon/HexagonAsmPrinter.h
+++ b/
lib/Target/Hexagon/HexagonAsmPrinter.h
@@
-53,6
+53,6
@@
namespace llvm {
static const char *getRegisterName(unsigned RegNo);
};
static const char *getRegisterName(unsigned RegNo);
};
-} //
end of llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonCFGOptimizer.cpp
b/lib/Target/Hexagon/HexagonCFGOptimizer.cpp
index 3753b745657b2ba9a76be945ab2ab07cc8a4c6ce..ff1a4fe30757cff976e3eff08ec7db7158581a3e 100644
(file)
--- a/
lib/Target/Hexagon/HexagonCFGOptimizer.cpp
+++ b/
lib/Target/Hexagon/HexagonCFGOptimizer.cpp
@@
-228,7
+228,7
@@
bool HexagonCFGOptimizer::runOnMachineFunction(MachineFunction &Fn) {
}
return true;
}
}
return true;
}
-}
+}
// namespace
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
diff --git
a/lib/Target/Hexagon/HexagonExpandCondsets.cpp
b/lib/Target/Hexagon/HexagonExpandCondsets.cpp
index 37ed173a79cdd4df3f4f4219ac484b3d00054aba..33766dfb830c097fb9a0cad1dbef5b58bf216106 100644
(file)
--- a/
lib/Target/Hexagon/HexagonExpandCondsets.cpp
+++ b/
lib/Target/Hexagon/HexagonExpandCondsets.cpp
@@
-173,7
+173,7
@@
namespace {
bool coalesceRegisters(RegisterRef R1, RegisterRef R2);
bool coalesceSegments(MachineFunction &MF);
};
bool coalesceRegisters(RegisterRef R1, RegisterRef R2);
bool coalesceSegments(MachineFunction &MF);
};
-}
+}
// namespace
char HexagonExpandCondsets::ID = 0;
char HexagonExpandCondsets::ID = 0;
diff --git
a/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp
b/lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp
index e4c8d8f7b28c867e01ad99163281269abcdff030..1657d88a4f43ac7e2091a3b55a856eb78193316c 100644
(file)
--- a/
lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp
+++ b/
lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp
@@
-333,7
+333,7
@@
bool HexagonExpandPredSpillCode::runOnMachineFunction(MachineFunction &Fn) {
return true;
}
return true;
}
-}
+}
// namespace
//===----------------------------------------------------------------------===//
// Public Constructor Functions
//===----------------------------------------------------------------------===//
// Public Constructor Functions
diff --git
a/lib/Target/Hexagon/HexagonFixupHwLoops.cpp
b/lib/Target/Hexagon/HexagonFixupHwLoops.cpp
index d0c7f9c8960f313bfc1a7d2523915d1ab243099e..3ea77cdbb1f7cf26b74ff7f5e6ebdc938b55c118 100644
(file)
--- a/
lib/Target/Hexagon/HexagonFixupHwLoops.cpp
+++ b/
lib/Target/Hexagon/HexagonFixupHwLoops.cpp
@@
-67,7
+67,7
@@
namespace {
};
char HexagonFixupHwLoops::ID = 0;
};
char HexagonFixupHwLoops::ID = 0;
-}
+}
// namespace
INITIALIZE_PASS(HexagonFixupHwLoops, "hwloopsfixup",
"Hexagon Hardware Loops Fixup", false, false)
INITIALIZE_PASS(HexagonFixupHwLoops, "hwloopsfixup",
"Hexagon Hardware Loops Fixup", false, false)
diff --git
a/lib/Target/Hexagon/HexagonFrameLowering.cpp
b/lib/Target/Hexagon/HexagonFrameLowering.cpp
index 868f87e184132a18e7f1cce4a1c567ab6e4d6101..9797134f41ada35971c749e53804c5a6e40d22eb 100644
(file)
--- a/
lib/Target/Hexagon/HexagonFrameLowering.cpp
+++ b/
lib/Target/Hexagon/HexagonFrameLowering.cpp
@@
-238,7
+238,7
@@
namespace {
return true;
return false;
}
return true;
return false;
}
-}
+}
// namespace
/// Implements shrink-wrapping of the stack frame. By default, stack frame
/// Implements shrink-wrapping of the stack frame. By default, stack frame
diff --git
a/lib/Target/Hexagon/HexagonFrameLowering.h
b/lib/Target/Hexagon/HexagonFrameLowering.h
index 89500cb85724176af98adb4b85898c6f9e5aca56..767e13cbd6a6e306ada46582e6066d14583f8168 100644
(file)
--- a/
lib/Target/Hexagon/HexagonFrameLowering.h
+++ b/
lib/Target/Hexagon/HexagonFrameLowering.h
@@
-99,6
+99,6
@@
private:
bool useRestoreFunction(MachineFunction &MF, const CSIVect &CSI) const;
};
bool useRestoreFunction(MachineFunction &MF, const CSIVect &CSI) const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonISelLowering.cpp
b/lib/Target/Hexagon/HexagonISelLowering.cpp
index 6e9e69f5a2c789d41e162575e366dc671257df92..1a14c88f04fd061ce93d30febf8bf23d171ba698 100644
(file)
--- a/
lib/Target/Hexagon/HexagonISelLowering.cpp
+++ b/
lib/Target/Hexagon/HexagonISelLowering.cpp
@@
-95,7
+95,7
@@
public:
unsigned getNumNamedVarArgParams() const { return NumNamedVarArgParams; }
};
unsigned getNumNamedVarArgParams() const { return NumNamedVarArgParams; }
};
-}
+}
// namespace
// Implement calling convention for Hexagon.
static bool
// Implement calling convention for Hexagon.
static bool
diff --git
a/lib/Target/Hexagon/HexagonISelLowering.h
b/lib/Target/Hexagon/HexagonISelLowering.h
index b80e8477eb7ba8a59173725cc997c35820285f1a..b9d18df05b54ad116311fcde6751f7d43a1226d4 100644
(file)
--- a/
lib/Target/Hexagon/HexagonISelLowering.h
+++ b/
lib/Target/Hexagon/HexagonISelLowering.h
@@
-86,7
+86,7
@@
bool isPositiveHalfWord(SDNode *N);
OP_END
};
OP_END
};
- }
+ }
// namespace HexagonISD
class HexagonSubtarget;
class HexagonSubtarget;
diff --git
a/lib/Target/Hexagon/HexagonInstrInfo.h
b/lib/Target/Hexagon/HexagonInstrInfo.h
index d0b8a4631c1d6ce27d37cc09db4049a19072dc5e..91f508ee5ecfb3f53000c4e09e1f2e25dcf78f7b 100644
(file)
--- a/
lib/Target/Hexagon/HexagonInstrInfo.h
+++ b/
lib/Target/Hexagon/HexagonInstrInfo.h
@@
-229,6
+229,6
@@
public:
};
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonMachineFunctionInfo.h
b/lib/Target/Hexagon/HexagonMachineFunctionInfo.h
index 76723586c66e1f026a668b9bd5c11edb8494c0d0..5681ae29831f556097f29e83dde99916a265437f 100644
(file)
--- a/
lib/Target/Hexagon/HexagonMachineFunctionInfo.h
+++ b/
lib/Target/Hexagon/HexagonMachineFunctionInfo.h
@@
-80,6
+80,6
@@
public:
void setStackAlignBaseVReg(unsigned R) { StackAlignBaseReg = R; }
unsigned getStackAlignBaseVReg() const { return StackAlignBaseReg; }
};
void setStackAlignBaseVReg(unsigned R) { StackAlignBaseReg = R; }
unsigned getStackAlignBaseVReg() const { return StackAlignBaseReg; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonMachineScheduler.h
b/lib/Target/Hexagon/HexagonMachineScheduler.h
index 60343442e327ca5937bb242a3b9e9c20d3a67fc7..fae16e2a06122d00c49e13835059678525467a6f 100644
(file)
--- a/
lib/Target/Hexagon/HexagonMachineScheduler.h
+++ b/
lib/Target/Hexagon/HexagonMachineScheduler.h
@@
-238,7
+238,7
@@
protected:
#endif
};
#endif
};
-} // namespace
+} // namespace
llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonPeephole.cpp
b/lib/Target/Hexagon/HexagonPeephole.cpp
index 93dcbe233b252efc9c32e25cbc30ad4d4852fcde..94ec2e7ca6c115715f58c864acd29edc3ce9e472 100644
(file)
--- a/
lib/Target/Hexagon/HexagonPeephole.cpp
+++ b/
lib/Target/Hexagon/HexagonPeephole.cpp
@@
-104,7
+104,7
@@
namespace {
private:
void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
};
private:
void ChangeOpInto(MachineOperand &Dst, MachineOperand &Src);
};
-}
+}
// namespace
char HexagonPeephole::ID = 0;
char HexagonPeephole::ID = 0;
diff --git
a/lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
b/lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
index 7069ad36e21ab1728e86b9f299147e76e12418e6..d586c395a9ad8f18dae36204311e39ecae269268 100644
(file)
--- a/
lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
+++ b/
lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp
@@
-48,7
+48,7
@@
namespace {
FunctionPass::getAnalysisUsage(AU);
}
};
FunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char HexagonRemoveExtendArgs::ID = 0;
char HexagonRemoveExtendArgs::ID = 0;
diff --git
a/lib/Target/Hexagon/HexagonSelectionDAGInfo.h
b/lib/Target/Hexagon/HexagonSelectionDAGInfo.h
index 8ac2e43f929425be93bd7ba96f6e0f5444605ed4..c72051ca13488f2a28674538205c6e2bd05400b5 100644
(file)
--- a/
lib/Target/Hexagon/HexagonSelectionDAGInfo.h
+++ b/
lib/Target/Hexagon/HexagonSelectionDAGInfo.h
@@
-32,6
+32,6
@@
public:
MachinePointerInfo SrcPtrInfo) const override;
};
MachinePointerInfo SrcPtrInfo) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
b/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
index d3eb56f4ba0fd690371088ca76f853bf35161ca2..61bb7c5139e4b06de29abdc63040ceb8616518e8 100644
(file)
--- a/
lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
+++ b/
lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
@@
-156,7
+156,7
@@
bool HexagonSplitConst32AndConst64::runOnMachineFunction(MachineFunction &Fn) {
return true;
}
return true;
}
-}
+}
// namespace
//===----------------------------------------------------------------------===//
// Public Constructor Functions
//===----------------------------------------------------------------------===//
// Public Constructor Functions
diff --git
a/lib/Target/Hexagon/HexagonTargetMachine.cpp
b/lib/Target/Hexagon/HexagonTargetMachine.cpp
index a173a80878321809cbf7fa4d25c91e5b0f2ab678..90f1ced5420ab65a752d2c251e0b747fb3b15cf8 100644
(file)
--- a/
lib/Target/Hexagon/HexagonTargetMachine.cpp
+++ b/
lib/Target/Hexagon/HexagonTargetMachine.cpp
@@
-77,7
+77,7
@@
namespace llvm {
FunctionPass *createHexagonCopyToCombine();
FunctionPass *createHexagonPacketizer();
FunctionPass *createHexagonNewValueJump();
FunctionPass *createHexagonCopyToCombine();
FunctionPass *createHexagonPacketizer();
FunctionPass *createHexagonNewValueJump();
-} //
end namespace llvm;
+} //
namespace llvm
/// HexagonTargetMachine ctor - Create an ILP32 architecture model.
///
/// HexagonTargetMachine ctor - Create an ILP32 architecture model.
///
diff --git
a/lib/Target/Hexagon/HexagonTargetStreamer.h
b/lib/Target/Hexagon/HexagonTargetStreamer.h
index e19c404450e6bc8e57fe5f11285eff12ed3a83f6..2b4a3ada506b9cd451cdcdb3971b46c7ca9d8c46 100644
(file)
--- a/
lib/Target/Hexagon/HexagonTargetStreamer.h
+++ b/
lib/Target/Hexagon/HexagonTargetStreamer.h
@@
-26,6
+26,6
@@
public:
unsigned ByteAlign,
unsigned AccessGranularity){};
};
unsigned ByteAlign,
unsigned AccessGranularity){};
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
b/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
index 474a7b912ab20e7833c5cbcb21046804d539de40..66fdd65b3ea7db1b014e6eaf0b520ecce25e46d9 100644
(file)
--- a/
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
+++ b/
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
@@
-170,7
+170,7
@@
namespace {
void reserveResourcesForConstExt(MachineInstr* MI);
bool isNewValueInst(MachineInstr* MI);
};
void reserveResourcesForConstExt(MachineInstr* MI);
bool isNewValueInst(MachineInstr* MI);
};
-}
+}
// namespace
INITIALIZE_PASS_BEGIN(HexagonPacketizer, "packets", "Hexagon Packetizer",
false, false)
INITIALIZE_PASS_BEGIN(HexagonPacketizer, "packets", "Hexagon Packetizer",
false, false)
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
b/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
index da5d4d1da69b23348f2f762314419dc84288fa31..0f7cf0e7fcbd3c1bdf4c47eb02c5a5047bd30e5d 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
@@
-31,7
+31,7
@@
public:
unsigned GetRelocType(MCValue const &Target, MCFixup const &Fixup,
bool IsPCRel) const override;
};
unsigned GetRelocType(MCValue const &Target, MCFixup const &Fixup,
bool IsPCRel) const override;
};
-}
+}
// namespace
HexagonELFObjectWriter::HexagonELFObjectWriter(uint8_t OSABI, StringRef C)
: MCELFObjectTargetWriter(/*Is64bit*/ false, OSABI, ELF::EM_HEXAGON,
HexagonELFObjectWriter::HexagonELFObjectWriter(uint8_t OSABI, StringRef C)
: MCELFObjectTargetWriter(/*Is64bit*/ false, OSABI, ELF::EM_HEXAGON,
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
index 9fc4e2aeaba6ab243496fafcdf7f2ab7ca12fcd5..6f8cb90f18f9ec9ed1ce42e6ba5b12cc383f22ca 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
@@
-370,7
+370,7
@@
namespace {
return false;
}
}
return false;
}
}
-}
+}
// namespace
unsigned HexagonMCCodeEmitter::getExprOpValue(const MCInst &MI,
const MCOperand &MO,
unsigned HexagonMCCodeEmitter::getExprOpValue(const MCInst &MI,
const MCOperand &MO,
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp
index 886f8db3bc63853782a209eccdbb0913d2ad4c43..0d1f1e607e63a6818dd97d6552bff31ac1ee3371 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp
@@
-174,7
+174,7
@@
unsigned getCompoundCandidateGroup(MCInst const &MI, bool IsExtended) {
return HexagonII::HCG_None;
}
return HexagonII::HCG_None;
}
-}
+}
// namespace
/// getCompoundOp - Return the index from 0-7 into the above opcode lists.
namespace {
/// getCompoundOp - Return the index from 0-7 into the above opcode lists.
namespace {
@@
-199,7
+199,7
@@
unsigned getCompoundOp(MCInst const &HMCI) {
return (PredReg == Hexagon::P0) ? tp0_jump_t : tp1_jump_t;
}
}
return (PredReg == Hexagon::P0) ? tp0_jump_t : tp1_jump_t;
}
}
-}
+}
// namespace
namespace {
MCInst *getCompoundInsn(MCContext &Context, MCInst const &L, MCInst const &R) {
namespace {
MCInst *getCompoundInsn(MCContext &Context, MCInst const &L, MCInst const &R) {
@@
-331,7
+331,7
@@
MCInst *getCompoundInsn(MCContext &Context, MCInst const &L, MCInst const &R) {
return CompoundInsn;
}
return CompoundInsn;
}
-}
+}
// namespace
/// Non-Symmetrical. See if these two instructions are fit for compound pair.
namespace {
/// Non-Symmetrical. See if these two instructions are fit for compound pair.
namespace {
@@
-348,7
+348,7
@@
bool isOrderedCompoundPair(MCInst const &MIa, bool IsExtendedA,
return ((MIaG == HexagonII::HCG_A && MIbG == HexagonII::HCG_B) &&
(MIa.getOperand(0).getReg() == MIb.getOperand(0).getReg()));
}
return ((MIaG == HexagonII::HCG_A && MIbG == HexagonII::HCG_B) &&
(MIa.getOperand(0).getReg() == MIb.getOperand(0).getReg()));
}
-}
+}
// namespace
namespace {
bool lookForCompound(MCInstrInfo const &MCII, MCContext &Context, MCInst &MCI) {
namespace {
bool lookForCompound(MCInstrInfo const &MCII, MCContext &Context, MCInst &MCI) {
@@
-396,7
+396,7
@@
bool lookForCompound(MCInstrInfo const &MCII, MCContext &Context, MCInst &MCI) {
}
return false;
}
}
return false;
}
-}
+}
// namespace
/// tryCompound - Given a bundle check for compound insns when one
/// is found update the contents fo the bundle with the compound insn.
/// tryCompound - Given a bundle check for compound insns when one
/// is found update the contents fo the bundle with the compound insn.
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
index 48b15f85a7835d1b6e6af5c25fadd63ec1fbb3bf..e69a52de5c77ff842c27ef8bd93ae7c8538679d2 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
@@
-461,4
+461,4
@@
void HexagonMCInstrInfo::setOuterLoop(MCInst &MCI) {
MCOperand &Operand = MCI.getOperand(0);
Operand.setImm(Operand.getImm() | outerLoopMask);
}
MCOperand &Operand = MCI.getOperand(0);
Operand.setImm(Operand.getImm() | outerLoopMask);
}
-}
+}
// namespace llvm
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
index 32d61a4a7be5add43875bc5de27a864efc1a3264..9f7562a2006353052f3052f60e6b8de8864a0bbc 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
@@
-229,7
+229,7
@@
bool subInstWouldBeExtended(MCInst const &potentialDuplex);
// Attempt to find and replace compound pairs
void tryCompound(MCInstrInfo const &MCII, MCContext &Context, MCInst &MCI);
// Attempt to find and replace compound pairs
void tryCompound(MCInstrInfo const &MCII, MCContext &Context, MCInst &MCI);
-}
-}
+}
// namespace HexagonMCInstrInfo
+}
// namespace llvm
#endif // LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCINSTRINFO_H
#endif // LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCINSTRINFO_H
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h
index a21cce1fc2409ab5dcda6171502a96b65dffdd61..9c0e3f2bbf6e10f55f05369af84084098255e0da 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h
@@
-60,6
+60,6
@@
bool HexagonMCShuffle(MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
unsigned HexagonMCShuffle(MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
MCContext &Context, MCInst &,
SmallVector<DuplexCandidate, 8>);
unsigned HexagonMCShuffle(MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
MCContext &Context, MCInst &,
SmallVector<DuplexCandidate, 8>);
-}
+}
// namespace llvm
#endif // HEXAGONMCSHUFFLER_H
#endif // HEXAGONMCSHUFFLER_H
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
index f1e93ce19b7afaa0b1ca5b486aaeb28e5d55a2a4..4a4f0c21afa2c4b24ce6e62ae008b7ba081fd4a5 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
@@
-102,7
+102,7
@@
public:
OS << "\n\t}" << PacketBundle.second;
}
};
OS << "\n\t}" << PacketBundle.second;
}
};
-}
+}
// namespace
namespace {
class HexagonTargetELFStreamer : public HexagonTargetStreamer {
namespace {
class HexagonTargetELFStreamer : public HexagonTargetStreamer {
@@
-137,7
+137,7
@@
public:
Symbol, Size, ByteAlignment, AccessSize);
}
};
Symbol, Size, ByteAlignment, AccessSize);
}
};
-}
+}
// namespace
static MCAsmInfo *createHexagonMCAsmInfo(const MCRegisterInfo &MRI,
const Triple &TT) {
static MCAsmInfo *createHexagonMCAsmInfo(const MCRegisterInfo &MRI,
const Triple &TT) {
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h
b/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h
index cb626503313fa94d7b6a70ec06bf68bb724e3017..89c3eb3cd65edd195cf3dab0d8d93f1d163b1786 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h
@@
-49,7
+49,7
@@
MCAsmBackend *createHexagonAsmBackend(Target const &T,
MCObjectWriter *createHexagonELFObjectWriter(raw_pwrite_stream &OS,
uint8_t OSABI, StringRef CPU);
MCObjectWriter *createHexagonELFObjectWriter(raw_pwrite_stream &OS,
uint8_t OSABI, StringRef CPU);
-} //
End llvm namespace
+} //
namespace llvm
// Define symbolic names for Hexagon registers. This defines a mapping from
// register name to register number.
// Define symbolic names for Hexagon registers. This defines a mapping from
// register name to register number.
diff --git
a/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
b/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
index 9218fd3eb07056d6a476bfbffbbed6fc39c89430..53325f6edb7cf541cb9a0d7bf3a386f9cad9510b 100644
(file)
--- a/
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
+++ b/
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
@@
-134,6
+134,6
@@
public:
void setError(unsigned Err) { Error = Err; };
unsigned getError() const { return (Error); };
};
void setError(unsigned Err) { Error = Err; };
unsigned getError() const { return (Error); };
};
-}
+}
// namespace llvm
#endif // HEXAGONSHUFFLER_H
#endif // HEXAGONSHUFFLER_H
diff --git
a/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h
b/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h
index 70141a998e4a2183d43b2d6a5245c0355d029123..80565aab180e926e716aecefb0116e9df3d9ed76 100644
(file)
--- a/
lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h
+++ b/
lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h
@@
-40,6
+40,6
@@
namespace llvm {
void printCCOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
};
void printCCOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/MSP430/MSP430.h
b/lib/Target/MSP430/MSP430.h
index 796f25233123a9572684e57a49544003ada0dfce..302012e1b1484ab2d40ad123c008306d67c041ee 100644
(file)
--- a/
lib/Target/MSP430/MSP430.h
+++ b/
lib/Target/MSP430/MSP430.h
@@
-30,7
+30,7
@@
namespace MSP430CC {
COND_INVALID = -1
};
COND_INVALID = -1
};
-}
+}
// namespace MSP430CC
namespace llvm {
class MSP430TargetMachine;
namespace llvm {
class MSP430TargetMachine;
@@
-42,6
+42,6
@@
namespace llvm {
FunctionPass *createMSP430BranchSelectionPass();
FunctionPass *createMSP430BranchSelectionPass();
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/MSP430/MSP430BranchSelector.cpp
b/lib/Target/MSP430/MSP430BranchSelector.cpp
index ffcf22216d4f1d98adcb265f6259ec0575b183c3..2bc11c07f8ff34fd9a7b9f8e8a5ef1f283d7da69 100644
(file)
--- a/
lib/Target/MSP430/MSP430BranchSelector.cpp
+++ b/
lib/Target/MSP430/MSP430BranchSelector.cpp
@@
-44,7
+44,7
@@
namespace {
}
};
char MSP430BSel::ID = 0;
}
};
char MSP430BSel::ID = 0;
-}
+}
// namespace
/// createMSP430BranchSelectionPass - returns an instance of the Branch
/// Selection Pass
/// createMSP430BranchSelectionPass - returns an instance of the Branch
/// Selection Pass
diff --git
a/lib/Target/MSP430/MSP430FrameLowering.h
b/lib/Target/MSP430/MSP430FrameLowering.h
index 48c4dc866a63de1b9da0967149abd75e13273eab..2f20bbd8ae15bc9c798fd525d2a4eeb6f062e768 100644
(file)
--- a/
lib/Target/MSP430/MSP430FrameLowering.h
+++ b/
lib/Target/MSP430/MSP430FrameLowering.h
@@
-49,6
+49,6
@@
public:
RegScavenger *RS = nullptr) const override;
};
RegScavenger *RS = nullptr) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
b/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
index 5ce5013d898c9697cfbad13dcfa4d641026e86fa..a60108df360c688d50e1805d8bb8478dc4afdc03 100644
(file)
--- a/
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
+++ b/
lib/Target/MSP430/MSP430ISelDAGToDAG.cpp
@@
-85,7
+85,7
@@
namespace {
errs() << " JT" << JT << " Align" << Align << '\n';
}
};
errs() << " JT" << JT << " Align" << Align << '\n';
}
};
-}
+}
// namespace
/// MSP430DAGToDAGISel - MSP430 specific code to select MSP430 machine
/// instructions for SelectionDAG operations.
/// MSP430DAGToDAGISel - MSP430 specific code to select MSP430 machine
/// instructions for SelectionDAG operations.
diff --git
a/lib/Target/MSP430/MSP430ISelLowering.h
b/lib/Target/MSP430/MSP430ISelLowering.h
index 80d3ae175fb11d1876ee9179d829f7cac38b0915..b09060939ac521df9d627d0a26eeeb18ae91c272 100644
(file)
--- a/
lib/Target/MSP430/MSP430ISelLowering.h
+++ b/
lib/Target/MSP430/MSP430ISelLowering.h
@@
-64,7
+64,7
@@
namespace llvm {
/// SHL, SRA, SRL - Non-constant shifts.
SHL, SRA, SRL
};
/// SHL, SRA, SRL - Non-constant shifts.
SHL, SRA, SRL
};
- }
+ }
// namespace MSP430ISD
class MSP430Subtarget;
class MSP430TargetLowering : public TargetLowering {
class MSP430Subtarget;
class MSP430TargetLowering : public TargetLowering {
diff --git
a/lib/Target/MSP430/MSP430InstrInfo.h
b/lib/Target/MSP430/MSP430InstrInfo.h
index 3cf3b1bb8ab24e39bd1860dfa029d174c171b4dd..c6bad1eadd65c920055958dcecbc4d133b4745ba 100644
(file)
--- a/
lib/Target/MSP430/MSP430InstrInfo.h
+++ b/
lib/Target/MSP430/MSP430InstrInfo.h
@@
-38,7
+38,7
@@
namespace MSP430II {
Size4Bytes = 3 << SizeShift,
Size6Bytes = 4 << SizeShift
};
Size4Bytes = 3 << SizeShift,
Size6Bytes = 4 << SizeShift
};
-}
+}
// namespace MSP430II
class MSP430InstrInfo : public MSP430GenInstrInfo {
const MSP430RegisterInfo RI;
class MSP430InstrInfo : public MSP430GenInstrInfo {
const MSP430RegisterInfo RI;
@@
-87,6
+87,6
@@
public:
};
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/MSP430/MSP430MCInstLower.h
b/lib/Target/MSP430/MSP430MCInstLower.h
index ebd639744bcc9e461bd48e8cc630d990469294ec..ebbc6e51286e28f46ed29bcf78c8b9055a62fc78 100644
(file)
--- a/
lib/Target/MSP430/MSP430MCInstLower.h
+++ b/
lib/Target/MSP430/MSP430MCInstLower.h
@@
-42,6
+42,6
@@
public:
MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
};
MCSymbol *GetBlockAddressSymbol(const MachineOperand &MO) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/MSP430/MSP430MachineFunctionInfo.h
b/lib/Target/MSP430/MSP430MachineFunctionInfo.h
index fcc5f5b88600b7af249a0a2bc37eadbf23a622c8..3d1a245c4fea7eab94468f0c9bfff6eb39254878 100644
(file)
--- a/
lib/Target/MSP430/MSP430MachineFunctionInfo.h
+++ b/
lib/Target/MSP430/MSP430MachineFunctionInfo.h
@@
-49,6
+49,6
@@
public:
void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; }
};
void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; }
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/MSP430/MSP430SelectionDAGInfo.h
b/lib/Target/MSP430/MSP430SelectionDAGInfo.h
index 61a6b19111db7dacf0fb4258c8776e63c3030849..95c929372a7f46c3c1875a59a98d839b6c43bf22 100644
(file)
--- a/
lib/Target/MSP430/MSP430SelectionDAGInfo.h
+++ b/
lib/Target/MSP430/MSP430SelectionDAGInfo.h
@@
-26,6
+26,6
@@
public:
~MSP430SelectionDAGInfo();
};
~MSP430SelectionDAGInfo();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/MSP430/MSP430Subtarget.h
b/lib/Target/MSP430/MSP430Subtarget.h
index 81f6f027d45c29d632d2fc791dc9829d79756d71..958a5d39487d308d9ad12f1db571943d45c2c0c2 100644
(file)
--- a/
lib/Target/MSP430/MSP430Subtarget.h
+++ b/
lib/Target/MSP430/MSP430Subtarget.h
@@
-64,6
+64,6
@@
public:
return &TSInfo;
}
};
return &TSInfo;
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif // LLVM_TARGET_MSP430_SUBTARGET_H
#endif // LLVM_TARGET_MSP430_SUBTARGET_H
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
b/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
index 70b9cca8cf6e73587ae8600dc1c6bf3380980c2b..725ea7f971eb38330758b62a420995108fc39e32 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
+++ b/
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp
@@
-66,4
+66,4
@@
MCStreamer &operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection) {
OS.EmitIntValue(ABIFlagsSection.getFlags2Value(), 4); // flags2
return OS;
}
OS.EmitIntValue(ABIFlagsSection.getFlags2Value(), 4); // flags2
return OS;
}
-}
+}
// namespace llvm
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
b/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
index b078cd30a87bd2d713498ee86a9108c497b0a574..bf306ee4814b53dc74387267c6123ff9986d06b8 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
+++ b/
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
@@
-186,6
+186,6
@@
public:
};
MCStreamer &operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection);
};
MCStreamer &operator<<(MCStreamer &OS, MipsABIFlagsSection &ABIFlagsSection);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsABIInfo.h
b/lib/Target/Mips/MCTargetDesc/MipsABIInfo.h
index 40c5681acc17b1d8620b558e3119ef8eced5b0b7..aa965e82a6bf571dbb38658f6309d9fd2471af43 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsABIInfo.h
+++ b/
lib/Target/Mips/MCTargetDesc/MipsABIInfo.h
@@
-73,6
+73,6
@@
public:
unsigned GetEhDataReg(unsigned I) const;
};
unsigned GetEhDataReg(unsigned I) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
b/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
index b3d5a4964f86c78e40ec1f623e8f780dfe79402b..fe84e4021d3410b7bfbe626620a8503a26b89bc8 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
+++ b/
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h
@@
-87,6
+87,6
@@
public:
}; // class MipsAsmBackend
}; // class MipsAsmBackend
-} // namespace
+} // namespace
llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
b/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
index ff7779ec1e789b11fce9c48d7d79f566ade5dfea..a7d5a1e75e4155afb6d7a38bc7bc64dd4dd2ba5d 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
+++ b/
lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
@@
-119,7
+119,7
@@
namespace MipsII {
FormMask = 15
};
FormMask = 15
};
-}
-}
+}
// namespace MipsII
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
b/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
index 9b2952720edd32202d0e376db8c6c9833d9b6dc7..a45e2ad8cf162c312a27100f89b37916a9aee362 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
+++ b/
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
@@
-51,7
+51,7
@@
struct MipsRelocationEntry {
virtual void sortRelocs(const MCAssembler &Asm,
std::vector<ELFRelocationEntry> &Relocs) override;
};
virtual void sortRelocs(const MCAssembler &Asm,
std::vector<ELFRelocationEntry> &Relocs) override;
};
-}
+}
// namespace
MipsELFObjectWriter::MipsELFObjectWriter(bool _is64Bit, uint8_t OSABI,
bool _isN64, bool IsLittleEndian)
MipsELFObjectWriter::MipsELFObjectWriter(bool _is64Bit, uint8_t OSABI,
bool _isN64, bool IsLittleEndian)
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h
b/lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h
index 687b800c24096722203e763f9fd9dc787136f12f..81a0a987bc4ed9a8f052aecbe5b48b77c4313f88 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h
+++ b/
lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h
@@
-25,6
+25,6
@@
bool baseRegNeedsLoadStoreMask(unsigned Reg);
MCELFStreamer *createMipsNaClELFStreamer(MCContext &Context, MCAsmBackend &TAB,
raw_pwrite_stream &OS,
MCCodeEmitter *Emitter, bool RelaxAll);
MCELFStreamer *createMipsNaClELFStreamer(MCContext &Context, MCAsmBackend &TAB,
raw_pwrite_stream &OS,
MCCodeEmitter *Emitter, bool RelaxAll);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
b/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
index 4069d7d184ed939ed464239997af596779fa8829..20358a0f9cf2ce50e85a99cee341067319262a6a 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
+++ b/
lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h
@@
-62,7
+62,7
@@
namespace MIPS_MC {
StringRef selectMipsCPU(const Triple &TT, StringRef CPU);
}
StringRef selectMipsCPU(const Triple &TT, StringRef CPU);
}
-} //
End llvm namespace
+} //
namespace llvm
// Defines symbolic names for Mips registers. This defines a mapping from
// register name to register number.
// Defines symbolic names for Mips registers. This defines a mapping from
// register name to register number.
diff --git
a/lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
b/lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
index aef9bd3a8e2a68328527ab0e71316deca92f9784..537867503edabc2d7e87bf911e9791ae7db85141 100644
(file)
--- a/
lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
+++ b/
lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp
@@
-265,4
+265,4
@@
MCELFStreamer *createMipsNaClELFStreamer(MCContext &Context, MCAsmBackend &TAB,
return S;
}
return S;
}
-}
+}
// namespace llvm
diff --git
a/lib/Target/Mips/Mips.h
b/lib/Target/Mips/Mips.h
index 671d7a87cc3d9477b437cbe32cf8bd634943be7f..604b6704c03323e6becec96a5108f36d38f6b51d 100644
(file)
--- a/
lib/Target/Mips/Mips.h
+++ b/
lib/Target/Mips/Mips.h
@@
-31,6
+31,6
@@
namespace llvm {
FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
FunctionPass *createMipsLongBranchPass(MipsTargetMachine &TM);
FunctionPass *createMipsConstantIslandPass(MipsTargetMachine &tm);
FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
FunctionPass *createMipsLongBranchPass(MipsTargetMachine &TM);
FunctionPass *createMipsConstantIslandPass(MipsTargetMachine &tm);
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/Mips16FrameLowering.h
b/lib/Target/Mips/Mips16FrameLowering.h
index f281c927c1c4a6332410eced34436f533af44fa8..2c33cfb96530553309230aa6caa159e0f9b63ba9 100644
(file)
--- a/
lib/Target/Mips/Mips16FrameLowering.h
+++ b/
lib/Target/Mips/Mips16FrameLowering.h
@@
-42,6
+42,6
@@
public:
RegScavenger *RS) const override;
};
RegScavenger *RS) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/Mips16HardFloat.cpp
b/lib/Target/Mips/Mips16HardFloat.cpp
index 893fc7cdf473b123efd6b23cfb06679bef755d11..f2831fd5d0f6e02ffb863ab5a2c6dcfe7dc4def6 100644
(file)
--- a/
lib/Target/Mips/Mips16HardFloat.cpp
+++ b/
lib/Target/Mips/Mips16HardFloat.cpp
@@
-62,7
+62,7
@@
namespace {
};
char Mips16HardFloat::ID = 0;
};
char Mips16HardFloat::ID = 0;
-}
+}
// namespace
//
// Return types that matter for hard float are:
//
// Return types that matter for hard float are:
diff --git
a/lib/Target/Mips/Mips16HardFloatInfo.cpp
b/lib/Target/Mips/Mips16HardFloatInfo.cpp
index 2eb6e5ddd2d96ba3aa3954476cf9b338c5d2c5e3..bf82108728de894538ba88daaa0c4fd3580579fc 100644
(file)
--- a/
lib/Target/Mips/Mips16HardFloatInfo.cpp
+++ b/
lib/Target/Mips/Mips16HardFloatInfo.cpp
@@
-46,5
+46,5
@@
extern FuncSignature const *findFuncSignature(const char *name) {
}
return nullptr;
}
}
return nullptr;
}
-}
-}
+}
// namespace Mips16HardFloatInfo
+}
// namespace llvm
diff --git
a/lib/Target/Mips/Mips16HardFloatInfo.h
b/lib/Target/Mips/Mips16HardFloatInfo.h
index 7295c287576dac02ebea04403ebf7382d222c3d2..8354c33d33bc85e62dd4d81883ac6ab8cb00ea8e 100644
(file)
--- a/
lib/Target/Mips/Mips16HardFloatInfo.h
+++ b/
lib/Target/Mips/Mips16HardFloatInfo.h
@@
-44,7
+44,7
@@
struct FuncNameSignature {
extern const FuncNameSignature PredefinedFuncs[];
extern FuncSignature const *findFuncSignature(const char *name);
extern const FuncNameSignature PredefinedFuncs[];
extern FuncSignature const *findFuncSignature(const char *name);
-}
-}
+}
// namespace Mips16HardFloatInfo
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/Mips16ISelDAGToDAG.h
b/lib/Target/Mips/Mips16ISelDAGToDAG.h
index ae0e61e19d9d6d538d2dd4fec6c668f67a58782e..ce6b3f8486a9c46b9641dfc84ec652321ec5b996 100644
(file)
--- a/
lib/Target/Mips/Mips16ISelDAGToDAG.h
+++ b/
lib/Target/Mips/Mips16ISelDAGToDAG.h
@@
-48,6
+48,6
@@
private:
FunctionPass *createMips16ISelDag(MipsTargetMachine &TM);
FunctionPass *createMips16ISelDag(MipsTargetMachine &TM);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/Mips16ISelLowering.cpp
b/lib/Target/Mips/Mips16ISelLowering.cpp
index 846e3c964f4430d5a94b9101ec06d988d1ba059d..c52ef2a4e1959cf02a542ed34fb5d4ab990b6de6 100644
(file)
--- a/
lib/Target/Mips/Mips16ISelLowering.cpp
+++ b/
lib/Target/Mips/Mips16ISelLowering.cpp
@@
-54,7
+54,7
@@
struct Mips16IntrinsicHelperType{
return std::strcmp(Name, RHS.Name) == 0;
}
};
return std::strcmp(Name, RHS.Name) == 0;
}
};
-}
+}
// namespace
// Libcalls for which no helper is generated. Sorted by name for binary search.
static const Mips16Libcall HardFloatLibCalls[] = {
// Libcalls for which no helper is generated. Sorted by name for binary search.
static const Mips16Libcall HardFloatLibCalls[] = {
diff --git
a/lib/Target/Mips/Mips16ISelLowering.h
b/lib/Target/Mips/Mips16ISelLowering.h
index d3b9f750f347181d90f53f4a900db40165f0c4a1..99d3cacca67a5c514426f4a2c73f2929b1405b26 100644
(file)
--- a/
lib/Target/Mips/Mips16ISelLowering.h
+++ b/
lib/Target/Mips/Mips16ISelLowering.h
@@
-77,6
+77,6
@@
namespace llvm {
unsigned SltiOpc, unsigned SltiXOpc,
MachineInstr *MI, MachineBasicBlock *BB )const;
};
unsigned SltiOpc, unsigned SltiXOpc,
MachineInstr *MI, MachineBasicBlock *BB )const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/Mips16InstrInfo.h
b/lib/Target/Mips/Mips16InstrInfo.h
index 6540b40bc9abfb59887f388c8a010ec7d2606e4d..1132d8a0318d34868c4ece22bef16494ca17b5b3 100644
(file)
--- a/
lib/Target/Mips/Mips16InstrInfo.h
+++ b/
lib/Target/Mips/Mips16InstrInfo.h
@@
-123,6
+123,6
@@
private:
};
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsAnalyzeImmediate.h
b/lib/Target/Mips/MipsAnalyzeImmediate.h
index ae3c38ced80b0a9b84bd98cc71fb320d53812849..6b5d02b7a7e0f0e748ab6f08aa90fc60f1f47615 100644
(file)
--- a/
lib/Target/Mips/MipsAnalyzeImmediate.h
+++ b/
lib/Target/Mips/MipsAnalyzeImmediate.h
@@
-58,6
+58,6
@@
namespace llvm {
unsigned ADDiu, ORi, SLL, LUi;
InstSeq Insts;
};
unsigned ADDiu, ORi, SLL, LUi;
InstSeq Insts;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsAsmPrinter.h
b/lib/Target/Mips/MipsAsmPrinter.h
index a7f3304a3da8a7920e357ab7571e4a04b22c22ae..3c2b843b8963047f980099a9de4896e447f61975 100644
(file)
--- a/
lib/Target/Mips/MipsAsmPrinter.h
+++ b/
lib/Target/Mips/MipsAsmPrinter.h
@@
-145,7
+145,7
@@
public:
void EmitEndOfAsmFile(Module &M) override;
void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS);
};
void EmitEndOfAsmFile(Module &M) override;
void PrintDebugValueComment(const MachineInstr *MI, raw_ostream &OS);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsCCState.h
b/lib/Target/Mips/MipsCCState.h
index 081c393a09be04d042792d6bbeb64fb0785a065d..04a9ef5ef05120e726721009a760240cef17d75e 100644
(file)
--- a/
lib/Target/Mips/MipsCCState.h
+++ b/
lib/Target/Mips/MipsCCState.h
@@
-131,6
+131,6
@@
public:
bool IsCallOperandFixed(unsigned ValNo) { return CallOperandIsFixed[ValNo]; }
SpecialCallingConvType getSpecialCallingConv() { return SpecialCallingConv; }
};
bool IsCallOperandFixed(unsigned ValNo) { return CallOperandIsFixed[ValNo]; }
SpecialCallingConvType getSpecialCallingConv() { return SpecialCallingConv; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsFrameLowering.h
b/lib/Target/Mips/MipsFrameLowering.h
index 5eabd58e8686a0350e4c300d668ab02b356bce30..dab9c055df6f6e57d616d05beda8fa3121e46871 100644
(file)
--- a/
lib/Target/Mips/MipsFrameLowering.h
+++ b/
lib/Target/Mips/MipsFrameLowering.h
@@
-49,6
+49,6
@@
protected:
const MipsFrameLowering *createMips16FrameLowering(const MipsSubtarget &ST);
const MipsFrameLowering *createMipsSEFrameLowering(const MipsSubtarget &ST);
const MipsFrameLowering *createMips16FrameLowering(const MipsSubtarget &ST);
const MipsFrameLowering *createMipsSEFrameLowering(const MipsSubtarget &ST);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsISelDAGToDAG.h
b/lib/Target/Mips/MipsISelDAGToDAG.h
index 1426d0fbf5161778985277ae81f4d012795f28ce..83be74f0d466961939c0e8cc0dab015517b01622 100644
(file)
--- a/
lib/Target/Mips/MipsISelDAGToDAG.h
+++ b/
lib/Target/Mips/MipsISelDAGToDAG.h
@@
-129,6
+129,6
@@
private:
unsigned ConstraintID,
std::vector<SDValue> &OutOps) override;
};
unsigned ConstraintID,
std::vector<SDValue> &OutOps) override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsISelLowering.h
b/lib/Target/Mips/MipsISelLowering.h
index bc9a1ce64097e4bfad4517cf93284b3e50a29bd8..e4f3cde0c80454a4441e34efe4e3827acebc98ce 100644
(file)
--- a/
lib/Target/Mips/MipsISelLowering.h
+++ b/
lib/Target/Mips/MipsISelLowering.h
@@
-204,7
+204,7
@@
namespace llvm {
SDL,
SDR
};
SDL,
SDR
};
- }
+ }
// namespace MipsISD
//===--------------------------------------------------------------------===//
// TargetLowering Implementation
//===--------------------------------------------------------------------===//
// TargetLowering Implementation
@@
-566,6
+566,6
@@
namespace llvm {
FastISel *createFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo);
}
FastISel *createFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo);
}
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsInstrInfo.h
b/lib/Target/Mips/MipsInstrInfo.h
index 08efc350904665c1a47d22666a053bb708f96e05..3daff5fa5d3657d70f22f55dfb561bf756bf5bb0 100644
(file)
--- a/
lib/Target/Mips/MipsInstrInfo.h
+++ b/
lib/Target/Mips/MipsInstrInfo.h
@@
-146,6
+146,6
@@
private:
const MipsInstrInfo *createMips16InstrInfo(const MipsSubtarget &STI);
const MipsInstrInfo *createMipsSEInstrInfo(const MipsSubtarget &STI);
const MipsInstrInfo *createMips16InstrInfo(const MipsSubtarget &STI);
const MipsInstrInfo *createMipsSEInstrInfo(const MipsSubtarget &STI);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsMCInstLower.h
b/lib/Target/Mips/MipsMCInstLower.h
index 1ce27e40185032f574237ea7100ba6c9d8a659a1..a8bd1cd78d1de52eaaf01ce7bdcef04d74c3c205 100644
(file)
--- a/
lib/Target/Mips/MipsMCInstLower.h
+++ b/
lib/Target/Mips/MipsMCInstLower.h
@@
-45,6
+45,6
@@
private:
MCSymbolRefExpr::VariantKind Kind) const;
bool lowerLongBranch(const MachineInstr *MI, MCInst &OutMI) const;
};
MCSymbolRefExpr::VariantKind Kind) const;
bool lowerLongBranch(const MachineInstr *MI, MCInst &OutMI) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
b/lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
index b18a673912f89295f9328f18b5ae3ea130db1e92..8568137ff374b79fa1f3755e3ecaa8d7ff454802 100644
(file)
--- a/
lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
+++ b/
lib/Target/Mips/MipsModuleISelDAGToDAG.cpp
@@
-37,7
+37,7
@@
namespace {
};
char MipsModuleDAGToDAGISel::ID = 0;
};
char MipsModuleDAGToDAGISel::ID = 0;
-}
+}
// namespace
bool MipsModuleDAGToDAGISel::runOnMachineFunction(MachineFunction &MF) {
DEBUG(errs() << "In MipsModuleDAGToDAGISel::runMachineFunction\n");
bool MipsModuleDAGToDAGISel::runOnMachineFunction(MachineFunction &MF) {
DEBUG(errs() << "In MipsModuleDAGToDAGISel::runMachineFunction\n");
diff --git
a/lib/Target/Mips/MipsOs16.cpp
b/lib/Target/Mips/MipsOs16.cpp
index b6cd79193cfcd7bbaa54eb065113467b2e5b285c..5c71272e99bebca87388ef5f9c203d92955f4ccc 100644
(file)
--- a/
lib/Target/Mips/MipsOs16.cpp
+++ b/
lib/Target/Mips/MipsOs16.cpp
@@
-43,7
+43,7
@@
namespace {
};
char MipsOs16::ID = 0;
};
char MipsOs16::ID = 0;
-}
+}
// namespace
// Figure out if we need float point based on the function signature.
// We need to move variables in and/or out of floating point
// Figure out if we need float point based on the function signature.
// We need to move variables in and/or out of floating point
diff --git
a/lib/Target/Mips/MipsSEFrameLowering.cpp
b/lib/Target/Mips/MipsSEFrameLowering.cpp
index ec7bf314c6412a6d18054f51b10bf5555ffa8d67..a858f30b94a8206ce7ff471e3c447675dd90a741 100644
(file)
--- a/
lib/Target/Mips/MipsSEFrameLowering.cpp
+++ b/
lib/Target/Mips/MipsSEFrameLowering.cpp
@@
-75,7
+75,7
@@
private:
const MipsSEInstrInfo &TII;
const MipsRegisterInfo &RegInfo;
};
const MipsSEInstrInfo &TII;
const MipsRegisterInfo &RegInfo;
};
-}
+}
// namespace
ExpandPseudo::ExpandPseudo(MachineFunction &MF_)
: MF(MF_), MRI(MF.getRegInfo()),
ExpandPseudo::ExpandPseudo(MachineFunction &MF_)
: MF(MF_), MRI(MF.getRegInfo()),
diff --git
a/lib/Target/Mips/MipsSEFrameLowering.h
b/lib/Target/Mips/MipsSEFrameLowering.h
index 2fcd6bbb9a151ed806926993a1ba5fcbd79de74c..ee56b8b8c8ffe51d57964d25a45dd86686b15093 100644
(file)
--- a/
lib/Target/Mips/MipsSEFrameLowering.h
+++ b/
lib/Target/Mips/MipsSEFrameLowering.h
@@
-39,6
+39,6
@@
public:
unsigned ehDataReg(unsigned I) const;
};
unsigned ehDataReg(unsigned I) const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsSEISelDAGToDAG.h
b/lib/Target/Mips/MipsSEISelDAGToDAG.h
index a894034020e99ffaab2be1c076406348e4f491d2..fb2f04121556d696c3caa537a1719f24068f30d6 100644
(file)
--- a/
lib/Target/Mips/MipsSEISelDAGToDAG.h
+++ b/
lib/Target/Mips/MipsSEISelDAGToDAG.h
@@
-126,6
+126,6
@@
private:
FunctionPass *createMipsSEISelDag(MipsTargetMachine &TM);
FunctionPass *createMipsSEISelDag(MipsTargetMachine &TM);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsSEISelLowering.h
b/lib/Target/Mips/MipsSEISelLowering.h
index d44f8d82ec3ea3fbb8019e6052f8adda28c8207d..623630a18078ff58c39080ef2fb4f366de3d5271 100644
(file)
--- a/
lib/Target/Mips/MipsSEISelLowering.h
+++ b/
lib/Target/Mips/MipsSEISelLowering.h
@@
-112,6
+112,6
@@
namespace llvm {
MachineBasicBlock *emitFEXP2_D_1(MachineInstr *MI,
MachineBasicBlock *BB) const;
};
MachineBasicBlock *emitFEXP2_D_1(MachineInstr *MI,
MachineBasicBlock *BB) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsSEInstrInfo.h
b/lib/Target/Mips/MipsSEInstrInfo.h
index bebbabf7b8387213f1110af0c407252da31ddf86..cdafe9f4d48b289e637870bf8c7e9340282b1fea 100644
(file)
--- a/
lib/Target/Mips/MipsSEInstrInfo.h
+++ b/
lib/Target/Mips/MipsSEInstrInfo.h
@@
-113,6
+113,6
@@
private:
MachineBasicBlock::iterator I) const;
};
MachineBasicBlock::iterator I) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsSelectionDAGInfo.h
b/lib/Target/Mips/MipsSelectionDAGInfo.h
index 061423fbeb86d205e0d41ef0c15ace4a34a887a6..feddf980826427b54e8eb591bb8a6d1dd8936033 100644
(file)
--- a/
lib/Target/Mips/MipsSelectionDAGInfo.h
+++ b/
lib/Target/Mips/MipsSelectionDAGInfo.h
@@
-26,6
+26,6
@@
public:
~MipsSelectionDAGInfo();
};
~MipsSelectionDAGInfo();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsSubtarget.h
b/lib/Target/Mips/MipsSubtarget.h
index 5f9296812e1c7393b1037c4bd72ce0c38ebf369e..c8a2e4bd72c50d67498d5e48044ec264f645300f 100644
(file)
--- a/
lib/Target/Mips/MipsSubtarget.h
+++ b/
lib/Target/Mips/MipsSubtarget.h
@@
-292,6
+292,6
@@
public:
return &InstrItins;
}
};
return &InstrItins;
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsTargetMachine.h
b/lib/Target/Mips/MipsTargetMachine.h
index 38b2ecff7d7f1b1906bf8a03096798bf33e044a1..976970ccbcc68dd6c886a183eee186e8dc8b4ca5 100644
(file)
--- a/
lib/Target/Mips/MipsTargetMachine.h
+++ b/
lib/Target/Mips/MipsTargetMachine.h
@@
-90,6
+90,6
@@
public:
CodeGenOpt::Level OL);
};
CodeGenOpt::Level OL);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Mips/MipsTargetStreamer.h
b/lib/Target/Mips/MipsTargetStreamer.h
index fed06005e9c835aef7ac7096f94c630574d761cf..39cadc1e0f8378de436aee9b5b8ced0f060d55c4 100644
(file)
--- a/
lib/Target/Mips/MipsTargetStreamer.h
+++ b/
lib/Target/Mips/MipsTargetStreamer.h
@@
-248,5
+248,5
@@
public:
void emitDirectiveModuleOddSPReg(bool Enabled, bool IsO32ABI) override;
void emitMipsAbiFlags();
};
void emitDirectiveModuleOddSPReg(bool Enabled, bool IsO32ABI) override;
void emitMipsAbiFlags();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h
b/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h
index 02c5a210d0997efdc39a7b3f75b4904db345b077..8144f3fde730c8fc0314f1f10884b98389c687ae 100644
(file)
--- a/
lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h
+++ b/
lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h
@@
-49,6
+49,6
@@
public:
raw_ostream &O, const char *Modifier = nullptr);
};
raw_ostream &O, const char *Modifier = nullptr);
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h
b/lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h
index a72ae2ef53a73d2d6cbe00e076daf7d017a63b7a..b55664ed32a7706390b99aa0b258020712d24462 100644
(file)
--- a/
lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h
+++ b/
lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h
@@
-94,7
+94,7
@@
enum {
IsSurfTexQueryFlag = 0x800,
IsTexModeUnifiedFlag = 0x1000
};
IsSurfTexQueryFlag = 0x800,
IsTexModeUnifiedFlag = 0x1000
};
-}
-}
+}
// namespace NVPTXII
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/ManagedStringPool.h
b/lib/Target/NVPTX/ManagedStringPool.h
index a2d670f8d39d282392cbae25db6df1df7d608a0a..1480b61afdbe74052c027890cce35ac03e0bbebc 100644
(file)
--- a/
lib/Target/NVPTX/ManagedStringPool.h
+++ b/
lib/Target/NVPTX/ManagedStringPool.h
@@
-43,6
+43,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/NVPTX.h
b/lib/Target/NVPTX/NVPTX.h
index 28ae3e8f393ca00f4084686396fcc894346e86fd..d06d61f5e55072a71f37feb06bd77a33aad58f5d 100644
(file)
--- a/
lib/Target/NVPTX/NVPTX.h
+++ b/
lib/Target/NVPTX/NVPTX.h
@@
-133,7
+133,7
@@
enum VecType {
V2 = 2,
V4 = 4
};
V2 = 2,
V4 = 4
};
-}
+}
// namespace PTXLdStInstCode
/// PTXCvtMode - Conversion code enumeration
namespace PTXCvtMode {
/// PTXCvtMode - Conversion code enumeration
namespace PTXCvtMode {
@@
-152,7
+152,7
@@
enum CvtMode {
FTZ_FLAG = 0x10,
SAT_FLAG = 0x20
};
FTZ_FLAG = 0x10,
SAT_FLAG = 0x20
};
-}
+}
// namespace PTXCvtMode
/// PTXCmpMode - Comparison mode enumeration
namespace PTXCmpMode {
/// PTXCmpMode - Comparison mode enumeration
namespace PTXCmpMode {
@@
-180,9
+180,9
@@
enum CmpMode {
BASE_MASK = 0xFF,
FTZ_FLAG = 0x100
};
BASE_MASK = 0xFF,
FTZ_FLAG = 0x100
};
-}
-}
-} //
end namespace llvm;
+}
// namespace PTXCmpMode
+}
// namespace NVPTX
+} //
namespace llvm
// Defines symbolic names for NVPTX registers. This defines a mapping from
// register name to register number.
// Defines symbolic names for NVPTX registers. This defines a mapping from
// register name to register number.
diff --git
a/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
b/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
index 1424297ce4689f50da2350cf5310af247240e887..1a1a8ca7c6664b7645052192de6ebb66421af19a 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
+++ b/
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
@@
-109,7
+109,7
@@
void VisitGlobalVariableForEmission(
Visited.insert(GV);
Visiting.erase(GV);
}
Visited.insert(GV);
Visiting.erase(GV);
}
-}
+}
// namespace
void NVPTXAsmPrinter::emitLineNumberAsDotLoc(const MachineInstr &MI) {
if (!EmitLineNumbers)
void NVPTXAsmPrinter::emitLineNumberAsDotLoc(const MachineInstr &MI) {
if (!EmitLineNumbers)
diff --git
a/lib/Target/NVPTX/NVPTXAsmPrinter.h
b/lib/Target/NVPTX/NVPTXAsmPrinter.h
index f6f7685e76f96bbcc3540970d67dd50d95ee3b17..12d80a34a4e8559ded8014e97b652c98e39f540e 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXAsmPrinter.h
+++ b/
lib/Target/NVPTX/NVPTXAsmPrinter.h
@@
-349,6
+349,6
@@
public:
DebugLoc prevDebugLoc;
void emitLineNumberAsDotLoc(const MachineInstr &);
};
DebugLoc prevDebugLoc;
void emitLineNumberAsDotLoc(const MachineInstr &);
};
-} //
end of namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
b/lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
index 7d4be8e809cf0d32e7805f47db6acf23805cf768..2d5e74c4c4bf2c426b52318cbcb730c605887941 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
+++ b/
lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp
@@
-38,7
+38,7
@@
public:
/// \brief Clean up the name to remove symbols invalid in PTX.
std::string cleanUpName(StringRef Name);
};
/// \brief Clean up the name to remove symbols invalid in PTX.
std::string cleanUpName(StringRef Name);
};
-}
+}
// namespace
char NVPTXAssignValidGlobalNames::ID = 0;
char NVPTXAssignValidGlobalNames::ID = 0;
diff --git
a/lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
b/lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
index 69a229e32f4384b759c000dc277aa7ab56a5e896..3eb7024ff08a540d405be3da6392c18db5f2db03 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
+++ b/
lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp
@@
-107,7
+107,7
@@
private:
/// Helper function for bitcasts.
Value *hoistAddrSpaceCastFromBitCast(BitCastOperator *BC, int Depth);
};
/// Helper function for bitcasts.
Value *hoistAddrSpaceCastFromBitCast(BitCastOperator *BC, int Depth);
};
-}
+}
// namespace
char NVPTXFavorNonGenericAddrSpaces::ID = 0;
char NVPTXFavorNonGenericAddrSpaces::ID = 0;
diff --git
a/lib/Target/NVPTX/NVPTXFrameLowering.h
b/lib/Target/NVPTX/NVPTXFrameLowering.h
index 14f8bb7b98fec58afd747171ef970b68933aff69..488edecc6e7b8320ffa4be5e4943d638d635a7f2 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXFrameLowering.h
+++ b/
lib/Target/NVPTX/NVPTXFrameLowering.h
@@
-31,6
+31,6
@@
public:
MachineBasicBlock::iterator I) const override;
};
MachineBasicBlock::iterator I) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
b/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
index fe20580c83a20b00b94e2a2b495e457ac2e5b816..5879df31f8a64bb0719f3d87fb7d1c86de2ac972 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXISelDAGToDAG.h
+++ b/
lib/Target/NVPTX/NVPTXISelDAGToDAG.h
@@
-95,6
+95,6
@@
private:
bool ChkMemSDNodeAddressSpace(SDNode *N, unsigned int spN) const;
};
bool ChkMemSDNodeAddressSpace(SDNode *N, unsigned int spN) const;
};
-}
+}
// namespace
#endif
#endif
diff --git
a/lib/Target/NVPTX/NVPTXISelLowering.h
b/lib/Target/NVPTX/NVPTXISelLowering.h
index ed94775b3002f9e0020d16ab9593b61eec99ede2..276851f872eabc7b47f566f32cf0f9baa1718d5d 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXISelLowering.h
+++ b/
lib/Target/NVPTX/NVPTXISelLowering.h
@@
-427,7
+427,7
@@
enum NodeType : unsigned {
Suld3DV4I16Zero,
Suld3DV4I32Zero
};
Suld3DV4I16Zero,
Suld3DV4I32Zero
};
-}
+}
// namespace NVPTXISD
class NVPTXSubtarget;
class NVPTXSubtarget;
diff --git
a/lib/Target/NVPTX/NVPTXImageOptimizer.cpp
b/lib/Target/NVPTX/NVPTXImageOptimizer.cpp
index aa36b6be7250d89c3f58c3830cb966a333b7dd73..c86f861acd557a283341066e7e4bfc49eb945e6a 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXImageOptimizer.cpp
+++ b/
lib/Target/NVPTX/NVPTXImageOptimizer.cpp
@@
-42,7
+42,7
@@
private:
Value *cleanupValue(Value *V);
void replaceWith(Instruction *From, ConstantInt *To);
};
Value *cleanupValue(Value *V);
void replaceWith(Instruction *From, ConstantInt *To);
};
-}
+}
// namespace
char NVPTXImageOptimizer::ID = 0;
char NVPTXImageOptimizer::ID = 0;
diff --git
a/lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
b/lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
index 10f1135ad84106be120dbcd02ec997d81141523b..4b9322c77a40c82b63cd41b0dcb0a5bb4aa479e6 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
+++ b/
lib/Target/NVPTX/NVPTXMachineFunctionInfo.h
@@
-46,6
+46,6
@@
public:
return ImageHandleList[Idx].c_str();
}
};
return ImageHandleList[Idx].c_str();
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
b/lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
index 5fd69a6815a8feaaf3b26bcd43f1ac228a2b0706..ea58f7787489c4b99b74e71c3214dcae19513c48 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
+++ b/
lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
@@
-39,7
+39,7
@@
public:
private:
void calculateFrameObjectOffsets(MachineFunction &Fn);
};
private:
void calculateFrameObjectOffsets(MachineFunction &Fn);
};
-}
+}
// namespace
MachineFunctionPass *llvm::createNVPTXPrologEpilogPass() {
return new NVPTXPrologEpilogPass();
MachineFunctionPass *llvm::createNVPTXPrologEpilogPass() {
return new NVPTXPrologEpilogPass();
diff --git
a/lib/Target/NVPTX/NVPTXRegisterInfo.cpp
b/lib/Target/NVPTX/NVPTXRegisterInfo.cpp
index 6e97f9efbc27c17bf61ad615e06fbc2b3b1067df..3ef997b006fad64fc7e5812ecd0ba24ff04e652e 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXRegisterInfo.cpp
+++ b/
lib/Target/NVPTX/NVPTXRegisterInfo.cpp
@@
-69,7
+69,7
@@
std::string getNVPTXRegClassStr(TargetRegisterClass const *RC) {
}
return "";
}
}
return "";
}
-}
+}
// namespace llvm
NVPTXRegisterInfo::NVPTXRegisterInfo() : NVPTXGenRegisterInfo(0) {}
NVPTXRegisterInfo::NVPTXRegisterInfo() : NVPTXGenRegisterInfo(0) {}
diff --git
a/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
b/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
index e83f735a551e8431285b08006f42f62692422978..bb0adc59a3fda12692f1005249c4d052bd746423 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
+++ b/
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
@@
-45,7
+45,7
@@
private:
bool findIndexForHandle(MachineOperand &Op, MachineFunction &MF,
unsigned &Idx);
};
bool findIndexForHandle(MachineOperand &Op, MachineFunction &MF,
unsigned &Idx);
};
-}
+}
// namespace
char NVPTXReplaceImageHandles::ID = 0;
char NVPTXReplaceImageHandles::ID = 0;
diff --git
a/lib/Target/NVPTX/NVPTXSubtarget.h
b/lib/Target/NVPTX/NVPTXSubtarget.h
index c7287719be5f37eb336fb9e35684016c1244dc18..d4520451d37d82d441df3ca24159e9a990d8ec0d 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXSubtarget.h
+++ b/
lib/Target/NVPTX/NVPTXSubtarget.h
@@
-103,6
+103,6
@@
public:
void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
};
void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/NVPTXUtilities.h
b/lib/Target/NVPTX/NVPTXUtilities.h
index 7e2ce73daaa31a077fd3a3c4a8ff058f4712dab1..4d937c6a8bec5e74cc406fa04f6b7f981a58b655 100644
(file)
--- a/
lib/Target/NVPTX/NVPTXUtilities.h
+++ b/
lib/Target/NVPTX/NVPTXUtilities.h
@@
-91,6
+91,6
@@
void dumpInstRec(Value *v, std::set<Instruction *> *visited);
void dumpInstRec(Value *v);
void dumpParent(Value *v);
void dumpInstRec(Value *v);
void dumpParent(Value *v);
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/NVPTX/NVVMReflect.cpp
b/lib/Target/NVPTX/NVVMReflect.cpp
index 5e375b7852e46aedea0598f2f1d160278ff5e1ca..1c2043069e1e810cc93120ac6fe377c07a3b7abe 100644
(file)
--- a/
lib/Target/NVPTX/NVVMReflect.cpp
+++ b/
lib/Target/NVPTX/NVVMReflect.cpp
@@
-75,7
+75,7
@@
private:
bool handleFunction(Function *ReflectFunction);
void setVarMap();
};
bool handleFunction(Function *ReflectFunction);
void setVarMap();
};
-}
+}
// namespace
ModulePass *llvm::createNVVMReflectPass() {
return new NVVMReflect();
ModulePass *llvm::createNVVMReflectPass() {
return new NVVMReflect();
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
b/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
index 992be5b966c184eed7ccf0e9e5999c590239c056..36119d5d7e463478d447d6a20e773dc3ddbfb83b 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
@@
-31,7
+31,7
@@
namespace {
bool needsRelocateWithSymbol(const MCSymbol &Sym,
unsigned Type) const override;
};
bool needsRelocateWithSymbol(const MCSymbol &Sym,
unsigned Type) const override;
};
-}
+}
// namespace
PPCELFObjectWriter::PPCELFObjectWriter(bool Is64Bit, uint8_t OSABI)
: MCELFObjectTargetWriter(Is64Bit, OSABI,
PPCELFObjectWriter::PPCELFObjectWriter(bool Is64Bit, uint8_t OSABI)
: MCELFObjectTargetWriter(Is64Bit, OSABI,
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
b/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
index ae43e59d3cb1f202851ac1e8c941d8c8047aac1c..ad614f2ddf35d7e025ed17d9622186630fe1acb2 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h
@@
-50,7
+50,7
@@
enum Fixups {
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
-}
-}
+}
// namespace PPC
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
b/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
index 5c38fe173d961c44506677d9f29eb7cd03820050..489905b26fccbe1093659de06c0552f6ffe74426 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
@@
-219,7
+219,7
@@
public:
llvm_unreachable("Unknown pseudo-op: .localentry");
}
};
llvm_unreachable("Unknown pseudo-op: .localentry");
}
};
-}
+}
// namespace
static MCTargetStreamer *createAsmTargetStreamer(MCStreamer &S,
formatted_raw_ostream &OS,
static MCTargetStreamer *createAsmTargetStreamer(MCStreamer &S,
formatted_raw_ostream &OS,
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
b/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
index 77fe45882289f3f8de2c96e500e5e5c8c117f86c..18818a1c335e61e40425f1c2a84069912e1ab82b 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
@@
-81,7
+81,7
@@
static inline bool isRunOfOnes(unsigned Val, unsigned &MB, unsigned &ME) {
return false;
}
return false;
}
-} //
End llvm namespace
+} //
namespace llvm
// Generated files will use "namespace PPC". To avoid symbol clash,
// undefine PPC here. PPC may be predefined on some hosts.
// Generated files will use "namespace PPC". To avoid symbol clash,
// undefine PPC here. PPC may be predefined on some hosts.
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
b/lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
index 9d7289658f0f1cda85353b6ae3ee503e57332a29..9b5491f92491a749e777e8ae10aaa16f0430e73e 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp
@@
-51,7
+51,7
@@
public:
FixedValue);
}
};
FixedValue);
}
};
-}
+}
// namespace
/// computes the log2 of the size of the relocation,
/// used for relocation_info::r_length.
/// computes the log2 of the size of the relocation,
/// used for relocation_info::r_length.
diff --git
a/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
b/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
index 6075631a541fb520ce6c9703680c88f873e26652..ff9b059d906a518a60b9aa11c0d57c91a9448ad2 100644
(file)
--- a/
lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
+++ b/
lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
@@
-62,7
+62,7
@@
namespace PPC {
/// Assume the condition register is set by MI(a,b), return the predicate if
/// we modify the instructions such that condition register is set by MI(b,a).
Predicate getSwappedPredicate(Predicate Opcode);
/// Assume the condition register is set by MI(a,b), return the predicate if
/// we modify the instructions such that condition register is set by MI(b,a).
Predicate getSwappedPredicate(Predicate Opcode);
-}
-}
+}
// namespace PPC
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPC.h
b/lib/Target/PowerPC/PPC.h
index ae8d8b4f5dfe0d4b3a22bec2ac3a22cfa0cb81b5..49f77b538c1bd3009b761fa120ee360dccac5ace 100644
(file)
--- a/
lib/Target/PowerPC/PPC.h
+++ b/
lib/Target/PowerPC/PPC.h
@@
-98,6
+98,6
@@
namespace llvm {
};
} // end namespace PPCII
};
} // end namespace PPCII
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCBranchSelector.cpp
b/lib/Target/PowerPC/PPCBranchSelector.cpp
index 940d55ac1f36e68cb0a29c5f7bf8ecc8ee9e6bc1..2b6030aea2b1dc1ab2c3ee5eb21fa8bf20958483 100644
(file)
--- a/
lib/Target/PowerPC/PPCBranchSelector.cpp
+++ b/
lib/Target/PowerPC/PPCBranchSelector.cpp
@@
-51,7
+51,7
@@
namespace {
}
};
char PPCBSel::ID = 0;
}
};
char PPCBSel::ID = 0;
-}
+}
// namespace
INITIALIZE_PASS(PPCBSel, "ppc-branch-select", "PowerPC Branch Selector",
false, false)
INITIALIZE_PASS(PPCBSel, "ppc-branch-select", "PowerPC Branch Selector",
false, false)
diff --git
a/lib/Target/PowerPC/PPCCallingConv.h
b/lib/Target/PowerPC/PPCCallingConv.h
index eb904a85859242420ef8a65a98c2ae4c0e6af986..550cac62927ef380158d04cd2a009db117a87dc2 100644
(file)
--- a/
lib/Target/PowerPC/PPCCallingConv.h
+++ b/
lib/Target/PowerPC/PPCCallingConv.h
@@
-29,7
+29,7
@@
inline bool CC_PPC_AnyReg_Error(unsigned &, MVT &, MVT &,
return false;
}
return false;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCEarlyReturn.cpp
b/lib/Target/PowerPC/PPCEarlyReturn.cpp
index fc89753ed94e7e46be78b63f92e6610c022842ca..9cd9c2faa51f8e9508cf4f4c5dbd67920f632209 100644
(file)
--- a/
lib/Target/PowerPC/PPCEarlyReturn.cpp
+++ b/
lib/Target/PowerPC/PPCEarlyReturn.cpp
@@
-191,7
+191,7
@@
public:
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
INITIALIZE_PASS(PPCEarlyReturn, DEBUG_TYPE,
"PowerPC Early-Return Creation", false, false)
INITIALIZE_PASS(PPCEarlyReturn, DEBUG_TYPE,
"PowerPC Early-Return Creation", false, false)
diff --git
a/lib/Target/PowerPC/PPCFastISel.cpp
b/lib/Target/PowerPC/PPCFastISel.cpp
index a561d5b1190a540f508d2da484002d0f53fd73f8..82ff5307d0b7cb04d26531aca0b3f0afe62168b6 100644
(file)
--- a/
lib/Target/PowerPC/PPCFastISel.cpp
+++ b/
lib/Target/PowerPC/PPCFastISel.cpp
@@
-2347,4
+2347,4
@@
namespace llvm {
return new PPCFastISel(FuncInfo, LibInfo);
return nullptr;
}
return new PPCFastISel(FuncInfo, LibInfo);
return nullptr;
}
-}
+}
// namespace llvm
diff --git
a/lib/Target/PowerPC/PPCFrameLowering.h
b/lib/Target/PowerPC/PPCFrameLowering.h
index 28d074ecd79d8347482f0568ab5bc42447b72efe..b232863c9614b0e1fd8210b9dbb45a80d16e6386 100644
(file)
--- a/
lib/Target/PowerPC/PPCFrameLowering.h
+++ b/
lib/Target/PowerPC/PPCFrameLowering.h
@@
-93,6
+93,6
@@
public:
const SpillSlot *
getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
};
const SpillSlot *
getCalleeSavedSpillSlots(unsigned &NumEntries) const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index afc1f36ad15267fb8a9033aa5080c9a7874285e1..e3814f728af80a0b103a716bc99d1c968aeeac39 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@
-234,7
+234,7
@@
private:
SDNode *transferMemOperands(SDNode *N, SDNode *Result);
};
SDNode *transferMemOperands(SDNode *N, SDNode *Result);
};
-}
+}
// namespace
/// InsertVRSaveCode - Once the entire function has been instruction selected,
/// all virtual registers are created and all machine instructions are built,
/// InsertVRSaveCode - Once the entire function has been instruction selected,
/// all virtual registers are created and all machine instructions are built,
diff --git
a/lib/Target/PowerPC/PPCISelLowering.cpp
b/lib/Target/PowerPC/PPCISelLowering.cpp
index 2600ee5db17991103725b880f48756ce975066d6..1cdfb4178544bc2242bb2865f39a89bd4b175fa2 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.cpp
+++ b/
lib/Target/PowerPC/PPCISelLowering.cpp
@@
-3765,7
+3765,7
@@
struct TailCallArgumentInfo {
TailCallArgumentInfo() : FrameIdx(0) {}
};
TailCallArgumentInfo() : FrameIdx(0) {}
};
-}
+}
// namespace
/// StoreTailCallArgumentsToStackSlot - Stores arguments to their stack slot.
static void
/// StoreTailCallArgumentsToStackSlot - Stores arguments to their stack slot.
static void
diff --git
a/lib/Target/PowerPC/PPCISelLowering.h
b/lib/Target/PowerPC/PPCISelLowering.h
index 7fd3f9c3de3d5068ba4d5dcca229e6350f1a0019..c33d60565b7999627e4fe710c6536e11f6b6914d 100644
(file)
--- a/
lib/Target/PowerPC/PPCISelLowering.h
+++ b/
lib/Target/PowerPC/PPCISelLowering.h
@@
-353,7
+353,7
@@
namespace llvm {
/// the last operand.
TOC_ENTRY
};
/// the last operand.
TOC_ENTRY
};
- }
+ }
// namespace PPCISD
/// Define some predicates that are used for node matching.
namespace PPC {
/// Define some predicates that are used for node matching.
namespace PPC {
@@
-405,7
+405,7
@@
namespace llvm {
/// If this is a qvaligni shuffle mask, return the shift
/// amount, otherwise return -1.
int isQVALIGNIShuffleMask(SDNode *N);
/// If this is a qvaligni shuffle mask, return the shift
/// amount, otherwise return -1.
int isQVALIGNIShuffleMask(SDNode *N);
- }
+ }
// namespace PPC
class PPCTargetLowering : public TargetLowering {
const PPCSubtarget &Subtarget;
class PPCTargetLowering : public TargetLowering {
const PPCSubtarget &Subtarget;
@@
-871,6
+871,6
@@
namespace llvm {
CCValAssign::LocInfo &LocInfo,
ISD::ArgFlagsTy &ArgFlags,
CCState &State);
CCValAssign::LocInfo &LocInfo,
ISD::ArgFlagsTy &ArgFlags,
CCState &State);
-}
+}
// namespace llvm
#endif // LLVM_TARGET_POWERPC_PPC32ISELLOWERING_H
#endif // LLVM_TARGET_POWERPC_PPC32ISELLOWERING_H
diff --git
a/lib/Target/PowerPC/PPCInstrBuilder.h
b/lib/Target/PowerPC/PPCInstrBuilder.h
index cf71b1c5986958b46c5a1bbfa8fcf2a0123aac9f..ec94fa5580ffabe1eb1071d6d86ff6cc035af637 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrBuilder.h
+++ b/
lib/Target/PowerPC/PPCInstrBuilder.h
@@
-38,6
+38,6
@@
addFrameReference(const MachineInstrBuilder &MIB, int FI, int Offset = 0,
return MIB.addFrameIndex(FI).addImm(Offset);
}
return MIB.addFrameIndex(FI).addImm(Offset);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.h
b/lib/Target/PowerPC/PPCInstrInfo.h
index e2d6346aa5326f410965cb11b5884a3eeb7e13df..39bf4547733ca09d106b0a6048803ea99aa7f208 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.h
+++ b/
lib/Target/PowerPC/PPCInstrInfo.h
@@
-237,6
+237,6
@@
public:
void getNoopForMachoTarget(MCInst &NopInst) const override;
};
void getNoopForMachoTarget(MCInst &NopInst) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCLoopDataPrefetch.cpp
b/lib/Target/PowerPC/PPCLoopDataPrefetch.cpp
index b4e1c099f190d441969bfe506b0adc7d6b82e01c..e783b5e653334ed9d432e036abec1bde8f2f3edf 100644
(file)
--- a/
lib/Target/PowerPC/PPCLoopDataPrefetch.cpp
+++ b/
lib/Target/PowerPC/PPCLoopDataPrefetch.cpp
@@
-88,7
+88,7
@@
namespace {
const TargetTransformInfo *TTI;
const DataLayout *DL;
};
const TargetTransformInfo *TTI;
const DataLayout *DL;
};
-}
+}
// namespace
char PPCLoopDataPrefetch::ID = 0;
INITIALIZE_PASS_BEGIN(PPCLoopDataPrefetch, "ppc-loop-data-prefetch",
char PPCLoopDataPrefetch::ID = 0;
INITIALIZE_PASS_BEGIN(PPCLoopDataPrefetch, "ppc-loop-data-prefetch",
diff --git
a/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
b/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
index b6e7799402e19b060afd9f9c802c0e74dbeaf9d9..1891b6315c51efc64d3ab40c7e0bbb384100dead 100644
(file)
--- a/
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
+++ b/
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
@@
-87,7
+87,7
@@
namespace {
LoopInfo *LI;
ScalarEvolution *SE;
};
LoopInfo *LI;
ScalarEvolution *SE;
};
-}
+}
// namespace
char PPCLoopPreIncPrep::ID = 0;
static const char *name = "Prepare loop for pre-inc. addressing modes";
char PPCLoopPreIncPrep::ID = 0;
static const char *name = "Prepare loop for pre-inc. addressing modes";
@@
-113,7
+113,7
@@
namespace {
protected:
ScalarEvolution *SE;
};
protected:
ScalarEvolution *SE;
};
-}
+}
// namespace
static bool IsPtrInBounds(Value *BasePtr) {
Value *StrippedBasePtr = BasePtr;
static bool IsPtrInBounds(Value *BasePtr) {
Value *StrippedBasePtr = BasePtr;
diff --git
a/lib/Target/PowerPC/PPCSelectionDAGInfo.h
b/lib/Target/PowerPC/PPCSelectionDAGInfo.h
index 2c1378d5670d7dfcd3e94134ca07e67f42fc0980..d2eaeb42dbc428810eba7181fce64e2e9b8ffeef 100644
(file)
--- a/
lib/Target/PowerPC/PPCSelectionDAGInfo.h
+++ b/
lib/Target/PowerPC/PPCSelectionDAGInfo.h
@@
-26,6
+26,6
@@
public:
~PPCSelectionDAGInfo();
};
~PPCSelectionDAGInfo();
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCSubtarget.h
b/lib/Target/PowerPC/PPCSubtarget.h
index e9cc3d4bd5bc7c7c52717da77d8c37b054d6533b..ea17e1c189b83ff154ba306b35d64f44c58b6417 100644
(file)
--- a/
lib/Target/PowerPC/PPCSubtarget.h
+++ b/
lib/Target/PowerPC/PPCSubtarget.h
@@
-58,7
+58,7
@@
namespace PPC {
DIR_PWR8,
DIR_64
};
DIR_PWR8,
DIR_64
};
-}
+}
// namespace PPC
class GlobalValue;
class TargetMachine;
class GlobalValue;
class TargetMachine;
@@
-286,6
+286,6
@@
public:
bool enableSubRegLiveness() const override;
};
bool enableSubRegLiveness() const override;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
b/lib/Target/PowerPC/PPCTLSDynamicCall.cpp
index 2dc0d825c80dfb0b6d919b79785ff35c278e34aa..7a9db0fabb07ec14a450c91fb0eb5d95383a7e45 100644
(file)
--- a/
lib/Target/PowerPC/PPCTLSDynamicCall.cpp
+++ b/
lib/Target/PowerPC/PPCTLSDynamicCall.cpp
@@
-156,7
+156,7
@@
public:
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
INITIALIZE_PASS_BEGIN(PPCTLSDynamicCall, DEBUG_TYPE,
"PowerPC TLS Dynamic Call Fixup", false, false)
INITIALIZE_PASS_BEGIN(PPCTLSDynamicCall, DEBUG_TYPE,
"PowerPC TLS Dynamic Call Fixup", false, false)
diff --git
a/lib/Target/PowerPC/PPCTOCRegDeps.cpp
b/lib/Target/PowerPC/PPCTOCRegDeps.cpp
index bf165c9edc6e654c8e34f3c43435e618dbad4fa0..61b963fe6da59ab97ddbb5161e58827090cb7ff7 100644
(file)
--- a/
lib/Target/PowerPC/PPCTOCRegDeps.cpp
+++ b/
lib/Target/PowerPC/PPCTOCRegDeps.cpp
@@
-145,7
+145,7
@@
public:
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
INITIALIZE_PASS(PPCTOCRegDeps, DEBUG_TYPE,
"PowerPC TOC Register Dependencies", false, false)
INITIALIZE_PASS(PPCTOCRegDeps, DEBUG_TYPE,
"PowerPC TOC Register Dependencies", false, false)
diff --git
a/lib/Target/PowerPC/PPCTargetStreamer.h
b/lib/Target/PowerPC/PPCTargetStreamer.h
index dbe7617d3542dc5b7809d8c91bb6778af374067a..a5c4c23c7901e1ea7102fcf54ae3d456ff48312b 100644
(file)
--- a/
lib/Target/PowerPC/PPCTargetStreamer.h
+++ b/
lib/Target/PowerPC/PPCTargetStreamer.h
@@
-22,6
+22,6
@@
public:
virtual void emitAbiVersion(int AbiVersion) = 0;
virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
};
virtual void emitAbiVersion(int AbiVersion) = 0;
virtual void emitLocalEntry(MCSymbolELF *S, const MCExpr *LocalOffset) = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/PowerPC/PPCVSXCopy.cpp
b/lib/Target/PowerPC/PPCVSXCopy.cpp
index 5e3ae2a4471b7e6bdd9af1cc0816c09aa34fca71..537db656fd6063fbf359112fee3dcbfc0889d11b 100644
(file)
--- a/
lib/Target/PowerPC/PPCVSXCopy.cpp
+++ b/
lib/Target/PowerPC/PPCVSXCopy.cpp
@@
-165,7
+165,7
@@
public:
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
INITIALIZE_PASS(PPCVSXCopy, DEBUG_TYPE,
"PowerPC VSX Copy Legalization", false, false)
INITIALIZE_PASS(PPCVSXCopy, DEBUG_TYPE,
"PowerPC VSX Copy Legalization", false, false)
diff --git
a/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
b/lib/Target/PowerPC/PPCVSXFMAMutate.cpp
index f352fa647ace715c06414645b588db9d4a7827f1..a029ddf0bc086777b19f9fdb1c236a327d76c8cc 100644
(file)
--- a/
lib/Target/PowerPC/PPCVSXFMAMutate.cpp
+++ b/
lib/Target/PowerPC/PPCVSXFMAMutate.cpp
@@
-317,7
+317,7
@@
public:
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
INITIALIZE_PASS_BEGIN(PPCVSXFMAMutate, DEBUG_TYPE,
"PowerPC VSX FMA Mutation", false, false)
INITIALIZE_PASS_BEGIN(PPCVSXFMAMutate, DEBUG_TYPE,
"PowerPC VSX FMA Mutation", false, false)
diff --git
a/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
b/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
index e238669145ade9907ae047a6a6fc3cba7a4bc3d6..939293a5638e26d56706eafa2f6fd76e52688a3f 100644
(file)
--- a/
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
+++ b/
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
@@
-809,7
+809,7
@@
void PPCVSXSwapRemoval::dumpSwapVector() {
DEBUG(dbgs() << "\n");
}
DEBUG(dbgs() << "\n");
}
-} //
end default
namespace
+} // namespace
INITIALIZE_PASS_BEGIN(PPCVSXSwapRemoval, DEBUG_TYPE,
"PowerPC VSX Swap Removal", false, false)
INITIALIZE_PASS_BEGIN(PPCVSXSwapRemoval, DEBUG_TYPE,
"PowerPC VSX Swap Removal", false, false)
diff --git
a/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
b/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
index 3e56b9e9b8837dcd235949606fdef1d3934247bd..59f011aefe6626bd92dd8a3f6b7c0eb14a361b5d 100644
(file)
--- a/
lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
+++ b/
lib/Target/Sparc/Disassembler/SparcDisassembler.cpp
@@
-41,7
+41,7
@@
public:
raw_ostream &VStream,
raw_ostream &CStream) const override;
};
raw_ostream &VStream,
raw_ostream &CStream) const override;
};
-}
+}
// namespace
namespace llvm {
extern Target TheSparcTarget, TheSparcV9Target, TheSparcelTarget;
namespace llvm {
extern Target TheSparcTarget, TheSparcV9Target, TheSparcelTarget;
diff --git
a/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
b/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
index 0be60fd7a051180bf8254feb92fe9fc7863c06bb..800a5f254b8fc9fa76c53c96d66ed1b5f845938a 100644
(file)
--- a/
lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
+++ b/
lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
@@
-36,7
+36,7
@@
namespace {
unsigned Type) const override;
};
unsigned Type) const override;
};
-}
+}
// namespace
unsigned SparcELFObjectWriter::GetRelocType(const MCValue &Target,
const MCFixup &Fixup,
unsigned SparcELFObjectWriter::GetRelocType(const MCValue &Target,
const MCFixup &Fixup,
diff --git
a/lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
b/lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
index 8d79396d936e70522760d5d641b15a2e8dcae2ae..34c58da10d5dbef8443438dd36921bc7f025dcfa 100644
(file)
--- a/
lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
+++ b/
lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
@@
-91,7
+91,7
@@
namespace llvm {
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
- }
-}
+ }
// namespace Sparc
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
b/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
index a9c9f15454ec1652d5e2c3b315fd4073e7554506..8f62de4a4fd2a5397dc9af6ab7c6d2fd193a89bb 100644
(file)
--- a/
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
+++ b/
lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
@@
-41,7
+41,7
@@
MCAsmBackend *createSparcAsmBackend(const Target &T, const MCRegisterInfo &MRI,
const Triple &TT, StringRef CPU);
MCObjectWriter *createSparcELFObjectWriter(raw_pwrite_stream &OS, bool Is64Bit,
bool IsLIttleEndian, uint8_t OSABI);
const Triple &TT, StringRef CPU);
MCObjectWriter *createSparcELFObjectWriter(raw_pwrite_stream &OS, bool Is64Bit,
bool IsLIttleEndian, uint8_t OSABI);
-} //
End llvm namespace
+} //
namespace llvm
// Defines symbolic names for Sparc registers. This defines a mapping from
// register name to register number.
// Defines symbolic names for Sparc registers. This defines a mapping from
// register name to register number.
diff --git
a/lib/Target/Sparc/Sparc.h
b/lib/Target/Sparc/Sparc.h
index 96378d522dc0194dcf41fb6ce5f4164ae6964ac4..133af8694139c7c0d8a894879eaa773742acad0e 100644
(file)
--- a/
lib/Target/Sparc/Sparc.h
+++ b/
lib/Target/Sparc/Sparc.h
@@
-33,7
+33,7
@@
namespace llvm {
void LowerSparcMachineInstrToMCInst(const MachineInstr *MI,
MCInst &OutMI,
AsmPrinter &AP);
void LowerSparcMachineInstrToMCInst(const MachineInstr *MI,
MCInst &OutMI,
AsmPrinter &AP);
-} //
end namespace llvm;
+} //
namespace llvm
namespace llvm {
// Enums corresponding to Sparc condition codes, both icc's and fcc's. These
namespace llvm {
// Enums corresponding to Sparc condition codes, both icc's and fcc's. These
@@
-74,7
+74,7
@@
namespace llvm {
FCC_ULE = 14+16, // Unordered or Less or Equal
FCC_O = 15+16 // Ordered
};
FCC_ULE = 14+16, // Unordered or Less or Equal
FCC_O = 15+16 // Ordered
};
- }
+ }
// namespace SPCC
inline static const char *SPARCCondCodeToString(SPCC::CondCodes CC) {
switch (CC) {
inline static const char *SPARCCondCodeToString(SPCC::CondCodes CC) {
switch (CC) {
diff --git
a/lib/Target/Sparc/SparcFrameLowering.h
b/lib/Target/Sparc/SparcFrameLowering.h
index bb3b78861cbd6db8e4c49f2075928ef9624db951..3d73bbd0d90caf0a324c996f3e45422e034e6bb5 100644
(file)
--- a/
lib/Target/Sparc/SparcFrameLowering.h
+++ b/
lib/Target/Sparc/SparcFrameLowering.h
@@
-55,6
+55,6
@@
private:
};
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/Sparc/SparcISelLowering.h
b/lib/Target/Sparc/SparcISelLowering.h
index b6bc3d2557130654bfd39d258802d1cd180d49a2..a4b9c79c3264e50bd904088525cef6d2c2bfb943 100644
(file)
--- a/
lib/Target/Sparc/SparcISelLowering.h
+++ b/
lib/Target/Sparc/SparcISelLowering.h
@@
-49,7
+49,7
@@
namespace llvm {
TLS_LD,
TLS_CALL
};
TLS_LD,
TLS_CALL
};
- }
+ }
// namespace SPISD
class SparcTargetLowering : public TargetLowering {
const SparcSubtarget *Subtarget;
class SparcTargetLowering : public TargetLowering {
const SparcSubtarget *Subtarget;
diff --git
a/lib/Target/Sparc/SparcInstrInfo.h
b/lib/Target/Sparc/SparcInstrInfo.h
index 15673f134d8094a03b15bcb215168c46b3590b46..b59dd896019c89fa3a53eab12730142ff05f9ed3 100644
(file)
--- a/
lib/Target/Sparc/SparcInstrInfo.h
+++ b/
lib/Target/Sparc/SparcInstrInfo.h
@@
-96,6
+96,6
@@
public:
unsigned getGlobalBaseReg(MachineFunction *MF) const;
};
unsigned getGlobalBaseReg(MachineFunction *MF) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Sparc/SparcMachineFunctionInfo.h
b/lib/Target/Sparc/SparcMachineFunctionInfo.h
index 104744279d9d1e01cf887e36ae976ba955f268b8..0471443f5961a9b0534028b266129b00e1479a35 100644
(file)
--- a/
lib/Target/Sparc/SparcMachineFunctionInfo.h
+++ b/
lib/Target/Sparc/SparcMachineFunctionInfo.h
@@
-51,6
+51,6
@@
namespace llvm {
void setLeafProc(bool rhs) { IsLeafProc = rhs; }
bool isLeafProc() const { return IsLeafProc; }
};
void setLeafProc(bool rhs) { IsLeafProc = rhs; }
bool isLeafProc() const { return IsLeafProc; }
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/Sparc/SparcSelectionDAGInfo.h
b/lib/Target/Sparc/SparcSelectionDAGInfo.h
index 6818291b30b4cdadbd177258d3f0e73404b68227..2ceae82c8cdb71d4df5a51626e5432ad1b2c2c1d 100644
(file)
--- a/
lib/Target/Sparc/SparcSelectionDAGInfo.h
+++ b/
lib/Target/Sparc/SparcSelectionDAGInfo.h
@@
-26,6
+26,6
@@
public:
~SparcSelectionDAGInfo() override;
};
~SparcSelectionDAGInfo() override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/SystemZ/SystemZISelLowering.cpp
b/lib/Target/SystemZ/SystemZISelLowering.cpp
index 91e12c2d9d7e87416c8a7b0d6a3975b118b44b7d..75845796de799589c343ade4c20b351d18dfa248 100644
(file)
--- a/
lib/Target/SystemZ/SystemZISelLowering.cpp
+++ b/
lib/Target/SystemZ/SystemZISelLowering.cpp
@@
-3292,7
+3292,7
@@
struct Permute {
unsigned Operand;
unsigned char Bytes[SystemZ::VectorBytes];
};
unsigned Operand;
unsigned char Bytes[SystemZ::VectorBytes];
};
-}
+}
// namespace
static const Permute PermuteForms[] = {
// VMRHG
static const Permute PermuteForms[] = {
// VMRHG
@@
-3574,7
+3574,7
@@
struct GeneralShuffle {
// The type of the shuffle result.
EVT VT;
};
// The type of the shuffle result.
EVT VT;
};
-}
+}
// namespace
// Add an extra undefined element to the shuffle.
void GeneralShuffle::addUndef() {
// Add an extra undefined element to the shuffle.
void GeneralShuffle::addUndef() {
diff --git
a/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
b/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
index 9eee4a0f3d828d4a27bad31f1bb226ff4823dc6d..6ba897b8636d83cf5e70a94a4f9276d32740979b 100644
(file)
--- a/
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
+++ b/
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
@@
-1080,4
+1080,4
@@
CreateX86AsmInstrumentation(const MCTargetOptions &MCOptions,
return new X86AsmInstrumentation(STI);
}
return new X86AsmInstrumentation(STI);
}
-} //
End llvm namespace
+} //
namespace llvm
diff --git
a/lib/Target/X86/AsmParser/X86AsmInstrumentation.h
b/lib/Target/X86/AsmParser/X86AsmInstrumentation.h
index 19ebcc44f61e3b666337d6c62df41dbdfd2ce18d..341fc81c04800e73fa327aa566dbc51414ad7b9d 100644
(file)
--- a/
lib/Target/X86/AsmParser/X86AsmInstrumentation.h
+++ b/
lib/Target/X86/AsmParser/X86AsmInstrumentation.h
@@
-61,6
+61,6
@@
protected:
unsigned InitialFrameReg;
};
unsigned InitialFrameReg;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/Disassembler/X86Disassembler.cpp
b/lib/Target/X86/Disassembler/X86Disassembler.cpp
index 6e99c37c2bc7df95d47fb83e5ecbf33175b6d0f5..5b53fbef3f716e1d530fc54801b8ae1af64540a2 100644
(file)
--- a/
lib/Target/X86/Disassembler/X86Disassembler.cpp
+++ b/
lib/Target/X86/Disassembler/X86Disassembler.cpp
@@
-69,7
+69,7
@@
namespace X86 {
extern Target TheX86_32Target, TheX86_64Target;
extern Target TheX86_32Target, TheX86_64Target;
-}
+}
// namespace llvm
static bool translateInstruction(MCInst &target,
InternalInstruction &source,
static bool translateInstruction(MCInst &target,
InternalInstruction &source,
diff --git
a/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
index 62b6b73e7864767c63df65e868ad5e90608b4955..ac484f3172764e7bd170f7934c9eb9c60fc33192 100644
(file)
--- a/
lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
+++ b/
lib/Target/X86/InstPrinter/X86ATTInstPrinter.h
@@
-140,6
+140,6
@@
public:
private:
bool HasCustomInstComment;
};
private:
bool HasCustomInstComment;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
b/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
index 6e371da3729075b92c3aad8b4196662d9cce29a4..2bee518fed682984436247813bcb9f1b2dd1c6fe 100644
(file)
--- a/
lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
+++ b/
lib/Target/X86/InstPrinter/X86IntelInstPrinter.h
@@
-159,6
+159,6
@@
public:
}
};
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
b/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
index de0e67a03c9980370f2b2c2061715c37fa5a2c6c..2d85f84d66699becc860411466b29d86986e2736 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+++ b/
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
@@
-426,7
+426,7
@@
namespace CU {
UNWIND_FRAMELESS_STACK_REG_PERMUTATION = 0x000003FF
};
UNWIND_FRAMELESS_STACK_REG_PERMUTATION = 0x000003FF
};
-} //
end CU namespace
+} //
namespace CU
class DarwinX86AsmBackend : public X86AsmBackend {
const MCRegisterInfo &MRI;
class DarwinX86AsmBackend : public X86AsmBackend {
const MCRegisterInfo &MRI;
diff --git
a/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
b/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
index ef197f40c27590a7f268c2952175660bb042d77c..69e9c7b4a83ebf3b0c3850fc68ff71d4f6e31d58 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86BaseInfo.h
+++ b/
lib/Target/X86/MCTargetDesc/X86BaseInfo.h
@@
-41,7
+41,7
@@
namespace X86 {
/// AddrNumOperands - Total number of operands in a memory reference.
AddrNumOperands = 5
};
/// AddrNumOperands - Total number of operands in a memory reference.
AddrNumOperands = 5
};
-} //
end namespace X86;
+} //
namespace X86
/// X86II - This namespace holds all of the target specific flags that
/// instruction info tracks.
/// X86II - This namespace holds all of the target specific flags that
/// instruction info tracks.
@@
-762,8
+762,8
@@
namespace X86II {
return (reg == X86::SPL || reg == X86::BPL ||
reg == X86::SIL || reg == X86::DIL);
}
return (reg == X86::SPL || reg == X86::BPL ||
reg == X86::SIL || reg == X86::DIL);
}
-}
+}
// namespace X86II
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
b/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
index a33468dc476994a3301381bbb465f52c186ec349..512afebf482e129dd584ffb77b3dfd051715500c 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
+++ b/
lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp
@@
-28,7
+28,7
@@
namespace {
unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel) const override;
};
unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel) const override;
};
-}
+}
// namespace
X86ELFObjectWriter::X86ELFObjectWriter(bool IsELF64, uint8_t OSABI,
uint16_t EMachine)
X86ELFObjectWriter::X86ELFObjectWriter(bool IsELF64, uint8_t OSABI,
uint16_t EMachine)
diff --git
a/lib/Target/X86/MCTargetDesc/X86FixupKinds.h
b/lib/Target/X86/MCTargetDesc/X86FixupKinds.h
index 4899900dcef9d8b18b4e5ef946683cd7c633c964..a523a32b2a2d8bae71d87047d1a3f46d14e6c81f 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86FixupKinds.h
+++ b/
lib/Target/X86/MCTargetDesc/X86FixupKinds.h
@@
-28,7
+28,7
@@
enum Fixups {
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
-}
-}
+}
// namespace X86
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
b/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
index 6221baba1793ea117e5951387b329ce1f1169d56..020803b57f76a5da49ff7fc477dc08118c4d126b 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
+++ b/
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
@@
-62,7
+62,7
@@
void InitLLVM2SEHRegisterMapping(MCRegisterInfo *MRI);
/// do not need to go through TargetRegistry.
MCSubtargetInfo *createX86MCSubtargetInfo(const Triple &TT, StringRef CPU,
StringRef FS);
/// do not need to go through TargetRegistry.
MCSubtargetInfo *createX86MCSubtargetInfo(const Triple &TT, StringRef CPU,
StringRef FS);
-}
+}
// namespace X86_MC
MCCodeEmitter *createX86MCCodeEmitter(const MCInstrInfo &MCII,
const MCRegisterInfo &MRI,
MCCodeEmitter *createX86MCCodeEmitter(const MCInstrInfo &MCII,
const MCRegisterInfo &MRI,
@@
-98,7
+98,7
@@
MCRelocationInfo *createX86_64MachORelocationInfo(MCContext &Ctx);
/// Construct X86-64 ELF relocation info.
MCRelocationInfo *createX86_64ELFRelocationInfo(MCContext &Ctx);
/// Construct X86-64 ELF relocation info.
MCRelocationInfo *createX86_64ELFRelocationInfo(MCContext &Ctx);
-} //
End llvm namespace
+} //
namespace llvm
// Defines symbolic names for X86 registers. This defines a mapping from
// Defines symbolic names for X86 registers. This defines a mapping from
diff --git
a/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
b/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
index 9e801fc8f1916c185981d81c6b680c8e6c5668fc..773fbf41a7b1bb642af4bbbaae510acf7571f3a8 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
+++ b/
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
@@
-69,7
+69,7
@@
public:
FixedValue);
}
};
FixedValue);
}
};
-}
+}
// namespace
static bool isFixupKindRIPRel(unsigned Kind) {
return Kind == X86::reloc_riprel_4byte ||
static bool isFixupKindRIPRel(unsigned Kind) {
return Kind == X86::reloc_riprel_4byte ||
diff --git
a/lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
b/lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
index bd1bc9943b6d030bc87b2bc50cd22cf0b4febc3c..7d262cdbf51d63fae31dd0fbe8359bb1d5302bb5 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
+++ b/
lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp
@@
-31,7
+31,7
@@
namespace {
bool IsCrossSection,
const MCAsmBackend &MAB) const override;
};
bool IsCrossSection,
const MCAsmBackend &MAB) const override;
};
-}
+}
// namespace
X86WinCOFFObjectWriter::X86WinCOFFObjectWriter(bool Is64Bit)
: MCWinCOFFObjectTargetWriter(Is64Bit ? COFF::IMAGE_FILE_MACHINE_AMD64
X86WinCOFFObjectWriter::X86WinCOFFObjectWriter(bool Is64Bit)
: MCWinCOFFObjectTargetWriter(Is64Bit ? COFF::IMAGE_FILE_MACHINE_AMD64
diff --git
a/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
b/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
index 92f42b68ae51305db40f3665154e17b3e733f584..dc6dd66bcd85ac9859ac5c3b41857d17e1539f91 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
+++ b/
lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp
@@
-46,7
+46,7
@@
void X86WinCOFFStreamer::FinishImpl() {
MCWinCOFFStreamer::FinishImpl();
}
MCWinCOFFStreamer::FinishImpl();
}
-}
+}
// namespace
MCStreamer *llvm::createX86WinCOFFStreamer(MCContext &C, MCAsmBackend &AB,
raw_pwrite_stream &OS,
MCStreamer *llvm::createX86WinCOFFStreamer(MCContext &C, MCAsmBackend &AB,
raw_pwrite_stream &OS,
diff --git
a/lib/Target/X86/Utils/X86ShuffleDecode.cpp
b/lib/Target/X86/Utils/X86ShuffleDecode.cpp
index ef3318ba75806d8d5b6b6026463cfab2b42f3a5a..1e7d94287c4a0777fb16c9ff98d30fea2d598e08 100644
(file)
--- a/
lib/Target/X86/Utils/X86ShuffleDecode.cpp
+++ b/
lib/Target/X86/Utils/X86ShuffleDecode.cpp
@@
-431,4
+431,4
@@
void DecodeScalarMoveMask(MVT VT, bool IsLoad, SmallVectorImpl<int> &Mask) {
for (unsigned i = 1; i < NumElts; i++)
Mask.push_back(IsLoad ? static_cast<int>(SM_SentinelZero) : i);
}
for (unsigned i = 1; i < NumElts; i++)
Mask.push_back(IsLoad ? static_cast<int>(SM_SentinelZero) : i);
}
-} //
llvm namespace
+} //
namespace llvm
diff --git
a/lib/Target/X86/Utils/X86ShuffleDecode.h
b/lib/Target/X86/Utils/X86ShuffleDecode.h
index 14b69434806e3a64e4b44eaec61793acedcafdff..0139297fc72dfd613523be6a21aecd5f9f5db08d 100644
(file)
--- a/
lib/Target/X86/Utils/X86ShuffleDecode.h
+++ b/
lib/Target/X86/Utils/X86ShuffleDecode.h
@@
-100,6
+100,6
@@
void DecodeZeroMoveLowMask(MVT VT, SmallVectorImpl<int> &ShuffleMask);
/// \brief Decode a scalar float move instruction as a shuffle mask.
void DecodeScalarMoveMask(MVT VT, bool IsLoad,
SmallVectorImpl<int> &ShuffleMask);
/// \brief Decode a scalar float move instruction as a shuffle mask.
void DecodeScalarMoveMask(MVT VT, bool IsLoad,
SmallVectorImpl<int> &ShuffleMask);
-} //
llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86.h
b/lib/Target/X86/X86.h
index 8403ae6101df60c9e0a1984032371dbefb25a303..80f457984951a9ca61f63e0a7403a8c5f85c1582 100644
(file)
--- a/
lib/Target/X86/X86.h
+++ b/
lib/Target/X86/X86.h
@@
-80,6
+80,6
@@
FunctionPass *createX86WinEHStatePass();
/// must run after prologue/epilogue insertion and before lowering
/// the MachineInstr to MC.
FunctionPass *createX86ExpandPseudoPass();
/// must run after prologue/epilogue insertion and before lowering
/// the MachineInstr to MC.
FunctionPass *createX86ExpandPseudoPass();
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86CallFrameOptimization.cpp
b/lib/Target/X86/X86CallFrameOptimization.cpp
index 44121256ef0065a54cf30aeaec4b09a7013df29f..6d6831b18b0a2aee0f732c4f8e0c8831c287592b 100644
(file)
--- a/
lib/Target/X86/X86CallFrameOptimization.cpp
+++ b/
lib/Target/X86/X86CallFrameOptimization.cpp
@@
-99,7
+99,7
@@
private:
};
char X86CallFrameOptimization::ID = 0;
};
char X86CallFrameOptimization::ID = 0;
-}
+}
// namespace
FunctionPass *llvm::createX86CallFrameOptimization() {
return new X86CallFrameOptimization();
FunctionPass *llvm::createX86CallFrameOptimization() {
return new X86CallFrameOptimization();
diff --git
a/lib/Target/X86/X86CallingConv.h
b/lib/Target/X86/X86CallingConv.h
index 0eb2494f1d639fd380f7ec5cf6c2dda56d9f3cbe..a377eb6051ae050d27ec115c414564befe2f8c60 100644
(file)
--- a/
lib/Target/X86/X86CallingConv.h
+++ b/
lib/Target/X86/X86CallingConv.h
@@
-42,7
+42,7
@@
inline bool CC_X86_AnyReg_Error(unsigned &, MVT &, MVT &,
return false;
}
return false;
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86FixupLEAs.cpp
b/lib/Target/X86/X86FixupLEAs.cpp
index 5eb4faeedff4a81e519a4e5e96c57641319dd12a..8305a0454c804eae9e86df82c32e1354336d0e37 100644
(file)
--- a/
lib/Target/X86/X86FixupLEAs.cpp
+++ b/
lib/Target/X86/X86FixupLEAs.cpp
@@
-91,7
+91,7
@@
private:
const X86InstrInfo *TII; // Machine instruction info.
};
char FixupLEAPass::ID = 0;
const X86InstrInfo *TII; // Machine instruction info.
};
char FixupLEAPass::ID = 0;
-}
+}
// namespace
MachineInstr *
FixupLEAPass::postRAConvertToLEA(MachineFunction::iterator &MFI,
MachineInstr *
FixupLEAPass::postRAConvertToLEA(MachineFunction::iterator &MFI,
diff --git
a/lib/Target/X86/X86FloatingPoint.cpp
b/lib/Target/X86/X86FloatingPoint.cpp
index 3b0bd03095a9f467995440b0c48268ba8207f379..6f1d8e5237329d01a4f7315d30c571406ea994bb 100644
(file)
--- a/
lib/Target/X86/X86FloatingPoint.cpp
+++ b/
lib/Target/X86/X86FloatingPoint.cpp
@@
-279,7
+279,7
@@
namespace {
void setKillFlags(MachineBasicBlock &MBB) const;
};
char FPS::ID = 0;
void setKillFlags(MachineBasicBlock &MBB) const;
};
char FPS::ID = 0;
-}
+}
// namespace
FunctionPass *llvm::createX86FloatingPointStackifierPass() { return new FPS(); }
FunctionPass *llvm::createX86FloatingPointStackifierPass() { return new FPS(); }
@@
-544,7
+544,7
@@
namespace {
return V < TE.from;
}
};
return V < TE.from;
}
};
-}
+}
// namespace
#ifndef NDEBUG
static bool TableIsSorted(const TableEntry *Table, unsigned NumEntries) {
#ifndef NDEBUG
static bool TableIsSorted(const TableEntry *Table, unsigned NumEntries) {
diff --git
a/lib/Target/X86/X86FrameLowering.h
b/lib/Target/X86/X86FrameLowering.h
index c274c88201496e88a425b4f673f6c2d9456a89e8..2858e86cd0e093d4776abfe851ec686ff6ca7535 100644
(file)
--- a/
lib/Target/X86/X86FrameLowering.h
+++ b/
lib/Target/X86/X86FrameLowering.h
@@
-153,6
+153,6
@@
private:
bool InEpilogue) const;
};
bool InEpilogue) const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86ISelDAGToDAG.cpp
b/lib/Target/X86/X86ISelDAGToDAG.cpp
index de591091f1ae732e050bd3745e6d91059128d4bb..f6785e161188ad3f006c4e30ea70974220121440 100644
(file)
--- a/
lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-138,7
+138,7
@@
namespace {
}
#endif
};
}
#endif
};
-}
+}
// namespace
namespace {
//===--------------------------------------------------------------------===//
namespace {
//===--------------------------------------------------------------------===//
@@
-310,7
+310,7
@@
namespace {
return true;
}
};
return true;
}
};
-}
+}
// namespace
bool
bool
diff --git
a/lib/Target/X86/X86ISelLowering.h
b/lib/Target/X86/X86ISelLowering.h
index 0d64d7d2b5ab717d6dddf8f131e26fdb33fd42b3..9c98333776cf5b66d4122955d5eef28d2dcea1fb 100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.h
+++ b/
lib/Target/X86/X86ISelLowering.h
@@
-516,7
+516,7
@@
namespace llvm {
// have memop! In fact, starting from ATOMADD64_DAG all opcodes will be
// thought as target memory ops!
};
// have memop! In fact, starting from ATOMADD64_DAG all opcodes will be
// thought as target memory ops!
};
- }
+ }
// namespace X86ISD
/// Define some predicates that are used for node matching.
namespace X86 {
/// Define some predicates that are used for node matching.
namespace X86 {
@@
-583,7
+583,7
@@
namespace llvm {
TO_ZERO = 3,
CUR_DIRECTION = 4
};
TO_ZERO = 3,
CUR_DIRECTION = 4
};
- }
+ }
// namespace X86
//===--------------------------------------------------------------------===//
// X86 Implementation of the TargetLowering interface
//===--------------------------------------------------------------------===//
// X86 Implementation of the TargetLowering interface
@@
-1120,6
+1120,6
@@
namespace llvm {
FastISel *createFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo);
}
FastISel *createFastISel(FunctionLoweringInfo &funcInfo,
const TargetLibraryInfo *libInfo);
}
-}
+}
// namespace llvm
#endif // X86ISELLOWERING_H
#endif // X86ISELLOWERING_H
diff --git
a/lib/Target/X86/X86InstrBuilder.h
b/lib/Target/X86/X86InstrBuilder.h
index 2056056d23a5eb85af8e662f34179af097a5827c..eb4dc48a7a658253d4f93ceb7f846fe225bc21bb 100644
(file)
--- a/
lib/Target/X86/X86InstrBuilder.h
+++ b/
lib/Target/X86/X86InstrBuilder.h
@@
-179,6
+179,6
@@
addConstantPoolReference(const MachineInstrBuilder &MIB, unsigned CPI,
.addConstantPoolIndex(CPI, 0, OpFlags).addReg(0);
}
.addConstantPoolIndex(CPI, 0, OpFlags).addReg(0);
}
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86InstrInfo.cpp
b/lib/Target/X86/X86InstrInfo.cpp
index 93e34d156c1e33e3a885853198856f0ac1313f6e..05bb019bfa498f868186142f861e8106114f8be1 100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.cpp
+++ b/
lib/Target/X86/X86InstrInfo.cpp
@@
-6604,7
+6604,7
@@
namespace {
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char CGBR::ID = 0;
FunctionPass*
char CGBR::ID = 0;
FunctionPass*
@@
-6716,7
+6716,7
@@
namespace {
MachineFunctionPass::getAnalysisUsage(AU);
}
};
MachineFunctionPass::getAnalysisUsage(AU);
}
};
-}
+}
// namespace
char LDTLSCleanup::ID = 0;
FunctionPass*
char LDTLSCleanup::ID = 0;
FunctionPass*
diff --git
a/lib/Target/X86/X86InstrInfo.h
b/lib/Target/X86/X86InstrInfo.h
index ededc20f918d6442057b48e4930330f86d7a9cdf..0fa7a018c718ec036cf9f45c8b01010e3295a8b4 100644
(file)
--- a/
lib/Target/X86/X86InstrInfo.h
+++ b/
lib/Target/X86/X86InstrInfo.h
@@
-90,7
+90,7
@@
namespace X86 {
/// GetOppositeBranchCondition - Return the inverse of the specified cond,
/// e.g. turning COND_E to COND_NE.
CondCode GetOppositeBranchCondition(CondCode CC);
/// GetOppositeBranchCondition - Return the inverse of the specified cond,
/// e.g. turning COND_E to COND_NE.
CondCode GetOppositeBranchCondition(CondCode CC);
-}
// end namespace X86;
+}
// namespace X86
/// isGlobalStubReference - Return true if the specified TargetFlag operand is
/// isGlobalStubReference - Return true if the specified TargetFlag operand is
@@
-512,6
+512,6
@@
private:
int &FrameIndex) const;
};
int &FrameIndex) const;
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86MCInstLower.cpp
b/lib/Target/X86/X86MCInstLower.cpp
index 655e06a8c178e6c5aaf76f657dbf3e146196b078..64135e0f53e5e2eb2b01649989b8267413ba5bde 100644
(file)
--- a/
lib/Target/X86/X86MCInstLower.cpp
+++ b/
lib/Target/X86/X86MCInstLower.cpp
@@
-112,7
+112,7
@@
namespace llvm {
OutStreamer->EmitInstruction(Inst, getSubtargetInfo());
SMShadowTracker.count(Inst, getSubtargetInfo());
}
OutStreamer->EmitInstruction(Inst, getSubtargetInfo());
SMShadowTracker.count(Inst, getSubtargetInfo());
}
-} //
end llvm namespace
+} //
namespace llvm
X86MCInstLower::X86MCInstLower(const MachineFunction &mf,
X86AsmPrinter &asmprinter)
X86MCInstLower::X86MCInstLower(const MachineFunction &mf,
X86AsmPrinter &asmprinter)
diff --git
a/lib/Target/X86/X86MachineFunctionInfo.h
b/lib/Target/X86/X86MachineFunctionInfo.h
index d598b55aae3ed8685a574324513175967f7c9685..342d26ab1fbb536890eafbd8aa7cd9a6c0259d6c 100644
(file)
--- a/
lib/Target/X86/X86MachineFunctionInfo.h
+++ b/
lib/Target/X86/X86MachineFunctionInfo.h
@@
-179,6
+179,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86PadShortFunction.cpp
b/lib/Target/X86/X86PadShortFunction.cpp
index 143e70bda9e716f29805d05f3026106efdb54dec..33aa78ffdf8ab882407bcc307c01b56358f832f2 100644
(file)
--- a/
lib/Target/X86/X86PadShortFunction.cpp
+++ b/
lib/Target/X86/X86PadShortFunction.cpp
@@
-84,7
+84,7
@@
namespace {
};
char PadShortFunc::ID = 0;
};
char PadShortFunc::ID = 0;
-}
+}
// namespace
FunctionPass *llvm::createX86PadShortFunctions() {
return new PadShortFunc();
FunctionPass *llvm::createX86PadShortFunctions() {
return new PadShortFunc();
diff --git
a/lib/Target/X86/X86RegisterInfo.cpp
b/lib/Target/X86/X86RegisterInfo.cpp
index 72703a848f8f43bdf0d02c309e752c9deda31f5d..00e2134239741005b14e98b748507a3b276fe2e9 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.cpp
+++ b/
lib/Target/X86/X86RegisterInfo.cpp
@@
-781,4
+781,4
@@
unsigned get512BitSuperRegister(unsigned Reg) {
llvm_unreachable("Unexpected SIMD register");
}
llvm_unreachable("Unexpected SIMD register");
}
-}
+}
// namespace llvm
diff --git
a/lib/Target/X86/X86RegisterInfo.h
b/lib/Target/X86/X86RegisterInfo.h
index b754cadd0eb8926897401089b656fcf43cda3530..459ecf7fff7219fc76b75f2c878523973f243507 100644
(file)
--- a/
lib/Target/X86/X86RegisterInfo.h
+++ b/
lib/Target/X86/X86RegisterInfo.h
@@
-136,6
+136,6
@@
unsigned getX86SubSuperRegister(unsigned, MVT::SimpleValueType, bool High=false)
//get512BitRegister - X86 utility - returns 512-bit super register
unsigned get512BitSuperRegister(unsigned Reg);
//get512BitRegister - X86 utility - returns 512-bit super register
unsigned get512BitSuperRegister(unsigned Reg);
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86SelectionDAGInfo.h
b/lib/Target/X86/X86SelectionDAGInfo.h
index eb7e0ed9de6ce14fe96a6d3e3ad11ecddb30906f..25606d3f5df3b1b9d18be8139ac8bf112741c816 100644
(file)
--- a/
lib/Target/X86/X86SelectionDAGInfo.h
+++ b/
lib/Target/X86/X86SelectionDAGInfo.h
@@
-48,6
+48,6
@@
public:
MachinePointerInfo SrcPtrInfo) const override;
};
MachinePointerInfo SrcPtrInfo) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86Subtarget.h
b/lib/Target/X86/X86Subtarget.h
index d420abbe143381f90d46ac283a0939ecd49d8f65..6934061c692253b56de8d422896f8829e7cafba1 100644
(file)
--- a/
lib/Target/X86/X86Subtarget.h
+++ b/
lib/Target/X86/X86Subtarget.h
@@
-490,6
+490,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86TargetMachine.h
b/lib/Target/X86/X86TargetMachine.h
index 262955698e441b9442051ff3e264b807960e56b0..be56888b75f423d4ddf77c64a9d4ad3e84400012 100644
(file)
--- a/
lib/Target/X86/X86TargetMachine.h
+++ b/
lib/Target/X86/X86TargetMachine.h
@@
-44,6
+44,6
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/X86/X86VZeroUpper.cpp
b/lib/Target/X86/X86VZeroUpper.cpp
index 6925b272b4a5bae8f80c7b3174a24bd770b22a25..71ce45b0bc2ee91fa774fe49a01b8d6d912d34e7 100644
(file)
--- a/
lib/Target/X86/X86VZeroUpper.cpp
+++ b/
lib/Target/X86/X86VZeroUpper.cpp
@@
-86,7
+86,7
@@
namespace {
};
char VZeroUpperInserter::ID = 0;
};
char VZeroUpperInserter::ID = 0;
-}
+}
// namespace
FunctionPass *llvm::createX86IssueVZeroUpperPass() {
return new VZeroUpperInserter();
FunctionPass *llvm::createX86IssueVZeroUpperPass() {
return new VZeroUpperInserter();
diff --git
a/lib/Target/X86/X86WinEHState.cpp
b/lib/Target/X86/X86WinEHState.cpp
index 673141105b3a3662268135ba8e41792052f8bd9c..c9e80945549b8ce9f6ed6c52e5ea16b14d0a7b64 100644
(file)
--- a/
lib/Target/X86/X86WinEHState.cpp
+++ b/
lib/Target/X86/X86WinEHState.cpp
@@
-105,7
+105,7
@@
private:
/// The linked list node subobject inside of RegNode.
Value *Link = nullptr;
};
/// The linked list node subobject inside of RegNode.
Value *Link = nullptr;
};
-}
+}
// namespace
FunctionPass *llvm::createX86WinEHStatePass() { return new WinEHStatePass(); }
FunctionPass *llvm::createX86WinEHStatePass() { return new WinEHStatePass(); }
diff --git
a/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
b/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
index 2e44ac949b2cff4736280fb651c4e55492229b9b..e1baeacc3e57915a9e912197cbaa911ae52aefdc 100644
(file)
--- a/
lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
+++ b/
lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
@@
-40,7
+40,7
@@
public:
raw_ostream &VStream,
raw_ostream &CStream) const override;
};
raw_ostream &VStream,
raw_ostream &CStream) const override;
};
-}
+}
// namespace
static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
uint64_t &Size, uint16_t &Insn) {
static bool readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
uint64_t &Size, uint16_t &Insn) {
diff --git
a/lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
b/lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
index ac954d0a8fa4d1bcba54d4791e8c8b5e45e55d14..8699ce84006c22a28057a9bcad9fb0ed00f0f226 100644
(file)
--- a/
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
+++ b/
lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp
@@
-123,7
+123,7
@@
void XCoreTargetAsmStreamer::emitCCBottomData(StringRef Name) {
void XCoreTargetAsmStreamer::emitCCBottomFunction(StringRef Name) {
OS << "\t.cc_bottom " << Name << ".function\n";
}
void XCoreTargetAsmStreamer::emitCCBottomFunction(StringRef Name) {
OS << "\t.cc_bottom " << Name << ".function\n";
}
-}
+}
// namespace
static MCTargetStreamer *createTargetAsmStreamer(MCStreamer &S,
formatted_raw_ostream &OS,
static MCTargetStreamer *createTargetAsmStreamer(MCStreamer &S,
formatted_raw_ostream &OS,
diff --git
a/lib/Target/XCore/XCore.h
b/lib/Target/XCore/XCore.h
index ba6ca843671e7587d9aecf5dbe5202da769fd272..eb8b5ec0b1127bae03a0c65725bc8ec324a2823c 100644
(file)
--- a/
lib/Target/XCore/XCore.h
+++ b/
lib/Target/XCore/XCore.h
@@
-32,6
+32,6
@@
namespace llvm {
CodeGenOpt::Level OptLevel);
ModulePass *createXCoreLowerThreadLocalPass();
CodeGenOpt::Level OptLevel);
ModulePass *createXCoreLowerThreadLocalPass();
-} //
end namespace llvm;
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreFrameLowering.h
b/lib/Target/XCore/XCoreFrameLowering.h
index 607c7724895269cd59677ba80f5c7c2e53dee28f..116e89a60ee484b6b63f0483eda1bdecdc00447e 100644
(file)
--- a/
lib/Target/XCore/XCoreFrameLowering.h
+++ b/
lib/Target/XCore/XCoreFrameLowering.h
@@
-58,6
+58,6
@@
namespace llvm {
return 4;
}
};
return 4;
}
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
b/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
index 77292c4f8f52b087ef5bbc33bf799286937fd83c..8d96105a2ebc25b25d437ebc6b8b0db2c214673e 100644
(file)
--- a/
lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
+++ b/
lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
@@
-34,7
+34,7
@@
namespace {
}
};
char XCoreFTAOElim::ID = 0;
}
};
char XCoreFTAOElim::ID = 0;
-}
+}
// namespace
/// createXCoreFrameToArgsOffsetEliminationPass - returns an instance of the
/// Frame to args offset elimination pass
/// createXCoreFrameToArgsOffsetEliminationPass - returns an instance of the
/// Frame to args offset elimination pass
diff --git
a/lib/Target/XCore/XCoreISelLowering.h
b/lib/Target/XCore/XCoreISelLowering.h
index 97f0494b6fe3d45ce02d346bf7425d4f09c16d94..9c49a8d0dbaafcf907899bbadd991604dd3cbee7 100644
(file)
--- a/
lib/Target/XCore/XCoreISelLowering.h
+++ b/
lib/Target/XCore/XCoreISelLowering.h
@@
-85,7
+85,7
@@
namespace llvm {
// Memory barrier.
MEMBARRIER
};
// Memory barrier.
MEMBARRIER
};
- }
+ }
// namespace XCoreISD
//===--------------------------------------------------------------------===//
// TargetLowering Implementation
//===--------------------------------------------------------------------===//
// TargetLowering Implementation
@@
-215,6
+215,6
@@
namespace llvm {
const SmallVectorImpl<ISD::OutputArg> &ArgsFlags,
LLVMContext &Context) const override;
};
const SmallVectorImpl<ISD::OutputArg> &ArgsFlags,
LLVMContext &Context) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreInstrInfo.cpp
b/lib/Target/XCore/XCoreInstrInfo.cpp
index 72058dd71e267a28ea36c8db5bdc8165bf8ab04f..a6e974e2e622b2992d1b720b3d71cb76616f916c 100644
(file)
--- a/
lib/Target/XCore/XCoreInstrInfo.cpp
+++ b/
lib/Target/XCore/XCoreInstrInfo.cpp
@@
-41,7
+41,7
@@
namespace XCore {
COND_INVALID
};
}
COND_INVALID
};
}
-}
+}
// namespace llvm
// Pin the vtable to this file.
void XCoreInstrInfo::anchor() {}
// Pin the vtable to this file.
void XCoreInstrInfo::anchor() {}
diff --git
a/lib/Target/XCore/XCoreInstrInfo.h
b/lib/Target/XCore/XCoreInstrInfo.h
index b958c361f5a213358950ebbabee1edd46c010cb1..70beb4179118a4db8fef0aa6f86f81ac15d35ab5 100644
(file)
--- a/
lib/Target/XCore/XCoreInstrInfo.h
+++ b/
lib/Target/XCore/XCoreInstrInfo.h
@@
-88,6
+88,6
@@
public:
unsigned Reg, uint64_t Value) const;
};
unsigned Reg, uint64_t Value) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreLowerThreadLocal.cpp
b/lib/Target/XCore/XCoreLowerThreadLocal.cpp
index 996c6f59346dbaeb2da7f85bd04dc07e6828a380..f866ab063396cba8019db761c2a07c55e0316407 100644
(file)
--- a/
lib/Target/XCore/XCoreLowerThreadLocal.cpp
+++ b/
lib/Target/XCore/XCoreLowerThreadLocal.cpp
@@
-50,7
+50,7
@@
namespace {
bool runOnModule(Module &M) override;
};
bool runOnModule(Module &M) override;
};
-}
+}
// namespace
char XCoreLowerThreadLocal::ID = 0;
char XCoreLowerThreadLocal::ID = 0;
diff --git
a/lib/Target/XCore/XCoreMCInstLower.h
b/lib/Target/XCore/XCoreMCInstLower.h
index 569147872f23a8d30b85e608560811b6f2c560e4..74a7f20570e868fa46aba124ec2144e73e87d147 100644
(file)
--- a/
lib/Target/XCore/XCoreMCInstLower.h
+++ b/
lib/Target/XCore/XCoreMCInstLower.h
@@
-37,6
+37,6
@@
private:
MCOperand LowerSymbolOperand(const MachineOperand &MO,
MachineOperandType MOTy, unsigned Offset) const;
};
MCOperand LowerSymbolOperand(const MachineOperand &MO,
MachineOperandType MOTy, unsigned Offset) const;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreMachineFunctionInfo.h
b/lib/Target/XCore/XCoreMachineFunctionInfo.h
index 078ffde18fb9cbde962dbab8a4d1fd427db32fbc..8cce75fd0a73196987e27ef143c4766979c3791b 100644
(file)
--- a/
lib/Target/XCore/XCoreMachineFunctionInfo.h
+++ b/
lib/Target/XCore/XCoreMachineFunctionInfo.h
@@
-101,6
+101,6
@@
public:
return SpillLabels;
}
};
return SpillLabels;
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreSelectionDAGInfo.h
b/lib/Target/XCore/XCoreSelectionDAGInfo.h
index cfd80b3f31724ee48ebeeaf6579e5edc83013512..622484374a42135327ce556cff92736a4d25ee41 100644
(file)
--- a/
lib/Target/XCore/XCoreSelectionDAGInfo.h
+++ b/
lib/Target/XCore/XCoreSelectionDAGInfo.h
@@
-35,6
+35,6
@@
public:
MachinePointerInfo SrcPtrInfo) const override;
};
MachinePointerInfo SrcPtrInfo) const override;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreSubtarget.h
b/lib/Target/XCore/XCoreSubtarget.h
index f01fb6714d8655bf53ea33e590967200b4e9b120..74ee594e9c5a0dffb8509a791fc023b6ae55155d 100644
(file)
--- a/
lib/Target/XCore/XCoreSubtarget.h
+++ b/
lib/Target/XCore/XCoreSubtarget.h
@@
-61,6
+61,6
@@
public:
return &InstrInfo.getRegisterInfo();
}
};
return &InstrInfo.getRegisterInfo();
}
};
-} //
End llvm namespace
+} //
namespace llvm
#endif
#endif
diff --git
a/lib/Target/XCore/XCoreTargetStreamer.h
b/lib/Target/XCore/XCoreTargetStreamer.h
index 3563dbc5cb7b1f66b7c3fae12af87cc8d100edf4..a82702fc99fc37595c487a9d84c9e1999ae0dc5e 100644
(file)
--- a/
lib/Target/XCore/XCoreTargetStreamer.h
+++ b/
lib/Target/XCore/XCoreTargetStreamer.h
@@
-22,6
+22,6
@@
public:
virtual void emitCCBottomData(StringRef Name) = 0;
virtual void emitCCBottomFunction(StringRef Name) = 0;
};
virtual void emitCCBottomData(StringRef Name) = 0;
virtual void emitCCBottomFunction(StringRef Name) = 0;
};
-}
+}
// namespace llvm
#endif
#endif
diff --git
a/lib/Transforms/Hello/Hello.cpp
b/lib/Transforms/Hello/Hello.cpp
index 29b9bb8a94eaf86fc3f87008b3bb33de3f0d6482..f90aafc75c225ebd1fa81475aeec2782cdfa1095 100644
(file)
--- a/
lib/Transforms/Hello/Hello.cpp
+++ b/
lib/Transforms/Hello/Hello.cpp
@@
-35,7
+35,7
@@
namespace {
return false;
}
};
return false;
}
};
-}
+}
// namespace
char Hello::ID = 0;
static RegisterPass<Hello> X("hello", "Hello World Pass");
char Hello::ID = 0;
static RegisterPass<Hello> X("hello", "Hello World Pass");
@@
-58,7
+58,7
@@
namespace {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
char Hello2::ID = 0;
static RegisterPass<Hello2>
char Hello2::ID = 0;
static RegisterPass<Hello2>
diff --git
a/lib/Transforms/IPO/ArgumentPromotion.cpp
b/lib/Transforms/IPO/ArgumentPromotion.cpp
index f7543632825299a7441f917798c49edc9742a763..86b3faa09b9c540cbd8775fef19d57e0e18e3262 100644
(file)
--- a/
lib/Transforms/IPO/ArgumentPromotion.cpp
+++ b/
lib/Transforms/IPO/ArgumentPromotion.cpp
@@
-92,7
+92,7
@@
namespace {
unsigned maxElements;
DenseMap<const Function *, DISubprogram *> FunctionDIs;
};
unsigned maxElements;
DenseMap<const Function *, DISubprogram *> FunctionDIs;
};
-}
+}
// namespace
char ArgPromotion::ID = 0;
INITIALIZE_PASS_BEGIN(ArgPromotion, "argpromotion",
char ArgPromotion::ID = 0;
INITIALIZE_PASS_BEGIN(ArgPromotion, "argpromotion",
diff --git
a/lib/Transforms/IPO/BarrierNoopPass.cpp
b/lib/Transforms/IPO/BarrierNoopPass.cpp
index 6af1043625941c8d0210207d21c9fd753d99a76d..7585fdced02058c8141cf2771f02f23bcbd52f2e 100644
(file)
--- a/
lib/Transforms/IPO/BarrierNoopPass.cpp
+++ b/
lib/Transforms/IPO/BarrierNoopPass.cpp
@@
-38,7
+38,7
@@
public:
bool runOnModule(Module &M) override { return false; }
};
bool runOnModule(Module &M) override { return false; }
};
-}
+}
// namespace
ModulePass *llvm::createBarrierNoopPass() { return new BarrierNoop(); }
ModulePass *llvm::createBarrierNoopPass() { return new BarrierNoop(); }
diff --git
a/lib/Transforms/IPO/ConstantMerge.cpp
b/lib/Transforms/IPO/ConstantMerge.cpp
index 8ce7646621ff74c92a121397f45b51161dc5e506..3b68743920aa2e8e584b6896c51a7dae99250263 100644
(file)
--- a/
lib/Transforms/IPO/ConstantMerge.cpp
+++ b/
lib/Transforms/IPO/ConstantMerge.cpp
@@
-53,7
+53,7
@@
namespace {
unsigned getAlignment(GlobalVariable *GV) const;
};
unsigned getAlignment(GlobalVariable *GV) const;
};
-}
+}
// namespace
char ConstantMerge::ID = 0;
INITIALIZE_PASS(ConstantMerge, "constmerge",
char ConstantMerge::ID = 0;
INITIALIZE_PASS(ConstantMerge, "constmerge",
diff --git
a/lib/Transforms/IPO/DeadArgumentElimination.cpp
b/lib/Transforms/IPO/DeadArgumentElimination.cpp
index 76898f2750580afb9a8f8ea0f84d60dae5e8cdb5..6bfd3d14931666dde28af9661c658469ab34b3e3 100644
(file)
--- a/
lib/Transforms/IPO/DeadArgumentElimination.cpp
+++ b/
lib/Transforms/IPO/DeadArgumentElimination.cpp
@@
-159,7
+159,7
@@
namespace {
bool DeleteDeadVarargs(Function &Fn);
bool RemoveDeadArgumentsFromCallers(Function &Fn);
};
bool DeleteDeadVarargs(Function &Fn);
bool RemoveDeadArgumentsFromCallers(Function &Fn);
};
-}
+}
// namespace
char DAE::ID = 0;
char DAE::ID = 0;
@@
-175,7
+175,7
@@
namespace {
bool ShouldHackArguments() const override { return true; }
};
bool ShouldHackArguments() const override { return true; }
};
-}
+}
// namespace
char DAH::ID = 0;
INITIALIZE_PASS(DAH, "deadarghaX0r",
char DAH::ID = 0;
INITIALIZE_PASS(DAH, "deadarghaX0r",
diff --git
a/lib/Transforms/IPO/ExtractGV.cpp
b/lib/Transforms/IPO/ExtractGV.cpp
index 2f8c7d9349b9ccae813789497edcd9313ebe9b61..7e0dddc15d1035177308d5152b0609c6f2d96024 100644
(file)
--- a/
lib/Transforms/IPO/ExtractGV.cpp
+++ b/
lib/Transforms/IPO/ExtractGV.cpp
@@
-146,7
+146,7
@@
namespace {
};
char GVExtractorPass::ID = 0;
};
char GVExtractorPass::ID = 0;
-}
+}
// namespace
ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue *> &GVs,
bool deleteFn) {
ModulePass *llvm::createGVExtractionPass(std::vector<GlobalValue *> &GVs,
bool deleteFn) {
diff --git
a/lib/Transforms/IPO/FunctionAttrs.cpp
b/lib/Transforms/IPO/FunctionAttrs.cpp
index bb5e64aef3386e300be031b82c5d91c403587085..749ff9920a822745feb362276b474ad0565a505d 100644
(file)
--- a/
lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/
lib/Transforms/IPO/FunctionAttrs.cpp
@@
-132,7
+132,7
@@
namespace {
AliasAnalysis *AA;
TargetLibraryInfo *TLI;
};
AliasAnalysis *AA;
TargetLibraryInfo *TLI;
};
-}
+}
// namespace
char FunctionAttrs::ID = 0;
INITIALIZE_PASS_BEGIN(FunctionAttrs, "functionattrs",
char FunctionAttrs::ID = 0;
INITIALIZE_PASS_BEGIN(FunctionAttrs, "functionattrs",
@@
-379,7
+379,7
@@
namespace {
const SmallPtrSet<Function*, 8> &SCCNodes;
};
const SmallPtrSet<Function*, 8> &SCCNodes;
};
-}
+}
// namespace
namespace llvm {
template<> struct GraphTraits<ArgumentGraphNode*> {
namespace llvm {
template<> struct GraphTraits<ArgumentGraphNode*> {
@@
-406,7
+406,7
@@
namespace llvm {
return AG->end();
}
};
return AG->end();
}
};
-}
+}
// namespace llvm
// Returns Attribute::None, Attribute::ReadOnly or Attribute::ReadNone.
static Attribute::AttrKind
// Returns Attribute::None, Attribute::ReadOnly or Attribute::ReadNone.
static Attribute::AttrKind
diff --git
a/lib/Transforms/IPO/GlobalDCE.cpp
b/lib/Transforms/IPO/GlobalDCE.cpp
index 61d0ff94a3437341b6648fe8db9ca084306acf96..7983104dba946666fcf156799732c8cdeacae0cc 100644
(file)
--- a/
lib/Transforms/IPO/GlobalDCE.cpp
+++ b/
lib/Transforms/IPO/GlobalDCE.cpp
@@
-57,7
+57,7
@@
namespace {
bool RemoveUnusedGlobalValue(GlobalValue &GV);
};
bool RemoveUnusedGlobalValue(GlobalValue &GV);
};
-}
+}
// namespace
/// Returns true if F contains only a single "ret" instruction.
static bool isEmptyFunction(Function *F) {
/// Returns true if F contains only a single "ret" instruction.
static bool isEmptyFunction(Function *F) {
diff --git
a/lib/Transforms/IPO/GlobalOpt.cpp
b/lib/Transforms/IPO/GlobalOpt.cpp
index cc4a79fa67deb89437d8f92a58fb5a973e19961c..0d83c820aa07d8e6b98f8bb921a27ac9bfe6f77a 100644
(file)
--- a/
lib/Transforms/IPO/GlobalOpt.cpp
+++ b/
lib/Transforms/IPO/GlobalOpt.cpp
@@
-89,7
+89,7
@@
namespace {
TargetLibraryInfo *TLI;
SmallSet<const Comdat *, 8> NotDiscardableComdats;
};
TargetLibraryInfo *TLI;
SmallSet<const Comdat *, 8> NotDiscardableComdats;
};
-}
+}
// namespace
char GlobalOpt::ID = 0;
INITIALIZE_PASS_BEGIN(GlobalOpt, "globalopt",
char GlobalOpt::ID = 0;
INITIALIZE_PASS_BEGIN(GlobalOpt, "globalopt",
@@
-2786,7
+2786,7
@@
public:
setUsedInitializer(*CompilerUsedV, CompilerUsed);
}
};
setUsedInitializer(*CompilerUsedV, CompilerUsed);
}
};
-}
+}
// namespace
static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) {
if (GA.use_empty()) // No use at all.
static bool hasUseOtherThanLLVMUsed(GlobalAlias &GA, const LLVMUsed &U) {
if (GA.use_empty()) // No use at all.
diff --git
a/lib/Transforms/IPO/IPConstantPropagation.cpp
b/lib/Transforms/IPO/IPConstantPropagation.cpp
index af541d1552545b3641426dcb320110e697cf6849..d717b25a47c003c67249a6a8bf03555bfb48a713 100644
(file)
--- a/
lib/Transforms/IPO/IPConstantPropagation.cpp
+++ b/
lib/Transforms/IPO/IPConstantPropagation.cpp
@@
-45,7
+45,7
@@
namespace {
bool PropagateConstantsIntoArguments(Function &F);
bool PropagateConstantReturn(Function &F);
};
bool PropagateConstantsIntoArguments(Function &F);
bool PropagateConstantReturn(Function &F);
};
-}
+}
// namespace
char IPCP::ID = 0;
INITIALIZE_PASS(IPCP, "ipconstprop",
char IPCP::ID = 0;
INITIALIZE_PASS(IPCP, "ipconstprop",
diff --git
a/lib/Transforms/IPO/InlineAlways.cpp
b/lib/Transforms/IPO/InlineAlways.cpp
index dc56a02e7b7dd2ba2c08d5c3d5e9be1c6816d0a4..37ff091a49cd1866be4bf90b2c11c7b424b1d3e0 100644
(file)
--- a/
lib/Transforms/IPO/InlineAlways.cpp
+++ b/
lib/Transforms/IPO/InlineAlways.cpp
@@
-62,7
+62,7
@@
public:
}
};
}
};
-}
+}
// namespace
char AlwaysInliner::ID = 0;
INITIALIZE_PASS_BEGIN(AlwaysInliner, "always-inline",
char AlwaysInliner::ID = 0;
INITIALIZE_PASS_BEGIN(AlwaysInliner, "always-inline",
diff --git
a/lib/Transforms/IPO/LoopExtractor.cpp
b/lib/Transforms/IPO/LoopExtractor.cpp
index 41334ca5b429864e3fa7a6d4695bac1460729a3e..ada4a76bf3ba30576ae20c7f988ee033fbae9bcd 100644
(file)
--- a/
lib/Transforms/IPO/LoopExtractor.cpp
+++ b/
lib/Transforms/IPO/LoopExtractor.cpp
@@
-51,7
+51,7
@@
namespace {
AU.addRequired<DominatorTreeWrapperPass>();
}
};
AU.addRequired<DominatorTreeWrapperPass>();
}
};
-}
+}
// namespace
char LoopExtractor::ID = 0;
INITIALIZE_PASS_BEGIN(LoopExtractor, "loop-extract",
char LoopExtractor::ID = 0;
INITIALIZE_PASS_BEGIN(LoopExtractor, "loop-extract",
@@
-183,7
+183,7
@@
namespace {
bool runOnModule(Module &M) override;
};
bool runOnModule(Module &M) override;
};
-}
+}
// namespace
char BlockExtractorPass::ID = 0;
INITIALIZE_PASS(BlockExtractorPass, "extract-blocks",
char BlockExtractorPass::ID = 0;
INITIALIZE_PASS(BlockExtractorPass, "extract-blocks",
diff --git
a/lib/Transforms/IPO/MergeFunctions.cpp
b/lib/Transforms/IPO/MergeFunctions.cpp
index 2e3519eac6a524bbb4fa916d999b946380328b3d..5e41798ad8d4379265b2948fae4fb1d79e8aa6ef 100644
(file)
--- a/
lib/Transforms/IPO/MergeFunctions.cpp
+++ b/
lib/Transforms/IPO/MergeFunctions.cpp
@@
-409,7
+409,7
@@
public:
return (FunctionComparator(F, RHS.getFunc()).compare()) == -1;
}
};
return (FunctionComparator(F, RHS.getFunc()).compare()) == -1;
}
};
-}
+}
// namespace
int FunctionComparator::cmpNumbers(uint64_t L, uint64_t R) const {
if (L < R) return -1;
int FunctionComparator::cmpNumbers(uint64_t L, uint64_t R) const {
if (L < R) return -1;
diff --git
a/lib/Transforms/IPO/PartialInlining.cpp
b/lib/Transforms/IPO/PartialInlining.cpp
index 4a7cb7ba7d120be6e6d62cb48181e9269824f53a..7a7065c30ab123efe86c0f7b9ed9354a70cef47a 100644
(file)
--- a/
lib/Transforms/IPO/PartialInlining.cpp
+++ b/
lib/Transforms/IPO/PartialInlining.cpp
@@
-40,7
+40,7
@@
namespace {
private:
Function* unswitchFunction(Function* F);
};
private:
Function* unswitchFunction(Function* F);
};
-}
+}
// namespace
char PartialInliner::ID = 0;
INITIALIZE_PASS(PartialInliner, "partial-inliner",
char PartialInliner::ID = 0;
INITIALIZE_PASS(PartialInliner, "partial-inliner",
diff --git
a/lib/Transforms/IPO/PruneEH.cpp
b/lib/Transforms/IPO/PruneEH.cpp
index ade31d05525873832808ccdbe62cbeb3fd847f21..a5ba9eed6345448f920f9109983e4f7a411164d0 100644
(file)
--- a/
lib/Transforms/IPO/PruneEH.cpp
+++ b/
lib/Transforms/IPO/PruneEH.cpp
@@
-49,7
+49,7
@@
namespace {
bool SimplifyFunction(Function *F);
void DeleteBasicBlock(BasicBlock *BB);
};
bool SimplifyFunction(Function *F);
void DeleteBasicBlock(BasicBlock *BB);
};
-}
+}
// namespace
char PruneEH::ID = 0;
INITIALIZE_PASS_BEGIN(PruneEH, "prune-eh",
char PruneEH::ID = 0;
INITIALIZE_PASS_BEGIN(PruneEH, "prune-eh",
diff --git
a/lib/Transforms/IPO/StripSymbols.cpp
b/lib/Transforms/IPO/StripSymbols.cpp
index 60c957347621b02b0e79e299518a9501271645b3..6f9af1dea2003007b7f3a15a78e46d47712fbad3 100644
(file)
--- a/
lib/Transforms/IPO/StripSymbols.cpp
+++ b/
lib/Transforms/IPO/StripSymbols.cpp
@@
-95,7
+95,7
@@
namespace {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
char StripSymbols::ID = 0;
INITIALIZE_PASS(StripSymbols, "strip",
char StripSymbols::ID = 0;
INITIALIZE_PASS(StripSymbols, "strip",
diff --git
a/lib/Transforms/InstCombine/InstCombineAddSub.cpp
b/lib/Transforms/InstCombine/InstCombineAddSub.cpp
index a8d017255178dae8b38dc0d709ceea4fd091bcc1..29ecc1d0b0a1d9af0110ec8ddb13c019c91c2e62 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombineAddSub.cpp
+++ b/
lib/Transforms/InstCombine/InstCombineAddSub.cpp
@@
-193,7
+193,7
@@
namespace {
void incCreateInstNum() {}
#endif
};
void incCreateInstNum() {}
#endif
};
-}
+}
// namespace
//===----------------------------------------------------------------------===//
//
//===----------------------------------------------------------------------===//
//
diff --git
a/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
b/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
index a554e9f628e073630908a4a899ad4703fd735122..6b384b4a9f7a7c1a026df8275988cf0300acb878 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
+++ b/
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
@@
-948,7
+948,7
@@
struct UDivFoldAction {
UDivFoldAction(FoldUDivOperandCb FA, Value *InputOperand, size_t SLHS)
: FoldAction(FA), OperandToFold(InputOperand), SelectLHSIdx(SLHS) {}
};
UDivFoldAction(FoldUDivOperandCb FA, Value *InputOperand, size_t SLHS)
: FoldAction(FA), OperandToFold(InputOperand), SelectLHSIdx(SLHS) {}
};
-}
+}
// namespace
// X udiv 2^C -> X >> C
static Instruction *foldUDivPow2Cst(Value *Op0, Value *Op1,
// X udiv 2^C -> X >> C
static Instruction *foldUDivPow2Cst(Value *Op0, Value *Op1,
diff --git
a/lib/Transforms/InstCombine/InstCombinePHI.cpp
b/lib/Transforms/InstCombine/InstCombinePHI.cpp
index 6a6693cc4e1d48c66aaacdc900c935349014fd26..a93ffbec324e2054e1efbf938bd6b9c5f6bf1ec2 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombinePHI.cpp
+++ b/
lib/Transforms/InstCombine/InstCombinePHI.cpp
@@
-582,7
+582,7
@@
struct LoweredPHIRecord {
LoweredPHIRecord(PHINode *pn, unsigned Sh)
: PN(pn), Shift(Sh), Width(0) {}
};
LoweredPHIRecord(PHINode *pn, unsigned Sh)
: PN(pn), Shift(Sh), Width(0) {}
};
-}
+}
// namespace
namespace llvm {
template<>
namespace llvm {
template<>
@@
-603,7
+603,7
@@
namespace llvm {
LHS.Width == RHS.Width;
}
};
LHS.Width == RHS.Width;
}
};
-}
+}
// namespace llvm
/// SliceUpIllegalIntegerPHI - This is an integer PHI and we know that it has an
/// SliceUpIllegalIntegerPHI - This is an integer PHI and we know that it has an
diff --git
a/lib/Transforms/InstCombine/InstructionCombining.cpp
b/lib/Transforms/InstCombine/InstructionCombining.cpp
index d690a795e0080c9c2c17d059b8f2644adb26bd2c..53950ae7e2a491acf12aa2358725cd15ad6091d8 100644
(file)
--- a/
lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/
lib/Transforms/InstCombine/InstructionCombining.cpp
@@
-3046,7
+3046,7
@@
public:
void getAnalysisUsage(AnalysisUsage &AU) const override;
bool runOnFunction(Function &F) override;
};
void getAnalysisUsage(AnalysisUsage &AU) const override;
bool runOnFunction(Function &F) override;
};
-}
+}
// namespace
void InstructionCombiningPass::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
void InstructionCombiningPass::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
diff --git
a/lib/Transforms/Instrumentation/BoundsChecking.cpp
b/lib/Transforms/Instrumentation/BoundsChecking.cpp
index f6858034d79eb3d2ac59937a4b125955f31314c4..a8874251ee072e03e473e035d754cdf1f046cc6c 100644
(file)
--- a/
lib/Transforms/Instrumentation/BoundsChecking.cpp
+++ b/
lib/Transforms/Instrumentation/BoundsChecking.cpp
@@
-63,7
+63,7
@@
namespace {
void emitBranchToTrap(Value *Cmp = nullptr);
bool instrument(Value *Ptr, Value *Val, const DataLayout &DL);
};
void emitBranchToTrap(Value *Cmp = nullptr);
bool instrument(Value *Ptr, Value *Val, const DataLayout &DL);
};
-}
+}
// namespace
char BoundsChecking::ID = 0;
INITIALIZE_PASS(BoundsChecking, "bounds-checking", "Run-time bounds checking",
char BoundsChecking::ID = 0;
INITIALIZE_PASS(BoundsChecking, "bounds-checking", "Run-time bounds checking",
diff --git
a/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
b/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
index 2de6e1afaba9e19c7bdbfbbc19d8e9b69ab10815..43091572aeb1ee69f4e6819103e6ee17b3352cdb 100644
(file)
--- a/
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
+++ b/
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
@@
-346,7
+346,7
@@
class DFSanVisitor : public InstVisitor<DFSanVisitor> {
void visitMemTransferInst(MemTransferInst &I);
};
void visitMemTransferInst(MemTransferInst &I);
};
-}
+}
// namespace
char DataFlowSanitizer::ID;
INITIALIZE_PASS(DataFlowSanitizer, "dfsan",
char DataFlowSanitizer::ID;
INITIALIZE_PASS(DataFlowSanitizer, "dfsan",
diff --git
a/lib/Transforms/Instrumentation/GCOVProfiling.cpp
b/lib/Transforms/Instrumentation/GCOVProfiling.cpp
index 9a3ed5c04efccfcd29151c34c5f3d0db7669348f..43caf1fcb8d00472bcd40b610f4990eec044763d 100644
(file)
--- a/
lib/Transforms/Instrumentation/GCOVProfiling.cpp
+++ b/
lib/Transforms/Instrumentation/GCOVProfiling.cpp
@@
-139,7
+139,7
@@
namespace {
LLVMContext *Ctx;
SmallVector<std::unique_ptr<GCOVFunction>, 16> Funcs;
};
LLVMContext *Ctx;
SmallVector<std::unique_ptr<GCOVFunction>, 16> Funcs;
};
-}
+}
// namespace
char GCOVProfiler::ID = 0;
INITIALIZE_PASS(GCOVProfiler, "insert-gcov-profiling",
char GCOVProfiler::ID = 0;
INITIALIZE_PASS(GCOVProfiler, "insert-gcov-profiling",
@@
-419,7
+419,7
@@
namespace {
DenseMap<BasicBlock *, GCOVBlock> Blocks;
GCOVBlock ReturnBlock;
};
DenseMap<BasicBlock *, GCOVBlock> Blocks;
GCOVBlock ReturnBlock;
};
-}
+}
// namespace
std::string GCOVProfiler::mangleName(const DICompileUnit *CU,
const char *NewStem) {
std::string GCOVProfiler::mangleName(const DICompileUnit *CU,
const char *NewStem) {
diff --git
a/lib/Transforms/ObjCARC/BlotMapVector.h
b/lib/Transforms/ObjCARC/BlotMapVector.h
index d6439b698418678ad5e05d9f3a6d673dd852875b..f9fde262b657d861d7643c6aaf1d6147edf32cf8 100644
(file)
--- a/
lib/Transforms/ObjCARC/BlotMapVector.h
+++ b/
lib/Transforms/ObjCARC/BlotMapVector.h
@@
-105,4
+105,4
@@
public:
return Map.empty();
}
};
return Map.empty();
}
};
-} //
+} //
namespace llvm
diff --git
a/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
b/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
index d318643a359a6e8c69a6195cc0e179d77da30187..c7c77eca5af4a67e8022e397155b48cd1871660a 100644
(file)
--- a/
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
+++ b/
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
@@
-50,7
+50,7
@@
namespace {
initializeObjCARCAPElimPass(*PassRegistry::getPassRegistry());
}
};
initializeObjCARCAPElimPass(*PassRegistry::getPassRegistry());
}
};
-}
+}
// namespace
char ObjCARCAPElim::ID = 0;
INITIALIZE_PASS(ObjCARCAPElim,
char ObjCARCAPElim::ID = 0;
INITIALIZE_PASS(ObjCARCAPElim,
diff --git
a/lib/Transforms/ObjCARC/ObjCARCContract.cpp
b/lib/Transforms/ObjCARC/ObjCARCContract.cpp
index baca76ba3f2aa4c96a81b7f2cc7fba2b0bc7152e..080dbc0cdc2dc07153d967d6daa603fafadc3dc8 100644
(file)
--- a/
lib/Transforms/ObjCARC/ObjCARCContract.cpp
+++ b/
lib/Transforms/ObjCARC/ObjCARCContract.cpp
@@
-101,7
+101,7
@@
namespace {
initializeObjCARCContractPass(*PassRegistry::getPassRegistry());
}
};
initializeObjCARCContractPass(*PassRegistry::getPassRegistry());
}
};
-}
+}
// namespace
//===----------------------------------------------------------------------===//
// Implementation
//===----------------------------------------------------------------------===//
// Implementation
diff --git
a/lib/Transforms/ObjCARC/ObjCARCExpand.cpp
b/lib/Transforms/ObjCARC/ObjCARCExpand.cpp
index 53c19c39f97fb3111b977e1f7397149f8104b0fa..4f2f7da7a88ecf3c795ee16b0c51d63a8b4cad25 100644
(file)
--- a/
lib/Transforms/ObjCARC/ObjCARCExpand.cpp
+++ b/
lib/Transforms/ObjCARC/ObjCARCExpand.cpp
@@
-63,7
+63,7
@@
namespace {
initializeObjCARCExpandPass(*PassRegistry::getPassRegistry());
}
};
initializeObjCARCExpandPass(*PassRegistry::getPassRegistry());
}
};
-}
+}
// namespace
char ObjCARCExpand::ID = 0;
INITIALIZE_PASS(ObjCARCExpand,
char ObjCARCExpand::ID = 0;
INITIALIZE_PASS(ObjCARCExpand,
diff --git
a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
index dca3f1b03fbb6aa74abd4372f4cb3fe67b87220d..cdbbfac4813bc1692ee6fd1ee75c8d2622b1386f 100644
(file)
--- a/
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
+++ b/
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
@@
-313,7
+313,7
@@
namespace {
};
const unsigned BBState::OverflowOccurredValue = 0xffffffff;
};
const unsigned BBState::OverflowOccurredValue = 0xffffffff;
-}
+}
// namespace
namespace llvm {
raw_ostream &operator<<(raw_ostream &OS,
namespace llvm {
raw_ostream &operator<<(raw_ostream &OS,
@@
-551,7
+551,7
@@
namespace {
initializeObjCARCOptPass(*PassRegistry::getPassRegistry());
}
};
initializeObjCARCOptPass(*PassRegistry::getPassRegistry());
}
};
-}
+}
// namespace
char ObjCARCOpt::ID = 0;
INITIALIZE_PASS_BEGIN(ObjCARCOpt,
char ObjCARCOpt::ID = 0;
INITIALIZE_PASS_BEGIN(ObjCARCOpt,
diff --git
a/lib/Transforms/Scalar/ADCE.cpp
b/lib/Transforms/Scalar/ADCE.cpp
index d6fc91641588859bae17a913cbc588a4b5acc177..fe0224bb56c74aaea926f3ecf4e59c6dd8b76818 100644
(file)
--- a/
lib/Transforms/Scalar/ADCE.cpp
+++ b/
lib/Transforms/Scalar/ADCE.cpp
@@
-44,7
+44,7
@@
struct ADCE : public FunctionPass {
AU.setPreservesCFG();
}
};
AU.setPreservesCFG();
}
};
-}
+}
// namespace
char ADCE::ID = 0;
INITIALIZE_PASS(ADCE, "adce", "Aggressive Dead Code Elimination", false, false)
char ADCE::ID = 0;
INITIALIZE_PASS(ADCE, "adce", "Aggressive Dead Code Elimination", false, false)
diff --git
a/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
b/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
index 8918909f484ad694933ca67844602023f5b1444c..a4e5446a2b121de183587941c1704427ed0c7357 100644
(file)
--- a/
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
+++ b/
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
@@
-76,7
+76,7
@@
struct AlignmentFromAssumptions : public FunctionPass {
const SCEV *&OffSCEV);
bool processAssumption(CallInst *I);
};
const SCEV *&OffSCEV);
bool processAssumption(CallInst *I);
};
-}
+}
// namespace
char AlignmentFromAssumptions::ID = 0;
static const char aip_name[] = "Alignment from assumptions";
char AlignmentFromAssumptions::ID = 0;
static const char aip_name[] = "Alignment from assumptions";
diff --git
a/lib/Transforms/Scalar/BDCE.cpp
b/lib/Transforms/Scalar/BDCE.cpp
index 09c605e767373c4ae66248ce19dd79c5667eafbe..8ffbacddda6888b3d5be11212f1b4c720f38aa5e 100644
(file)
--- a/
lib/Transforms/Scalar/BDCE.cpp
+++ b/
lib/Transforms/Scalar/BDCE.cpp
@@
-66,7
+66,7
@@
struct BDCE : public FunctionPass {
AssumptionCache *AC;
DominatorTree *DT;
};
AssumptionCache *AC;
DominatorTree *DT;
};
-}
+}
// namespace
char BDCE::ID = 0;
INITIALIZE_PASS_BEGIN(BDCE, "bdce", "Bit-Tracking Dead Code Elimination",
char BDCE::ID = 0;
INITIALIZE_PASS_BEGIN(BDCE, "bdce", "Bit-Tracking Dead Code Elimination",
diff --git
a/lib/Transforms/Scalar/ConstantHoisting.cpp
b/lib/Transforms/Scalar/ConstantHoisting.cpp
index 4288742dd3eb13d32ebcb608c3f52451a72361bb..cc1dc9435a05c42ff57d0c99dc81dffade5f8a89 100644
(file)
--- a/
lib/Transforms/Scalar/ConstantHoisting.cpp
+++ b/
lib/Transforms/Scalar/ConstantHoisting.cpp
@@
-171,7
+171,7
@@
private:
void deleteDeadCastInst() const;
bool optimizeConstants(Function &Fn);
};
void deleteDeadCastInst() const;
bool optimizeConstants(Function &Fn);
};
-}
+}
// namespace
char ConstantHoisting::ID = 0;
INITIALIZE_PASS_BEGIN(ConstantHoisting, "consthoist", "Constant Hoisting",
char ConstantHoisting::ID = 0;
INITIALIZE_PASS_BEGIN(ConstantHoisting, "consthoist", "Constant Hoisting",
diff --git
a/lib/Transforms/Scalar/ConstantProp.cpp
b/lib/Transforms/Scalar/ConstantProp.cpp
index c974ebb9456f879c637accaab7322f7435535c3a..e3df86ecf1695e2154d27fe4a3baff93731d8c5c 100644
(file)
--- a/
lib/Transforms/Scalar/ConstantProp.cpp
+++ b/
lib/Transforms/Scalar/ConstantProp.cpp
@@
-47,7
+47,7
@@
namespace {
AU.addRequired<TargetLibraryInfoWrapperPass>();
}
};
AU.addRequired<TargetLibraryInfoWrapperPass>();
}
};
-}
+}
// namespace
char ConstantPropagation::ID = 0;
INITIALIZE_PASS_BEGIN(ConstantPropagation, "constprop",
char ConstantPropagation::ID = 0;
INITIALIZE_PASS_BEGIN(ConstantPropagation, "constprop",
diff --git
a/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
b/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
index 79624b2e4c4752d54f50a9b70862b67926ee2ecb..b1809b7fae08caa80e0e4caa24a226e5b83b14c6 100644
(file)
--- a/
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
+++ b/
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
@@
-56,7
+56,7
@@
namespace {
AU.addRequired<LazyValueInfo>();
}
};
AU.addRequired<LazyValueInfo>();
}
};
-}
+}
// namespace
char CorrelatedValuePropagation::ID = 0;
INITIALIZE_PASS_BEGIN(CorrelatedValuePropagation, "correlated-propagation",
char CorrelatedValuePropagation::ID = 0;
INITIALIZE_PASS_BEGIN(CorrelatedValuePropagation, "correlated-propagation",
diff --git
a/lib/Transforms/Scalar/DCE.cpp
b/lib/Transforms/Scalar/DCE.cpp
index 3b262a23091f5e5c271a33aedcd8dd29f97d4f39..aa628e5aca8153bf12186a4378c849a6b057baf7 100644
(file)
--- a/
lib/Transforms/Scalar/DCE.cpp
+++ b/
lib/Transforms/Scalar/DCE.cpp
@@
-60,7
+60,7
@@
namespace {
AU.setPreservesCFG();
}
};
AU.setPreservesCFG();
}
};
-}
+}
// namespace
char DeadInstElimination::ID = 0;
INITIALIZE_PASS(DeadInstElimination, "die",
char DeadInstElimination::ID = 0;
INITIALIZE_PASS(DeadInstElimination, "die",
@@
-87,7
+87,7
@@
namespace {
AU.setPreservesCFG();
}
};
AU.setPreservesCFG();
}
};
-}
+}
// namespace
char DCE::ID = 0;
INITIALIZE_PASS(DCE, "dce", "Dead Code Elimination", false, false)
char DCE::ID = 0;
INITIALIZE_PASS(DCE, "dce", "Dead Code Elimination", false, false)
diff --git
a/lib/Transforms/Scalar/DeadStoreElimination.cpp
b/lib/Transforms/Scalar/DeadStoreElimination.cpp
index c50558434da26faf3718857f675039b267fdb8c0..c99dc5fc84451ebf1bbd66aba6092095f728d29d 100644
(file)
--- a/
lib/Transforms/Scalar/DeadStoreElimination.cpp
+++ b/
lib/Transforms/Scalar/DeadStoreElimination.cpp
@@
-92,7
+92,7
@@
namespace {
AU.addPreserved<MemoryDependenceAnalysis>();
}
};
AU.addPreserved<MemoryDependenceAnalysis>();
}
};
-}
+}
// namespace
char DSE::ID = 0;
INITIALIZE_PASS_BEGIN(DSE, "dse", "Dead Store Elimination", false, false)
char DSE::ID = 0;
INITIALIZE_PASS_BEGIN(DSE, "dse", "Dead Store Elimination", false, false)
diff --git
a/lib/Transforms/Scalar/EarlyCSE.cpp
b/lib/Transforms/Scalar/EarlyCSE.cpp
index d536a937dce17845dd4badcefe7b7bf65d9c7516..8b629eaca9d4b591d38c48dcbde23d6a84f3e3d4 100644
(file)
--- a/
lib/Transforms/Scalar/EarlyCSE.cpp
+++ b/
lib/Transforms/Scalar/EarlyCSE.cpp
@@
-72,7
+72,7
@@
struct SimpleValue {
isa<ExtractValueInst>(Inst) || isa<InsertValueInst>(Inst);
}
};
isa<ExtractValueInst>(Inst) || isa<InsertValueInst>(Inst);
}
};
-}
+}
// namespace
namespace llvm {
template <> struct DenseMapInfo<SimpleValue> {
namespace llvm {
template <> struct DenseMapInfo<SimpleValue> {
@@
-85,7
+85,7
@@
template <> struct DenseMapInfo<SimpleValue> {
static unsigned getHashValue(SimpleValue Val);
static bool isEqual(SimpleValue LHS, SimpleValue RHS);
};
static unsigned getHashValue(SimpleValue Val);
static bool isEqual(SimpleValue LHS, SimpleValue RHS);
};
-}
+}
// namespace llvm
unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
Instruction *Inst = Val.Inst;
unsigned DenseMapInfo<SimpleValue>::getHashValue(SimpleValue Val) {
Instruction *Inst = Val.Inst;
@@
-219,7
+219,7
@@
struct CallValue {
return true;
}
};
return true;
}
};
-}
+}
// namespace
namespace llvm {
template <> struct DenseMapInfo<CallValue> {
namespace llvm {
template <> struct DenseMapInfo<CallValue> {
@@
-232,7
+232,7
@@
template <> struct DenseMapInfo<CallValue> {
static unsigned getHashValue(CallValue Val);
static bool isEqual(CallValue LHS, CallValue RHS);
};
static unsigned getHashValue(CallValue Val);
static bool isEqual(CallValue LHS, CallValue RHS);
};
-}
+}
// namespace llvm
unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) {
Instruction *Inst = Val.Inst;
unsigned DenseMapInfo<CallValue>::getHashValue(CallValue Val) {
Instruction *Inst = Val.Inst;
@@
-447,7
+447,7
@@
private:
ExpectedType);
}
};
ExpectedType);
}
};
-}
+}
// namespace
bool EarlyCSE::processNode(DomTreeNode *Node) {
BasicBlock *BB = Node->getBlock();
bool EarlyCSE::processNode(DomTreeNode *Node) {
BasicBlock *BB = Node->getBlock();
@@
-764,7
+764,7
@@
public:
AU.setPreservesCFG();
}
};
AU.setPreservesCFG();
}
};
-}
+}
// namespace
char EarlyCSELegacyPass::ID = 0;
char EarlyCSELegacyPass::ID = 0;
diff --git
a/lib/Transforms/Scalar/FlattenCFGPass.cpp
b/lib/Transforms/Scalar/FlattenCFGPass.cpp
index 0430c1898c8d32f824058bea93e9c1e67f364049..dd6ea8d455c5c1735f790753f9cdae2f79f13aa3 100644
(file)
--- a/
lib/Transforms/Scalar/FlattenCFGPass.cpp
+++ b/
lib/Transforms/Scalar/FlattenCFGPass.cpp
@@
-36,7
+36,7
@@
public:
private:
AliasAnalysis *AA;
};
private:
AliasAnalysis *AA;
};
-}
+}
// namespace
char FlattenCFGPass::ID = 0;
INITIALIZE_PASS_BEGIN(FlattenCFGPass, "flattencfg", "Flatten the CFG", false,
char FlattenCFGPass::ID = 0;
INITIALIZE_PASS_BEGIN(FlattenCFGPass, "flattencfg", "Flatten the CFG", false,
diff --git
a/lib/Transforms/Scalar/Float2Int.cpp
b/lib/Transforms/Scalar/Float2Int.cpp
index c9314229c38bd38031bbf112a1ce841beaad7c25..bb90c5f732390be34a8dcd3ea0cfb11acd7e9e25 100644
(file)
--- a/
lib/Transforms/Scalar/Float2Int.cpp
+++ b/
lib/Transforms/Scalar/Float2Int.cpp
@@
-79,7
+79,7
@@
namespace {
MapVector<Instruction*, Value*> ConvertedInsts;
LLVMContext *Ctx;
};
MapVector<Instruction*, Value*> ConvertedInsts;
LLVMContext *Ctx;
};
-}
+}
// namespace
char Float2Int::ID = 0;
INITIALIZE_PASS(Float2Int, "float2int", "Float to int", false, false)
char Float2Int::ID = 0;
INITIALIZE_PASS(Float2Int, "float2int", "Float to int", false, false)
diff --git
a/lib/Transforms/Scalar/GVN.cpp
b/lib/Transforms/Scalar/GVN.cpp
index 6aee033b5dc5ed10739ac302b81c9c318713565f..d9308c4e3710d63b51dc591aff5721c6f1b94736 100644
(file)
--- a/
lib/Transforms/Scalar/GVN.cpp
+++ b/
lib/Transforms/Scalar/GVN.cpp
@@
-138,7
+138,7
@@
namespace {
uint32_t getNextUnusedValueNumber() { return nextValueNumber; }
void verifyRemoved(const Value *) const;
};
uint32_t getNextUnusedValueNumber() { return nextValueNumber; }
void verifyRemoved(const Value *) const;
};
-}
+}
// namespace
namespace llvm {
template <> struct DenseMapInfo<Expression> {
namespace llvm {
template <> struct DenseMapInfo<Expression> {
@@
-159,7
+159,7
@@
template <> struct DenseMapInfo<Expression> {
}
};
}
};
-}
+}
// namespace llvm
//===----------------------------------------------------------------------===//
// ValueTable Internal Functions
//===----------------------------------------------------------------------===//
// ValueTable Internal Functions
@@
-723,7
+723,7
@@
namespace {
};
char GVN::ID = 0;
};
char GVN::ID = 0;
-}
+}
// namespace
// The public interface to this file...
FunctionPass *llvm::createGVNPass(bool NoLoads) {
// The public interface to this file...
FunctionPass *llvm::createGVNPass(bool NoLoads) {
diff --git
a/lib/Transforms/Scalar/IndVarSimplify.cpp
b/lib/Transforms/Scalar/IndVarSimplify.cpp
index 359a616c069d3d181abeeae5612ea5f00e276702..ad2c9726dac1cffb941954e69a9e55c22d63c11b 100644
(file)
--- a/
lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/
lib/Transforms/Scalar/IndVarSimplify.cpp
@@
-136,7
+136,7
@@
namespace {
void SinkUnusedInvariants(Loop *L);
};
void SinkUnusedInvariants(Loop *L);
};
-}
+}
// namespace
char IndVarSimplify::ID = 0;
INITIALIZE_PASS_BEGIN(IndVarSimplify, "indvars",
char IndVarSimplify::ID = 0;
INITIALIZE_PASS_BEGIN(IndVarSimplify, "indvars",
@@
-494,7
+494,7
@@
struct RewritePhi {
RewritePhi(PHINode *P, unsigned I, Value *V, bool H, bool S)
: PN(P), Ith(I), Val(V), HighCost(H), SafePhi(S) {}
};
RewritePhi(PHINode *P, unsigned I, Value *V, bool H, bool S)
: PN(P), Ith(I), Val(V), HighCost(H), SafePhi(S) {}
};
-}
+}
// namespace
//===----------------------------------------------------------------------===//
// RewriteLoopExitValues - Optimize IV users outside the loop.
//===----------------------------------------------------------------------===//
// RewriteLoopExitValues - Optimize IV users outside the loop.
@@
-758,7
+758,7
@@
namespace {
WideIVInfo() : NarrowIV(nullptr), WidestNativeType(nullptr),
IsSigned(false) {}
};
WideIVInfo() : NarrowIV(nullptr), WidestNativeType(nullptr),
IsSigned(false) {}
};
-}
+}
// namespace
/// visitCast - Update information about the induction variable that is
/// extended by this sign or zero extend operation. This is used to determine
/// visitCast - Update information about the induction variable that is
/// extended by this sign or zero extend operation. This is used to determine
@@
-1321,7
+1321,7
@@
namespace {
// Implement the interface used by simplifyUsersOfIV.
void visitCast(CastInst *Cast) override { visitIVCast(Cast, WI, SE, TTI); }
};
// Implement the interface used by simplifyUsersOfIV.
void visitCast(CastInst *Cast) override { visitIVCast(Cast, WI, SE, TTI); }
};
-}
+}
// namespace
/// SimplifyAndExtend - Iteratively perform simplification on a worklist of IV
/// users. Each successive simplification may push more users which may
/// SimplifyAndExtend - Iteratively perform simplification on a worklist of IV
/// users. Each successive simplification may push more users which may
diff --git
a/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
b/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
index cbdacad8f28b50addb6ec83185e3829dc1ebb009..ce1a0ca8c7d9ef0d435643dae09357861cd108a3 100644
(file)
--- a/
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
+++ b/
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
@@
-222,7
+222,7
@@
public:
};
char InductiveRangeCheckElimination::ID = 0;
};
char InductiveRangeCheckElimination::ID = 0;
-}
+}
// namespace
INITIALIZE_PASS(InductiveRangeCheckElimination, "irce",
"Inductive range check elimination", false, false)
INITIALIZE_PASS(InductiveRangeCheckElimination, "irce",
"Inductive range check elimination", false, false)
@@
-618,7
+618,7
@@
public:
bool run();
};
bool run();
};
-}
+}
// namespace
void LoopConstrainer::replacePHIBlock(PHINode *PN, BasicBlock *Block,
BasicBlock *ReplaceBy) {
void LoopConstrainer::replacePHIBlock(PHINode *PN, BasicBlock *Block,
BasicBlock *ReplaceBy) {
diff --git
a/lib/Transforms/Scalar/JumpThreading.cpp
b/lib/Transforms/Scalar/JumpThreading.cpp
index 1130d228acb8c099118a1a0f5682e02b31cdf570..7316db6ca02ca50a248cd43f904db393b0e67ce6 100644
(file)
--- a/
lib/Transforms/Scalar/JumpThreading.cpp
+++ b/
lib/Transforms/Scalar/JumpThreading.cpp
@@
-138,7
+138,7
@@
namespace {
bool SimplifyPartiallyRedundantLoad(LoadInst *LI);
bool TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);
};
bool SimplifyPartiallyRedundantLoad(LoadInst *LI);
bool TryToUnfoldSelect(CmpInst *CondCmp, BasicBlock *BB);
};
-}
+}
// namespace
char JumpThreading::ID = 0;
INITIALIZE_PASS_BEGIN(JumpThreading, "jump-threading",
char JumpThreading::ID = 0;
INITIALIZE_PASS_BEGIN(JumpThreading, "jump-threading",
diff --git
a/lib/Transforms/Scalar/LICM.cpp
b/lib/Transforms/Scalar/LICM.cpp
index f0e6d641b1808aba61a50845a9c01ac59733d35f..e5019463bb5f353bde8d6fababdd1002fb192454 100644
(file)
--- a/
lib/Transforms/Scalar/LICM.cpp
+++ b/
lib/Transforms/Scalar/LICM.cpp
@@
-156,7
+156,7
@@
namespace {
/// Simple Analysis hook. Delete loop L from alias set map.
void deleteAnalysisLoop(Loop *L) override;
};
/// Simple Analysis hook. Delete loop L from alias set map.
void deleteAnalysisLoop(Loop *L) override;
};
-}
+}
// namespace
char LICM::ID = 0;
INITIALIZE_PASS_BEGIN(LICM, "licm", "Loop Invariant Code Motion", false, false)
char LICM::ID = 0;
INITIALIZE_PASS_BEGIN(LICM, "licm", "Loop Invariant Code Motion", false, false)
@@
-777,7
+777,7
@@
namespace {
AST.deleteValue(I);
}
};
AST.deleteValue(I);
}
};
-} //
end anon
namespace
+} // namespace
/// Try to promote memory values to scalars by sinking stores out of the
/// loop and moving loads to before the loop. We do this by looping over
/// Try to promote memory values to scalars by sinking stores out of the
/// loop and moving loads to before the loop. We do this by looping over
diff --git
a/lib/Transforms/Scalar/LoadCombine.cpp
b/lib/Transforms/Scalar/LoadCombine.cpp
index c19cd19059b238f80bd7c3f63040d19e6a5066a0..3dbf6ac6ed08f8543464e0391eea6ad584e1e578 100644
(file)
--- a/
lib/Transforms/Scalar/LoadCombine.cpp
+++ b/
lib/Transforms/Scalar/LoadCombine.cpp
@@
-77,7
+77,7
@@
private:
bool aggregateLoads(SmallVectorImpl<LoadPOPPair> &);
bool combineLoads(SmallVectorImpl<LoadPOPPair> &);
};
bool aggregateLoads(SmallVectorImpl<LoadPOPPair> &);
bool combineLoads(SmallVectorImpl<LoadPOPPair> &);
};
-}
+}
// namespace
bool LoadCombine::doInitialization(Function &F) {
DEBUG(dbgs() << "LoadCombine function: " << F.getName() << "\n");
bool LoadCombine::doInitialization(Function &F) {
DEBUG(dbgs() << "LoadCombine function: " << F.getName() << "\n");
diff --git
a/lib/Transforms/Scalar/LoopDeletion.cpp
b/lib/Transforms/Scalar/LoopDeletion.cpp
index 98b068edf5822a602559c05a1732af11c261fb34..02760ffe2c68fc2010042cf8911d72ebda6621b6 100644
(file)
--- a/
lib/Transforms/Scalar/LoopDeletion.cpp
+++ b/
lib/Transforms/Scalar/LoopDeletion.cpp
@@
-57,7
+57,7
@@
namespace {
bool &Changed, BasicBlock *Preheader);
};
bool &Changed, BasicBlock *Preheader);
};
-}
+}
// namespace
char LoopDeletion::ID = 0;
INITIALIZE_PASS_BEGIN(LoopDeletion, "loop-deletion",
char LoopDeletion::ID = 0;
INITIALIZE_PASS_BEGIN(LoopDeletion, "loop-deletion",
diff --git
a/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
b/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
index 714ce914a8b3ea80af1f191413396fadebe7e15d..3de1333a7c98a03b3efba9c86447ee5b4a3375c6 100644
(file)
--- a/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
+++ b/
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
@@
-209,7
+209,7
@@
namespace {
bool runOnNoncountableLoop();
bool runOnCountableLoop();
};
bool runOnNoncountableLoop();
bool runOnCountableLoop();
};
-}
+}
// namespace
char LoopIdiomRecognize::ID = 0;
INITIALIZE_PASS_BEGIN(LoopIdiomRecognize, "loop-idiom", "Recognize loop idioms",
char LoopIdiomRecognize::ID = 0;
INITIALIZE_PASS_BEGIN(LoopIdiomRecognize, "loop-idiom", "Recognize loop idioms",
diff --git
a/lib/Transforms/Scalar/LoopInstSimplify.cpp
b/lib/Transforms/Scalar/LoopInstSimplify.cpp
index e125026547513324514672daebe27be71df466d8..4c40f249ce1d592a809b498c7bde953b233d89c9 100644
(file)
--- a/
lib/Transforms/Scalar/LoopInstSimplify.cpp
+++ b/
lib/Transforms/Scalar/LoopInstSimplify.cpp
@@
-52,7
+52,7
@@
namespace {
AU.addRequired<TargetLibraryInfoWrapperPass>();
}
};
AU.addRequired<TargetLibraryInfoWrapperPass>();
}
};
-}
+}
// namespace
char LoopInstSimplify::ID = 0;
INITIALIZE_PASS_BEGIN(LoopInstSimplify, "loop-instsimplify",
char LoopInstSimplify::ID = 0;
INITIALIZE_PASS_BEGIN(LoopInstSimplify, "loop-instsimplify",
diff --git
a/lib/Transforms/Scalar/LoopRerollPass.cpp
b/lib/Transforms/Scalar/LoopRerollPass.cpp
index ed103e6b8ed6e57a82f2dd097bf3c43ad52967ea..f6db9b114e3f15eac40293002378796a7800cddc 100644
(file)
--- a/
lib/Transforms/Scalar/LoopRerollPass.cpp
+++ b/
lib/Transforms/Scalar/LoopRerollPass.cpp
@@
-438,7
+438,7
@@
namespace {
bool reroll(Instruction *IV, Loop *L, BasicBlock *Header, const SCEV *IterCount,
ReductionTracker &Reductions);
};
bool reroll(Instruction *IV, Loop *L, BasicBlock *Header, const SCEV *IterCount,
ReductionTracker &Reductions);
};
-}
+}
// namespace
char LoopReroll::ID = 0;
INITIALIZE_PASS_BEGIN(LoopReroll, "loop-reroll", "Reroll loops", false, false)
char LoopReroll::ID = 0;
INITIALIZE_PASS_BEGIN(LoopReroll, "loop-reroll", "Reroll loops", false, false)
diff --git
a/lib/Transforms/Scalar/LoopRotation.cpp
b/lib/Transforms/Scalar/LoopRotation.cpp
index a675e1289bafc570e2552baed39e193f2c1655cf..2ba70ad1f1a7bedf3db23ea8bbb80dcc4f8b0efe 100644
(file)
--- a/
lib/Transforms/Scalar/LoopRotation.cpp
+++ b/
lib/Transforms/Scalar/LoopRotation.cpp
@@
-79,7
+79,7
@@
namespace {
AssumptionCache *AC;
DominatorTree *DT;
};
AssumptionCache *AC;
DominatorTree *DT;
};
-}
+}
// namespace
char LoopRotate::ID = 0;
INITIALIZE_PASS_BEGIN(LoopRotate, "loop-rotate", "Rotate Loops", false, false)
char LoopRotate::ID = 0;
INITIALIZE_PASS_BEGIN(LoopRotate, "loop-rotate", "Rotate Loops", false, false)
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 4b59f3d2f6cc1d30018768e44ffa3fb9125b2d13..ee724869199274953c42ab2643dc242e50b7c250 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-116,7
+116,7
@@
public:
void dump() const;
};
void dump() const;
};
-}
+}
// namespace
void RegSortData::print(raw_ostream &OS) const {
OS << "[NumUses=" << UsedByIndices.count() << ']';
void RegSortData::print(raw_ostream &OS) const {
OS << "[NumUses=" << UsedByIndices.count() << ']';
@@
-157,7
+157,7
@@
public:
const_iterator end() const { return RegSequence.end(); }
};
const_iterator end() const { return RegSequence.end(); }
};
-}
+}
// namespace
void
RegUseTracker::CountRegister(const SCEV *Reg, size_t LUIdx) {
void
RegUseTracker::CountRegister(const SCEV *Reg, size_t LUIdx) {
@@
-281,7
+281,7
@@
struct Formula {
void dump() const;
};
void dump() const;
};
-}
+}
// namespace
/// DoInitialMatch - Recursion helper for InitialMatch.
static void DoInitialMatch(const SCEV *S, Loop *L,
/// DoInitialMatch - Recursion helper for InitialMatch.
static void DoInitialMatch(const SCEV *S, Loop *L,
@@
-903,7
+903,7
@@
private:
SmallPtrSetImpl<const SCEV *> *LoserRegs);
};
SmallPtrSetImpl<const SCEV *> *LoserRegs);
};
-}
+}
// namespace
/// RateRegister - Tally up interesting quantities from the given register.
void Cost::RateRegister(const SCEV *Reg,
/// RateRegister - Tally up interesting quantities from the given register.
void Cost::RateRegister(const SCEV *Reg,
@@
-1102,7
+1102,7
@@
struct LSRFixup {
void dump() const;
};
void dump() const;
};
-}
+}
// namespace
LSRFixup::LSRFixup()
: UserInst(nullptr), OperandValToReplace(nullptr), LUIdx(~size_t(0)),
LSRFixup::LSRFixup()
: UserInst(nullptr), OperandValToReplace(nullptr), LUIdx(~size_t(0)),
@@
-1252,7
+1252,7
@@
public:
void dump() const;
};
void dump() const;
};
-}
+}
// namespace
/// HasFormula - Test whether this use as a formula which has the same
/// registers as the given formula.
/// HasFormula - Test whether this use as a formula which has the same
/// registers as the given formula.
@@
-1791,7
+1791,7
@@
public:
void dump() const;
};
void dump() const;
};
-}
+}
// namespace
/// OptimizeShadowIV - If IV is used in a int-to-float cast
/// inside the loop then try to eliminate the cast operation.
/// OptimizeShadowIV - If IV is used in a int-to-float cast
/// inside the loop then try to eliminate the cast operation.
@@
-3644,7
+3644,7
@@
struct WorkItem {
void dump() const;
};
void dump() const;
};
-}
+}
// namespace
void WorkItem::print(raw_ostream &OS) const {
OS << "in formulae referencing " << *OrigReg << " in use " << LUIdx
void WorkItem::print(raw_ostream &OS) const {
OS << "in formulae referencing " << *OrigReg << " in use " << LUIdx
@@
-4949,7
+4949,7
@@
private:
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
void getAnalysisUsage(AnalysisUsage &AU) const override;
};
-}
+}
// namespace
char LoopStrengthReduce::ID = 0;
INITIALIZE_PASS_BEGIN(LoopStrengthReduce, "loop-reduce",
char LoopStrengthReduce::ID = 0;
INITIALIZE_PASS_BEGIN(LoopStrengthReduce, "loop-reduce",
diff --git
a/lib/Transforms/Scalar/LoopUnrollPass.cpp
b/lib/Transforms/Scalar/LoopUnrollPass.cpp
index 9e7558d9c45fd2e0e78da534580331999527bf2c..d702dc0b4ee96aa1918f53252238e0cac8ca9484 100644
(file)
--- a/
lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ b/
lib/Transforms/Scalar/LoopUnrollPass.cpp
@@
-229,7
+229,7
@@
namespace {
unsigned DynamicCostSavingsDiscount,
uint64_t UnrolledCost, uint64_t RolledDynamicCost);
};
unsigned DynamicCostSavingsDiscount,
uint64_t UnrolledCost, uint64_t RolledDynamicCost);
};
-}
+}
// namespace
char LoopUnroll::ID = 0;
INITIALIZE_PASS_BEGIN(LoopUnroll, "loop-unroll", "Unroll loops", false, false)
char LoopUnroll::ID = 0;
INITIALIZE_PASS_BEGIN(LoopUnroll, "loop-unroll", "Unroll loops", false, false)
diff --git
a/lib/Transforms/Scalar/LoopUnswitch.cpp
b/lib/Transforms/Scalar/LoopUnswitch.cpp
index 988d2af3ea906aae693d4cca8992d99c91f103e5..5bdc2ec88d4aef3eb4d2cb38ab28f275b5aa73ef 100644
(file)
--- a/
lib/Transforms/Scalar/LoopUnswitch.cpp
+++ b/
lib/Transforms/Scalar/LoopUnswitch.cpp
@@
-213,7
+213,7
@@
namespace {
BasicBlock **LoopExit = nullptr);
};
BasicBlock **LoopExit = nullptr);
};
-}
+}
// namespace
// Analyze loop. Check its size, calculate is it possible to unswitch
// it. Returns true if we can unswitch this loop.
// Analyze loop. Check its size, calculate is it possible to unswitch
// it. Returns true if we can unswitch this loop.
diff --git
a/lib/Transforms/Scalar/LowerAtomic.cpp
b/lib/Transforms/Scalar/LowerAtomic.cpp
index 3314e1ed41abfc2b6931fb9c09ff3e55c2ee2f6a..b8b35d4249f0552d8b12a9d920324e639244dbbe 100644
(file)
--- a/
lib/Transforms/Scalar/LowerAtomic.cpp
+++ b/
lib/Transforms/Scalar/LowerAtomic.cpp
@@
-138,7
+138,7
@@
namespace {
return Changed;
}
};
return Changed;
}
};
-}
+}
// namespace
char LowerAtomic::ID = 0;
INITIALIZE_PASS(LowerAtomic, "loweratomic",
char LowerAtomic::ID = 0;
INITIALIZE_PASS(LowerAtomic, "loweratomic",
diff --git
a/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
b/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
index 0c47cbd5bfda6da1a891432ac82a2cd8dd2c4783..b845c038e67e23326df345105423bcbc9a2568e7 100644
(file)
--- a/
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
+++ b/
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
@@
-181,7
+181,7
@@
public:
bool runOnFunction(Function &F) override { return lowerExpectIntrinsic(F); }
};
bool runOnFunction(Function &F) override { return lowerExpectIntrinsic(F); }
};
-}
+}
// namespace
char LowerExpectIntrinsic::ID = 0;
INITIALIZE_PASS(LowerExpectIntrinsic, "lower-expect",
char LowerExpectIntrinsic::ID = 0;
INITIALIZE_PASS(LowerExpectIntrinsic, "lower-expect",
diff --git
a/lib/Transforms/Scalar/MemCpyOptimizer.cpp
b/lib/Transforms/Scalar/MemCpyOptimizer.cpp
index 85012afc80ac6bc3cb654d0ddad11f93c05fe059..2c9f93513ae25b08c6e5840661a1017681f34a37 100644
(file)
--- a/
lib/Transforms/Scalar/MemCpyOptimizer.cpp
+++ b/
lib/Transforms/Scalar/MemCpyOptimizer.cpp
@@
-153,7
+153,7
@@
struct MemsetRange {
bool isProfitableToUseMemset(const DataLayout &DL) const;
};
bool isProfitableToUseMemset(const DataLayout &DL) const;
};
-} //
end anon
namespace
+} // namespace
bool MemsetRange::isProfitableToUseMemset(const DataLayout &DL) const {
// If we found more than 4 stores to merge or 16 bytes, use memset.
bool MemsetRange::isProfitableToUseMemset(const DataLayout &DL) const {
// If we found more than 4 stores to merge or 16 bytes, use memset.
@@
-237,7
+237,7
@@
public:
};
};
-} //
end anon
namespace
+} // namespace
/// addRange - Add a new store to the MemsetRanges data structure. This adds a
/// addRange - Add a new store to the MemsetRanges data structure. This adds a
@@
-355,7
+355,7
@@
namespace {
};
char MemCpyOpt::ID = 0;
};
char MemCpyOpt::ID = 0;
-}
+}
// namespace
// createMemCpyOptPass - The public interface to this file...
FunctionPass *llvm::createMemCpyOptPass() { return new MemCpyOpt(); }
// createMemCpyOptPass - The public interface to this file...
FunctionPass *llvm::createMemCpyOptPass() { return new MemCpyOpt(); }
diff --git
a/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
b/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
index 243db8d70ca28a6b0e321c4d5476a6089aa33e46..886b6f5b0a2c811324db59f6d203694ab219f6ba 100644
(file)
--- a/
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
+++ b/
lib/Transforms/Scalar/MergedLoadStoreMotion.cpp
@@
-156,7
+156,7
@@
private:
};
char MergedLoadStoreMotion::ID = 0;
};
char MergedLoadStoreMotion::ID = 0;
-}
+}
// namespace
///
/// \brief createMergedLoadStoreMotionPass - The public interface to this file.
///
/// \brief createMergedLoadStoreMotionPass - The public interface to this file.
diff --git
a/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
b/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
index 31d7df39c781813628bd470d371ec5983529d4a5..5423499723f7cc5107d2ab33039f7099d710bdba 100644
(file)
--- a/
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
+++ b/
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
@@
-46,7
+46,7
@@
namespace {
};
char PartiallyInlineLibCalls::ID = 0;
};
char PartiallyInlineLibCalls::ID = 0;
-}
+}
// namespace
INITIALIZE_PASS(PartiallyInlineLibCalls, "partially-inline-libcalls",
"Partially inline calls to library functions", false, false)
INITIALIZE_PASS(PartiallyInlineLibCalls, "partially-inline-libcalls",
"Partially inline calls to library functions", false, false)
diff --git
a/lib/Transforms/Scalar/PlaceSafepoints.cpp
b/lib/Transforms/Scalar/PlaceSafepoints.cpp
index 9ecaf102574a3e6250bd04ed2c031d21884689a6..670dcd24f75cf900716949ac3b8ec77907eb2f88 100644
(file)
--- a/
lib/Transforms/Scalar/PlaceSafepoints.cpp
+++ b/
lib/Transforms/Scalar/PlaceSafepoints.cpp
@@
-160,7
+160,7
@@
struct PlaceBackedgeSafepointsImpl : public FunctionPass {
AU.setPreservesAll();
}
};
AU.setPreservesAll();
}
};
-}
+}
// namespace
static cl::opt<bool> NoEntry("spp-no-entry", cl::Hidden, cl::init(false));
static cl::opt<bool> NoCall("spp-no-call", cl::Hidden, cl::init(false));
static cl::opt<bool> NoEntry("spp-no-entry", cl::Hidden, cl::init(false));
static cl::opt<bool> NoCall("spp-no-call", cl::Hidden, cl::init(false));
@@
-181,7
+181,7
@@
struct PlaceSafepoints : public FunctionPass {
// if that was worth doing
}
};
// if that was worth doing
}
};
-}
+}
// namespace
// Insert a safepoint poll immediately before the given instruction. Does
// not handle the parsability of state at the runtime call, that's the
// Insert a safepoint poll immediately before the given instruction. Does
// not handle the parsability of state at the runtime call, that's the
diff --git
a/lib/Transforms/Scalar/Reassociate.cpp
b/lib/Transforms/Scalar/Reassociate.cpp
index 6c66b58729e9a5d08691f4c42038fc28cf30fd49..9842fd7bb6c78c416c050590ba5d35bc90650a42 100644
(file)
--- a/
lib/Transforms/Scalar/Reassociate.cpp
+++ b/
lib/Transforms/Scalar/Reassociate.cpp
@@
-154,7
+154,7
@@
namespace {
unsigned SymbolicRank;
bool isOr;
};
unsigned SymbolicRank;
bool isOr;
};
-}
+}
// namespace
namespace {
class Reassociate : public FunctionPass {
namespace {
class Reassociate : public FunctionPass {
@@
-197,7
+197,7
@@
namespace {
void OptimizeInst(Instruction *I);
Instruction *canonicalizeNegConstExpr(Instruction *I);
};
void OptimizeInst(Instruction *I);
Instruction *canonicalizeNegConstExpr(Instruction *I);
};
-}
+}
// namespace
XorOpnd::XorOpnd(Value *V) {
assert(!isa<ConstantInt>(V) && "No ConstantInt");
XorOpnd::XorOpnd(Value *V) {
assert(!isa<ConstantInt>(V) && "No ConstantInt");
diff --git
a/lib/Transforms/Scalar/Reg2Mem.cpp
b/lib/Transforms/Scalar/Reg2Mem.cpp
index 1b46727c17bb68bedc42c8355d3b582d46e87db6..2ff56e67c9c6faf842c16056cbf5473e10610ca2 100644
(file)
--- a/
lib/Transforms/Scalar/Reg2Mem.cpp
+++ b/
lib/Transforms/Scalar/Reg2Mem.cpp
@@
-58,7
+58,7
@@
namespace {
bool runOnFunction(Function &F) override;
};
bool runOnFunction(Function &F) override;
};
-}
+}
// namespace
char RegToMem::ID = 0;
INITIALIZE_PASS_BEGIN(RegToMem, "reg2mem", "Demote all values to stack slots",
char RegToMem::ID = 0;
INITIALIZE_PASS_BEGIN(RegToMem, "reg2mem", "Demote all values to stack slots",
diff --git
a/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
b/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index 21ff55c697e3cf169ae6813ea8cd50a555005791..c15bc1bd7eca76269d3416f3382d44418ec74dca 100644
(file)
--- a/
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@
-183,7
+183,7
@@
struct PartiallyConstructedSafepointRecord {
/// Maps rematerialized copy to it's original value.
RematerializedValueMapTy RematerializedValues;
};
/// Maps rematerialized copy to it's original value.
RematerializedValueMapTy RematerializedValues;
};
-}
+}
// namespace
/// Compute the live-in set for every basic block in the function
static void computeLiveInValues(DominatorTree &DT, Function &F,
/// Compute the live-in set for every basic block in the function
static void computeLiveInValues(DominatorTree &DT, Function &F,
@@
-646,7
+646,7
@@
private:
llvm_unreachable("only three states!");
}
};
llvm_unreachable("only three states!");
}
};
-}
+}
// namespace
/// For a given value or instruction, figure out what base ptr it's derived
/// from. For gc objects, this is simply itself. On success, returns a value
/// which is the base pointer. (This is reliable and can be used for
/// For a given value or instruction, figure out what base ptr it's derived
/// from. For gc objects, this is simply itself. On success, returns a value
/// which is the base pointer. (This is reliable and can be used for
diff --git
a/lib/Transforms/Scalar/SROA.cpp
b/lib/Transforms/Scalar/SROA.cpp
index 056dd11b5ab329e6a03e6e5f4b7f11e0ac7877b1..f38b2b1dbf96e92d4c669d4f45feb2795f07da64 100644
(file)
--- a/
lib/Transforms/Scalar/SROA.cpp
+++ b/
lib/Transforms/Scalar/SROA.cpp
@@
-127,7
+127,7
@@
typedef llvm::IRBuilder<true, ConstantFolder, IRBuilderPrefixedInserter<true>>
typedef llvm::IRBuilder<false, ConstantFolder, IRBuilderPrefixedInserter<false>>
IRBuilderTy;
#endif
typedef llvm::IRBuilder<false, ConstantFolder, IRBuilderPrefixedInserter<false>>
IRBuilderTy;
#endif
-}
+}
// namespace
namespace {
/// \brief A used slice of an alloca.
namespace {
/// \brief A used slice of an alloca.
@@
-595,7
+595,7
@@
private:
/// the alloca.
SmallVector<Use *, 8> DeadOperands;
};
/// the alloca.
SmallVector<Use *, 8> DeadOperands;
};
-}
+}
// namespace
static Value *foldSelectInst(SelectInst &SI) {
// If the condition being selected on is a constant or the same value is
static Value *foldSelectInst(SelectInst &SI) {
// If the condition being selected on is a constant or the same value is
@@
-1173,7
+1173,7
@@
public:
}
}
};
}
}
};
-} //
end anon
namespace
+} // namespace
namespace {
/// \brief An optimization pass providing Scalar Replacement of Aggregates.
namespace {
/// \brief An optimization pass providing Scalar Replacement of Aggregates.
@@
-1268,7
+1268,7
@@
private:
void deleteDeadInstructions(SmallPtrSetImpl<AllocaInst *> &DeletedAllocas);
bool promoteAllocas(Function &F);
};
void deleteDeadInstructions(SmallPtrSetImpl<AllocaInst *> &DeletedAllocas);
bool promoteAllocas(Function &F);
};
-}
+}
// namespace
char SROA::ID = 0;
char SROA::ID = 0;
@@
-3119,7
+3119,7
@@
private:
return true;
}
};
return true;
}
};
-}
+}
// namespace
namespace {
/// \brief Visitor to rewrite aggregate loads and stores as scalar.
namespace {
/// \brief Visitor to rewrite aggregate loads and stores as scalar.
@@
-3327,7
+3327,7
@@
private:
return false;
}
};
return false;
}
};
-}
+}
// namespace
/// \brief Strip aggregate type wrapping.
///
/// \brief Strip aggregate type wrapping.
///
diff --git
a/lib/Transforms/Scalar/SampleProfile.cpp
b/lib/Transforms/Scalar/SampleProfile.cpp
index c8dfa54a4aa0354a32d08374347d67ad647fc77c..69e3a67aa8c18b04daeeab64bd3e1d592104df90 100644
(file)
--- a/
lib/Transforms/Scalar/SampleProfile.cpp
+++ b/
lib/Transforms/Scalar/SampleProfile.cpp
@@
-174,7
+174,7
@@
protected:
/// \brief Flag indicating whether the profile input loaded successfully.
bool ProfileIsValid;
};
/// \brief Flag indicating whether the profile input loaded successfully.
bool ProfileIsValid;
};
-}
+}
// namespace
/// \brief Print the weight of edge \p E on stream \p OS.
///
/// \brief Print the weight of edge \p E on stream \p OS.
///
diff --git
a/lib/Transforms/Scalar/ScalarReplAggregates.cpp
b/lib/Transforms/Scalar/ScalarReplAggregates.cpp
index d955da7ce75d2741ec5917b16d0caa67f9a13481..e42c3daab8d780db8e70fd5dc166d122779605f7 100644
(file)
--- a/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
+++ b/
lib/Transforms/Scalar/ScalarReplAggregates.cpp
@@
-221,7
+221,7
@@
namespace {
}
};
}
};
-}
+}
// namespace
char SROA_DT::ID = 0;
char SROA_SSAUp::ID = 0;
char SROA_DT::ID = 0;
char SROA_SSAUp::ID = 0;
@@
-1123,7
+1123,7
@@
public:
}
}
};
}
}
};
-} //
end anon
namespace
+} // namespace
/// isSafeSelectToSpeculate - Select instructions that use an alloca and are
/// subsequently loaded can be rewritten to load both input pointers and then
/// isSafeSelectToSpeculate - Select instructions that use an alloca and are
/// subsequently loaded can be rewritten to load both input pointers and then
diff --git
a/lib/Transforms/Scalar/SimplifyCFGPass.cpp
b/lib/Transforms/Scalar/SimplifyCFGPass.cpp
index f0e3ffdb95acd1e1619898f942b38fa0e95be6f2..0733daf40f3992cfd6bc79d97009ee35c9e68f44 100644
(file)
--- a/
lib/Transforms/Scalar/SimplifyCFGPass.cpp
+++ b/
lib/Transforms/Scalar/SimplifyCFGPass.cpp
@@
-220,7
+220,7
@@
struct CFGSimplifyPass : public FunctionPass {
AU.addRequired<TargetTransformInfoWrapperPass>();
}
};
AU.addRequired<TargetTransformInfoWrapperPass>();
}
};
-}
+}
// namespace
char CFGSimplifyPass::ID = 0;
INITIALIZE_PASS_BEGIN(CFGSimplifyPass, "simplifycfg", "Simplify the CFG", false,
char CFGSimplifyPass::ID = 0;
INITIALIZE_PASS_BEGIN(CFGSimplifyPass, "simplifycfg", "Simplify the CFG", false,
diff --git
a/lib/Transforms/Scalar/TailRecursionElimination.cpp
b/lib/Transforms/Scalar/TailRecursionElimination.cpp
index c7de2e2965c70a3ce35574d29bc12f5a8460edd1..d23f5153c188ea526fb76be2f30446365cc2465d 100644
(file)
--- a/
lib/Transforms/Scalar/TailRecursionElimination.cpp
+++ b/
lib/Transforms/Scalar/TailRecursionElimination.cpp
@@
-120,7
+120,7
@@
namespace {
bool CanMoveAboveCall(Instruction *I, CallInst *CI);
Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI);
};
bool CanMoveAboveCall(Instruction *I, CallInst *CI);
Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI);
};
-}
+}
// namespace
char TailCallElim::ID = 0;
INITIALIZE_PASS_BEGIN(TailCallElim, "tailcallelim",
char TailCallElim::ID = 0;
INITIALIZE_PASS_BEGIN(TailCallElim, "tailcallelim",
@@
-246,7
+246,7
@@
struct AllocaDerivedValueTracker {
SmallPtrSet<Instruction *, 32> AllocaUsers;
SmallPtrSet<Instruction *, 32> EscapePoints;
};
SmallPtrSet<Instruction *, 32> AllocaUsers;
SmallPtrSet<Instruction *, 32> EscapePoints;
};
-}
+}
// namespace
bool TailCallElim::markTails(Function &F, bool &AllCallsAreTailCalls) {
if (F.callsFunctionThatReturnsTwice())
bool TailCallElim::markTails(Function &F, bool &AllCallsAreTailCalls) {
if (F.callsFunctionThatReturnsTwice())
diff --git
a/lib/Transforms/Utils/ASanStackFrameLayout.cpp
b/lib/Transforms/Utils/ASanStackFrameLayout.cpp
index 03c3a80170a30d385acc78c749273e99a014846d..72cdfa464a3ba1ec16150f60f2b773e05590704e 100644
(file)
--- a/
lib/Transforms/Utils/ASanStackFrameLayout.cpp
+++ b/
lib/Transforms/Utils/ASanStackFrameLayout.cpp
@@
-107,4
+107,4
@@
ComputeASanStackFrameLayout(SmallVectorImpl<ASanStackVariableDescription> &Vars,
assert(Layout->FrameSize / Granularity == Layout->ShadowBytes.size());
}
assert(Layout->FrameSize / Granularity == Layout->ShadowBytes.size());
}
-} //
llvm namespace
+} //
namespace llvm
diff --git
a/lib/Transforms/Utils/BreakCriticalEdges.cpp
b/lib/Transforms/Utils/BreakCriticalEdges.cpp
index 7e83c9eeceb7196238fcc4d938e8820ae67ce3e4..362cd9bbee7b3115757cb5d9635073bfa933dd62 100644
(file)
--- a/
lib/Transforms/Utils/BreakCriticalEdges.cpp
+++ b/
lib/Transforms/Utils/BreakCriticalEdges.cpp
@@
-60,7
+60,7
@@
namespace {
AU.addPreservedID(LoopSimplifyID);
}
};
AU.addPreservedID(LoopSimplifyID);
}
};
-}
+}
// namespace
char BreakCriticalEdges::ID = 0;
INITIALIZE_PASS(BreakCriticalEdges, "break-crit-edges",
char BreakCriticalEdges::ID = 0;
INITIALIZE_PASS(BreakCriticalEdges, "break-crit-edges",
diff --git
a/lib/Transforms/Utils/BypassSlowDivision.cpp
b/lib/Transforms/Utils/BypassSlowDivision.cpp
index f2d5e074503520eb8f0bbc54bedaa93182b8bc51..0771b29b24fd097cb4b2b206171e165dbf0906b1 100644
(file)
--- a/
lib/Transforms/Utils/BypassSlowDivision.cpp
+++ b/
lib/Transforms/Utils/BypassSlowDivision.cpp
@@
-42,7
+42,7
@@
namespace {
DivPhiNodes(PHINode *InQuotient, PHINode *InRemainder)
: Quotient(InQuotient), Remainder(InRemainder) {}
};
DivPhiNodes(PHINode *InQuotient, PHINode *InRemainder)
: Quotient(InQuotient), Remainder(InRemainder) {}
};
-}
+}
// namespace
namespace llvm {
template<>
namespace llvm {
template<>
@@
-69,7
+69,7
@@
namespace llvm {
};
typedef DenseMap<DivOpInfo, DivPhiNodes> DivCacheTy;
};
typedef DenseMap<DivOpInfo, DivPhiNodes> DivCacheTy;
-}
+}
// namespace llvm
// insertFastDiv - Substitutes the div/rem instruction with code that checks the
// value of the operands and uses a shorter-faster div/rem instruction when
// insertFastDiv - Substitutes the div/rem instruction with code that checks the
// value of the operands and uses a shorter-faster div/rem instruction when
diff --git
a/lib/Transforms/Utils/CloneFunction.cpp
b/lib/Transforms/Utils/CloneFunction.cpp
index 4f8d1dfbe5dfee123e6f9c2dcbf12706fe32ac6a..e623445b284b145d0d7034f862e37d0985e61378 100644
(file)
--- a/
lib/Transforms/Utils/CloneFunction.cpp
+++ b/
lib/Transforms/Utils/CloneFunction.cpp
@@
-289,7
+289,7
@@
namespace {
BasicBlock::const_iterator StartingInst,
std::vector<const BasicBlock*> &ToClone);
};
BasicBlock::const_iterator StartingInst,
std::vector<const BasicBlock*> &ToClone);
};
-}
+}
// namespace
/// The specified block is found to be reachable, clone it and
/// anything that it can reach.
/// The specified block is found to be reachable, clone it and
/// anything that it can reach.
diff --git
a/lib/Transforms/Utils/CtorUtils.cpp
b/lib/Transforms/Utils/CtorUtils.cpp
index dc95089cd2cadab64b95da25e9d90f246f904792..4bbded8dc9985aeebc2f5df764b38b8c3fc77e38 100644
(file)
--- a/
lib/Transforms/Utils/CtorUtils.cpp
+++ b/
lib/Transforms/Utils/CtorUtils.cpp
@@
-162,4
+162,4
@@
bool optimizeGlobalCtorsList(Module &M,
return true;
}
return true;
}
-} //
End llvm namespace
+} //
namespace llvm
diff --git
a/lib/Transforms/Utils/FlattenCFG.cpp
b/lib/Transforms/Utils/FlattenCFG.cpp
index 4eb3e3dd17d28540e1f2abc51a4b69d5b7cf3be5..40a48c067907669343072637e3e012635d291637 100644
(file)
--- a/
lib/Transforms/Utils/FlattenCFG.cpp
+++ b/
lib/Transforms/Utils/FlattenCFG.cpp
@@
-46,7
+46,7
@@
public:
FlattenCFGOpt(AliasAnalysis *AA) : AA(AA) {}
bool run(BasicBlock *BB);
};
FlattenCFGOpt(AliasAnalysis *AA) : AA(AA) {}
bool run(BasicBlock *BB);
};
-}
+}
// namespace
/// If \param [in] BB has more than one predecessor that is a conditional
/// branch, attempt to use parallel and/or for the branch condition. \returns
/// If \param [in] BB has more than one predecessor that is a conditional
/// branch, attempt to use parallel and/or for the branch condition. \returns
diff --git
a/lib/Transforms/Utils/InlineFunction.cpp
b/lib/Transforms/Utils/InlineFunction.cpp
index d2d60d7cd9f60b120de5d636dfbd0955b40961e0..ea84e7c302d1a4fa0cf0081eeb8e7fba0bc85009 100644
(file)
--- a/
lib/Transforms/Utils/InlineFunction.cpp
+++ b/
lib/Transforms/Utils/InlineFunction.cpp
@@
-121,7
+121,7
@@
namespace {
}
}
};
}
}
};
-}
+}
// namespace
/// Get or create a target for the branch from ResumeInsts.
BasicBlock *InvokeInliningInfo::getInnerResumeDest() {
/// Get or create a target for the branch from ResumeInsts.
BasicBlock *InvokeInliningInfo::getInnerResumeDest() {
diff --git
a/lib/Transforms/Utils/InstructionNamer.cpp
b/lib/Transforms/Utils/InstructionNamer.cpp
index da890a2970051aa8f2c3bcdd2fb4fd9b8d21f3a5..c9bec9a9fa79752a45e35c442251941f836a5fd2 100644
(file)
--- a/
lib/Transforms/Utils/InstructionNamer.cpp
+++ b/
lib/Transforms/Utils/InstructionNamer.cpp
@@
-50,7
+50,7
@@
namespace {
};
char InstNamer::ID = 0;
};
char InstNamer::ID = 0;
-}
+}
// namespace
INITIALIZE_PASS(InstNamer, "instnamer",
"Assign names to anonymous instructions", false, false)
INITIALIZE_PASS(InstNamer, "instnamer",
"Assign names to anonymous instructions", false, false)
diff --git
a/lib/Transforms/Utils/LCSSA.cpp
b/lib/Transforms/Utils/LCSSA.cpp
index 9d40b6989d6e818954d9adc195c5bc12b0c22b8e..fcc79864219e084e2262637fe9b1d7087763bd8b 100644
(file)
--- a/
lib/Transforms/Utils/LCSSA.cpp
+++ b/
lib/Transforms/Utils/LCSSA.cpp
@@
-300,7
+300,7
@@
struct LCSSA : public FunctionPass {
AU.addPreserved<ScalarEvolution>();
}
};
AU.addPreserved<ScalarEvolution>();
}
};
-}
+}
// namespace
char LCSSA::ID = 0;
INITIALIZE_PASS_BEGIN(LCSSA, "lcssa", "Loop-Closed SSA Form Pass", false, false)
char LCSSA::ID = 0;
INITIALIZE_PASS_BEGIN(LCSSA, "lcssa", "Loop-Closed SSA Form Pass", false, false)
diff --git
a/lib/Transforms/Utils/LoopSimplify.cpp
b/lib/Transforms/Utils/LoopSimplify.cpp
index d8f7c9176f59673e2578a8915a7eed4c8b29faa7..8b0afa69d9745e155c229cc3255cde59c69c41b6 100644
(file)
--- a/
lib/Transforms/Utils/LoopSimplify.cpp
+++ b/
lib/Transforms/Utils/LoopSimplify.cpp
@@
-776,7
+776,7
@@
namespace {
/// verifyAnalysis() - Verify LoopSimplifyForm's guarantees.
void verifyAnalysis() const override;
};
/// verifyAnalysis() - Verify LoopSimplifyForm's guarantees.
void verifyAnalysis() const override;
};
-}
+}
// namespace
char LoopSimplify::ID = 0;
INITIALIZE_PASS_BEGIN(LoopSimplify, "loop-simplify",
char LoopSimplify::ID = 0;
INITIALIZE_PASS_BEGIN(LoopSimplify, "loop-simplify",
diff --git
a/lib/Transforms/Utils/LowerSwitch.cpp
b/lib/Transforms/Utils/LowerSwitch.cpp
index e0e0e9009495615e9922162e5c3c036e12c8ddbf..a057f5d0c0fadebbb915e1c1540b910f9103f872 100644
(file)
--- a/
lib/Transforms/Utils/LowerSwitch.cpp
+++ b/
lib/Transforms/Utils/LowerSwitch.cpp
@@
-101,7
+101,7
@@
namespace {
return CI1->getValue().slt(CI2->getValue());
}
};
return CI1->getValue().slt(CI2->getValue());
}
};
-}
+}
// namespace
char LowerSwitch::ID = 0;
INITIALIZE_PASS(LowerSwitch, "lowerswitch",
char LowerSwitch::ID = 0;
INITIALIZE_PASS(LowerSwitch, "lowerswitch",
diff --git
a/lib/Transforms/Utils/MetaRenamer.cpp
b/lib/Transforms/Utils/MetaRenamer.cpp
index 395a46bad97b7e4062bd4cd9ff3f6a348b98a7f4..46dd65e9def63303b08887af63ed58e559031ccf 100644
(file)
--- a/
lib/Transforms/Utils/MetaRenamer.cpp
+++ b/
lib/Transforms/Utils/MetaRenamer.cpp
@@
-131,7
+131,7
@@
namespace {
return true;
}
};
return true;
}
};
-}
+}
// namespace
char MetaRenamer::ID = 0;
INITIALIZE_PASS(MetaRenamer, "metarenamer",
char MetaRenamer::ID = 0;
INITIALIZE_PASS(MetaRenamer, "metarenamer",
diff --git
a/lib/Transforms/Utils/SSAUpdater.cpp
b/lib/Transforms/Utils/SSAUpdater.cpp
index 88b39dd7f6640bb6805974bdb8d7fcf9e04c6f00..c098898758053995f988c8c1e891c454bc2bdf21 100644
(file)
--- a/
lib/Transforms/Utils/SSAUpdater.cpp
+++ b/
lib/Transforms/Utils/SSAUpdater.cpp
@@
-303,7
+303,7
@@
public:
}
};
}
};
-} //
End llvm namespace
+} //
namespace llvm
/// Check to see if AvailableVals has an entry for the specified BB and if so,
/// return it. If not, construct SSA form by first calculating the required
/// Check to see if AvailableVals has an entry for the specified BB and if so,
/// return it. If not, construct SSA form by first calculating the required
diff --git
a/lib/Transforms/Utils/SimplifyCFG.cpp
b/lib/Transforms/Utils/SimplifyCFG.cpp
index 71aaa8808b0aee12e5a0c6fc618f919200973b79..3d7ab0fd65a9b19e957124b7cf1af0cc91aed51e 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/
lib/Transforms/Utils/SimplifyCFG.cpp
@@
-136,7
+136,7
@@
public:
: TTI(TTI), DL(DL), BonusInstThreshold(BonusInstThreshold), AC(AC) {}
bool run(BasicBlock *BB);
};
: TTI(TTI), DL(DL), BonusInstThreshold(BonusInstThreshold), AC(AC) {}
bool run(BasicBlock *BB);
};
-}
+}
// namespace
/// SafeToMergeTerminators - Return true if it is safe to merge these two
/// terminator instructions together.
/// SafeToMergeTerminators - Return true if it is safe to merge these two
/// terminator instructions together.
@@
-502,7
+502,7
@@
private:
}
};
}
};
-}
+}
// namespace
static void EraseTerminatorInstAndDCECond(TerminatorInst *TI) {
Instruction *Cond = nullptr;
static void EraseTerminatorInstAndDCECond(TerminatorInst *TI) {
Instruction *Cond = nullptr;
@@
-3717,7
+3717,7
@@
namespace {
// For ArrayKind, this is the array.
GlobalVariable *Array;
};
// For ArrayKind, this is the array.
GlobalVariable *Array;
};
-}
+}
// namespace
SwitchLookupTable::SwitchLookupTable(
Module &M, uint64_t TableSize, ConstantInt *Offset,
SwitchLookupTable::SwitchLookupTable(
Module &M, uint64_t TableSize, ConstantInt *Offset,
diff --git
a/lib/Transforms/Utils/SimplifyIndVar.cpp
b/lib/Transforms/Utils/SimplifyIndVar.cpp
index ab30aa17c76bc912a56849517cd680de70cf27e8..68986ac0894f8744d311c9be56443e5fd191302e 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyIndVar.cpp
+++ b/
lib/Transforms/Utils/SimplifyIndVar.cpp
@@
-77,7
+77,7
@@
namespace {
Instruction *splitOverflowIntrinsic(Instruction *IVUser,
const DominatorTree *DT);
};
Instruction *splitOverflowIntrinsic(Instruction *IVUser,
const DominatorTree *DT);
};
-}
+}
// namespace
/// Fold an IV operand into its use. This removes increments of an
/// aligned IV when used by a instruction that ignores the low bits.
/// Fold an IV operand into its use. This removes increments of an
/// aligned IV when used by a instruction that ignores the low bits.
diff --git
a/lib/Transforms/Utils/SimplifyInstructions.cpp
b/lib/Transforms/Utils/SimplifyInstructions.cpp
index c499c87b1f0bd6a45b29da0596686e47d721c5f4..0a583a5af27a745ef662c0080dad0c7eecd9c544 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyInstructions.cpp
+++ b/
lib/Transforms/Utils/SimplifyInstructions.cpp
@@
-100,7
+100,7
@@
namespace {
return Changed;
}
};
return Changed;
}
};
-}
+}
// namespace
char InstSimplifier::ID = 0;
INITIALIZE_PASS_BEGIN(InstSimplifier, "instsimplify",
char InstSimplifier::ID = 0;
INITIALIZE_PASS_BEGIN(InstSimplifier, "instsimplify",
diff --git
a/lib/Transforms/Utils/SymbolRewriter.cpp
b/lib/Transforms/Utils/SymbolRewriter.cpp
index a2a54da8590c8e2829cf3b3c4d49ba7a75b65039..4cc278fe7278bc9bf923da9ea9c5f5a8c3453f20 100644
(file)
--- a/
lib/Transforms/Utils/SymbolRewriter.cpp
+++ b/
lib/Transforms/Utils/SymbolRewriter.cpp
@@
-538,7
+538,7
@@
void RewriteSymbols::loadAndParseMapFiles() {
for (const auto &MapFile : MapFiles)
parser.parse(MapFile, &Descriptors);
}
for (const auto &MapFile : MapFiles)
parser.parse(MapFile, &Descriptors);
}
-}
+}
// namespace
INITIALIZE_PASS(RewriteSymbols, "rewrite-symbols", "Rewrite Symbols", false,
false)
INITIALIZE_PASS(RewriteSymbols, "rewrite-symbols", "Rewrite Symbols", false,
false)
diff --git
a/lib/Transforms/Vectorize/BBVectorize.cpp
b/lib/Transforms/Vectorize/BBVectorize.cpp
index 215d6f9a1eb6abf07d4ee62ddfb22bb519eda897..fd7661ffd41fc16c0937f0cfb432e5d569a7ab22 100644
(file)
--- a/
lib/Transforms/Vectorize/BBVectorize.cpp
+++ b/
lib/Transforms/Vectorize/BBVectorize.cpp
@@
-3192,7
+3192,7
@@
namespace {
DEBUG(dbgs() << "BBV: final: \n" << BB << "\n");
}
DEBUG(dbgs() << "BBV: final: \n" << BB << "\n");
}
-}
+}
// namespace
char BBVectorize::ID = 0;
static const char bb_vectorize_name[] = "Basic-Block Vectorization";
char BBVectorize::ID = 0;
static const char bb_vectorize_name[] = "Basic-Block Vectorization";
diff --git
a/lib/Transforms/Vectorize/LoopVectorize.cpp
b/lib/Transforms/Vectorize/LoopVectorize.cpp
index d9a38844b50f4e6d770582b07659eb706866c6b9..b7faa204927d70803bd3391946dae459498b17de 100644
(file)
--- a/
lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/
lib/Transforms/Vectorize/LoopVectorize.cpp
@@
-2906,7
+2906,7
@@
struct CSEDenseMapInfo {
return LHS->isIdenticalTo(RHS);
}
};
return LHS->isIdenticalTo(RHS);
}
};
-}
+}
// namespace
/// \brief Check whether this block is a predicated block.
/// Due to if predication of stores we might create a sequence of "if(pred) a[i]
/// \brief Check whether this block is a predicated block.
/// Due to if predication of stores we might create a sequence of "if(pred) a[i]