summaryrefslogtreecommitdiffstats
path: root/llvm/utils
Commit message (Collapse)AuthorAgeFilesLines
* fix the asmmatcher generator to handle targets with no RegisterPrefixChris Lattner2010-10-281-22/+34
| | | | | | | (like ARM) correctly. With this change, we can now match "bx lr" because we recognize lr as a register. llvm-svn: 117606
* Shifter ops are not always free. Do not fold them (especially to formEvan Cheng2010-10-271-0/+1
| | | | | | | complex load / store addressing mode) when they have higher cost and when they have more than one use. llvm-svn: 117509
* Provide correct encodings for NEON vcvt, which has its own special immediate ↵Owen Anderson2010-10-271-0/+1
| | | | | | | | encoding for specifying fractional bits for fixed point conversions. llvm-svn: 117501
* Added the x86 instruction ud2b (2nd official undefined instruction).Kevin Enderby2010-10-271-1/+0
| | | | llvm-svn: 117485
* Enable clang autocompletion by default.Dan Gohman2010-10-261-3/+4
| | | | llvm-svn: 117415
* First part of refactoring ARM addrmode2 (load/store) instructions to be moreJim Grosbach2010-10-261-0/+4
| | | | | | | | explicit about the operands. Split out the different variants into separate instructions. This gives us the ability to, among other things, assign different scheduling itineraries to the variants. rdar://8477752. llvm-svn: 117409
* Constify another 2 disassembler tables.Benjamin Kramer2010-10-231-2/+3
| | | | llvm-svn: 117208
* Make the disassembler tables const so they end up in read-only memory.Benjamin Kramer2010-10-231-5/+4
| | | | llvm-svn: 117206
* Remove -llvmc-temp-hack from tblgen.Mikhail Glushenkov2010-10-231-17/+1
| | | | llvm-svn: 117197
* Syntax tweak in llvmc: (something [a,b,c]) -> (something a, b, c).Mikhail Glushenkov2010-10-231-139/+100
| | | | llvm-svn: 117196
* Trailing whitespace.Mikhail Glushenkov2010-10-231-6/+6
| | | | llvm-svn: 117195
* Do not install libBugpointPasses.dylib for Apple builds. Radar 8585383.Bob Wilson2010-10-221-1/+4
| | | | llvm-svn: 117172
* Fix the name of libLLVMHello.dylib so that it does not get installed forBob Wilson2010-10-221-1/+1
| | | | | | Apple builds. Radar 8585383. llvm-svn: 117164
* Make some symbols static, move classes into anonymous namespaces.Benjamin Kramer2010-10-221-5/+3
| | | | llvm-svn: 117111
* Add a way to emit StringSwitch of clang attribute spellings.Anders Carlsson2010-10-203-0/+37
| | | | llvm-svn: 116899
* Fix VC2010 build.Michael J. Spencer2010-10-191-3/+0
| | | | llvm-svn: 116833
* Build with RTTI and exceptions disabled. Only in GCC for now.Oscar Fuentes2010-10-172-0/+9
| | | | llvm-svn: 116682
* KillTheDoctor: Fix 2008 build. I'm actually surprised 2010 defines all of ↵Michael J. Spencer2010-10-151-0/+236
| | | | | | these, many are non-standard posix/unix extensions. llvm-svn: 116597
* Teach FileCheck to handle trailing CHECK-NOT patterns.Jakob Stoklund Olesen2010-10-151-9/+22
| | | | | | | | | | A CHECK-NOT pattern without a following CHECK pattern simply checks that the pattern doesn't match before the end of the input file. You can even have only CHECK-NOT patterns to check that strings appear nowhere in the input file. llvm-svn: 116592
* ARM mode encoding information for UBFX and SBFX instructions.Jim Grosbach2010-10-151-0/+1
| | | | llvm-svn: 116588
* Teach PerfectShuffle to not generate files with embedded tab characters.Jim Grosbach2010-10-141-1/+2
| | | | llvm-svn: 116458
* Refactor the ARM 'setend' instruction pattern. Use a single instruction patternJim Grosbach2010-10-131-0/+1
| | | | | | | and handle the operand explicitly. Flesh out encoding information. Add an explicit disassembler testcase for the instruction. llvm-svn: 116432
* Add ARM mode encoding for [SU]XT[BH] and [SU]XTA[BH] instructions.Jim Grosbach2010-10-131-0/+2
| | | | llvm-svn: 116421
* Allow targets to optionally specify custom binary encoder functions forJim Grosbach2010-10-123-9/+33
| | | | | | | | operand values. This is useful for operands which require additional trickery to encode into the instruction. For example, the ARM shifted immediate and shifted register operands. llvm-svn: 116353
* KillTheDoctor: Fix VS2008 build.Michael J. Spencer2010-10-121-0/+5
| | | | llvm-svn: 116330
* Fix spelling error.Cameron Esfahani2010-10-121-2/+2
| | | | llvm-svn: 116282
* The assert() should reference to machine instr operand number, too.Jim Grosbach2010-10-111-2/+2
| | | | llvm-svn: 116243
* Make sure to use the machine instruction operand number. It doesn't alwaysJim Grosbach2010-10-111-0/+2
| | | | | | map one-to-one with the CodeGenInstruction operand number. llvm-svn: 116238
* Add KillTheDoctor.Michael J. Spencer2010-10-114-0/+1555
| | | | llvm-svn: 116216
* trailing whitespace cleanupJim Grosbach2010-10-111-18/+18
| | | | llvm-svn: 116215
* When figuring out which operands match which encoding fields in an instruction,Jim Grosbach2010-10-113-9/+38
| | | | | | | try to match them by name first. If there is no by-name match, fall back to assuming they are in order (this was the previous behavior). llvm-svn: 116211
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-111-2/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190
* syntax-highlighting: Fix module asm keyword.Michael J. Spencer2010-10-091-1/+1
| | | | llvm-svn: 116152
* Add Kate syntax highlighting files.Michael J. Spencer2010-10-092-0/+267
| | | | llvm-svn: 116146
* A few 80 column cleanupsJim Grosbach2010-10-084-9/+13
| | | | llvm-svn: 116069
* trailing whitespaceJim Grosbach2010-10-081-15/+15
| | | | llvm-svn: 116068
* Fix -Asserts warning.Daniel Dunbar2010-10-081-0/+3
| | | | llvm-svn: 116030
* Make <target>CodeEmitter::getBinaryCodeForInstr() a const method.Jim Grosbach2010-10-081-1/+1
| | | | llvm-svn: 116018
* Move checking for t2MOVCCi16 to the right place.Jim Grosbach2010-10-071-6/+7
| | | | llvm-svn: 115994
* Fix typo in comment.Nick Lewycky2010-10-071-1/+1
| | | | llvm-svn: 115986
* Move tool_output_file into its own file.Dan Gohman2010-10-072-2/+2
| | | | llvm-svn: 115973
* gtest: Fix warnings on MinGW.Michael J. Spencer2010-10-071-3/+3
| | | | llvm-svn: 115945
* CMake: Fix warning in gtest.Michael J. Spencer2010-10-071-0/+4
| | | | llvm-svn: 115935
* trailing whitespaceJim Grosbach2010-10-071-17/+17
| | | | llvm-svn: 115923
* Allow use of the 16-bit literal move instruction in CMOVs for Thumb2 mode.Jim Grosbach2010-10-071-5/+5
| | | | llvm-svn: 115890
* Allow use of the 16-bit literal move instruction in CMOVs for ARM mode.Jim Grosbach2010-10-071-7/+7
| | | | llvm-svn: 115884
* Now that VDUPfqf and VDUPfdfare properly pseudos, nuke the special handling.Jim Grosbach2010-10-061-6/+5
| | | | llvm-svn: 115841
* Generalize tblgen's dag parsing logic to handle arbitrary expressionsChris Lattner2010-10-061-5/+18
| | | | | | | | | | | | | | as the operator of the dag. Specifically, this allows parsing things like (F.x 4) in addition to just (a 4). Unfortunately, this runs afoul of an idiom being used by llvmc. It is using dags like (foo [1,2,3]) to represent a list of stuff being passed into foo. With this change, this is parsed as a [1,2,3] subscript on foo instead of being the first argument to the dag. Cope with this in the short term by requiring a "-llvmc-temp-hack" argument to tblgen to get the old parsing behavior. llvm-svn: 115742
* cleanupsChris Lattner2010-10-061-9/+10
| | | | llvm-svn: 115739
* remove the !nameconcat tblgen feature. It "shorthand" and only used in 4 placesChris Lattner2010-10-065-120/+17
| | | | | | where !cast is just as short. llvm-svn: 115722
OpenPOWER on IntegriCloud