1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
Commit Graph

3458 Commits

Author SHA1 Message Date
Chris Lattner
6917dae72b Divirge from the GCC specification of the load/store intrinsics: only take
one pointer operand, instead of a pointer and an offset.  The FE will lower
to this canonicalized form.

llvm-svn: 27186
2006-03-27 22:38:39 +00:00
Chris Lattner
735fa11e56 fix spelling :(
llvm-svn: 27184
2006-03-27 22:07:12 +00:00
Chris Lattner
37cd00ed2a add some more intrinsics.
llvm-svn: 27183
2006-03-27 22:05:34 +00:00
Evan Cheng
aba79c636f Intrinsics naming convention change.
llvm-svn: 27172
2006-03-27 08:23:12 +00:00
Evan Cheng
4667bd17cb Change isBuildVectorAllOnesInteger to isBuildVectorAllOnes. Also check for
floating point cases.

llvm-svn: 27165
2006-03-27 06:58:47 +00:00
Nate Begeman
3d518334b9 SelectionDAGISel can now natively handle Switch instructions, in the same
manner that the LowerSwitch LLVM to LLVM pass does: emitting a binary
search tree of basic blocks.  The new approach has several advantages:
it is faster, it generates significantly smaller code in many cases, and
it paves the way for implementing dense switch tables as a jump table by
handling switches directly in the instruction selector.

This functionality is currently only enabled on x86, but should be safe for
every target.  In anticipation of making it the default, the cfg is now
properly updated in the x86, ppc, and sparc select lowering code.

llvm-svn: 27156
2006-03-27 01:32:24 +00:00
Jim Laskey
278ca1e735 How to be dumb on $5/day. Need a tri-state to track valid debug descriptors.
llvm-svn: 27154
2006-03-26 22:45:20 +00:00
Evan Cheng
ef3b33b847 Add ISD::isBuildVectorAllZeros predicate
llvm-svn: 27147
2006-03-26 09:50:58 +00:00
Chris Lattner
0069646b1d Add predicate comparison intrinsics.
llvm-svn: 27145
2006-03-26 07:50:25 +00:00
Chris Lattner
d8f528f04f Split the PPC and X86 intrinsics out to their own files.
llvm-svn: 27141
2006-03-26 02:37:19 +00:00
Chris Lattner
83cad7bff6 Add saturating subtracts, non-predicate compares, and some other random
intrinsics.

llvm-svn: 27140
2006-03-26 02:34:07 +00:00
Chris Lattner
9ecf506a2f add int_ppc_altivec_vsldoi intrinsic
llvm-svn: 27138
2006-03-26 00:25:43 +00:00
Chris Lattner
91fe1d4b55 Add a predicate
llvm-svn: 27129
2006-03-25 22:56:35 +00:00
Jim Laskey
576323f04f Unused function - easier to throw away than fix.
llvm-svn: 27123
2006-03-25 18:42:45 +00:00
Chris Lattner
06a3ec70c9 remove extraneous lets
llvm-svn: 27114
2006-03-25 07:30:34 +00:00
Chris Lattner
e767292e67 Add a bunch of simple altivec intrinsics
llvm-svn: 27113
2006-03-25 07:27:18 +00:00
Chris Lattner
33f07e82dc Add support for __builtin_altivec_vnmsubfp
llvm-svn: 27111
2006-03-25 07:05:35 +00:00
Chris Lattner
2ed67c5d0f Add a programatic interface to intrinsic names.
llvm-svn: 27107
2006-03-25 06:32:07 +00:00
Evan Cheng
ff65ba0857 X86 SSE1 cacheability support ops intrinsics
llvm-svn: 27104
2006-03-25 06:05:45 +00:00
Evan Cheng
ad4f96ae46 X86 SSE1 SIMD store intrinsics.
llvm-svn: 27099
2006-03-25 02:02:51 +00:00
Evan Cheng
35a181d293 X86 SSE1 SIMD load intrinsics (movhps, movlps, and movups).
llvm-svn: 27098
2006-03-25 01:58:54 +00:00
Evan Cheng
b58801303a X86 SSE1 conversion operations intrinsics.
llvm-svn: 27097
2006-03-25 01:35:17 +00:00
Evan Cheng
35bbc93d35 X86 SSE1 comparison intrinsics.
llvm-svn: 27093
2006-03-25 00:32:32 +00:00
Evan Cheng
e3f4eecb44 X86 SSE1 arithmetic and logical operation intrinsics.
llvm-svn: 27092
2006-03-25 00:18:20 +00:00
Evan Cheng
83c1f2e316 ldmxcsr is a SSE instruction.
llvm-svn: 27086
2006-03-24 22:13:47 +00:00
Evan Cheng
b98a5e8507 Added ldmxcsr intrinsic.
llvm-svn: 27085
2006-03-24 22:10:59 +00:00
Chris Lattner
3be0858857 Specify the value type for each llvm type. This needs work for pointers.
llvm-svn: 27074
2006-03-24 19:41:10 +00:00
Chris Lattner
9c8fb73936 Pull in valuetypes.td here, we will use it shortly.
llvm-svn: 27072
2006-03-24 18:51:56 +00:00
Jim Laskey
b4ff5c3e78 Tweak a comment.
llvm-svn: 27066
2006-03-24 16:18:42 +00:00
Jim Laskey
06c78bb995 Clean up some commentary.
llvm-svn: 27064
2006-03-24 10:00:56 +00:00
Jim Laskey
0d63725a26 Rename for truth in advertising.
llvm-svn: 27063
2006-03-24 09:50:27 +00:00
Jeff Cohen
3fb8f32540 Fix headers
llvm-svn: 27043
2006-03-24 06:07:16 +00:00
Jeff Cohen
1dcffcaf83 Minor corrections.
llvm-svn: 27041
2006-03-24 02:58:54 +00:00
Jeff Cohen
dab30f45d8 Get JIT/Interpreter working on Windows again.
llvm-svn: 27037
2006-03-24 02:53:49 +00:00
Chris Lattner
7c4160da23 add a new intrinsic node
llvm-svn: 27019
2006-03-24 01:03:55 +00:00
Chris Lattner
41352d6892 Add a couple simple intrinsics for intel. Fix the v2f64 definition.
llvm-svn: 27018
2006-03-24 00:04:52 +00:00
Reid Spencer
c9240dc0e5 Ignore generated file Intrinsics.gen
llvm-svn: 27014
2006-03-23 23:49:59 +00:00
Jim Laskey
4ab13dc9be Make sure types are allocated in the scope of their use.
llvm-svn: 27002
2006-03-23 23:02:34 +00:00
Jim Laskey
cec9c18c62 Add support to locate local variables in frames (early version.)
llvm-svn: 26994
2006-03-23 18:12:57 +00:00
Jim Laskey
867301543c Generate local variable and scope information and equivalent dwarf forms.
llvm-svn: 26989
2006-03-23 18:07:55 +00:00
Jim Laskey
47de3793e3 Simplify handling of llvm.dbg intrinsic operands to one spot.
llvm-svn: 26987
2006-03-23 18:05:12 +00:00
Jim Laskey
b29f9a22e7 Modify usage of llvm.dbg intrinsics.
llvm-svn: 26986
2006-03-23 18:04:18 +00:00
Jim Laskey
36afd7b19d Support for locating of debug items in frames.
llvm-svn: 26984
2006-03-23 18:01:12 +00:00
Chris Lattner
b26a7c8735 Eliminate IntrinsicLowering from TargetMachine.
llvm-svn: 26973
2006-03-23 05:41:41 +00:00
Chris Lattner
3d5ca510c9 remove always-null IntrinsicLowering argument.
llvm-svn: 26971
2006-03-23 05:28:02 +00:00
Chris Lattner
2aa3f9a6b5 remove the intrinsiclowering hook
llvm-svn: 26970
2006-03-23 05:22:51 +00:00
Evan Cheng
54215cd1ea Added a ValueType operand to isShuffleMaskLegal(). For now, x86 will not do
64-bit vector shuffle.

llvm-svn: 26964
2006-03-22 22:07:06 +00:00
Chris Lattner
d4f04c4b6a Fix comments
llvm-svn: 26960
2006-03-22 20:09:04 +00:00
Chris Lattner
b1bc1f88c0 add a new node
llvm-svn: 26958
2006-03-22 19:56:46 +00:00
Chris Lattner
05c3c52edf wrap lines to 80 columns.
Add static JITCtor/InterpCtor fields

llvm-svn: 26945
2006-03-22 06:06:37 +00:00