oota-llvm.git
20 years agoMake ctor inline, change ValueTy ->unsigned
Chris Lattner [Sun, 27 Jun 2004 18:01:15 +0000 (18:01 +0000)]
Make ctor inline, change ValueTy ->unsigned

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

20 years agoConsider anything with a ValueType that is >= Instruction to be an instruction
Chris Lattner [Sat, 26 Jun 2004 20:51:50 +0000 (20:51 +0000)]
Consider anything with a ValueType that is >= Instruction to be an instruction

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

20 years agoInstancevar was renamed
Chris Lattner [Sat, 26 Jun 2004 20:33:39 +0000 (20:33 +0000)]
Instancevar was renamed

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

20 years agoRearrange some code.
Chris Lattner [Sat, 26 Jun 2004 20:33:27 +0000 (20:33 +0000)]
Rearrange some code.

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

20 years agoDon't call getValueType directly. the LLVM optimizer will turn it into the same...
Chris Lattner [Sat, 26 Jun 2004 19:40:40 +0000 (19:40 +0000)]
Don't call getValueType directly.  the LLVM optimizer will turn it into the same code anyway :)

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

20 years agoThere is no reason to print ValueType here
Chris Lattner [Sat, 26 Jun 2004 19:36:34 +0000 (19:36 +0000)]
There is no reason to print ValueType here

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

20 years agoSimplify code
Chris Lattner [Sat, 26 Jun 2004 19:31:26 +0000 (19:31 +0000)]
Simplify code

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

20 years agoHey, why not just make 'new ReturnInst(BB)' DTRT?
Chris Lattner [Fri, 25 Jun 2004 23:10:30 +0000 (23:10 +0000)]
Hey, why not just make 'new ReturnInst(BB)' DTRT?

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

20 years agonew ReturnInst(BB) does not "do the right thing". Add an assert to catch it
Chris Lattner [Fri, 25 Jun 2004 23:06:57 +0000 (23:06 +0000)]
new ReturnInst(BB) does not "do the right thing".  Add an assert to catch it
sooner rather than later.

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

20 years agoAdd credits entry
Chris Lattner [Fri, 25 Jun 2004 21:00:10 +0000 (21:00 +0000)]
Add credits entry

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

20 years agoFix relative links for nightly testers not hosted on llvm.cs.
Chris Lattner [Fri, 25 Jun 2004 20:57:19 +0000 (20:57 +0000)]
Fix relative links for nightly testers not hosted on llvm.cs.
Patch contributed by Vladimir Merzliakov!

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

20 years agoWrite .bc files to binary ostreams. This shouldn't change anything on unix,
Chris Lattner [Fri, 25 Jun 2004 20:54:43 +0000 (20:54 +0000)]
Write .bc files to binary ostreams.  This shouldn't change anything on unix,
but allows us to generate valid code on hosts (like windows) that do newline
translation for text files.

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

20 years agoNo functionality changes here:
Chris Lattner [Fri, 25 Jun 2004 20:52:10 +0000 (20:52 +0000)]
No functionality changes here:
  * Some warning fixes for MSVC
  * Minor simplification to the deque scanning code

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

20 years agoAllow debugging machine instrs (by printout) before/after isel and regalloc
Misha Brukman [Fri, 25 Jun 2004 19:57:47 +0000 (19:57 +0000)]
Allow debugging machine instrs (by printout) before/after isel and regalloc

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

20 years agoCombine several if stmts with returns into an if-then-elseif-else chain.
Misha Brukman [Fri, 25 Jun 2004 19:24:52 +0000 (19:24 +0000)]
Combine several if stmts with returns into an if-then-elseif-else chain.

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

20 years agoDo not move any values into registers for a void return (there isn't anything).
Misha Brukman [Fri, 25 Jun 2004 19:04:27 +0000 (19:04 +0000)]
Do not move any values into registers for a void return (there isn't anything).

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

20 years agoConvert tabs to spaces.
Misha Brukman [Fri, 25 Jun 2004 18:45:07 +0000 (18:45 +0000)]
Convert tabs to spaces.

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

20 years agoFix opcode: no immediate in an `or r1, r2, r3' (all registers) instr.
Misha Brukman [Fri, 25 Jun 2004 18:36:53 +0000 (18:36 +0000)]
Fix opcode: no immediate in an `or r1, r2, r3' (all registers) instr.

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

20 years agoRemoved the interrupt_handler instrinsic section that I accidently added
John Criswell [Fri, 25 Jun 2004 16:42:50 +0000 (16:42 +0000)]
Removed the interrupt_handler instrinsic section that I accidently added
in my previous commits.  It's not implemented and is out of date.

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

20 years agoGrammar and punctuation fixes.
John Criswell [Fri, 25 Jun 2004 16:05:06 +0000 (16:05 +0000)]
Grammar and punctuation fixes.

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

20 years ago* Be consistent about MachineBB labels and references to them in instr stream
Misha Brukman [Fri, 25 Jun 2004 15:42:10 +0000 (15:42 +0000)]
* Be consistent about MachineBB labels and references to them in instr stream
* Use MachineBB's built-in numbering system instead of reinventing one

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

20 years agoAdded missing quote.
John Criswell [Fri, 25 Jun 2004 15:16:57 +0000 (15:16 +0000)]
Added missing quote.

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

20 years ago* Initialize the entire array statically, not member-at-a-time
Misha Brukman [Fri, 25 Jun 2004 15:11:34 +0000 (15:11 +0000)]
* Initialize the entire array statically, not member-at-a-time
* Remove x86-specific comment re: intel vs. at&t assembly syntax

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

20 years agoFix bug in previous checkin.
Misha Brukman [Fri, 25 Jun 2004 14:57:19 +0000 (14:57 +0000)]
Fix bug in previous checkin.

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

20 years ago* Wrap long lines
Misha Brukman [Fri, 25 Jun 2004 14:50:41 +0000 (14:50 +0000)]
* Wrap long lines
* Replace silent fall-through FIXME comments with an error to cerr and an abort
* No need to set size of statically initialized arrays

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

20 years agoExcise X86-specific comments.
Misha Brukman [Fri, 25 Jun 2004 14:13:26 +0000 (14:13 +0000)]
Excise X86-specific comments.

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

20 years agoVladimir Prus also contributed the LowerConstantExprs pass.
Misha Brukman [Fri, 25 Jun 2004 13:37:03 +0000 (13:37 +0000)]
Vladimir Prus also contributed the LowerConstantExprs pass.

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

20 years agoNew constant expression lowering pass to simplify your instruction selection needs.
Chris Lattner [Fri, 25 Jun 2004 07:48:09 +0000 (07:48 +0000)]
New constant expression lowering pass to simplify your instruction selection needs.

Contributed by Vladimir Prus!

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

20 years agoNew testcase for constant expression lowering pass, contributed by Vladimir Prus!
Chris Lattner [Fri, 25 Jun 2004 07:47:13 +0000 (07:47 +0000)]
New testcase for constant expression lowering pass, contributed by Vladimir Prus!

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

20 years agoPrototype for new ConstantExpr lowering pass, contributed by Vladimir Prus!
Chris Lattner [Fri, 25 Jun 2004 07:41:06 +0000 (07:41 +0000)]
Prototype for new ConstantExpr lowering pass, contributed by Vladimir Prus!

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

20 years agoDon't try to run qmtests if we fail to build the tree. The qmtests (at
Brian Gaeke [Fri, 25 Jun 2004 07:25:28 +0000 (07:25 +0000)]
Don't try to run qmtests if we fail to build the tree. The qmtests (at
least, on macosx) will spiral out of control instead of failing gracefully.

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

20 years agoMake sure to link all IPA's into opt, so that it has access to stuff like
Chris Lattner [Fri, 25 Jun 2004 05:19:17 +0000 (05:19 +0000)]
Make sure to link all IPA's into opt, so that it has access to stuff like
anders-aa

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

20 years agoFix header
Chris Lattner [Fri, 25 Jun 2004 04:24:22 +0000 (04:24 +0000)]
Fix header

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

20 years ago- Changed Handler.h -> BytecodeHandler.h
Reid Spencer [Fri, 25 Jun 2004 02:32:27 +0000 (02:32 +0000)]
- Changed Handler.h -> BytecodeHandler.h
- Fixed some small coding standard compliance issues in BytecodeHandler.h

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

20 years agoOkay, Module have not been known as 'C' for a LONG time now
Chris Lattner [Fri, 25 Jun 2004 00:42:23 +0000 (00:42 +0000)]
Okay, Module have not been known as 'C' for a LONG time now

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

20 years agoFix more warnings building with VC++
Chris Lattner [Fri, 25 Jun 2004 00:35:55 +0000 (00:35 +0000)]
Fix more warnings building with VC++

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

20 years agoUnbreak the build. tsk tsk
Chris Lattner [Fri, 25 Jun 2004 00:18:02 +0000 (00:18 +0000)]
Unbreak the build.  tsk tsk

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

20 years agoMade a fix so that you can print out MachineInstrs that belong to a MachineBasicBlock...
Tanya Lattner [Fri, 25 Jun 2004 00:13:11 +0000 (00:13 +0000)]
Made a fix so that you can print out MachineInstrs that belong to a MachineBasicBlock that is not yet attached to a MachineFunction. This change includes changing the third operand (TargetMachine) to a pointer for the MachineInstr::print function.

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

20 years agofix warnings
Chris Lattner [Fri, 25 Jun 2004 00:11:25 +0000 (00:11 +0000)]
fix warnings

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

20 years agoAdd option to print out machine code before register allocation.
Misha Brukman [Thu, 24 Jun 2004 23:55:01 +0000 (23:55 +0000)]
Add option to print out machine code before register allocation.

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

20 years agoUse DEBUG() guard for printing out debug info.
Misha Brukman [Thu, 24 Jun 2004 23:54:05 +0000 (23:54 +0000)]
Use DEBUG() guard for printing out debug info.

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

20 years agoAdd a `break' in the switch/case statement between the int/fp sections.
Misha Brukman [Thu, 24 Jun 2004 23:53:24 +0000 (23:53 +0000)]
Add a `break' in the switch/case statement between the int/fp sections.

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

20 years ago* Lowercase the register names
Misha Brukman [Thu, 24 Jun 2004 23:51:00 +0000 (23:51 +0000)]
* Lowercase the register names
* Parenthesize assert() expressions correctly
* Fix spacing around for() and if() statements

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

20 years agoAdd a LowercaseString() utility function, courtesy of brg.
Misha Brukman [Thu, 24 Jun 2004 23:38:52 +0000 (23:38 +0000)]
Add a LowercaseString() utility function, courtesy of brg.

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

20 years ago* LowercaseString moved to StringExtras.h
Misha Brukman [Thu, 24 Jun 2004 23:38:20 +0000 (23:38 +0000)]
* LowercaseString moved to StringExtras.h
* Wrap long line to 80 cols

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

20 years ago* Tabs to spaces
Misha Brukman [Thu, 24 Jun 2004 23:19:36 +0000 (23:19 +0000)]
* Tabs to spaces
* Send an error message to std::cerr before abort()ing

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

20 years agoDefinition of the Bytecode Handler interface. Subclasses can override just
Reid Spencer [Thu, 24 Jun 2004 23:05:07 +0000 (23:05 +0000)]
Definition of the Bytecode Handler interface. Subclasses can override just
the methods they are interested in to perform out-of-band tasks while the
BytecodeReader is constructing a module. Handlers should *not* modify any
of the LLVM IR objects during this process.

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

20 years ago* Tabs to spaces
Misha Brukman [Thu, 24 Jun 2004 23:04:11 +0000 (23:04 +0000)]
* Tabs to spaces
* Remove unnecessary parens, braces, clean up code layout

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

20 years agoUnindent some more code to be consistent.
Misha Brukman [Thu, 24 Jun 2004 22:00:15 +0000 (22:00 +0000)]
Unindent some more code to be consistent.

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

20 years agoUnindent some code, it only needs 2 spaces.
Misha Brukman [Thu, 24 Jun 2004 21:56:15 +0000 (21:56 +0000)]
Unindent some code, it only needs 2 spaces.

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

20 years agoIn emitting code for a GEP instr, iterate over GEPTypes because there is one
Misha Brukman [Thu, 24 Jun 2004 21:54:47 +0000 (21:54 +0000)]
In emitting code for a GEP instr, iterate over GEPTypes because there is one
more operand in GEPOps than there are types in GEPTypes: the pointer that is the
first operand of the GEP instruction.

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

20 years ago* Capitalize `Java'
Misha Brukman [Thu, 24 Jun 2004 21:47:35 +0000 (21:47 +0000)]
* Capitalize `Java'
* Sprinkle hypens liberally
* Fix some grammar in comments

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

20 years agoConvert tabs to spaces.
Misha Brukman [Thu, 24 Jun 2004 21:31:16 +0000 (21:31 +0000)]
Convert tabs to spaces.

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

20 years agoAdd FSTOD and FDTOS conversion instructions.
Brian Gaeke [Thu, 24 Jun 2004 21:22:09 +0000 (21:22 +0000)]
Add FSTOD and FDTOS conversion instructions.

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

20 years agoSupport cast float to float, cast double to float, and cast float to double.
Brian Gaeke [Thu, 24 Jun 2004 21:22:08 +0000 (21:22 +0000)]
Support cast float to float, cast double to float, and cast float to double.
(It's not yet clear how to copy doubles from register to register.)

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

20 years agoAdd a section about running the nightly tester proper.
Chris Lattner [Thu, 24 Jun 2004 20:53:09 +0000 (20:53 +0000)]
Add a section about running the nightly tester proper.

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

20 years agoThis file is unused, and duplicates functionality in TraceValues.cpp.
Vikram S. Adve [Thu, 24 Jun 2004 20:16:22 +0000 (20:16 +0000)]
This file is unused, and duplicates functionality in TraceValues.cpp.

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

20 years agoetags isn't portable at all. Make it not run by default. If you still
Chris Lattner [Thu, 24 Jun 2004 18:19:42 +0000 (18:19 +0000)]
etags isn't portable at all.  Make it not run by default.  If you still
want it, just type 'make tags'

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

20 years ago* Order #includes
Misha Brukman [Thu, 24 Jun 2004 17:31:42 +0000 (17:31 +0000)]
* Order #includes
* Use the DEBUG() guard for debug printouts

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

20 years agoMake the double-fp pseudo registers be "NamedRegs".
Brian Gaeke [Thu, 24 Jun 2004 09:23:21 +0000 (09:23 +0000)]
Make the double-fp pseudo registers be "NamedRegs".

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

20 years agoFix a dyn_cast in copyConstantToRegister which should have been a cast.
Brian Gaeke [Thu, 24 Jun 2004 09:17:47 +0000 (09:17 +0000)]
Fix a dyn_cast in copyConstantToRegister which should have been a cast.
Compactify the code that emits copies of constant ints into registers.

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

20 years agoThe long integer pseudo-regs are history. So long, we hardly knew ye.
Brian Gaeke [Thu, 24 Jun 2004 08:55:21 +0000 (08:55 +0000)]
The long integer pseudo-regs are history. So long, we hardly knew ye.

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

20 years agoUse correct add*Imm form in more BuildMI calls.
Brian Gaeke [Thu, 24 Jun 2004 08:55:09 +0000 (08:55 +0000)]
Use correct add*Imm form in more BuildMI calls.
Fix bug in emitGEPOperation where we weren't passing MBB, IP to getReg.
(hey, wouldn't a constant expression lowering pass be cool? huh huhuhuh)
Fix bug in emitGEPOperation where we might try to OR a constant into a
register which was too big to fit in the immediate field.
Support and, or, xor of longs.

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

20 years agoRename the load and store opcodes. The non-fp ones only have one
Brian Gaeke [Thu, 24 Jun 2004 07:37:12 +0000 (07:37 +0000)]
Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.

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

20 years agoRename the load and store opcodes. The non-fp ones only have one
Brian Gaeke [Thu, 24 Jun 2004 07:36:59 +0000 (07:36 +0000)]
Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.
Add fp stores.

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

20 years agoRename the load and store opcodes. The non-fp ones only have one
Brian Gaeke [Thu, 24 Jun 2004 07:36:48 +0000 (07:36 +0000)]
Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.
Stub out the case analysis of int-to-fp casts (no code yet).
I think the number of operands passed to BuildMI for loads was wrong.
Support load and store of float and double.

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

20 years agoRemove distasteful method which is really part of the indvars pass
Chris Lattner [Thu, 24 Jun 2004 06:52:20 +0000 (06:52 +0000)]
Remove distasteful method which is really part of the indvars pass

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

20 years agoTwo fixes. First, stop using the ugly shouldSubstituteIndVar method.
Chris Lattner [Thu, 24 Jun 2004 06:49:18 +0000 (06:49 +0000)]
Two fixes.  First, stop using the ugly shouldSubstituteIndVar method.

Second, disable substitution of quadratic addrec expressions to avoid putting
multiplies in loops!

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

20 years agoStrange as it may sound, we'll not use LDD/STD to store longs. For reasons of
Brian Gaeke [Thu, 24 Jun 2004 06:44:57 +0000 (06:44 +0000)]
Strange as it may sound, we'll not use LDD/STD to store longs. For reasons of
representational consistency, we want to address the halves of each 64-bit value
separately.

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

20 years agoSupport constant cast expressions.
Brian Gaeke [Thu, 24 Jun 2004 06:33:00 +0000 (06:33 +0000)]
Support constant cast expressions.

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

20 years agoMake the most commonly preselected instructions add to the names of the
Brian Gaeke [Wed, 23 Jun 2004 21:41:32 +0000 (21:41 +0000)]
Make the most commonly preselected instructions add to the names of the
instructions they augment, instead of replacing them.  It's good for debugging,
and it's OK for the sparcv9 backend.

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

20 years agoTransformUtils library is no longer needed since Linker.cpp is in VMCore
Misha Brukman [Wed, 23 Jun 2004 17:36:17 +0000 (17:36 +0000)]
TransformUtils library is no longer needed since Linker.cpp is in VMCore

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

20 years agoLinker.h moved to include/llvm/Support
Misha Brukman [Wed, 23 Jun 2004 17:33:09 +0000 (17:33 +0000)]
Linker.h moved to include/llvm/Support

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

20 years agoMoved to include/llvm/Support
Misha Brukman [Wed, 23 Jun 2004 17:24:53 +0000 (17:24 +0000)]
Moved to include/llvm/Support

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

20 years agoLinker.h moved to include/llvm/Support
Misha Brukman [Wed, 23 Jun 2004 17:24:31 +0000 (17:24 +0000)]
Linker.h moved to include/llvm/Support

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

20 years agoMoved to lib/VMCore
Misha Brukman [Wed, 23 Jun 2004 17:21:17 +0000 (17:21 +0000)]
Moved to lib/VMCore

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

20 years agoMove the tests for readability of the template and gnuplot files so they
Reid Spencer [Wed, 23 Jun 2004 14:07:12 +0000 (14:07 +0000)]
Move the tests for readability of the template and gnuplot files so they
occur AFTER the source is checked out. This ensures that if either of the
-gnuplotscript or -templatefile options are not given, that they get picked
up from the checkout directory and don't abort the test unnecessarily.

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

20 years agoAdded a -noexternals options to avoid performing the externals tests on
Reid Spencer [Wed, 23 Jun 2004 07:45:46 +0000 (07:45 +0000)]
Added a -noexternals options to avoid performing the externals tests on
test environments that don't have Povray or SPEC.

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

20 years agoMake sure GetRegEx returns something gnuplot can deal with (a number, not
Reid Spencer [Wed, 23 Jun 2004 06:36:34 +0000 (06:36 +0000)]
Make sure GetRegEx returns something gnuplot can deal with (a number, not
a ?) so that graphs don't bail if something fails in a test.

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

20 years agoAdded a note about the new llvmgrep utility.
Reid Spencer [Wed, 23 Jun 2004 06:33:15 +0000 (06:33 +0000)]
Added a note about the new llvmgrep utility.

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

20 years agoFix merging of nodes whose incoming offset is not zero. This unbreaks DSA on
Chris Lattner [Wed, 23 Jun 2004 06:29:59 +0000 (06:29 +0000)]
Fix merging of nodes whose incoming offset is not zero.  This unbreaks DSA on
several mallocbench programs, including perl.

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

20 years agoUse new IsNAN() wrapper.
Brian Gaeke [Wed, 23 Jun 2004 00:25:35 +0000 (00:25 +0000)]
Use new IsNAN() wrapper.

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

20 years agoProvide prototypes for IsNAN() wrapper.
Brian Gaeke [Wed, 23 Jun 2004 00:25:24 +0000 (00:25 +0000)]
Provide prototypes for IsNAN() wrapper.

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

20 years agoWrapper for c99 isnan()
Brian Gaeke [Tue, 22 Jun 2004 23:54:38 +0000 (23:54 +0000)]
Wrapper for c99 isnan()

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

20 years agoRegenerated.
Brian Gaeke [Tue, 22 Jun 2004 23:47:23 +0000 (23:47 +0000)]
Regenerated.

It looks to me like people haven't been running AutoRegen.sh. Grumble grumble.

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

20 years agoRegenerated.
Brian Gaeke [Tue, 22 Jun 2004 23:47:13 +0000 (23:47 +0000)]
Regenerated.

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

20 years agoCall custom check (AC_FUNC_ISNAN) instead of using the generic function check.
Brian Gaeke [Tue, 22 Jun 2004 23:43:04 +0000 (23:43 +0000)]
Call custom check (AC_FUNC_ISNAN) instead of using the generic function check.

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

20 years agoImplement isnan check (AC_FUNC_ISNAN) in terms of three calls to a fairly
Brian Gaeke [Tue, 22 Jun 2004 23:42:49 +0000 (23:42 +0000)]
Implement isnan check (AC_FUNC_ISNAN) in terms of three calls to a fairly
generic macro AC_SINGLE_CXX_CHECK.

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

20 years agoAdded the llvm/test/Programs/Makefile.test Makefile.
John Criswell [Tue, 22 Jun 2004 21:35:10 +0000 (21:35 +0000)]
Added the llvm/test/Programs/Makefile.test Makefile.
Added a check for isnan() while I was at it.

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

20 years agoAdd pseudo-registers and register class for 64-bit integer values.
Brian Gaeke [Tue, 22 Jun 2004 20:14:41 +0000 (20:14 +0000)]
Add pseudo-registers and register class for 64-bit integer values.

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

20 years agolink to qmtest-2.0.3 tar file
Brian Gaeke [Tue, 22 Jun 2004 19:06:49 +0000 (19:06 +0000)]
link to qmtest-2.0.3 tar file

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

20 years agoFile requires IPA, moved to lib/Analysis/IPA
Misha Brukman [Tue, 22 Jun 2004 19:04:53 +0000 (19:04 +0000)]
File requires IPA, moved to lib/Analysis/IPA

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

20 years agoMention a note about having gccas and gccld in the path when running llvm-gcc.
Misha Brukman [Tue, 22 Jun 2004 18:48:58 +0000 (18:48 +0000)]
Mention a note about having gccas and gccld in the path when running llvm-gcc.

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

20 years agoFile depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure
Misha Brukman [Tue, 22 Jun 2004 18:28:37 +0000 (18:28 +0000)]
File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure

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

20 years agoFiles depend on DSA, moved to lib/Analysis/DataStructure
Misha Brukman [Tue, 22 Jun 2004 18:13:24 +0000 (18:13 +0000)]
Files depend on DSA, moved to lib/Analysis/DataStructure

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

20 years agoFile depends on DSA, moved to lib/Analysis/DataStructure
Misha Brukman [Tue, 22 Jun 2004 18:11:38 +0000 (18:11 +0000)]
File depends on DSA, moved to lib/Analysis/DataStructure

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

20 years agoMaking an archive version of the CodeGen library is unnecessary if we just
Misha Brukman [Tue, 22 Jun 2004 17:52:30 +0000 (17:52 +0000)]
Making an archive version of the CodeGen library is unnecessary if we just
move InstructionLowering itself.

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

20 years agoProvide archive version of CodeGen library (for those tools that only need
Misha Brukman [Tue, 22 Jun 2004 17:28:43 +0000 (17:28 +0000)]
Provide archive version of CodeGen library (for those tools that only need
IntrinsicLowering, for instance).

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

20 years agoIsnan became unordered
Chris Lattner [Tue, 22 Jun 2004 16:13:57 +0000 (16:13 +0000)]
Isnan became unordered

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

20 years ago- Added the -nice option for nicing the build processes.
Reid Spencer [Tue, 22 Jun 2004 15:38:37 +0000 (15:38 +0000)]
- Added the -nice option for nicing the build processes.
- Added the -gnuplotscript option to specify the GnuPlot script to use.
- Added the -templatefile option to specify the HTML template to use.
- Moved subroutines to top of file.
- Used variables for file names in case we want to change to directories.
- Made program track its directory changes in $VERBOSE mode (for debugging)
- Added variables to support tracking start time, finish time, and platform
  details about each nightly test.

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