Dale Johannesen [Sat, 25 Aug 2007 00:40:41 +0000 (00:40 +0000)]
Comment out declaration of operator== (undefined).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41383
91177308-0d34-0410-b5e6-
96231b3b80d8
Neil Booth [Sat, 25 Aug 2007 00:36:22 +0000 (00:36 +0000)]
Test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41382
91177308-0d34-0410-b5e6-
96231b3b80d8
Neil Booth [Sat, 25 Aug 2007 00:31:24 +0000 (00:31 +0000)]
Add self
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41381
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Fri, 24 Aug 2007 23:23:23 +0000 (23:23 +0000)]
Rename llvm-gcc4 to llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41380
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Fri, 24 Aug 2007 22:09:56 +0000 (22:09 +0000)]
Poison APFloat::operator==. Replace existing uses with bitwiseIsEqual.
This means backing out the preceding change to Constants.cpp, alas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41378
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Fri, 24 Aug 2007 20:59:15 +0000 (20:59 +0000)]
Use APFloat internally for ConstantFPSDNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41372
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 24 Aug 2007 20:48:18 +0000 (20:48 +0000)]
sink clone() down the class hierarchy from CmpInst into ICmpInst/FCmpInst.
This eliminates a conditional on that path, and ensures ICmpInst/FCmpInst
both have an out-of-line virtual method to home the class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41371
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 24 Aug 2007 19:32:26 +0000 (19:32 +0000)]
Fix regression that I caused yesterday night while adding logic to select appropriate split condition branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41365
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 24 Aug 2007 16:00:15 +0000 (16:00 +0000)]
Disable EH generation until PPC works 100%.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41360
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 24 Aug 2007 15:17:59 +0000 (15:17 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41359
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 24 Aug 2007 06:17:19 +0000 (06:17 +0000)]
It is not safe to execute split condition's true branch first all the time. If split
condition predicate is GT or GE then execute false branch first.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41358
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 24 Aug 2007 06:02:25 +0000 (06:02 +0000)]
Reject ICMP_NE as index split condition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41357
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 24 Aug 2007 05:36:56 +0000 (05:36 +0000)]
Tightenup loop filter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41356
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 24 Aug 2007 05:21:13 +0000 (05:21 +0000)]
Remove incomplete cost analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41354
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Fri, 24 Aug 2007 05:08:11 +0000 (05:08 +0000)]
Revised per review feedback from previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41353
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 24 Aug 2007 03:02:34 +0000 (03:02 +0000)]
silence some warnings in an optimized build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41352
91177308-0d34-0410-b5e6-
96231b3b80d8
Dale Johannesen [Fri, 24 Aug 2007 00:56:33 +0000 (00:56 +0000)]
Change internal representation of ConstantFP to use APFloat.
Interface to rest of the compiler unchanged, as yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41348
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Thu, 23 Aug 2007 17:22:50 +0000 (17:22 +0000)]
Fix this testcase: there are two matches for
llvm.cttz.i64 because of the declaration of
the intrinsic. Also, emit-llvm is automatic
and doesn't need to be specified.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41326
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 23 Aug 2007 15:22:07 +0000 (15:22 +0000)]
add some notes on really poor codegen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41319
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 23 Aug 2007 15:16:03 +0000 (15:16 +0000)]
new example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41318
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Thu, 23 Aug 2007 07:21:06 +0000 (07:21 +0000)]
Perform correct codegen for eh_dwarf_cfa intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41316
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 23 Aug 2007 05:21:48 +0000 (05:21 +0000)]
default this to radix 10 like the toString(Un)Signed methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41311
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 23 Aug 2007 05:20:48 +0000 (05:20 +0000)]
Avoid hiding issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41310
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 23 Aug 2007 05:15:32 +0000 (05:15 +0000)]
rename APInt::toString -> toStringUnsigned for symmetry with toStringSigned()
Add an APSInt::toString() method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41309
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Wed, 22 Aug 2007 23:39:54 +0000 (23:39 +0000)]
Implement review feedback on trampoline documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41304
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Wed, 22 Aug 2007 21:07:41 +0000 (21:07 +0000)]
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41295
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Wed, 22 Aug 2007 20:55:18 +0000 (20:55 +0000)]
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41292
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 22 Aug 2007 19:36:31 +0000 (19:36 +0000)]
update test to check that codegen works with llvm.used in llvm.metadata section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41289
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Wed, 22 Aug 2007 19:33:29 +0000 (19:33 +0000)]
Cosmetic change
"True Loop" and "False Loop" naming terminology to refer two loops
after loop cloning is confusing. Instead just use A_Loop and B_Loop.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41287
91177308-0d34-0410-b5e6-
96231b3b80d8
Andrew Lenharth [Wed, 22 Aug 2007 19:33:11 +0000 (19:33 +0000)]
move this check. ppc outputs .no_dead_strip properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41286
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 22 Aug 2007 18:44:05 +0000 (18:44 +0000)]
Add the PCSymbol for Darwin x86 platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41284
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Wed, 22 Aug 2007 18:27:01 +0000 (18:27 +0000)]
Refactor loop condition check in a separate function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41282
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Wed, 22 Aug 2007 18:07:47 +0000 (18:07 +0000)]
Fix thinko.
Starting value of second loop's induction variable can not be lower
then starting value of original loop's induction variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41280
91177308-0d34-0410-b5e6-
96231b3b80d8
Bill Wendling [Wed, 22 Aug 2007 07:26:30 +0000 (07:26 +0000)]
Testcase for llvm.c* intrinsic failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41268
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Wed, 22 Aug 2007 05:58:22 +0000 (05:58 +0000)]
Test handling of complex constants as lvalues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41266
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Tue, 21 Aug 2007 22:40:44 +0000 (22:40 +0000)]
Dror GCCLibraries: they are obsolete since 2.0 release. This also reduces number of licenses used in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41257
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 21 Aug 2007 21:12:02 +0000 (21:12 +0000)]
Rename bunch of variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41250
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 21 Aug 2007 19:47:46 +0000 (19:47 +0000)]
Preserve LCSSA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41246
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 21 Aug 2007 16:54:51 +0000 (16:54 +0000)]
Use SmallVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41230
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 21 Aug 2007 16:39:43 +0000 (16:39 +0000)]
No need to hardcode SmallVector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41228
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Tue, 21 Aug 2007 16:09:25 +0000 (16:09 +0000)]
InlineAsm asm support for integer registers added
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41225
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Tue, 21 Aug 2007 16:06:45 +0000 (16:06 +0000)]
Instruction Itinerary attribution fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41224
91177308-0d34-0410-b5e6-
96231b3b80d8
David Greene [Tue, 21 Aug 2007 14:57:58 +0000 (14:57 +0000)]
Doxygenize comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41222
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 21 Aug 2007 00:55:23 +0000 (00:55 +0000)]
Fix potentially N^2 behavior handling arrays with many of the
same value which get RAUW'd. This speeds up reading the .bc
file in PR1616 from 852s to 0.19s on my G5 with a debug build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41209
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Tue, 21 Aug 2007 00:31:30 +0000 (00:31 +0000)]
Use only 1 knob to enable exceptions on Darwin :).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41208
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Tue, 21 Aug 2007 00:31:24 +0000 (00:31 +0000)]
Use SmallVector instead of std::vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41207
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 21 Aug 2007 00:21:07 +0000 (00:21 +0000)]
simplify code, improve a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41205
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 20 Aug 2007 23:51:18 +0000 (23:51 +0000)]
s/ExitBlock/ExitingBlock/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41204
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 20 Aug 2007 22:49:32 +0000 (22:49 +0000)]
initial checkin of Neil's APFloat work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41203
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 20 Aug 2007 21:31:08 +0000 (21:31 +0000)]
clarify precedence, no functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41199
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 20 Aug 2007 21:22:48 +0000 (21:22 +0000)]
add reverse iterators to smallvector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41198
91177308-0d34-0410-b5e6-
96231b3b80d8
Anton Korobeynikov [Mon, 20 Aug 2007 21:17:26 +0000 (21:17 +0000)]
- Use correct header for SCEV inside LoopPass.cpp
- Move SCEVExpander::expand() out-of-line workarounding possible toolchain bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41197
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 20 Aug 2007 20:49:01 +0000 (20:49 +0000)]
Replace indunction variable with split value in loop body.
This fixes art miscompile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41195
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Mon, 20 Aug 2007 20:24:15 +0000 (20:24 +0000)]
Do not split loops rejected by processOneIterationLoop().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41194
91177308-0d34-0410-b5e6-
96231b3b80d8
David Greene [Mon, 20 Aug 2007 19:54:01 +0000 (19:54 +0000)]
Add FilteredPassNameParser along with PassArgFilter to filter passes
based on their Arg members.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41192
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 20 Aug 2007 19:28:38 +0000 (19:28 +0000)]
Minor cleanups to reduce some spurious differences between different
scheduler implementations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41191
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 20 Aug 2007 19:25:59 +0000 (19:25 +0000)]
Add Type::isIntOrIntVector, like Type::isFPOrFPVector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41190
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Mon, 20 Aug 2007 19:23:34 +0000 (19:23 +0000)]
When Intrinsic::getName is constructing names for overloaded intrinsics,
use the ValueType name instead of the llvm type name, to match what the
verifier expects. For integers these are the same, but for floating-point
values the intrinsics use f32/f64 instead of float/double.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41189
91177308-0d34-0410-b5e6-
96231b3b80d8
Duncan Sands [Mon, 20 Aug 2007 17:14:02 +0000 (17:14 +0000)]
Fix this test for gcc-4.2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41187
91177308-0d34-0410-b5e6-
96231b3b80d8
Rafael Espindola [Mon, 20 Aug 2007 15:18:24 +0000 (15:18 +0000)]
Partial implementation of calling functions with byval arguments:
*) The needed information is propagated to the DAG
*) The X86-64 backend detects it and aborts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41179
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 20 Aug 2007 02:14:33 +0000 (02:14 +0000)]
add a note
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41178
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 20 Aug 2007 00:56:12 +0000 (00:56 +0000)]
update the xcode project file, patch by Gordon Henriksen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41175
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Aug 2007 22:22:54 +0000 (22:22 +0000)]
Fix PR1611 - Visibility should be ignored for a declaration
when a definition's visibility is different. Likewise, the
visibility of two declarations mismatching is not an error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41174
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Aug 2007 22:15:26 +0000 (22:15 +0000)]
simplify code and print visibility for declarations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41173
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 19 Aug 2007 20:45:10 +0000 (20:45 +0000)]
add mips target to builder. I'd appreciate it if someone with
the right version of autoconf could regenerate the configure script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41172
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sat, 18 Aug 2007 23:21:28 +0000 (23:21 +0000)]
Oops, remove assert that wasn't meant to be committed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41170
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sat, 18 Aug 2007 23:18:03 +0000 (23:18 +0000)]
Never insert duplicate edges.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41169
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sat, 18 Aug 2007 15:08:56 +0000 (15:08 +0000)]
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41168
91177308-0d34-0410-b5e6-
96231b3b80d8
Nick Lewycky [Sat, 18 Aug 2007 14:46:55 +0000 (14:46 +0000)]
Simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41167
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Aug 2007 06:14:52 +0000 (06:14 +0000)]
Compute the argument list as lazily as possible. This ensures that clients
that don't use it don't have to pay the memory cost for the arguments. This
allows us to avoid creating Argument nodes for many prototypes and for clients
who lazily deserialize code from a bytecode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41166
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 18 Aug 2007 06:13:19 +0000 (06:13 +0000)]
use a nicer accessor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41165
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 18 Aug 2007 06:11:57 +0000 (06:11 +0000)]
Test dag xform: Fold C ? 0 : 1 to ~C or zext(~C) or trunc(~C)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41164
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Sat, 18 Aug 2007 05:57:05 +0000 (05:57 +0000)]
Fold C ? 0 : 1 to ~C or zext(~C) or trunc(~C) depending the types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41163
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 02:37:46 +0000 (02:37 +0000)]
MipsHi now has ouput flag
MipsAdd SDNode created to add support to an Add opcode which supports input flag
Added an instruction itinerary to all instruction classes
Added branches with zero cond codes
Now call clobbers all non-callee saved registers
Call w/ register support added
Added DelaySlot to branch and load instructions
Added patterns to handle all setcc, brcond/setcc and MipsAdd instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41161
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 02:19:09 +0000 (02:19 +0000)]
Fixed stack frame addressing bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41160
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 02:18:07 +0000 (02:18 +0000)]
support for Schedule included on Mips.td
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41159
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 02:16:30 +0000 (02:16 +0000)]
Removed LowerRETURADDR, fixed small bug into LowerRET, LowerGlobalAddress
fixed to generate instructions (add, lui) glued!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41158
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 02:05:24 +0000 (02:05 +0000)]
Couple of small changes. Delay Slot handle header declared.
Newline added after macros at function init on generated asm!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41157
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 02:01:28 +0000 (02:01 +0000)]
Added InstrItinClass support for instruction formats
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41156
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 01:59:45 +0000 (01:59 +0000)]
Branch Analysis and InsertNoop inserted into header files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41155
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 01:58:15 +0000 (01:58 +0000)]
createMipsDelaySlotFillerPass added to mips codegen runtime
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41154
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 01:56:48 +0000 (01:56 +0000)]
Added Branch Analysis support
Added InsertNoop support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41153
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 01:54:09 +0000 (01:54 +0000)]
LowerRETURNADDR removed since it was wrong and does not have utility yet!
MipsAdd opcode added
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41152
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 01:52:27 +0000 (01:52 +0000)]
InstrItineraryData support on added.
Added Mips3 ISA feature (needed when supporting R4000 machines)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41151
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 01:50:47 +0000 (01:50 +0000)]
A Pass to insert Nops on intructions with DelaySlot
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41150
91177308-0d34-0410-b5e6-
96231b3b80d8
Bruno Cardoso Lopes [Sat, 18 Aug 2007 01:46:44 +0000 (01:46 +0000)]
Mips generic fallback instruction schedule support!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41149
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Sat, 18 Aug 2007 00:00:32 +0000 (00:00 +0000)]
Avoid spliting loops where two split condition branches are not independent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41148
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 17 Aug 2007 22:02:15 +0000 (22:02 +0000)]
Add loop index split tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41146
91177308-0d34-0410-b5e6-
96231b3b80d8
Devang Patel [Fri, 17 Aug 2007 21:59:16 +0000 (21:59 +0000)]
When one branch of condition is eliminated then head of the other
branch is not necessary immediate dominators of merge blcok in all cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41144
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Fri, 17 Aug 2007 18:02:22 +0000 (18:02 +0000)]
Avoid issue on 64-bit hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41143
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 17 Aug 2007 16:49:19 +0000 (16:49 +0000)]
improve iplist comments. Switch iplist from allocating its sentinal object (for
end()) eagerly to allocating it lazily. This saves a lot of memory for JIT applications
that read a module but don't materialize most of the functions (e.g. 62K for 252.eon).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41142
91177308-0d34-0410-b5e6-
96231b3b80d8
David Greene [Fri, 17 Aug 2007 15:13:55 +0000 (15:13 +0000)]
Fix GLIBCXX_DEBUG error of comparing two singular iterators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41139
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 17 Aug 2007 05:45:26 +0000 (05:45 +0000)]
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41138
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 17 Aug 2007 05:44:59 +0000 (05:44 +0000)]
Fix PR1606:
The AC_CHECK_HEADER macro was used instead of AC_CHECK_HEADERS. The former does
not automatically add a #define to the configure variables while the latter
does. Consequently, the HAVE_PTHREAD_H symbol was not defined which caused the
Mutex.cpp file to compile to an empty implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41137
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 16 Aug 2007 23:52:23 +0000 (23:52 +0000)]
New test. Make sure dynamic_stackalloc size is rounded up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41135
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 16 Aug 2007 23:51:28 +0000 (23:51 +0000)]
Update test: dynamic_stackalloc size *must* be rounded to ensure stack ptr be left in a valid state.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41134
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 16 Aug 2007 23:50:06 +0000 (23:50 +0000)]
If dynamic_stackalloc alignment is > stack alignment, first issue an instruction to align the stack ptr before the decrement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41133
91177308-0d34-0410-b5e6-
96231b3b80d8
Evan Cheng [Thu, 16 Aug 2007 23:46:29 +0000 (23:46 +0000)]
- If a dynamic_stackalloc alignment requirement is <= stack alignment, then the alignment argument is ignored.
- *Always* round up the size of the allocation to multiples of stack
alignment to ensure the stack ptr is never left in an invalid state after a dynamic_stackalloc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41132
91177308-0d34-0410-b5e6-
96231b3b80d8
Owen Anderson [Thu, 16 Aug 2007 22:51:56 +0000 (22:51 +0000)]
Factor out some code into a helper function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41131
91177308-0d34-0410-b5e6-
96231b3b80d8
Dan Gohman [Thu, 16 Aug 2007 22:06:45 +0000 (22:06 +0000)]
Fix the verification for overloaded intrinsic types. Check that they are
what they're supposed to be before using them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41130
91177308-0d34-0410-b5e6-
96231b3b80d8