summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: remember that ResNode was declared.Lauro Ramos Venancio2007-04-261-2/+3
| | | | llvm-svn: 36477
* Fix generation of certain scheduler itineraries.Christopher Lamb2007-04-221-1/+2
| | | | llvm-svn: 36338
* Bug fix; add super-registers sets.Evan Cheng2007-04-211-11/+58
| | | | llvm-svn: 36296
* Implement "general dynamic", "initial exec" and "local exec" TLS models forLauro Ramos Venancio2007-04-201-2/+5
| | | | | | X86 32 bits. llvm-svn: 36283
* Add sub-registers sets.Evan Cheng2007-04-201-6/+61
| | | | llvm-svn: 36278
* For PR1328:Reid Spencer2007-04-161-2/+0
| | | | | | | | Don't assert everytime an intrinsic name isn't recognized. Instead, make the assert optional when callin getIntrinsicID(). This allows the assembler to handle invalid intrinsic names gracefully. llvm-svn: 36120
* For PR1297:Reid Spencer2007-04-013-17/+35
| | | | | | | | | | Implement code generation for overloaded intrinsic functions. The basic difference is that "actual" argument types must be provided when constructing intrinsic names and types. Also, for recognition, only the prefix is examined. If it matches, the suffix is assumed to match. The suffix is checked by the Verifier, however. llvm-svn: 35539
* Add support for the v1i64 type. This makes better code for this:Bill Wendling2007-03-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #include <mmintrin.h> extern __m64 C; void baz(__v2si *A, __v2si *B) { *A = C; _mm_empty(); } We get this: _baz: call "L1$pb" "L1$pb": popl %eax movl L_C$non_lazy_ptr-"L1$pb"(%eax), %eax movq (%eax), %mm0 movl 4(%esp), %eax movq %mm0, (%eax) emms ret GCC gives us this: _baz: pushl %ebx call L3 "L00000000001$pb": L3: popl %ebx subl $8, %esp movl L_C$non_lazy_ptr-"L00000000001$pb"(%ebx), %eax movl (%eax), %edx movl 4(%eax), %ecx movl 16(%esp), %eax movl %edx, (%eax) movl %ecx, 4(%eax) emms addl $8, %esp popl %ebx ret llvm-svn: 35351
* Recognize target instruction flag 'isReMaterializable'.Evan Cheng2007-03-193-0/+3
| | | | llvm-svn: 35159
* Refactoring of formal parameter flags. Enable properly use ofAnton Korobeynikov2007-03-071-2/+6
| | | | | | zext/sext/aext stuff. llvm-svn: 35008
* Use new SDIselParamAttr enumeration. This removes "magick" constantsAnton Korobeynikov2007-03-061-2/+2
| | | | | | from formal attributes' flags processing. llvm-svn: 34963
* rename some CCActionsChris Lattner2007-02-281-2/+2
| | | | llvm-svn: 34724
* implement CCPromoteToTypeChris Lattner2007-02-281-8/+13
| | | | llvm-svn: 34720
* reapplyChris Lattner2007-02-275-8/+20
| | | | llvm-svn: 34697
* *** empty log message ***Chris Lattner2007-02-272-0/+166
| | | | llvm-svn: 34696
* Backing outEvan Cheng2007-02-274-18/+7
| | | | | | | | | | CodeGenTarget.cpp updated: 1.82 -> 1.83 Record.cpp updated: 1.55 -> 1.56 Record.h updated: 1.59 -> 1.60 TableGen.cpp updated: 1.47 -> 1.48 It's missing CallingConvEmitter.h llvm-svn: 34693
* initial support for calling convention generation, still unfinished.Chris Lattner2007-02-274-7/+18
| | | | llvm-svn: 34682
* emit an enum value for the # of target registers.Chris Lattner2007-02-261-2/+2
| | | | llvm-svn: 34624
* the lengths of the strings are known, just use memcmpChris Lattner2007-02-151-1/+1
| | | | llvm-svn: 34321
* Implement Function::getIntrinsicID without it needing to call Value::getName,Chris Lattner2007-02-151-2/+4
| | | | | | which allocates a string. This speeds up instcombine on 447.dealII by 5%. llvm-svn: 34318
* For PR1195:Reid Spencer2007-02-151-1/+1
| | | | | | | Change use of "packed" term to "vector" in comments, strings, variable names, etc. llvm-svn: 34300
* For PR1195:Reid Spencer2007-02-151-3/+3
| | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293
* Automatically generating intrinsic declarations from Dan Gohman. ModifiedJim Laskey2007-02-072-0/+73
| | | | | | | to construct FunctionType in separate function, and, have getDeclaration return a Function instead of a Constant. llvm-svn: 34008
* Set the new NO_INSTALL flag for build-only tools.Reid Spencer2007-02-061-0/+1
| | | | llvm-svn: 33967
* Error check and eliminate unnecessary value.Jim Laskey2007-02-061-8/+15
| | | | llvm-svn: 33966
* Regenerate.Jim Laskey2007-02-062-143/+138
| | | | llvm-svn: 33965
* Deemed too cute to live.Jim Laskey2007-02-061-1/+1
| | | | llvm-svn: 33964
* Regenerate.Jim Laskey2007-02-062-178/+183
| | | | llvm-svn: 33963
* Support var arg intrinsics.Jim Laskey2007-02-062-1/+6
| | | | llvm-svn: 33962
* Make the constant honest.Jim Laskey2007-01-261-1/+3
| | | | llvm-svn: 33557
* Files missing from LABEL check in.Jim Laskey2007-01-265-7/+34
| | | | llvm-svn: 33539
* Make tblgen error more useful. Patch by B. Scott MichelChris Lattner2007-01-171-1/+4
| | | | llvm-svn: 33295
* For PR1064:Reid Spencer2007-01-121-4/+6
| | | | | | | | | | | | | | | | | | | | | | | Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit integers. This change does several things: 1. Introduces a new Derived Type, IntegerType, to represent the number of bits in an integer. The Type classes SubclassData field is used to store the number of bits. This allows 2^23 bits in an integer type. 2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and 64-bit integers. These are replaced with just IntegerType which is not a primitive any more. 3. Adjust the rest of LLVM to account for this change. Note that while this incremental change lays the foundation for arbitrary bit-width integers, LLVM has not yet been converted to actually deal with them in any significant way. Most optimization passes, for example, will still only deal with the byte-width integer types. Future increments will rectify this situation. llvm-svn: 33113
* For PR950:Reid Spencer2006-12-311-1/+1
| | | | | | Convert signed integer types to signless. llvm-svn: 32786
* Ignore entries with blank names.Jim Laskey2006-12-121-2/+4
| | | | llvm-svn: 32491
* Rollback changes to take a different tack.Jim Laskey2006-12-121-1/+0
| | | | llvm-svn: 32488
* Honor the command line specification for machine type.Jim Laskey2006-12-121-0/+1
| | | | llvm-svn: 32483
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-0717-1603/+2467
| | | | llvm-svn: 32333
* Match TargetInstrInfo changes.Evan Cheng2006-12-011-3/+2
| | | | llvm-svn: 32107
* Fix PR1001, patch by Nikhil Patil!Chris Lattner2006-11-201-1/+11
| | | | llvm-svn: 31880
* Add opcode to TargetInstrDescriptor.Evan Cheng2006-11-171-3/+4
| | | | llvm-svn: 31804
* Remove the isTwoAddress property from the CodeGenInstruction class. It shouldChris Lattner2006-11-154-19/+53
| | | | | | | | | | not be used for anything other than backwards compat constraint handling. Add support for a new DisableEncoding property which contains a list of registers that should not be encoded by the generated code emitter. Convert the codeemitter generator to use this, fixing some PPC JIT regressions. llvm-svn: 31769
* ADd support for adding constraints to suboperandsChris Lattner2006-11-153-32/+111
| | | | llvm-svn: 31748
* restore some 'magic' code that I removed: it is needed. Add comments explainingChris Lattner2006-11-141-10/+22
| | | | | | why. llvm-svn: 31743
* minimal hack to get patterns whose result type is iPTR to be selected.Chris Lattner2006-11-141-0/+16
| | | | llvm-svn: 31742
* remove some dead codeChris Lattner2006-11-141-9/+2
| | | | llvm-svn: 31740
* Add support for nodes that return iPTR.Chris Lattner2006-11-141-4/+6
| | | | llvm-svn: 31739
* changes to get ptr_rc to be accepted in patterns. This is needed for ppc preincChris Lattner2006-11-141-8/+22
| | | | | | stores. llvm-svn: 31738
* Fix a bug handling nodes with variable arguments. The code was fixed to assumeChris Lattner2006-11-141-8/+15
| | | | | | | | | | | | that there were two input operands before the variable operand portion. This *happened* to be true for all call instructions, which took a chain and a destination, but was not true for the PPC BCTRL instruction, whose destination is implicit. Making this code more general allows elimination of the custom selection logic for BCTRL. llvm-svn: 31732
* allow ptr_rc to explicitly appear in an instructions operand list, it doesn'tChris Lattner2006-11-102-38/+42
| | | | | | have to be a subpart of a complex operand. llvm-svn: 31618
OpenPOWER on IntegriCloud