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

23 years agoUpdate makefile for more accurate deps
Chris Lattner [Fri, 20 Jul 2001 19:16:29 +0000 (19:16 +0000)]
Update makefile for more accurate deps
Include support to print out Expression types

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

23 years agoImplement ensureTypeAvailable
Chris Lattner [Fri, 20 Jul 2001 19:16:02 +0000 (19:16 +0000)]
Implement ensureTypeAvailable
Implement ConstPoolInt class

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

23 years agoAdd support for constant propogation of multiplies
Chris Lattner [Fri, 20 Jul 2001 19:15:36 +0000 (19:15 +0000)]
Add support for constant propogation of multiplies

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

23 years agoFactor out WriteAsOperand.
Chris Lattner [Fri, 20 Jul 2001 19:15:21 +0000 (19:15 +0000)]
Factor out WriteAsOperand.

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

23 years agoAdd a comment.
Chris Lattner [Fri, 20 Jul 2001 19:15:08 +0000 (19:15 +0000)]
Add a comment.

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

23 years agoAdd multiply as a supported constant propogation operation
Chris Lattner [Fri, 20 Jul 2001 19:14:41 +0000 (19:14 +0000)]
Add multiply as a supported constant propogation operation
Include the LevelChange.h header in AllOpts.h

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

23 years agoNew function: WriteAsOperand.
Chris Lattner [Fri, 20 Jul 2001 19:14:01 +0000 (19:14 +0000)]
New function: WriteAsOperand.

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

23 years agoAdd new base class ConstPoolInt, useful for dealing with integral constants
Chris Lattner [Fri, 20 Jul 2001 19:13:28 +0000 (19:13 +0000)]
Add new base class ConstPoolInt, useful for dealing with integral constants

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

23 years agoAdd new method, ensureTypeAvailable
Chris Lattner [Fri, 20 Jul 2001 19:13:04 +0000 (19:13 +0000)]
Add new method, ensureTypeAvailable

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

23 years agoChange is*Type to be a casting convertion operator
Chris Lattner [Fri, 20 Jul 2001 19:12:34 +0000 (19:12 +0000)]
Change is*Type to be a casting convertion operator
Add a new isIntegral virtual function

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

23 years agoAdd an function to BinaryOperator to swap the two operands
Chris Lattner [Fri, 20 Jul 2001 19:09:33 +0000 (19:09 +0000)]
Add an function to BinaryOperator to swap the two operands

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

23 years agoAdd short forms of the get*Type methods.
Chris Lattner [Fri, 20 Jul 2001 19:09:11 +0000 (19:09 +0000)]
Add short forms of the get*Type methods.

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

23 years agoFix nasty typo
Chris Lattner [Fri, 20 Jul 2001 04:39:07 +0000 (04:39 +0000)]
Fix nasty typo

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

23 years agoFix clean target
Chris Lattner [Wed, 18 Jul 2001 23:43:53 +0000 (23:43 +0000)]
Fix clean target

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

23 years agoCompile source files in alphabetical order
Chris Lattner [Wed, 18 Jul 2001 23:43:37 +0000 (23:43 +0000)]
Compile source files in alphabetical order

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

23 years agoFixed typo in comment
Chris Lattner [Mon, 16 Jul 2001 16:17:18 +0000 (16:17 +0000)]
Fixed typo in comment

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

23 years agoSupport external methods
Chris Lattner [Sun, 15 Jul 2001 21:43:45 +0000 (21:43 +0000)]
Support external methods

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

23 years agoNew test case for prototype support
Chris Lattner [Sun, 15 Jul 2001 21:43:17 +0000 (21:43 +0000)]
New test case for prototype support

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

23 years agoReordered link line for correct static linking.
Vikram S. Adve [Sun, 15 Jul 2001 21:13:29 +0000 (21:13 +0000)]
Reordered link line for correct static linking.

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

23 years agoChanged default to building library archives instead of shared objects.
Vikram S. Adve [Sun, 15 Jul 2001 13:16:47 +0000 (13:16 +0000)]
Changed default to building library archives instead of shared objects.
Added support for compiling *.c files.

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

23 years agoImplement forward/external declarations for methods.
Chris Lattner [Sun, 15 Jul 2001 06:35:59 +0000 (06:35 +0000)]
Implement forward/external declarations for methods.

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

23 years agoImplement forward/external declarations for methods. Also, emit an error if a method
Chris Lattner [Sun, 15 Jul 2001 06:35:53 +0000 (06:35 +0000)]
Implement forward/external declarations for methods.  Also, emit an error if a method
is defined more than once, instead of crashing.

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

23 years agoRename 'isMethodExternal' to 'isExternal'
Chris Lattner [Sun, 15 Jul 2001 06:35:24 +0000 (06:35 +0000)]
Rename 'isMethodExternal' to 'isExternal'

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

23 years agoAdd notes on instruction selection pass
Chris Lattner [Sun, 15 Jul 2001 00:23:59 +0000 (00:23 +0000)]
Add notes on instruction selection pass

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

23 years agoNew testcase from GCC doing array operations
Chris Lattner [Sun, 15 Jul 2001 00:18:50 +0000 (00:18 +0000)]
New testcase from GCC doing array operations

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

23 years agoAdd support for assembly printing fp constants
Chris Lattner [Sun, 15 Jul 2001 00:18:39 +0000 (00:18 +0000)]
Add support for assembly printing fp constants

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

23 years agoAdd support to the bytecode writer to recognize floating point constants
Chris Lattner [Sun, 15 Jul 2001 00:17:23 +0000 (00:17 +0000)]
Add support to the bytecode writer to recognize floating point constants

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

23 years agoAdd support to the bytecode reader to recognize floating point constants
Chris Lattner [Sun, 15 Jul 2001 00:17:18 +0000 (00:17 +0000)]
Add support to the bytecode reader to recognize floating point constants

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

23 years agoAdd support to the parser to recognize floating point constants
Chris Lattner [Sun, 15 Jul 2001 00:17:01 +0000 (00:17 +0000)]
Add support to the parser to recognize floating point constants

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

23 years agoAdd a function to convert a double to a string
Chris Lattner [Sun, 15 Jul 2001 00:16:38 +0000 (00:16 +0000)]
Add a function to convert a double to a string

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

23 years agoAdd support to write and read a fixed amount of raw data
Chris Lattner [Sun, 15 Jul 2001 00:16:22 +0000 (00:16 +0000)]
Add support to write and read a fixed amount of raw data

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

23 years agoAdd a note
Chris Lattner [Sun, 15 Jul 2001 00:16:02 +0000 (00:16 +0000)]
Add a note

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

23 years ago* ValueHolder now takes 3 arguments
Chris Lattner [Sat, 14 Jul 2001 06:13:19 +0000 (06:13 +0000)]
* ValueHolder now takes 3 arguments
* Added a few methods to ConstantPool
* ConstPoolVal no longer derives from Value
* Method & Module multiply inherit from SymTabValue & Value now
* Added a GetElementPtrInst::isStructSelector() method

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

23 years agoAdd knowledge about the struct form of the GetElementPtr instruction
Chris Lattner [Sat, 14 Jul 2001 06:11:51 +0000 (06:11 +0000)]
Add knowledge about the struct form of the GetElementPtr instruction

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

23 years agoRemove dependency on the structure of ValueHolder.
Chris Lattner [Sat, 14 Jul 2001 06:11:26 +0000 (06:11 +0000)]
Remove dependency on the structure of ValueHolder.

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

23 years ago* The parent of a constant pool is a symtabvalue, not a value.
Chris Lattner [Sat, 14 Jul 2001 06:10:49 +0000 (06:10 +0000)]
* The parent of a constant pool is a symtabvalue, not a value.

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

23 years agoThe parent of a constant pool is a symtabvalue, not a value.
Chris Lattner [Sat, 14 Jul 2001 06:10:33 +0000 (06:10 +0000)]
The parent of a constant pool is a symtabvalue, not a value.

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

23 years agoAdded some comments, preparing to add global variables and method prototypes
Chris Lattner [Sat, 14 Jul 2001 06:10:16 +0000 (06:10 +0000)]
Added some comments, preparing to add global variables and method prototypes

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

23 years ago* The parent of a constant pool is a SymTabValue, not a value.
Chris Lattner [Sat, 14 Jul 2001 06:08:51 +0000 (06:08 +0000)]
* The parent of a constant pool is a SymTabValue, not a value.

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

23 years agoMade the following changes:
Chris Lattner [Sat, 14 Jul 2001 06:07:58 +0000 (06:07 +0000)]
Made the following changes:
* ValueHolder became a 3 argument template.  This allows for BasicBlock to
  use the value holder arg as a typesafe parent pointer.
* SymTabValue no longer inherits from Value
* Method does not inherit from only SymTabValue.  Now it inherits from both
  STV & Value.
* Module does not inherit from only SymTabValue.  Now it inherits from both
  STV & Value.
* Updated the SymTabValue.h file to reference SymTabValue instead of STDef
  in several places
* Added isArraySelector & isStructSelector to GetElementPtr instruction

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

23 years agoAdded more todo's. Don't I ever accomplish anything?
Chris Lattner [Sat, 14 Jul 2001 06:04:27 +0000 (06:04 +0000)]
Added more todo's.  Don't I ever accomplish anything?

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

23 years agoAdd DebugValue member.
Chris Lattner [Thu, 12 Jul 2001 23:35:26 +0000 (23:35 +0000)]
Add DebugValue member.

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

23 years agoMade it not inline
Chris Lattner [Thu, 12 Jul 2001 23:35:11 +0000 (23:35 +0000)]
Made it not inline

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

23 years agoAdd DebugValue global function
Chris Lattner [Thu, 12 Jul 2001 23:33:53 +0000 (23:33 +0000)]
Add DebugValue global function

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

23 years agoDon't clean out the type plane of the constant pool... this is a hack. FIXME
Chris Lattner [Mon, 9 Jul 2001 19:38:52 +0000 (19:38 +0000)]
Don't clean out the type plane of the constant pool... this is a hack.  FIXME

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

23 years agoMake sure that types go in the constant pool if they are used.
Chris Lattner [Mon, 9 Jul 2001 19:38:36 +0000 (19:38 +0000)]
Make sure that types go in the constant pool if they are used.

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

23 years agohasSideEffects should be marked virtual
Chris Lattner [Mon, 9 Jul 2001 19:38:26 +0000 (19:38 +0000)]
hasSideEffects should be marked virtual
stores and free's have sideeffects

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

23 years agoModify notes
Chris Lattner [Mon, 9 Jul 2001 19:38:08 +0000 (19:38 +0000)]
Modify notes

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

23 years agoFix stupid typo
Chris Lattner [Mon, 9 Jul 2001 16:54:29 +0000 (16:54 +0000)]
Fix stupid typo

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

23 years agoInitial checkin of coding standards
Chris Lattner [Mon, 9 Jul 2001 03:27:08 +0000 (03:27 +0000)]
Initial checkin of coding standards

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

23 years agoUpdated documentation for load, store & getelementptr
Chris Lattner [Mon, 9 Jul 2001 00:26:23 +0000 (00:26 +0000)]
Updated documentation for load, store & getelementptr

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

23 years agoadd coverage of newly implemented instructions.
Chris Lattner [Sun, 8 Jul 2001 23:23:30 +0000 (23:23 +0000)]
add coverage of newly implemented instructions.

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

23 years agoImplementation of Store & GetElementPtr
Chris Lattner [Sun, 8 Jul 2001 23:22:50 +0000 (23:22 +0000)]
Implementation of Store & GetElementPtr

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

23 years agoImplement checking for new instructions
Chris Lattner [Sun, 8 Jul 2001 21:18:49 +0000 (21:18 +0000)]
Implement checking for new instructions

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

23 years agoAdd note
Chris Lattner [Sun, 8 Jul 2001 21:18:41 +0000 (21:18 +0000)]
Add note

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

23 years agoImplemented shl, shl, & load instructions
Chris Lattner [Sun, 8 Jul 2001 21:10:27 +0000 (21:10 +0000)]
Implemented shl, shl, & load instructions

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