oota-llvm.git
20 years agoTargets now configure themselves based on the source module, not on the
Chris Lattner [Sun, 24 Aug 2003 19:50:53 +0000 (19:50 +0000)]
Targets now configure themselves based on the source module, not on the
ad-hoc "Config" flags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8134 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTargets now configure themselves with the module, not flags
Chris Lattner [Sun, 24 Aug 2003 19:50:12 +0000 (19:50 +0000)]
Targets now configure themselves with the module, not flags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8133 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTargets should configure themselves based on a Module, not some wierd flags
Chris Lattner [Sun, 24 Aug 2003 19:49:48 +0000 (19:49 +0000)]
Targets should configure themselves based on a Module, not some wierd flags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8132 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTargets should configure themselves based on the module, not some wierd flags
Chris Lattner [Sun, 24 Aug 2003 19:49:07 +0000 (19:49 +0000)]
Targets should configure themselves based on the module, not some wierd flags

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8131 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: Linker/2003-08-23-GlobalVarLinking.ll
Chris Lattner [Sun, 24 Aug 2003 19:30:20 +0000 (19:30 +0000)]
Fix bug: Linker/2003-08-23-GlobalVarLinking.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8130 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement: Linker/2003-08-24-InheritPtrSize.ll
Chris Lattner [Sun, 24 Aug 2003 19:26:42 +0000 (19:26 +0000)]
Implement: Linker/2003-08-24-InheritPtrSize.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8129 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 19:23:31 +0000 (19:23 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8128 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement: Jello/test-constantexpr.ll
Chris Lattner [Sun, 24 Aug 2003 19:19:47 +0000 (19:19 +0000)]
Implement: Jello/test-constantexpr.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8127 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement SimplifyCFG/InvokeEliminate.ll
Chris Lattner [Sun, 24 Aug 2003 18:36:16 +0000 (18:36 +0000)]
Implement SimplifyCFG/InvokeEliminate.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8126 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 17:58:24 +0000 (17:58 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8125 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix grammar
Chris Lattner [Sun, 24 Aug 2003 17:30:55 +0000 (17:30 +0000)]
Fix grammar

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8124 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd preliminary support for "any" pointersize/endianness. This will need
Chris Lattner [Sun, 24 Aug 2003 14:02:47 +0000 (14:02 +0000)]
Add preliminary support for "any" pointersize/endianness.  This will need
to change soon though.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8123 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd support for modules with "any" pointersize/endianness
Chris Lattner [Sun, 24 Aug 2003 14:02:14 +0000 (14:02 +0000)]
Add support for modules with "any" pointersize/endianness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8122 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd support for 'any' pointer size and endianness
Chris Lattner [Sun, 24 Aug 2003 13:49:22 +0000 (13:49 +0000)]
Add support for 'any' pointer size and endianness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8120 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSupport new 'any' support for pointer size and endianness
Chris Lattner [Sun, 24 Aug 2003 13:48:48 +0000 (13:48 +0000)]
Support new 'any' support for pointer size and endianness

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8119 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAllow modules to have 'any' pointer size and endianness. Luckily, we had
Chris Lattner [Sun, 24 Aug 2003 13:47:36 +0000 (13:47 +0000)]
Allow modules to have 'any' pointer size and endianness.  Luckily, we had
some space for extra flags, so we don't need to bump the revision number.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8118 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAllow modules to have 'any' pointer size and endianness.
Chris Lattner [Sun, 24 Aug 2003 13:46:37 +0000 (13:46 +0000)]
Allow modules to have 'any' pointer size and endianness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8117 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement support for the unwind intrinsic in the CBE
Chris Lattner [Sun, 24 Aug 2003 13:06:10 +0000 (13:06 +0000)]
Implement support for the unwind intrinsic in the CBE

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8116 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix grep
Chris Lattner [Sun, 24 Aug 2003 12:53:20 +0000 (12:53 +0000)]
Fix grep

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8114 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 12:30:51 +0000 (12:30 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8113 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase directory
Chris Lattner [Sun, 24 Aug 2003 12:27:53 +0000 (12:27 +0000)]
New testcase directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8112 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agorethrow is really the language independent primitive here. "throw" can be written
Chris Lattner [Sun, 24 Aug 2003 12:24:11 +0000 (12:24 +0000)]
rethrow is really the language independent primitive here.  "throw" can be written
in terms of it and llvm.exc.setcurrent.
Rework the intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8111 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agorethrow is really the language independent primitive here. "throw" can be written
Chris Lattner [Sun, 24 Aug 2003 12:24:08 +0000 (12:24 +0000)]
rethrow is really the language independent primitive here.  "throw" can be written
in terms of it and llvm.exc.setcurrent.

Rework the intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8110 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agorethrow is really the language independent primitive here. "throw" can be written
Chris Lattner [Sun, 24 Aug 2003 12:24:03 +0000 (12:24 +0000)]
rethrow is really the language independent primitive here.  "throw" can be written
in terms of it and llvm.exc.setcurrent.

Rework these intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8109 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix typeos and add descriptions
Chris Lattner [Sun, 24 Aug 2003 12:16:58 +0000 (12:16 +0000)]
Fix typeos and add descriptions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8108 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInline invoke instructions as well as call instructions
Chris Lattner [Sun, 24 Aug 2003 06:59:28 +0000 (06:59 +0000)]
Inline invoke instructions as well as call instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8107 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago*** Implement inlining of Invoke instructions!
Chris Lattner [Sun, 24 Aug 2003 06:59:16 +0000 (06:59 +0000)]
*** Implement inlining of Invoke instructions!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8106 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd versions of InlineFunction which work on Invoke instructions and general call...
Chris Lattner [Sun, 24 Aug 2003 06:58:32 +0000 (06:58 +0000)]
Add versions of InlineFunction which work on Invoke instructions and general call sites

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8105 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix copy-and-paste-o
Chris Lattner [Sun, 24 Aug 2003 06:57:53 +0000 (06:57 +0000)]
Fix copy-and-paste-o

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8104 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcases for inlining invoke instructions
Chris Lattner [Sun, 24 Aug 2003 06:55:07 +0000 (06:55 +0000)]
New testcases for inlining invoke instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8103 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial support for recognizing LLVM exception handling intrinsics
Chris Lattner [Sun, 24 Aug 2003 05:30:29 +0000 (05:30 +0000)]
Initial support for recognizing LLVM exception handling intrinsics

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8102 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBig diff for a small change: delete inlined functions if all callees have
Chris Lattner [Sun, 24 Aug 2003 05:03:14 +0000 (05:03 +0000)]
Big diff for a small change: delete inlined functions if all callees have
inlined the function.
Implements: Inline/inline_dce.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8101 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Sun, 24 Aug 2003 05:02:26 +0000 (05:02 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8100 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement: Inline/cfg_preserve_test.ll
Chris Lattner [Sun, 24 Aug 2003 04:06:56 +0000 (04:06 +0000)]
Implement: Inline/cfg_preserve_test.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8099 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agonew testcase
Chris Lattner [Sun, 24 Aug 2003 04:06:04 +0000 (04:06 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8098 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAllow specifying the name for the newly split basic block
Chris Lattner [Sun, 24 Aug 2003 03:41:39 +0000 (03:41 +0000)]
Allow specifying the name for the newly split basic block

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8097 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase, distilled from 176.gcc
Chris Lattner [Sun, 24 Aug 2003 00:21:50 +0000 (00:21 +0000)]
New testcase, distilled from 176.gcc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8096 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: Jello/2003-08-23-RegisterAllocatePhysReg.ll
Chris Lattner [Sat, 23 Aug 2003 23:49:42 +0000 (23:49 +0000)]
Fix bug: Jello/2003-08-23-RegisterAllocatePhysReg.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8095 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agonew testcase distilled from 176.gcc
Chris Lattner [Sat, 23 Aug 2003 23:38:59 +0000 (23:38 +0000)]
new testcase distilled from 176.gcc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8094 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5
Chris Lattner [Sat, 23 Aug 2003 23:18:19 +0000 (23:18 +0000)]
Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8093 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a new switch folding testcase
Chris Lattner [Sat, 23 Aug 2003 23:17:59 +0000 (23:17 +0000)]
Add a new switch folding testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8092 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd new label
Chris Lattner [Sat, 23 Aug 2003 23:16:37 +0000 (23:16 +0000)]
Add new label

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8091 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd period
Chris Lattner [Sat, 23 Aug 2003 23:15:10 +0000 (23:15 +0000)]
Add period

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8090 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRename SwitchInst::dest_push_back -> addCase
Chris Lattner [Sat, 23 Aug 2003 23:14:52 +0000 (23:14 +0000)]
Rename SwitchInst::dest_push_back -> addCase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8089 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRename SwitchInst::dest_push_back -> addCase
Chris Lattner [Sat, 23 Aug 2003 23:14:37 +0000 (23:14 +0000)]
Rename SwitchInst::dest_push_back -> addCase
Add new removeCase method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8088 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: LowerSwitch/2003-08-23-EmptySwitch.ll
Chris Lattner [Sat, 23 Aug 2003 22:54:34 +0000 (22:54 +0000)]
Fix bug: LowerSwitch/2003-08-23-EmptySwitch.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8087 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Sat, 23 Aug 2003 22:43:42 +0000 (22:43 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8086 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Sat, 23 Aug 2003 22:09:26 +0000 (22:09 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8085 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not consider any types that exist in the global symbol table!
Chris Lattner [Sat, 23 Aug 2003 21:32:24 +0000 (21:32 +0000)]
Do not consider any types that exist in the global symbol table!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8084 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
Chris Lattner [Sat, 23 Aug 2003 21:25:54 +0000 (21:25 +0000)]
Fix bug: Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8083 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase, which causes the linker to segv.
Chris Lattner [Sat, 23 Aug 2003 21:13:26 +0000 (21:13 +0000)]
New testcase, which causes the linker to segv.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8082 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIgnore more
Chris Lattner [Sat, 23 Aug 2003 20:35:08 +0000 (20:35 +0000)]
Ignore more

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8081 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement Linker/2003-08-23-GlobalVarLinking.ll, which should fix 176.gcc
Chris Lattner [Sat, 23 Aug 2003 20:31:10 +0000 (20:31 +0000)]
Implement Linker/2003-08-23-GlobalVarLinking.ll, which should fix 176.gcc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8080 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTest functions as well as globals
Chris Lattner [Sat, 23 Aug 2003 20:30:29 +0000 (20:30 +0000)]
Test functions as well as globals

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8079 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: TailDup/2003-08-23-InvalidatedPointers.ll
Chris Lattner [Sat, 23 Aug 2003 20:08:30 +0000 (20:08 +0000)]
Fix bug: TailDup/2003-08-23-InvalidatedPointers.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8078 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOf course, the copy ctor really should copy the operand as well
Chris Lattner [Sat, 23 Aug 2003 20:06:38 +0000 (20:06 +0000)]
Of course, the copy ctor really should copy the operand as well

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8077 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix bug: FunctionResolve/2003-08-23-ArgumentWarning.ll
Chris Lattner [Sat, 23 Aug 2003 20:03:05 +0000 (20:03 +0000)]
Fix bug: FunctionResolve/2003-08-23-ArgumentWarning.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8076 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agonew testcase: we warn if we are merging together two functions whose argument
Chris Lattner [Sat, 23 Aug 2003 19:59:55 +0000 (19:59 +0000)]
new testcase: we warn if we are merging together two functions whose argument
types to not match, but we should not warn unless their _primitive_ types mismatch

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8075 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd more methods to be more value-like
Chris Lattner [Sat, 23 Aug 2003 19:51:10 +0000 (19:51 +0000)]
Add more methods to be more value-like

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8074 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial checkin of ValueHolder helper class
Chris Lattner [Sat, 23 Aug 2003 19:43:18 +0000 (19:43 +0000)]
Initial checkin of ValueHolder helper class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8073 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial checkin of ValueHolder helper
Chris Lattner [Sat, 23 Aug 2003 19:43:16 +0000 (19:43 +0000)]
Initial checkin of ValueHolder helper

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8072 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase
Chris Lattner [Sat, 23 Aug 2003 19:37:39 +0000 (19:37 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8071 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix typeo
Chris Lattner [Sat, 23 Aug 2003 15:56:38 +0000 (15:56 +0000)]
Fix typeo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8069 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase, which is basically the problem with 176.gcc
Chris Lattner [Sat, 23 Aug 2003 15:53:38 +0000 (15:53 +0000)]
New testcase, which is basically the problem with 176.gcc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8068 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd missing #include
Chris Lattner [Fri, 22 Aug 2003 23:08:55 +0000 (23:08 +0000)]
Add missing #include

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8063 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix typeo
Chris Lattner [Fri, 22 Aug 2003 20:16:48 +0000 (20:16 +0000)]
Fix typeo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8059 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoadd preliminary support for -export-dynamic
Chris Lattner [Fri, 22 Aug 2003 19:18:45 +0000 (19:18 +0000)]
add preliminary support for -export-dynamic

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8058 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe process of linking types can cause their addresses to become invalid. For this...
Chris Lattner [Fri, 22 Aug 2003 19:12:55 +0000 (19:12 +0000)]
The process of linking types can cause their addresses to become invalid.  For this reason, we must use TypeHandles!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8057 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoKill warning
Chris Lattner [Fri, 22 Aug 2003 18:57:43 +0000 (18:57 +0000)]
Kill warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8056 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChanges to work better with GCC3.4/LLVM G++
Chris Lattner [Fri, 22 Aug 2003 14:26:59 +0000 (14:26 +0000)]
Changes to work better with GCC3.4/LLVM G++

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8054 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove last remenants of cleandeps
Chris Lattner [Fri, 22 Aug 2003 14:10:16 +0000 (14:10 +0000)]
Remove last remenants of cleandeps
Allow disabling generation of .d files for a whole directory

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8053 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDisable .d file generation for LLVM tests
Chris Lattner [Fri, 22 Aug 2003 14:09:46 +0000 (14:09 +0000)]
Disable .d file generation for LLVM tests

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8052 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement Linker/2003-08-20-OpaqueTypeResolve.ll
Chris Lattner [Fri, 22 Aug 2003 06:07:12 +0000 (06:07 +0000)]
Implement Linker/2003-08-20-OpaqueTypeResolve.ll

Hopefully this will fix the 176.gcc spec test as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8051 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAccept double quoted strings everwhere we accept a %ABC variable name.
Chris Lattner [Fri, 22 Aug 2003 05:42:10 +0000 (05:42 +0000)]
Accept double quoted strings everwhere we accept a %ABC variable name.

This introduces one more innoculous shift-reduce conflict, but will REALLY
help the type names generated by the C++ frontend, which wants to use all
kinds of crazy stuff.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8050 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoIf an "LLVM name" has wierd characters in it, print it out in double quotes instead...
Chris Lattner [Fri, 22 Aug 2003 05:40:38 +0000 (05:40 +0000)]
If an "LLVM name" has wierd characters in it, print it out in double quotes instead of prefixing it with %

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8049 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNew testcase for non-simple variable and type names
Chris Lattner [Fri, 22 Aug 2003 05:40:04 +0000 (05:40 +0000)]
New testcase for non-simple variable and type names

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8048 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUgh, really fix it now... :(
Chris Lattner [Fri, 22 Aug 2003 05:22:13 +0000 (05:22 +0000)]
Ugh, really fix it now... :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8047 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix computation of LLVM_OBJ_ROOT for non-projects :(
Chris Lattner [Fri, 22 Aug 2003 05:18:49 +0000 (05:18 +0000)]
Fix computation of LLVM_OBJ_ROOT for non-projects :(

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8046 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove name, add body. Causes llvmg++ segfault!
Chris Lattner [Fri, 22 Aug 2003 04:36:12 +0000 (04:36 +0000)]
Remove name, add body.  Causes llvmg++ segfault!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8045 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoadd comment
Chris Lattner [Fri, 22 Aug 2003 04:31:24 +0000 (04:31 +0000)]
add comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8044 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agonew testcase
Chris Lattner [Fri, 22 Aug 2003 04:13:13 +0000 (04:13 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8043 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSquash the warning that `Result' may not be initialized on all code paths.
Misha Brukman [Fri, 22 Aug 2003 03:35:24 +0000 (03:35 +0000)]
Squash the warning that `Result' may not be initialized on all code paths.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8042 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial checkin
Chris Lattner [Thu, 21 Aug 2003 22:33:59 +0000 (22:33 +0000)]
Initial checkin

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8039 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial checkin of ModuleMaker project
Chris Lattner [Thu, 21 Aug 2003 22:29:52 +0000 (22:29 +0000)]
Initial checkin of ModuleMaker project

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8036 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude the top-level Makefile.config from the LLVM tree for projects
Chris Lattner [Thu, 21 Aug 2003 22:28:46 +0000 (22:28 +0000)]
Include the top-level Makefile.config from the LLVM tree for projects

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8035 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoProjects no longer need to specify LLVM_OBJ_ROOT. Also, for the prdirs target, don...
Chris Lattner [Thu, 21 Aug 2003 22:23:49 +0000 (22:23 +0000)]
Projects no longer need to specify LLVM_OBJ_ROOT.  Also, for the prdirs target, don't let make print out all of the echo commands before the echos get echo'd

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8034 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove commented out declaration
Chris Lattner [Thu, 21 Aug 2003 22:22:24 +0000 (22:22 +0000)]
Remove commented out declaration

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8032 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe word `dependence' has no `a'.
Misha Brukman [Thu, 21 Aug 2003 22:14:57 +0000 (22:14 +0000)]
The word `dependence' has no `a'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8031 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe word `dependent' has no `a'.
Misha Brukman [Thu, 21 Aug 2003 22:14:26 +0000 (22:14 +0000)]
The word `dependent' has no `a'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8030 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix spello
Chris Lattner [Thu, 21 Aug 2003 22:05:57 +0000 (22:05 +0000)]
Fix spello

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8029 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe word `dependence' and its derivatives have no `a'.
Misha Brukman [Thu, 21 Aug 2003 22:02:18 +0000 (22:02 +0000)]
The word `dependence' and its derivatives have no `a'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8028 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake the tags rule tolerate lack of one of the standard directories
Chris Lattner [Thu, 21 Aug 2003 21:53:38 +0000 (21:53 +0000)]
Make the tags rule tolerate lack of one of the standard directories

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8027 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoOnly use :: rules for #included files
Chris Lattner [Thu, 21 Aug 2003 21:47:12 +0000 (21:47 +0000)]
Only use :: rules for #included files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8026 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify test
Chris Lattner [Thu, 21 Aug 2003 21:33:19 +0000 (21:33 +0000)]
Simplify test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8025 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor cleanups: wrap at 80 lines. Convert file comment to doxygen format and
Chris Lattner [Thu, 21 Aug 2003 21:32:12 +0000 (21:32 +0000)]
Minor cleanups: wrap at 80 lines.  Convert file comment to doxygen format and
llvm style

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8024 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRegression test that verifies that the JIT passes the environment to the
John Criswell [Thu, 21 Aug 2003 21:18:21 +0000 (21:18 +0000)]
Regression test that verifies that the JIT passes the environment to the
main() function.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8023 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe JIT now passes the environment pointer to the main() function when it
John Criswell [Thu, 21 Aug 2003 21:12:30 +0000 (21:12 +0000)]
The JIT now passes the environment pointer to the main() function when it
starts a program.  This allows the GNU env program to compile and JIT under
LLVM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8022 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove unused file
Chris Lattner [Thu, 21 Aug 2003 20:54:51 +0000 (20:54 +0000)]
Remove unused file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8021 91177308-0d34-0410-b5e6-96231b3b80d8

20 years ago* Remove cleandeps target
Chris Lattner [Thu, 21 Aug 2003 20:39:08 +0000 (20:39 +0000)]
* Remove cleandeps target
* Implement much nicer .d files, as suggested by Casey Carter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8020 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoChange all #include'd files to be :: rules instead of : rules
Chris Lattner [Thu, 21 Aug 2003 20:37:17 +0000 (20:37 +0000)]
Change all #include'd files to be :: rules instead of : rules

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8019 91177308-0d34-0410-b5e6-96231b3b80d8