oota-llvm.git
23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 years agoMove private header into private directory
Chris Lattner [Sun, 22 Jul 2001 03:59:25 +0000 (03:59 +0000)]
Move private header into private directory

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

23 years agoConvert from using C style char*'s to strings.
Chris Lattner [Sun, 22 Jul 2001 03:57:31 +0000 (03:57 +0000)]
Convert from using C style char*'s to strings.

Look ma, no strdups

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

23 years agoRemove String file some more
Chris Lattner [Sun, 22 Jul 2001 00:46:48 +0000 (00:46 +0000)]
Remove String file some more

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

23 years agoRemove stringutils.h file
Chris Lattner [Sun, 22 Jul 2001 00:18:33 +0000 (00:18 +0000)]
Remove stringutils.h file

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

23 years agoDestroy the StringUtils.h file
Chris Lattner [Sun, 22 Jul 2001 00:18:10 +0000 (00:18 +0000)]
Destroy the StringUtils.h file

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

23 years agoEliminate lots of unnecessary #includes and forward decls
Chris Lattner [Sat, 21 Jul 2001 23:24:48 +0000 (23:24 +0000)]
Eliminate lots of unnecessary #includes and forward decls
there are probably more to kill

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

23 years agoEliminate many unneccesary #includes
Chris Lattner [Sat, 21 Jul 2001 22:59:56 +0000 (22:59 +0000)]
Eliminate many unneccesary #includes

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

23 years agoMake code fit in 80 columns more
Chris Lattner [Sat, 21 Jul 2001 22:57:05 +0000 (22:57 +0000)]
Make code fit in 80 columns more

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

23 years agoRemove unneccesary #includes
Chris Lattner [Sat, 21 Jul 2001 22:53:35 +0000 (22:53 +0000)]
Remove unneccesary #includes

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

23 years agoExterminate nasty Cisms
Chris Lattner [Sat, 21 Jul 2001 22:42:09 +0000 (22:42 +0000)]
Exterminate nasty Cisms

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

23 years agoRefer to include/llvm/CodeGen not Codegen
Chris Lattner [Sat, 21 Jul 2001 22:32:34 +0000 (22:32 +0000)]
Refer to include/llvm/CodeGen not Codegen

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

23 years agoInstructions for use
Chris Lattner [Sat, 21 Jul 2001 21:05:39 +0000 (21:05 +0000)]
Instructions for use

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

23 years agoMake sure we build all of the code!
Chris Lattner [Sat, 21 Jul 2001 21:04:03 +0000 (21:04 +0000)]
Make sure we build all of the code!

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

23 years agoRenamed include/llvm/Codegen to include/llvm/CodeGen
Chris Lattner [Sat, 21 Jul 2001 20:58:30 +0000 (20:58 +0000)]
Renamed include/llvm/Codegen to include/llvm/CodeGen

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

23 years agoFix code to be in a consistent style
Chris Lattner [Sat, 21 Jul 2001 20:09:07 +0000 (20:09 +0000)]
Fix code to be in a consistent style

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

23 years agoMore minor reorganizations
Chris Lattner [Sat, 21 Jul 2001 20:08:52 +0000 (20:08 +0000)]
More minor reorganizations

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

23 years agoRemove getTempValuesForMachineCode from the Instruction interface
Chris Lattner [Sat, 21 Jul 2001 20:04:10 +0000 (20:04 +0000)]
Remove getTempValuesForMachineCode from the Instruction interface
to remove dependency on <vector>

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

23 years agoFilter out the sparc.burm.c file
Chris Lattner [Sat, 21 Jul 2001 19:43:08 +0000 (19:43 +0000)]
Filter out the sparc.burm.c file

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

23 years agoMoved LLC subdir to the tools top level directory
Chris Lattner [Sat, 21 Jul 2001 19:33:01 +0000 (19:33 +0000)]
Moved LLC subdir to the tools top level directory

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

23 years agoMake the makefile work
Chris Lattner [Sat, 21 Jul 2001 19:31:40 +0000 (19:31 +0000)]
Make the makefile work

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

23 years agoAdd new ctor for ConstPoolBool
Chris Lattner [Sat, 21 Jul 2001 19:16:08 +0000 (19:16 +0000)]
Add new ctor for ConstPoolBool

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

23 years agoAdd new constructor for const pool bool
Chris Lattner [Sat, 21 Jul 2001 19:15:26 +0000 (19:15 +0000)]
Add new constructor for const pool bool

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

23 years agoAdd support for casts
Chris Lattner [Sat, 21 Jul 2001 19:10:49 +0000 (19:10 +0000)]
Add support for casts

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

23 years agoAdd support for casting operators
Chris Lattner [Sat, 21 Jul 2001 19:10:33 +0000 (19:10 +0000)]
Add support for casting operators

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

23 years agoSupport changed expression api
Chris Lattner [Sat, 21 Jul 2001 19:08:44 +0000 (19:08 +0000)]
Support changed expression api

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

23 years agoMore functionality, renamed API
Chris Lattner [Sat, 21 Jul 2001 19:07:19 +0000 (19:07 +0000)]
More functionality, renamed API

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

23 years agoMoved isIntegral to the Type system
Chris Lattner [Sat, 21 Jul 2001 19:02:43 +0000 (19:02 +0000)]
Moved isIntegral to the Type system
Renamed equals(char) to equalsInt(char).  Made it a const memfunc

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

23 years agoAutodep functionality broken. Remove so we get successful builds
Chris Lattner [Sat, 21 Jul 2001 18:59:13 +0000 (18:59 +0000)]
Autodep functionality broken.  Remove so we get successful builds

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

23 years agoVersion of testmemory to test alloca, load and store.
Vikram S. Adve [Sat, 21 Jul 2001 12:46:12 +0000 (12:46 +0000)]
Version of testmemory to test alloca, load and store.

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

23 years agoUsed a bigger constant in loopfunc.ll that doesn't fit in immed field.
Vikram S. Adve [Sat, 21 Jul 2001 12:44:24 +0000 (12:44 +0000)]
Used a bigger constant in loopfunc.ll that doesn't fit in immed field.

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

23 years agoUtility routines for simpler access to the value of an integer constant.
Vikram S. Adve [Sat, 21 Jul 2001 12:44:00 +0000 (12:44 +0000)]
Utility routines for simpler access to the value of an integer constant.

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

23 years agoProgram options class.
Vikram S. Adve [Sat, 21 Jul 2001 12:43:07 +0000 (12:43 +0000)]
Program options class.

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

23 years agoDriver and options for the llc compiler.
Vikram S. Adve [Sat, 21 Jul 2001 12:42:29 +0000 (12:42 +0000)]
Driver and options for the llc compiler.

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

23 years agoDescription of the SPARC as a target architecture.
Vikram S. Adve [Sat, 21 Jul 2001 12:42:19 +0000 (12:42 +0000)]
Description of the SPARC as a target architecture.

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

23 years agoBase clas for a description of a target architecture.
Vikram S. Adve [Sat, 21 Jul 2001 12:42:08 +0000 (12:42 +0000)]
Base clas for a description of a target architecture.

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

23 years agoInstruction selection via pattern matching on instruction trees using BURG.
Vikram S. Adve [Sat, 21 Jul 2001 12:41:50 +0000 (12:41 +0000)]
Instruction selection via pattern matching on instruction trees using BURG.

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

23 years ago*** empty log message ***
Vikram S. Adve [Sat, 21 Jul 2001 12:41:01 +0000 (12:41 +0000)]
*** empty log message ***

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

23 years agoAdded CodeGen, LLC, and Support.
Vikram S. Adve [Sat, 21 Jul 2001 12:40:37 +0000 (12:40 +0000)]
Added CodeGen, LLC, and Support.

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

23 years agoGeneral support utilities like a program options class and a StringMap
Vikram S. Adve [Sat, 21 Jul 2001 12:40:18 +0000 (12:40 +0000)]
General support utilities like a program options class and a StringMap
class for mapping strings to arbitrary things.

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

23 years agoCompileContext and options class for the llc compiler.
Vikram S. Adve [Sat, 21 Jul 2001 12:39:30 +0000 (12:39 +0000)]
CompileContext and options class for the llc compiler.

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

23 years agoHeader files for the target architecture description and for instruction
Vikram S. Adve [Sat, 21 Jul 2001 12:39:03 +0000 (12:39 +0000)]
Header files for the target architecture description and for instruction
selection, and instances of these for the SPARC.

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

23 years agoAdded support for getting the dependence of an executable on its libs,
Vikram S. Adve [Sat, 21 Jul 2001 12:38:14 +0000 (12:38 +0000)]
Added support for getting the dependence of an executable on its libs,
using a variable to get the list of libraries on the link path.
BUG: If the library in the same directory as the executable is missing,
BUG: gnumake will build the library but then fail when linking the executable
BUG: saying the library was not found.  Need a better hack.

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

23 years agoAdd isIntegral() method to SignedIntType and UnsignedIntType.
Vikram S. Adve [Sat, 21 Jul 2001 12:32:48 +0000 (12:32 +0000)]
Add isIntegral() method to SignedIntType and UnsignedIntType.

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

23 years agoProvide simpler ways to extract the value of an integer constant.
Vikram S. Adve [Fri, 20 Jul 2001 21:11:07 +0000 (21:11 +0000)]
Provide simpler ways to extract the value of an integer constant.

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

23 years agoCompute and cache information about the storage size and layout
Vikram S. Adve [Fri, 20 Jul 2001 21:09:17 +0000 (21:09 +0000)]
Compute and cache information about the storage size and layout
of structures.  This information is machine-dependent.

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

23 years agoProvide uniform access to the pointer operand and to the index
Vikram S. Adve [Fri, 20 Jul 2001 21:07:06 +0000 (21:07 +0000)]
Provide uniform access to the pointer operand and to the index
operands (if any) for different types of MemAccessInst's.

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

23 years agoAdded a representation of the machine instructions generated
Vikram S. Adve [Fri, 20 Jul 2001 21:05:02 +0000 (21:05 +0000)]
Added a representation of the machine instructions generated
for a VM instruction.

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

23 years agoStart of expression analysis support
Chris Lattner [Fri, 20 Jul 2001 19:17:55 +0000 (19:17 +0000)]
Start of expression analysis support

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

23 years agoHeader to raise and lower representation
Chris Lattner [Fri, 20 Jul 2001 19:17:47 +0000 (19:17 +0000)]
Header to raise and lower representation

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

23 years agoAdd support to call LevelRaise
Chris Lattner [Fri, 20 Jul 2001 19:16:47 +0000 (19:16 +0000)]
Add support to call LevelRaise

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