From b83eb6447ba155342598f0fabe1f08f5baa9164a Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 20 Oct 2006 07:07:24 +0000 Subject: For PR950: This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31063 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/ProgrammersManual.html | 19 +- docs/Stacker.html | 10 +- examples/Fibonacci/fibonacci.cpp | 4 +- examples/HowToUseJIT/HowToUseJIT.cpp | 4 +- examples/ModuleMaker/ModuleMaker.cpp | 4 +- examples/ParallelJIT/ParallelJIT.cpp | 6 +- include/llvm/Constants.h | 148 +- include/llvm/IntrinsicInst.h | 4 +- include/llvm/Value.h | 3 +- lib/Analysis/BasicAliasAnalysis.cpp | 15 +- lib/Analysis/ConstantFolding.cpp | 11 +- lib/Analysis/ConstantRange.cpp | 4 +- lib/Analysis/DataStructure/Local.cpp | 2 +- lib/Analysis/ScalarEvolution.cpp | 28 +- lib/Analysis/ScalarEvolutionExpander.cpp | 2 +- lib/AsmParser/Lexer.cpp.cvs | 269 +- lib/AsmParser/llvmAsmParser.cpp.cvs | 6425 +++++++++++--------- lib/AsmParser/llvmAsmParser.h.cvs | 370 +- lib/AsmParser/llvmAsmParser.y | 28 +- lib/AsmParser/llvmAsmParser.y.cvs | 28 +- lib/Bytecode/Reader/Reader.cpp | 24 +- lib/Bytecode/Writer/Writer.cpp | 12 +- lib/CodeGen/AsmPrinter.cpp | 23 +- lib/CodeGen/IntrinsicLowering.cpp | 35 +- lib/CodeGen/MachineDebugInfo.cpp | 29 +- lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 6 +- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 70 +- lib/Debugger/ProgramInfo.cpp | 8 +- lib/ExecutionEngine/ExecutionEngine.cpp | 26 +- lib/ExecutionEngine/Interpreter/Execution.cpp | 4 +- lib/ExecutionEngine/JIT/JIT.cpp | 24 +- lib/Support/ConstantRange.cpp | 4 +- lib/Target/ARM/ARMISelDAGToDAG.cpp | 3 +- lib/Target/Alpha/AlphaISelDAGToDAG.cpp | 3 +- lib/Target/CBackend/CBackend.cpp | 22 +- lib/Target/CBackend/Writer.cpp | 22 +- lib/Target/TargetData.cpp | 4 +- lib/Target/X86/X86IntelAsmPrinter.cpp | 2 +- lib/Transforms/IPO/ArgumentPromotion.cpp | 6 +- lib/Transforms/IPO/GlobalOpt.cpp | 39 +- lib/Transforms/IPO/LowerSetJmp.cpp | 4 +- lib/Transforms/IPO/SimplifyLibCalls.cpp | 138 +- lib/Transforms/Instrumentation/EmitFunctions.cpp | 2 +- lib/Transforms/Instrumentation/ProfilingUtils.cpp | 4 +- lib/Transforms/Instrumentation/RSProfiling.cpp | 22 +- .../Instrumentation/TraceBasicBlocks.cpp | 2 +- lib/Transforms/Scalar/InstructionCombining.cpp | 594 +- lib/Transforms/Scalar/LoopStrengthReduce.cpp | 6 +- lib/Transforms/Scalar/LoopUnroll.cpp | 4 +- lib/Transforms/Scalar/LowerGC.cpp | 12 +- lib/Transforms/Scalar/LowerPacked.cpp | 22 +- lib/Transforms/Scalar/Reassociate.cpp | 2 +- lib/Transforms/Scalar/ScalarReplAggregates.cpp | 24 +- lib/Transforms/TransformInternals.cpp | 9 +- lib/Transforms/TransformInternals.h | 2 +- lib/Transforms/Utils/CodeExtractor.cpp | 14 +- lib/Transforms/Utils/Local.cpp | 14 +- lib/Transforms/Utils/LowerAllocations.cpp | 4 +- lib/Transforms/Utils/LowerInvoke.cpp | 8 +- lib/Transforms/Utils/LowerSwitch.cpp | 11 +- lib/Transforms/Utils/SimplifyCFG.cpp | 2 +- lib/VMCore/AsmWriter.cpp | 9 +- lib/VMCore/ConstantFold.cpp | 309 +- lib/VMCore/Constants.cpp | 122 +- lib/VMCore/Instructions.cpp | 14 +- lib/VMCore/Type.cpp | 6 +- lib/VMCore/Verifier.cpp | 2 +- projects/Stacker/lib/compiler/StackerCompiler.cpp | 16 +- tools/bugpoint/ExtractFunction.cpp | 6 +- tools/llvm2cpp/CppWriter.cpp | 11 +- 70 files changed, 5049 insertions(+), 4096 deletions(-) diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index bd79747..950c937 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -2390,8 +2390,8 @@ provide a name for it (probably based on the name of the translation unit).

Constant represents a base class for different types of constants. It -is subclassed by ConstantBool, ConstantInt, ConstantSInt, ConstantUInt, -ConstantArray etc for representing the various types of Constants.

+is subclassed by ConstantBool, ConstantInt, ConstantArray etc for representing +the various types of Constants.

@@ -2406,17 +2406,12 @@ ConstantArray etc for representing the various types of Constants.

Important Subclasses of Constant