oota-llvm.git
22 years agoAdd annotation support
Chris Lattner [Thu, 23 Aug 2001 17:07:56 +0000 (17:07 +0000)]
Add annotation support

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

22 years agoHandle case where there is no exit node from a flowgraph
Chris Lattner [Thu, 23 Aug 2001 17:07:19 +0000 (17:07 +0000)]
Handle case where there is no exit node from a flowgraph

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

22 years agoChanged an assertion message
Chris Lattner [Thu, 23 Aug 2001 17:06:38 +0000 (17:06 +0000)]
Changed an assertion message

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

22 years agoAdd annotation support to value
Chris Lattner [Thu, 23 Aug 2001 17:06:21 +0000 (17:06 +0000)]
Add annotation support to value

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

22 years ago* Add assertions
Chris Lattner [Thu, 23 Aug 2001 17:05:59 +0000 (17:05 +0000)]
* Add assertions
* Add a nodeVisited method to the DF interator

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

22 years agoInitial checkin of interpreter
Chris Lattner [Thu, 23 Aug 2001 17:05:04 +0000 (17:05 +0000)]
Initial checkin of interpreter

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

22 years agoLV code on machine instructions
Ruchira Sasanka [Mon, 20 Aug 2001 21:12:49 +0000 (21:12 +0000)]
LV code on machine instructions

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

22 years agoLV info on machine instructions
Ruchira Sasanka [Mon, 20 Aug 2001 21:11:01 +0000 (21:11 +0000)]
LV info on machine instructions

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

22 years agoCorrected the compilation error by making the ValOperator class a friend of
Ruchira Sasanka [Mon, 13 Aug 2001 16:54:48 +0000 (16:54 +0000)]
Corrected the compilation error by making the ValOperator class a friend of
MachineOperand class - Ruchira

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

22 years agoAlways set isDef for operand in position resultPos.
Vikram S. Adve [Mon, 13 Aug 2001 16:32:45 +0000 (16:32 +0000)]
Always set isDef for operand in position resultPos.

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

22 years agoChanged SetMachineOpernad calls in Set3OperandsFromInstr so that the
Ruchira Sasanka [Mon, 13 Aug 2001 16:26:28 +0000 (16:26 +0000)]
Changed SetMachineOpernad calls in Set3OperandsFromInstr so that the
result position is a def (i.e., added true to the end of call) -- Ruchira

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

22 years agoChanged case 64 to make the first arg of phi a defintion
Ruchira Sasanka [Mon, 13 Aug 2001 16:24:01 +0000 (16:24 +0000)]
Changed case 64 to make the first arg of phi a defintion

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

22 years agoCan't use ref to stack value!
Vikram S. Adve [Thu, 9 Aug 2001 20:14:22 +0000 (20:14 +0000)]
Can't use ref to stack value!

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

22 years agoNeeded old conditions as well as new in skipToNextVal()!
Vikram S. Adve [Thu, 9 Aug 2001 19:18:33 +0000 (19:18 +0000)]
Needed old conditions as well as new in skipToNextVal()!

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

22 years agoBug fix in ValOpIterator: not moving past operand with NULL Value.
Vikram S. Adve [Wed, 8 Aug 2001 00:15:42 +0000 (00:15 +0000)]
Bug fix in ValOpIterator: not moving past operand with NULL Value.

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

22 years ago*** empty log message ***
Ruchira Sasanka [Tue, 7 Aug 2001 21:01:23 +0000 (21:01 +0000)]
*** empty log message ***

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

22 years agoadded a default isDef arg to SetMachineOperand method - Ruchira
Ruchira Sasanka [Tue, 7 Aug 2001 20:16:52 +0000 (20:16 +0000)]
added a default isDef arg to SetMachineOperand method - Ruchira

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

22 years agoAdded isDef field to MachineOperand class - Ruchira
Ruchira Sasanka [Tue, 7 Aug 2001 20:14:30 +0000 (20:14 +0000)]
Added isDef field to MachineOperand class - Ruchira

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

22 years agoAdd CC operand as 4th operand of SUBcc, and mark it as a def.
Vikram S. Adve [Mon, 6 Aug 2001 21:06:10 +0000 (21:06 +0000)]
Add CC operand as 4th operand of SUBcc, and mark it as a def.

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

22 years agoUse extra operand for instructions that set a CC register that
Vikram S. Adve [Mon, 6 Aug 2001 21:05:39 +0000 (21:05 +0000)]
Use extra operand for instructions that set a CC register that
was not explicit before.

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

22 years agoAlso, move burg rule to Makefile.common.
Vikram S. Adve [Mon, 6 Aug 2001 19:06:56 +0000 (19:06 +0000)]
Also, move burg rule to Makefile.common.

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

22 years agoAnd add rule to create a .cpp source file from burg input file!
Vikram S. Adve [Mon, 6 Aug 2001 19:06:43 +0000 (19:06 +0000)]
And add rule to create a .cpp source file from burg input file!

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

22 years agoBetter still, lets move pathname for Burg to Makefile.common.
Vikram S. Adve [Mon, 6 Aug 2001 19:01:45 +0000 (19:01 +0000)]
Better still, lets move pathname for Burg to Makefile.common.

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

22 years agoAdd path and options for burg.
Vikram S. Adve [Mon, 6 Aug 2001 19:01:20 +0000 (19:01 +0000)]
Add path and options for burg.

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

22 years agoUse full pathname for burg.
Vikram S. Adve [Mon, 6 Aug 2001 18:53:26 +0000 (18:53 +0000)]
Use full pathname for burg.

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

22 years agoAllow numOperands of -1 for variable #operands.
Vikram S. Adve [Tue, 31 Jul 2001 21:55:51 +0000 (21:55 +0000)]
Allow numOperands of -1 for variable #operands.

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

22 years agoSimplify command line options, and add option for printing
Vikram S. Adve [Tue, 31 Jul 2001 21:53:25 +0000 (21:53 +0000)]
Simplify command line options, and add option for printing
machine instructions without debugging info.

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

22 years agoHad used the wrong option.
Vikram S. Adve [Tue, 31 Jul 2001 21:52:28 +0000 (21:52 +0000)]
Had used the wrong option.

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

22 years agoAdded tree nodes for Phi instructions.
Vikram S. Adve [Tue, 31 Jul 2001 21:50:29 +0000 (21:50 +0000)]
Added tree nodes for Phi instructions.

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

22 years agoGenerate tree nodes for Phi instructions.
Vikram S. Adve [Tue, 31 Jul 2001 21:49:53 +0000 (21:49 +0000)]
Generate tree nodes for Phi instructions.

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

22 years agoAllow machine instructions with variable numbers of arguments.
Vikram S. Adve [Tue, 31 Jul 2001 21:49:28 +0000 (21:49 +0000)]
Allow machine instructions with variable numbers of arguments.
This is used only by Phi for now.

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

22 years agoAdded dummy Phi instruction.
Vikram S. Adve [Tue, 31 Jul 2001 21:48:23 +0000 (21:48 +0000)]
Added dummy Phi instruction.

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

22 years agoGenerate dummy Phi machine instruction, plus a bug fix for BrCond(boolreg).
Vikram S. Adve [Tue, 31 Jul 2001 21:46:57 +0000 (21:46 +0000)]
Generate dummy Phi machine instruction, plus a bug fix for BrCond(boolreg).

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

22 years agoAdded support for testing instruction selection on all but 2 tests.
Vikram S. Adve [Tue, 31 Jul 2001 21:45:56 +0000 (21:45 +0000)]
Added support for testing instruction selection on all but 2 tests.

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

22 years agoAdded class MachineCodeForBasicBlock.
Vikram S. Adve [Mon, 30 Jul 2001 18:49:07 +0000 (18:49 +0000)]
Added class MachineCodeForBasicBlock.

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

22 years agoRecord machine instructions in the vector for each basic block.
Vikram S. Adve [Mon, 30 Jul 2001 18:48:43 +0000 (18:48 +0000)]
Record machine instructions in the vector for each basic block.

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

22 years agoAdded vector of machine instructions for the basic block.
Vikram S. Adve [Mon, 30 Jul 2001 18:47:24 +0000 (18:47 +0000)]
Added vector of machine instructions for the basic block.

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

22 years agoNew test cases
Chris Lattner [Sat, 28 Jul 2001 18:04:10 +0000 (18:04 +0000)]
New test cases

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

22 years agoRemove some gross stuff
Chris Lattner [Sat, 28 Jul 2001 17:52:53 +0000 (17:52 +0000)]
Remove some gross stuff

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

22 years agoAllow vararg method types with 0 fixed types
Chris Lattner [Sat, 28 Jul 2001 17:52:35 +0000 (17:52 +0000)]
Allow vararg method types with 0 fixed types

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

22 years agoMake error msg nicer
Chris Lattner [Sat, 28 Jul 2001 17:52:14 +0000 (17:52 +0000)]
Make error msg nicer

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

22 years agoEnable the elimination of method prototypes that are not referenced
Chris Lattner [Sat, 28 Jul 2001 17:51:49 +0000 (17:51 +0000)]
Enable the elimination of method prototypes that are not referenced

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

22 years ago* Make sure that the size of the type field can also control the output
Chris Lattner [Sat, 28 Jul 2001 17:51:21 +0000 (17:51 +0000)]
* Make sure that the size of the type field can also control the output
  instruction pattern.

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

22 years ago* Add calls to failure template so that it is actually possible to debug
Chris Lattner [Sat, 28 Jul 2001 17:50:18 +0000 (17:50 +0000)]
* Add calls to failure template so that it is actually possible to debug
  why bytecode parsing is failing.  Just put a breakpoint in the failure
  templates.

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

22 years ago* Fix bugs
Chris Lattner [Sat, 28 Jul 2001 17:49:02 +0000 (17:49 +0000)]
* Fix bugs

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

22 years ago* Enable the use of escaped literal strings
Chris Lattner [Sat, 28 Jul 2001 17:48:55 +0000 (17:48 +0000)]
* Enable the use of escaped literal strings
* Unresolved variable names now have the correct line number for their
  error messages
* Rename Def* to Value*
* Check for symbol table collisions before inserting values
* Remove the STRING keyword
* Enable the use of string literals to initialize constant arrays
* Enable the use of extended constants in more locations: eg ret [int] [4, 5]
* Allow method prototypes to appear in the constant pool of the program
* Support varargs methods better.  Enable varargs methods with 0 fixed
  arguments
* Allow the entire method prototype to optionally be specified in a call inst

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

22 years agoModify var names to make it apparant that the code is really generic
Chris Lattner [Sat, 28 Jul 2001 17:43:45 +0000 (17:43 +0000)]
Modify var names to make it apparant that the code is really generic

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

22 years agoChanges to make test scripts more reliable
Chris Lattner [Sat, 28 Jul 2001 17:40:15 +0000 (17:40 +0000)]
Changes to make test scripts more reliable

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

22 years agoAdd test of string constants
Chris Lattner [Sat, 28 Jul 2001 17:39:46 +0000 (17:39 +0000)]
Add test of string constants

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

22 years agoAdded function printIndent.
Vikram S. Adve [Sat, 28 Jul 2001 04:41:27 +0000 (04:41 +0000)]
Added function printIndent.

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

22 years agoAdded a pointer hash function object for use in pointer maps.
Vikram S. Adve [Sat, 28 Jul 2001 04:41:10 +0000 (04:41 +0000)]
Added a pointer hash function object for use in pointer maps.

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

22 years agoMake a function const.
Vikram S. Adve [Sat, 28 Jul 2001 04:40:15 +0000 (04:40 +0000)]
Make a function const.

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

22 years agoRemove lib/LLC library.
Vikram S. Adve [Sat, 28 Jul 2001 04:39:27 +0000 (04:39 +0000)]
Remove lib/LLC library.

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

22 years agoAdded several SPARC instructions including conditional move and SETHI.
Vikram S. Adve [Sat, 28 Jul 2001 04:26:42 +0000 (04:26 +0000)]
Added several SPARC instructions including conditional move and SETHI.
Added MachineInstrInfo class and subclass UltraSparcInstrInfo.
Added several fields to MachineInstrDescriptor (and renamed it from
MachineInstrInfo).  Latency fields are to support scheduling.

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

22 years agoRemove redundant and unused functions.
Vikram S. Adve [Sat, 28 Jul 2001 04:20:33 +0000 (04:20 +0000)]
Remove redundant and unused functions.

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

22 years agoAdded UltraSparcInstrInfo class to specialize class MachineInstrInfo.
Vikram S. Adve [Sat, 28 Jul 2001 04:19:10 +0000 (04:19 +0000)]
Added UltraSparcInstrInfo class to specialize class MachineInstrInfo.
Relevant changes elsewhere:
Added MachineInstrInfo class and moved instruction-related members there.
Added several fields to MachineInstrDescriptor (and renamed it from
MachineInstrInfo.  Latency fields are to support scheduling.

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

22 years agoEliminate unused function.
Vikram S. Adve [Sat, 28 Jul 2001 04:15:45 +0000 (04:15 +0000)]
Eliminate unused function.

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

22 years agoBug fixes:
Vikram S. Adve [Sat, 28 Jul 2001 04:15:15 +0000 (04:15 +0000)]
Bug fixes:
Store bool result in register after SetCC if the bool value
is used by anything other than a branch.
Forward-substitute operand of a VM instruction for which no
machine instruction is generated (e.g., Cast).
Other changes due to changes to classes TargetMachine and MachineInstr.

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

22 years agoAdded MachineInstrInfo class and moved instruction-related members there.
Vikram S. Adve [Sat, 28 Jul 2001 04:09:37 +0000 (04:09 +0000)]
Added MachineInstrInfo class and moved instruction-related members there.
Added several fields to MachineInstrDescriptor (and renamed it from
MachineInstrInfo.  Latency fields are to support scheduling.

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

22 years agoEliminate separate enum for operand register type.
Vikram S. Adve [Sat, 28 Jul 2001 04:06:37 +0000 (04:06 +0000)]
Eliminate separate enum for operand register type.
Use union for alternative data for different operand types.
Add iterator over Value* operands in a MachineInstr.

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

22 years agoWork around a few 'sorting issues' with the bytecode output that causes the bytecode
Chris Lattner [Thu, 26 Jul 2001 16:30:18 +0000 (16:30 +0000)]
Work around a few 'sorting issues' with the bytecode output that causes the bytecode
not to be bit for bit identical.  This is a hack and should be fixed in the future

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

22 years agoDon't write out constants that do not have a name, they will be inlined.
Chris Lattner [Thu, 26 Jul 2001 16:29:38 +0000 (16:29 +0000)]
Don't write out constants that do not have a name, they will be inlined.

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

22 years agoRefactor some of the constant stuff so that we can return complex constant
Chris Lattner [Thu, 26 Jul 2001 16:29:15 +0000 (16:29 +0000)]
Refactor some of the constant stuff so that we can return complex constant
values directly.  This was causing test failures. :(

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

22 years agoAdd an arg to insertVal to allow us to prevent builtin types from being ignored
Chris Lattner [Thu, 26 Jul 2001 16:28:37 +0000 (16:28 +0000)]
Add an arg to insertVal to allow us to prevent builtin types from being ignored
when they are inserted.

Ignore constant values without names.  If they are used, they will be inlined.

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

22 years agoAdd an arg to insertVal to allow us to prevent builtin types from being ignored
Chris Lattner [Thu, 26 Jul 2001 16:28:18 +0000 (16:28 +0000)]
Add an arg to insertVal to allow us to prevent builtin types from being ignored
when they are inserted

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

22 years agoNew test for varargs functions
Chris Lattner [Wed, 25 Jul 2001 22:49:12 +0000 (22:49 +0000)]
New test for varargs functions

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

22 years agoAdd library dep
Chris Lattner [Wed, 25 Jul 2001 22:48:43 +0000 (22:48 +0000)]
Add library dep

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

22 years agoParenthesize output for expranalyze so that pointer stuff being multiplied isn't...
Chris Lattner [Wed, 25 Jul 2001 22:48:37 +0000 (22:48 +0000)]
Parenthesize output for expranalyze so that pointer stuff being multiplied isn't confusing

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

22 years agoBuild as before dis
Chris Lattner [Wed, 25 Jul 2001 22:48:09 +0000 (22:48 +0000)]
Build as before dis

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

22 years agoAdd support for extern varargs methods & varargs method calls
Chris Lattner [Wed, 25 Jul 2001 22:47:55 +0000 (22:47 +0000)]
Add support for extern varargs methods & varargs method calls

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

22 years agoAdd support for extern varargs methods & varargs method calls
Chris Lattner [Wed, 25 Jul 2001 22:47:46 +0000 (22:47 +0000)]
Add support for extern varargs methods & varargs method calls
Remove tool generated files

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

22 years agoFix a bug when compiling 'shl ubyte * %var, ubyte 2'
Chris Lattner [Wed, 25 Jul 2001 22:47:32 +0000 (22:47 +0000)]
Fix a bug when compiling 'shl ubyte * %var, ubyte 2'

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

22 years agoFilter out noncore stuff
Chris Lattner [Wed, 25 Jul 2001 22:46:22 +0000 (22:46 +0000)]
Filter out noncore stuff

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

22 years agoFixed a bug exposed when doing something like this: <program> -notanoption --help
Chris Lattner [Wed, 25 Jul 2001 18:40:49 +0000 (18:40 +0000)]
Fixed a bug exposed when doing something like this:   <program> -notanoption --help

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

22 years agoChanged printValue() to print constant value if the value is a constant.
Ruchira Sasanka [Tue, 24 Jul 2001 18:21:21 +0000 (18:21 +0000)]
Changed printValue() to print constant value if the value is a constant.

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

22 years ago*** empty log message ***
Ruchira Sasanka [Tue, 24 Jul 2001 17:14:13 +0000 (17:14 +0000)]
*** empty log message ***

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

22 years agoDoh! Wrong Optional flag. :(
Chris Lattner [Mon, 23 Jul 2001 23:14:23 +0000 (23:14 +0000)]
Doh!  Wrong Optional flag.  :(

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

22 years agoAdd a comment indicating that there is documentation of the library
Chris Lattner [Mon, 23 Jul 2001 23:04:07 +0000 (23:04 +0000)]
Add a comment indicating that there is documentation of the library

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

22 years agoInitial checking of some rough documentation for commandline library
Chris Lattner [Mon, 23 Jul 2001 23:03:12 +0000 (23:03 +0000)]
Initial checking of some rough documentation for commandline library

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

22 years agoChange option name slightly
Chris Lattner [Mon, 23 Jul 2001 23:02:51 +0000 (23:02 +0000)]
Change option name slightly

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

22 years agoMinor changes to implementation of CommandLine library to let users override
Chris Lattner [Mon, 23 Jul 2001 23:02:45 +0000 (23:02 +0000)]
Minor changes to implementation of CommandLine library to let users override
options forced by different  subclasses of Option

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

22 years agoAdd a missing </a> tag
Chris Lattner [Mon, 23 Jul 2001 20:40:41 +0000 (20:40 +0000)]
Add a missing </a> tag

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

22 years agoUse the new Alias command line option
Chris Lattner [Mon, 23 Jul 2001 20:22:30 +0000 (20:22 +0000)]
Use the new Alias command line option

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

22 years agoCommandLine library cleanup. No longer use getValue/setValue, instead, just treat...
Chris Lattner [Mon, 23 Jul 2001 19:27:24 +0000 (19:27 +0000)]
CommandLine library cleanup.  No longer use getValue/setValue, instead, just treat the commandline
args as the objects they represent and the "right thing" will happen

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

22 years agoDoh! Wrong accessor. Caused 'can not read bytecode' errors. :(
Chris Lattner [Mon, 23 Jul 2001 18:51:23 +0000 (18:51 +0000)]
Doh!  Wrong accessor.  Caused 'can not read bytecode' errors.  :(

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

22 years ago-help is verbose enough that we don't need this anymore
Chris Lattner [Mon, 23 Jul 2001 18:31:02 +0000 (18:31 +0000)]
-help is verbose enough that we don't need this anymore

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

22 years agoEliminated the Unique class in favor of NonCopyable and NonCopyableV
Chris Lattner [Mon, 23 Jul 2001 18:26:21 +0000 (18:26 +0000)]
Eliminated the Unique class in favor of NonCopyable and NonCopyableV

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

22 years agoMoved inline/llvm/Tools/* to include/llvm/Support/*
Chris Lattner [Mon, 23 Jul 2001 17:46:59 +0000 (17:46 +0000)]
Moved inline/llvm/Tools/* to include/llvm/Support/*

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

22 years agoInitial checkin
Chris Lattner [Mon, 23 Jul 2001 17:17:47 +0000 (17:17 +0000)]
Initial checkin

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

22 years agoFix coding style issues to actually attempt to be somewhat uniform
Chris Lattner [Mon, 23 Jul 2001 05:03:15 +0000 (05:03 +0000)]
Fix coding style issues to actually attempt to be somewhat uniform

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

22 years agoNonpolymorphic class, doesn't need a virtual dtor!
Chris Lattner [Mon, 23 Jul 2001 03:57:05 +0000 (03:57 +0000)]
Nonpolymorphic class, doesn't need a virtual dtor!

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

22 years agoClean up hash table usage
Chris Lattner [Mon, 23 Jul 2001 03:50:57 +0000 (03:50 +0000)]
Clean up hash table usage
Remove opaque pointer used for C compatibility which isn't an issue

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

22 years agoRemoval of the redundant CompileContext wrapper
Chris Lattner [Mon, 23 Jul 2001 03:09:03 +0000 (03:09 +0000)]
Removal of the redundant CompileContext wrapper

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

22 years agoVerbosify descriptions
Chris Lattner [Mon, 23 Jul 2001 02:54:25 +0000 (02:54 +0000)]
Verbosify descriptions

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

22 years agoLarge scale changes to implement new command line argument facility
Chris Lattner [Mon, 23 Jul 2001 02:35:57 +0000 (02:35 +0000)]
Large scale changes to implement new command line argument facility

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

22 years agoRemove dependence on command line library. Silly anyway.
Chris Lattner [Sun, 22 Jul 2001 18:36:00 +0000 (18:36 +0000)]
Remove dependence on command line library.  Silly anyway.

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

22 years agoMake it pickier
Chris Lattner [Sun, 22 Jul 2001 05:45:46 +0000 (05:45 +0000)]
Make it pickier

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

22 years agoAdd flag for emacs so it realizes it's C++ code
Chris Lattner [Sun, 22 Jul 2001 05:15:16 +0000 (05:15 +0000)]
Add flag for emacs so it realizes it's C++ code

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

22 years agoNew test case
Chris Lattner [Sun, 22 Jul 2001 05:00:34 +0000 (05:00 +0000)]
New test case

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

22 years agoPrivatize LLCOptions. It had no business being visible to the entire
Chris Lattner [Sun, 22 Jul 2001 04:40:02 +0000 (04:40 +0000)]
Privatize LLCOptions.  It had no business being visible to the entire
program.

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