Eric Christopher
88fe6775de
Fix a few unused parameter warnings.
...
llvm-svn: 96533
2010-02-17 23:55:26 +00:00
Daniel Dunbar
2f311d34fb
MC/Mach-O: Update fixup values for change to X86 offsets.
...
llvm-svn: 96532
2010-02-17 23:45:16 +00:00
Dan Gohman
2324463069
Make this an unnumbered list.
...
llvm-svn: 96528
2010-02-17 22:54:10 +00:00
Dan Gohman
0053291bb5
HTML validation fixes.
...
llvm-svn: 96527
2010-02-17 22:50:12 +00:00
Dan Gohman
b07c61ac51
Add an "advanced" GetElementPtr FAQ document, with answers to
...
questions left unanswered by the first GetElementPtr FAQ.
llvm-svn: 96526
2010-02-17 22:47:06 +00:00
Bob Wilson
400e59ba21
Remove the NEON N2VSInt instruction class: it's only used in one place and
...
since it has no pattern, there's not much point in distinguishing an "N2VS"
class for intrinsics anyway.
llvm-svn: 96525
2010-02-17 22:42:54 +00:00
Johnny Chen
69bbc8c81b
Added CLREX (Clear-Exclusive) for disassembly only.
...
A8.6.30
llvm-svn: 96523
2010-02-17 22:37:58 +00:00
Bob Wilson
ea55421ec2
More cleanup for NEON:
...
* Use "S" abbreviation for scalar single FP registers in class and pattern
names, instead of keeping the "D" (for "double") abbreviation and tacking on
an "s" elsewhere in the name.
* Move the scalar single FP register classes and patterns to be more
consistent with other definitions in the file.
* Rename "VNEGf32d" definition to "VNEGfd" for consistency.
* Deleted the N2VDIntsPat pattern; N2VSPat is good enough.
llvm-svn: 96521
2010-02-17 22:23:11 +00:00
Johnny Chen
6b8a65b0e0
Added RFE for disassembly only.
...
B6.1.8 RFE Return From Exception loads the PC and the CPSR from the word at the
specified address and the following word respectively.
llvm-svn: 96519
2010-02-17 21:39:10 +00:00
David Greene
d93fb1f15d
Make the non-temporal bit "significant" in MemSDNodes so they aren't
...
CSE'd or otherwise combined with temporal MemSDNodes.
llvm-svn: 96505
2010-02-17 20:21:42 +00:00
Jakob Stoklund Olesen
1b593e1b45
Remember to define super registers in mips calls.
...
llvm-svn: 96504
2010-02-17 20:18:50 +00:00
Daniel Dunbar
92e99d82a2
Add Regex::sub, for doing regular expression substitution with backreferences.
...
llvm-svn: 96503
2010-02-17 20:08:42 +00:00
Chris Lattner
f4a6f4d0ef
irbuilder is doing constant folding now by default, PR6092
...
llvm-svn: 96502
2010-02-17 19:54:34 +00:00
Chris Lattner
9af1b53985
fix some out of date prose dating from the LLVMContext changes.
...
llvm-svn: 96500
2010-02-17 19:51:31 +00:00
Daniel Dunbar
27247dd1e8
Fix comment.
...
llvm-svn: 96498
2010-02-17 19:26:45 +00:00
Chris Lattner
a1f12685c7
redisable this to save people a small amount of build time.
...
llvm-svn: 96497
2010-02-17 19:19:50 +00:00
Jakob Stoklund Olesen
e7862f29ec
Dead code elimination.
...
llvm-svn: 96496
2010-02-17 19:13:56 +00:00
Chris Lattner
5f903139fa
"Fix and issue in SparcAsmPrinter where multiple identical .LLGETPCHn symbols could be emitted in the same file (it was uniqued by block number, but not by function number). " Patch by Nathan Keynes!
...
llvm-svn: 96495
2010-02-17 18:57:19 +00:00
Chris Lattner
2ec1f1a54a
move isOnlyReachableByFallthrough out of MachineBasicBlock into AsmPrinter,
...
and add a sparc implementation that knows about delay slots. Patch by
Nathan Keynes!
llvm-svn: 96492
2010-02-17 18:52:56 +00:00
Chris Lattner
f95f8a8c7c
add a note, from PR5100
...
llvm-svn: 96490
2010-02-17 18:42:24 +00:00
Chris Lattner
4f86feb7ab
add missing method, PR6284
...
llvm-svn: 96489
2010-02-17 18:39:56 +00:00
Chris Lattner
96be7e85dc
add optional debian instructions, PR6272
...
llvm-svn: 96488
2010-02-17 18:33:13 +00:00
Sanjiv Gupta
313cec0425
Added routine to clone the body of a function and maintain a map of already
...
cloned functions.
llvm-svn: 96485
2010-02-17 18:11:29 +00:00
Duncan Sands
96fead3488
Mention an API change.
...
llvm-svn: 96480
2010-02-17 17:20:17 +00:00
Duncan Sands
e2bc75b41e
Pacify gcc-4.5, which warns (correctly) that these switches have
...
cases that are not part of the enum.
llvm-svn: 96477
2010-02-17 14:52:22 +00:00
Eric Christopher
018a0e9907
Revert:
...
r95605 | dpatel | 2010-02-08 15:27:46 -0800 (Mon, 08 Feb 2010) | 2 lines
test case for r95604.
Which was the testcase for the patch reverted from llvm-gcc.
llvm-svn: 96474
2010-02-17 08:53:27 +00:00
Chris Lattner
b8c69426ef
reduce nesting.
...
llvm-svn: 96466
2010-02-17 06:53:36 +00:00
Sanjiv Gupta
da2298ee21
Added a function to clone locals of a function.( which for pic16 are globals
...
with mangled names).
llvm-svn: 96465
2010-02-17 06:48:50 +00:00
Chris Lattner
143e2b6181
improve comments, the matcher is now feature complete, on to codegen.
...
llvm-svn: 96464
2010-02-17 06:47:35 +00:00
Sanjiv Gupta
581ae3d134
Removed header files from .h by adding forward decls.
...
Renamed PIC16FrameOverlay namespace to PIC16OVERLAY.
Renamed PIC16FrameOverlay class to PIC16Overlay.
llvm-svn: 96463
2010-02-17 06:46:23 +00:00
Johnny Chen
3107d9d344
Added BFI for disassembly only.
...
A8.6.18 BFI - Bitfield insert (Encoding A1)
llvm-svn: 96462
2010-02-17 06:31:48 +00:00
Chris Lattner
955ce23e27
sink special case "cannotyetselect" for intrinsics out of the
...
tblgen splatted code into the implementation.
llvm-svn: 96460
2010-02-17 06:28:22 +00:00
Chris Lattner
8f3afbc621
Emulate the current isel's "IsChainCompatible" logic for now.
...
I'd like to eventually rip it out, but for now producing the
same selections as the old matcher is more important.
llvm-svn: 96458
2010-02-17 06:23:39 +00:00
Chris Lattner
15eb8504cd
properly record chain inputs to complex patterns,
...
resolving a fixme.
llvm-svn: 96457
2010-02-17 06:08:25 +00:00
Chris Lattner
735a4efeff
rename and document some arguments so I don't have to keep
...
reverse engineering what they are.
llvm-svn: 96456
2010-02-17 06:07:47 +00:00
Anton Korobeynikov
5a321b42ea
Use pointer-wide encoding for LSDA and FDE on Darwin.
...
Hopefully, this will fix the remaining issues seen there.
llvm-svn: 96454
2010-02-17 05:53:11 +00:00
Chris Lattner
abb5e906a7
simplify IsChainCompatible codegen, add comments. no
...
functionality change.
llvm-svn: 96453
2010-02-17 05:35:28 +00:00
Lang Hames
b477072a21
Removed an early out which was causing the PBQP allocator to not compute live-in sets or run the rewriter.
...
llvm-svn: 96450
2010-02-17 03:42:51 +00:00
Dan Gohman
1cc421b590
Fix SCEVExpander's existing PHI reuse checking to recognize the
...
case where there are loop-invariant instructions somehow left
inside the loop, and in a position where they won't dominate
the IV increment position.
llvm-svn: 96448
2010-02-17 02:39:31 +00:00
Devang Patel
0f421b8fc5
Before setting scope end marker, pay attention to scope begin marker and existing scope end marker, if any. Scope must begin before it ends and nested inlined scope do not truncate surrounding scope.
...
llvm-svn: 96445
2010-02-17 02:20:34 +00:00
Chris Lattner
44d2031ca8
Prep work to handle input chains of matched patterns and checking for
...
'ischaincompatible' when a pattern has more than one input chain. Need
to do some commenting and cleanup now that I understand how this works.
llvm-svn: 96443
2010-02-17 02:16:19 +00:00
Chris Lattner
e93c85eb5e
daniel remembered why this was needed.
...
llvm-svn: 96440
2010-02-17 01:55:54 +00:00
Chris Lattner
ff307a48c2
add a comment explaining why darwin/i386 uses ## as a comment.
...
It's not clear why this is really required, but it was explicitly
added in r48808 with no real explanation or rdar #.
llvm-svn: 96438
2010-02-17 01:38:01 +00:00
Chris Lattner
ac9295346b
record input chains.
...
llvm-svn: 96437
2010-02-17 01:34:15 +00:00
Chris Lattner
a6df2a60e5
prefix captured value names with $ so they look like
...
variables. Use the fancy OpNo variable instead of i,
which has the right index including chains.
llvm-svn: 96436
2010-02-17 01:27:29 +00:00
Sanjiv Gupta
6e98127ab8
Initial implementation of PIC16 Cloner pass.
...
This pass is supposed to be run on the linked .bc module.
It traveses the module call graph twice. Once starting from the main function
and marking each reached function as "ML". Again, starting from the ISR
and cloning any reachable function that was marked as "ML". After cloning
the function, it remaps all the call sites in IL functions to call the
cloned functions.
Currently only marking is being done.
llvm-svn: 96435
2010-02-17 01:11:53 +00:00
Dan Gohman
3cb7dc5912
Don't check for comments, which vary between subtargets.
...
llvm-svn: 96434
2010-02-17 01:08:57 +00:00
Chris Lattner
ab430d225c
improve comments on OPC_Record to say what we're recording a node.
...
llvm-svn: 96433
2010-02-17 01:03:09 +00:00
Dan Gohman
2a4208c74e
Fold bswap(undef) to undef.
...
llvm-svn: 96432
2010-02-17 00:54:58 +00:00
Dan Gohman
82f46afcdd
Delete some unneeded casts.
...
llvm-svn: 96429
2010-02-17 00:42:19 +00:00