Commit Graph

  • 4f23166133 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. Vikram S. Adve 2001-07-28 04:15:15 +00:00
  • 44a853cc53 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. Vikram S. Adve 2001-07-28 04:09:37 +00:00
  • 6a175e01eb Eliminate separate enum for operand register type. Use union for alternative data for different operand types. Add iterator over Value* operands in a MachineInstr. Vikram S. Adve 2001-07-28 04:06:37 +00:00
  • 8ce0669a56 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 Chris Lattner 2001-07-26 16:30:18 +00:00
  • 1333ed5b4f Don't write out constants that do not have a name, they will be inlined. Chris Lattner 2001-07-26 16:29:38 +00:00
  • bcbf6baf10 Refactor some of the constant stuff so that we can return complex constant values directly. This was causing test failures. :( Chris Lattner 2001-07-26 16:29:15 +00:00
  • 9b50c1578d Add an arg to insertVal to allow us to prevent builtin types from being ignored when they are inserted. Chris Lattner 2001-07-26 16:28:37 +00:00
  • a25809dda4 Add an arg to insertVal to allow us to prevent builtin types from being ignored when they are inserted Chris Lattner 2001-07-26 16:28:18 +00:00
  • c628b1790d New test for varargs functions Chris Lattner 2001-07-25 22:49:12 +00:00
  • 0c4897e5c5 Add library dep Chris Lattner 2001-07-25 22:48:43 +00:00
  • da5cfa369f Parenthesize output for expranalyze so that pointer stuff being multiplied isn't confusing Chris Lattner 2001-07-25 22:48:37 +00:00
  • f3a5981663 Build as before dis Chris Lattner 2001-07-25 22:48:09 +00:00
  • e5a57ee363 Add support for extern varargs methods & varargs method calls Chris Lattner 2001-07-25 22:47:55 +00:00
  • 8b81bf5046 Add support for extern varargs methods & varargs method calls Remove tool generated files Chris Lattner 2001-07-25 22:47:46 +00:00
  • 793d678316 Fix a bug when compiling 'shl ubyte * %var, ubyte 2' Chris Lattner 2001-07-25 22:47:32 +00:00
  • 50f98f0702 Filter out noncore stuff Chris Lattner 2001-07-25 22:46:22 +00:00
  • 3805e4ccfa Fixed a bug exposed when doing something like this: <program> -notanoption --help Chris Lattner 2001-07-25 18:40:49 +00:00
  • b2d11bad7e Changed printValue() to print constant value if the value is a constant. Ruchira Sasanka 2001-07-24 18:21:21 +00:00
  • 683847fb75 *** empty log message *** Ruchira Sasanka 2001-07-24 17:14:13 +00:00
  • 2233a07b68 Doh! Wrong Optional flag. :( Chris Lattner 2001-07-23 23:14:23 +00:00
  • 03fe1bd149 Add a comment indicating that there is documentation of the library Chris Lattner 2001-07-23 23:04:07 +00:00
  • 209c7f41f9 Initial checking of some rough documentation for commandline library Chris Lattner 2001-07-23 23:03:12 +00:00
  • afb0cbb9f8 Change option name slightly Chris Lattner 2001-07-23 23:02:51 +00:00
  • dc4693dbcf Minor changes to implementation of CommandLine library to let users override options forced by different subclasses of Option Chris Lattner 2001-07-23 23:02:45 +00:00
  • 7ae36bbe06 Add a missing </a> tag Chris Lattner 2001-07-23 20:40:41 +00:00
  • a8e1fd30ed Use the new Alias command line option Chris Lattner 2001-07-23 20:22:30 +00:00
  • 1e78f36127 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 Chris Lattner 2001-07-23 19:27:24 +00:00
  • b49ff5c5ee Doh! Wrong accessor. Caused 'can not read bytecode' errors. :( Chris Lattner 2001-07-23 18:51:23 +00:00
  • e2aad23855 -help is verbose enough that we don't need this anymore Chris Lattner 2001-07-23 18:31:02 +00:00
  • 4bc3daaa3f Eliminated the Unique class in favor of NonCopyable and NonCopyableV Chris Lattner 2001-07-23 18:26:21 +00:00
  • 57dbb3ad63 Moved inline/llvm/Tools/* to include/llvm/Support/* Chris Lattner 2001-07-23 17:46:59 +00:00
  • dbab15a2c9 Initial checkin Chris Lattner 2001-07-23 17:17:47 +00:00
  • 50d89859e2 Fix coding style issues to actually attempt to be somewhat uniform Chris Lattner 2001-07-23 05:03:15 +00:00
  • d8fa8e2aa1 Nonpolymorphic class, doesn't need a virtual dtor! Chris Lattner 2001-07-23 03:57:05 +00:00
  • 75279ccc75 Clean up hash table usage Remove opaque pointer used for C compatibility which isn't an issue Chris Lattner 2001-07-23 03:50:57 +00:00
  • 6c5a32d545 Removal of the redundant CompileContext wrapper Chris Lattner 2001-07-23 03:09:03 +00:00
  • 0f68368fd8 Verbosify descriptions Chris Lattner 2001-07-23 02:54:25 +00:00
  • 8f367bd3c0 Large scale changes to implement new command line argument facility Chris Lattner 2001-07-23 02:35:57 +00:00
  • a28504313d Remove dependence on command line library. Silly anyway. Chris Lattner 2001-07-22 18:36:00 +00:00
  • 86b5f3c524 Make it pickier Chris Lattner 2001-07-22 05:45:46 +00:00
  • 3fcf6ec1e9 Add flag for emacs so it realizes it's C++ code Chris Lattner 2001-07-22 05:15:16 +00:00
  • 90147816f6 New test case Chris Lattner 2001-07-22 05:00:34 +00:00
  • aceb9132b7 Privatize LLCOptions. It had no business being visible to the entire program. Chris Lattner 2001-07-22 04:40:02 +00:00
  • c21d4fcb20 Move private header into private directory Chris Lattner 2001-07-22 03:59:25 +00:00
  • 953e0d7076 Convert from using C style char*'s to strings. Chris Lattner 2001-07-22 03:57:31 +00:00
  • 29f921ca75 Remove String file some more Chris Lattner 2001-07-22 00:46:48 +00:00
  • c03520210c Remove stringutils.h file Chris Lattner 2001-07-22 00:18:33 +00:00
  • 7ac1040ece Destroy the StringUtils.h file Chris Lattner 2001-07-22 00:18:10 +00:00
  • 68498cefe6 Eliminate lots of unnecessary #includes and forward decls there are probably more to kill Chris Lattner 2001-07-21 23:24:48 +00:00
  • 942d99e4c8 Eliminate many unneccesary #includes Chris Lattner 2001-07-21 22:59:56 +00:00
  • 51a9ad93af Make code fit in 80 columns more Chris Lattner 2001-07-21 22:57:05 +00:00
  • 36765b0c3f Remove unneccesary #includes Chris Lattner 2001-07-21 22:53:35 +00:00
  • 57738965f8 Exterminate nasty Cisms Chris Lattner 2001-07-21 22:42:09 +00:00
  • e23fb7c8ee Refer to include/llvm/CodeGen not Codegen Chris Lattner 2001-07-21 22:32:34 +00:00
  • a99495ae53 Instructions for use Chris Lattner 2001-07-21 21:05:39 +00:00
  • ea1c7b6f7d Make sure we build all of the code! Chris Lattner 2001-07-21 21:04:03 +00:00
  • 7e583cfafe Renamed include/llvm/Codegen to include/llvm/CodeGen Chris Lattner 2001-07-21 20:58:30 +00:00
  • f9be9a9bf1 Fix code to be in a consistent style Chris Lattner 2001-07-21 20:09:07 +00:00
  • 87bdcaf2b8 More minor reorganizations Chris Lattner 2001-07-21 20:08:52 +00:00
  • cfad5df977 Remove getTempValuesForMachineCode from the Instruction interface to remove dependency on <vector> Chris Lattner 2001-07-21 20:04:10 +00:00
  • 90e7453e35 Filter out the sparc.burm.c file Chris Lattner 2001-07-21 19:43:08 +00:00
  • d9c03441b5 Moved LLC subdir to the tools top level directory Chris Lattner 2001-07-21 19:33:01 +00:00
  • 0df0e74f2b Make the makefile work Chris Lattner 2001-07-21 19:31:40 +00:00
  • d7fa0fdbd7 Add new ctor for ConstPoolBool Chris Lattner 2001-07-21 19:16:08 +00:00
  • 1a2cefcb40 Add new constructor for const pool bool Chris Lattner 2001-07-21 19:15:26 +00:00
  • f59bd5331e Add support for casts Chris Lattner 2001-07-21 19:10:49 +00:00
  • 7e314d2042 Add support for casting operators Chris Lattner 2001-07-21 19:10:33 +00:00
  • 85202d4622 Support changed expression api Chris Lattner 2001-07-21 19:08:44 +00:00
  • 19f31f28d8 More functionality, renamed API Chris Lattner 2001-07-21 19:07:19 +00:00
  • f98e88f745 Moved isIntegral to the Type system Renamed equals(char) to equalsInt(char). Made it a const memfunc Chris Lattner 2001-07-21 19:02:43 +00:00
  • e6b9529b48 Autodep functionality broken. Remove so we get successful builds Chris Lattner 2001-07-21 18:59:13 +00:00
  • 71de0cea1d Version of testmemory to test alloca, load and store. Vikram S. Adve 2001-07-21 12:46:12 +00:00
  • 1677d0d6f1 Used a bigger constant in loopfunc.ll that doesn't fit in immed field. Vikram S. Adve 2001-07-21 12:44:24 +00:00
  • 8ee0064983 Utility routines for simpler access to the value of an integer constant. Vikram S. Adve 2001-07-21 12:44:00 +00:00
  • 6beedac106 Program options class. Vikram S. Adve 2001-07-21 12:43:07 +00:00
  • cb465fc71e Driver and options for the llc compiler. Vikram S. Adve 2001-07-21 12:42:29 +00:00
  • a21cf20411 Description of the SPARC as a target architecture. Vikram S. Adve 2001-07-21 12:42:19 +00:00
  • daae69927f Base clas for a description of a target architecture. Vikram S. Adve 2001-07-21 12:42:08 +00:00
  • 70bc4b5d1a Instruction selection via pattern matching on instruction trees using BURG. Vikram S. Adve 2001-07-21 12:41:50 +00:00
  • 05f4745c01 *** empty log message *** Vikram S. Adve 2001-07-21 12:41:01 +00:00
  • 4e1aeca8c9 Added CodeGen, LLC, and Support. Vikram S. Adve 2001-07-21 12:40:37 +00:00
  • 14bc392291 General support utilities like a program options class and a StringMap class for mapping strings to arbitrary things. Vikram S. Adve 2001-07-21 12:40:18 +00:00
  • 9ad9f09ef2 CompileContext and options class for the llc compiler. Vikram S. Adve 2001-07-21 12:39:30 +00:00
  • 23ee550765 Header files for the target architecture description and for instruction selection, and instances of these for the SPARC. Vikram S. Adve 2001-07-21 12:39:03 +00:00
  • c4651a91c0 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. Vikram S. Adve 2001-07-21 12:38:14 +00:00
  • a4e6f88fbb Add isIntegral() method to SignedIntType and UnsignedIntType. Vikram S. Adve 2001-07-21 12:32:48 +00:00
  • 230365abf7 Provide simpler ways to extract the value of an integer constant. Vikram S. Adve 2001-07-20 21:11:07 +00:00
  • d01d99b2a0 Compute and cache information about the storage size and layout of structures. This information is machine-dependent. Vikram S. Adve 2001-07-20 21:09:17 +00:00
  • 6575a1d134 Provide uniform access to the pointer operand and to the index operands (if any) for different types of MemAccessInst's. Vikram S. Adve 2001-07-20 21:07:06 +00:00
  • 3344615555 Added a representation of the machine instructions generated for a VM instruction. Vikram S. Adve 2001-07-20 21:05:02 +00:00
  • 369bbeb62c Start of expression analysis support Chris Lattner 2001-07-20 19:17:55 +00:00
  • ba7cf16dbb Header to raise and lower representation Chris Lattner 2001-07-20 19:17:47 +00:00
  • 955f899bcd Add support to call LevelRaise Chris Lattner 2001-07-20 19:16:47 +00:00
  • 1546bff423 Update makefile for more accurate deps Include support to print out Expression types Chris Lattner 2001-07-20 19:16:29 +00:00
  • 37bf6308ab Implement ensureTypeAvailable Implement ConstPoolInt class Chris Lattner 2001-07-20 19:16:02 +00:00
  • b5bcbc3bef Add support for constant propogation of multiplies Chris Lattner 2001-07-20 19:15:36 +00:00
  • 622f740a7d Factor out WriteAsOperand. Chris Lattner 2001-07-20 19:15:21 +00:00
  • 698b56e690 Add a comment. Chris Lattner 2001-07-20 19:15:08 +00:00
  • a137f87051 Add multiply as a supported constant propogation operation Include the LevelChange.h header in AllOpts.h Chris Lattner 2001-07-20 19:14:41 +00:00
  • e3ad3575b0 New function: WriteAsOperand. Chris Lattner 2001-07-20 19:14:01 +00:00