aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-06 20:29:01 +0000
committerChris Lattner <sabre@nondot.org>2001-06-06 20:29:01 +0000
commit009505452b713ed2e3a8e99c5545a6e721c65495 (patch)
tree136a71c5b87bdf534d1f20a67558b49226b5a4d6
parent8d0afd3d32d1d67f9aa5df250a1d6955aa8f1ac9 (diff)
Initial revision
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile7
-rw-r--r--Makefile.common170
-rw-r--r--Makefile.rules170
-rw-r--r--docs/ChrisNotes.txt50
-rw-r--r--docs/HistoricalNotes/2000-11-18-EarlyDesignIdeas.txt74
-rw-r--r--docs/HistoricalNotes/2000-11-18-EarlyDesignIdeasResp.txt199
-rw-r--r--docs/HistoricalNotes/2000-12-06-EncodingIdea.txt30
-rw-r--r--docs/HistoricalNotes/2000-12-06-MeetingSummary.txt83
-rw-r--r--docs/HistoricalNotes/2001-01-31-UniversalIRIdea.txt39
-rw-r--r--docs/HistoricalNotes/2001-02-06-TypeNotationDebate.txt67
-rw-r--r--docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp1.txt75
-rw-r--r--docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp2.txt53
-rw-r--r--docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp4.txt89
-rw-r--r--docs/HistoricalNotes/2001-02-09-AdveComments.txt120
-rw-r--r--docs/HistoricalNotes/2001-02-09-AdveCommentsResponse.txt245
-rw-r--r--docs/HistoricalNotes/2001-02-13-Reference-Memory.txt39
-rw-r--r--docs/HistoricalNotes/2001-02-13-Reference-MemoryResponse.txt47
-rw-r--r--docs/HistoricalNotes/2001-04-16-DynamicCompilation.txt12
-rw-r--r--docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt202
-rw-r--r--docs/HistoricalNotes/2001-05-19-ExceptionResponse.txt45
-rw-r--r--docs/HistoricalNotes/2001-06-01-GCCOptimizations.txt63
-rw-r--r--docs/HistoricalNotes/2001-06-01-GCCOptimizations2.txt71
-rw-r--r--docs/LangRef.html1376
-rwxr-xr-xgetsomesrcs.sh5
-rwxr-xr-xgetsrcs.sh4
-rw-r--r--include/llvm/Analysis/ModuleAnalyzer.h113
-rw-r--r--include/llvm/Analysis/SlotCalculator.h96
-rw-r--r--include/llvm/Analysis/Verifier.h28
-rw-r--r--include/llvm/Assembly/Parser.h66
-rw-r--r--include/llvm/Assembly/Writer.h79
-rw-r--r--include/llvm/BasicBlock.h246
-rw-r--r--include/llvm/Bytecode/Format.h33
-rw-r--r--include/llvm/Bytecode/Primitives.h237
-rw-r--r--include/llvm/Bytecode/Reader.h24
-rw-r--r--include/llvm/Bytecode/Writer.h25
-rw-r--r--include/llvm/ConstPoolVals.h234
-rw-r--r--include/llvm/ConstantHandling.h145
-rw-r--r--include/llvm/ConstantPool.h74
-rw-r--r--include/llvm/DerivedTypes.h120
-rw-r--r--include/llvm/Function.h174
-rw-r--r--include/llvm/InstrTypes.h131
-rw-r--r--include/llvm/Instruction.h199
-rw-r--r--include/llvm/Module.h38
-rw-r--r--include/llvm/Optimizations/AllOpts.h95
-rw-r--r--include/llvm/SlotCalculator.h96
-rw-r--r--include/llvm/SymTabValue.h51
-rw-r--r--include/llvm/SymbolTable.h83
-rw-r--r--include/llvm/Tools/CommandLine.h126
-rw-r--r--include/llvm/Tools/DataTypes.h26
-rw-r--r--include/llvm/Tools/StringExtras.h63
-rw-r--r--include/llvm/Type.h116
-rw-r--r--include/llvm/User.h47
-rw-r--r--include/llvm/Value.h124
-rw-r--r--include/llvm/ValueHolder.h86
-rw-r--r--include/llvm/iMemory.h140
-rw-r--r--include/llvm/iOperators.h48
-rw-r--r--include/llvm/iOther.h116
-rw-r--r--include/llvm/iTerminators.h136
-rw-r--r--include/llvm/iUnary.h19
-rw-r--r--lib/Analysis/Makefile7
-rw-r--r--lib/Analysis/ModuleAnalyzer.cpp150
-rw-r--r--lib/AsmParser/Lexer.cpp2058
-rw-r--r--lib/AsmParser/Lexer.l184
-rw-r--r--lib/AsmParser/Makefile7
-rw-r--r--lib/AsmParser/Parser.cpp84
-rw-r--r--lib/AsmParser/ParserInternals.h159
-rw-r--r--lib/AsmParser/llvmAsmParser.cpp2202
-rw-r--r--lib/AsmParser/llvmAsmParser.h87
-rw-r--r--lib/AsmParser/llvmAsmParser.y954
-rw-r--r--lib/Bytecode/Makefile5
-rw-r--r--lib/Bytecode/Reader/ConstantReader.cpp218
-rw-r--r--lib/Bytecode/Reader/InstructionReader.cpp213
-rw-r--r--lib/Bytecode/Reader/Makefile7
-rw-r--r--lib/Bytecode/Reader/Reader.cpp478
-rw-r--r--lib/Bytecode/Reader/ReaderInternals.h146
-rw-r--r--lib/Bytecode/Writer/ConstantWriter.cpp154
-rw-r--r--lib/Bytecode/Writer/InstructionWriter.cpp184
-rw-r--r--lib/Bytecode/Writer/Makefile7
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.cpp195
-rw-r--r--lib/Bytecode/Writer/SlotCalculator.h96
-rw-r--r--lib/Bytecode/Writer/Writer.cpp182
-rw-r--r--lib/Bytecode/Writer/WriterInternals.h74
-rw-r--r--lib/Makefile5
-rw-r--r--lib/Transforms/IPO/InlineSimple.cpp283
-rw-r--r--lib/Transforms/Scalar/ConstantProp.cpp239
-rw-r--r--lib/Transforms/Scalar/DCE.cpp193
-rw-r--r--lib/Transforms/Scalar/SymbolStripping.cpp55
-rw-r--r--lib/VMCore/AsmWriter.cpp328
-rw-r--r--lib/VMCore/BasicBlock.cpp113
-rw-r--r--lib/VMCore/ConstantFold.cpp197
-rw-r--r--lib/VMCore/ConstantFold.h145
-rw-r--r--lib/VMCore/ConstantFolding.h145
-rw-r--r--lib/VMCore/ConstantPool.cpp434
-rw-r--r--lib/VMCore/Function.cpp75
-rw-r--r--lib/VMCore/InstrTypes.cpp66
-rw-r--r--lib/VMCore/Instruction.cpp61
-rw-r--r--lib/VMCore/Makefile7
-rw-r--r--lib/VMCore/Module.cpp42
-rw-r--r--lib/VMCore/SlotCalculator.cpp195
-rw-r--r--lib/VMCore/SymbolTable.cpp106
-rw-r--r--lib/VMCore/Type.cpp308
-rw-r--r--lib/VMCore/Value.cpp143
-rw-r--r--lib/VMCore/ValueHolderImpl.h85
-rw-r--r--lib/VMCore/Verifier.cpp94
-rw-r--r--lib/VMCore/iBranch.cpp69
-rw-r--r--lib/VMCore/iCall.cpp48
-rw-r--r--lib/VMCore/iOperators.cpp37
-rw-r--r--lib/VMCore/iReturn.cpp25
-rw-r--r--lib/VMCore/iSwitch.cpp81
-rwxr-xr-xtest/Feature/TestAsmDisasm.sh21
-rwxr-xr-xtest/Feature/TestOptimizer.sh13
-rw-r--r--test/Feature/basictest.ll53
-rw-r--r--test/Feature/calltest.ll16
-rw-r--r--test/Feature/forwardreftest.ll30
-rw-r--r--test/Feature/small.ll10
-rw-r--r--test/Feature/smallest.ll3
-rw-r--r--test/Feature/testmemory.ll23
-rw-r--r--test/Feature/testswitch.ll21
-rw-r--r--test/Makefile20
-rw-r--r--test/Setup4
-rwxr-xr-xtest/SetupOpt4
-rw-r--r--test/fib.ll43
-rw-r--r--test/inlinetest.ll27
-rw-r--r--test/opttest.ll59
-rw-r--r--test/test2darray.ll10
-rw-r--r--test/testpointer.ll12
-rw-r--r--test/teststruct.ll13
-rw-r--r--tools/Makefile5
-rw-r--r--tools/as/Makefile9
-rw-r--r--tools/as/as.cpp85
-rw-r--r--tools/dis/Makefile10
-rw-r--r--tools/dis/dis.cpp64
-rw-r--r--tools/llvm-as/Makefile9
-rw-r--r--tools/llvm-as/as.cpp85
-rw-r--r--tools/llvm-as/llvm-as.cpp85
-rw-r--r--tools/llvm-dis/Makefile10
-rw-r--r--tools/llvm-dis/dis.cpp64