summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Fix miscodegen of V_SET0 in PPC.Chris Lattner2006-03-181-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26836 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the <tt> tag instead of <pre> tag to get code/file/warning lists toReid Spencer2006-03-171-1/+1
| | | | | | | wrap but also still be in a fixed-width font. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26825 91177308-0d34-0410-b5e6-96231b3b80d8
* allow the GCCBuiltinName field to be optionalChris Lattner2006-03-151-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26784 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix VC++ build error.Jeff Cohen2006-03-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26773 91177308-0d34-0410-b5e6-96231b3b80d8
* remove typoChris Lattner2006-03-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26772 91177308-0d34-0410-b5e6-96231b3b80d8
* Autogenerate a table of intrinsic names, so we can map from intrinsic ID toChris Lattner2006-03-152-4/+22
| | | | | | | LLVM intrinsic function name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26771 91177308-0d34-0410-b5e6-96231b3b80d8
* Autogenerate code to map from GCC builtin to LLVM intrinsic.Chris Lattner2006-03-153-1/+59
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26770 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow a sequence of digits at the end of the directory name when trying toReid Spencer2006-03-142-2/+3
| | | | | | | | | | | | | | | | determine the top directory. This allows the tool to find the correct top directory when you have something like: /x/llvm /x/llvm2 /x/llvm3 Previously the scripts would always find /x/llvm even if you were in the llvm2 or llvm3 directory because the pattern didn't allow the digits at the end of the path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26751 91177308-0d34-0410-b5e6-96231b3b80d8
* Change llvm.cs.uiuc.edu -> llvm.orgReid Spencer2006-03-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26750 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a newline at the end to avoid gcc warnings.Reid Spencer2006-03-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26749 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert llvm.cs.uiuc.edu -> llvm.orgReid Spencer2006-03-145-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26748 91177308-0d34-0410-b5e6-96231b3b80d8
* emit a mapping from LLVM intrinsic -> GCC builtins.Chris Lattner2006-03-133-8/+30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26736 91177308-0d34-0410-b5e6-96231b3b80d8
* Verify that packed type operands have the right size and base type.Chris Lattner2006-03-132-6/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26735 91177308-0d34-0410-b5e6-96231b3b80d8
* fix pasto in generate assertion msgChris Lattner2006-03-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26706 91177308-0d34-0410-b5e6-96231b3b80d8
* generate side-effect infoChris Lattner2006-03-092-0/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26672 91177308-0d34-0410-b5e6-96231b3b80d8
* Parse mod/ref properties, autogen mod/ref informationChris Lattner2006-03-092-0/+47
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26669 91177308-0d34-0410-b5e6-96231b3b80d8
* parse intrinsic typesChris Lattner2006-03-093-4/+50
| | | | | | | autogenerate an intrinsic verifier git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26666 91177308-0d34-0410-b5e6-96231b3b80d8
* autogenerate the function name recognizerChris Lattner2006-03-092-0/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26663 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporary hack to enable more (store (op (load ...))) folding. This makesEvan Cheng2006-03-091-30/+74
| | | | | | | | it possible when a TokenFactor is between the load and store. But is still missing some cases due to ordering issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26638 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't generate silly matching code like this:Evan Cheng2006-03-071-3/+8
| | | | | | | | | | | | | if (N1.getOpcode() == ISD::ADD && ...) if (... && (N1.getNumOperands() == 1 || !isNonImmUse(N1.Val, N10.Val))) && ...) TableGen knows N1 must have more than one operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26592 91177308-0d34-0410-b5e6-96231b3b80d8
* Silence a warning.Chris Lattner2006-03-033-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26508 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix pasteoChris Lattner2006-03-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26499 91177308-0d34-0410-b5e6-96231b3b80d8
* remove a bunch of long-dead testing codeChris Lattner2006-03-031-331/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26497 91177308-0d34-0410-b5e6-96231b3b80d8
* initial implementation of intrinsic parsingChris Lattner2006-03-034-0/+157
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26495 91177308-0d34-0410-b5e6-96231b3b80d8
* remove out of date commentChris Lattner2006-03-031-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26492 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for "-Ifoo" in addition to "-I foo"Chris Lattner2006-03-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26487 91177308-0d34-0410-b5e6-96231b3b80d8
* RegenerateChris Lattner2006-03-032-53/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26486 91177308-0d34-0410-b5e6-96231b3b80d8
* add support for multiple include directoriesChris Lattner2006-03-032-12/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26485 91177308-0d34-0410-b5e6-96231b3b80d8
* New vector type v2f32.Evan Cheng2006-03-011-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26437 91177308-0d34-0410-b5e6-96231b3b80d8
* Select inline asm memory operands.Chris Lattner2006-02-241-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26349 91177308-0d34-0410-b5e6-96231b3b80d8
* Added x86 integer vector types: 64-bit packed byte integer (v16i8), 64-bitEvan Cheng2006-02-201-0/+3
| | | | | | | packed word integer (v8i16), and 64-bit packed doubleword integer (v2i32). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26294 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bugs identified by VC++.Jeff Cohen2006-02-181-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26287 91177308-0d34-0410-b5e6-96231b3b80d8
* Bump up pattern cost if the resulting instruction is markedEvan Cheng2006-02-181-7/+14
| | | | | | | usesCustomDAGSchedInserter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26282 91177308-0d34-0410-b5e6-96231b3b80d8
* Check the new form for bison output into CVSChris Lattner2006-02-153-0/+638
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26208 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust to new form of handling lexer dependencies, this way shouldn't haveChris Lattner2006-02-143-40/+273
| | | | | | | the problems the old way did. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26161 91177308-0d34-0410-b5e6-96231b3b80d8
* Call InsertISelMapEntry rather than map insertion operator to prevent overlyEvan Cheng2006-02-091-45/+64
| | | | | | | aggrssive inlining. This reduces Select_store frame size from 24k to 10k. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26095 91177308-0d34-0410-b5e6-96231b3b80d8
* Match getTargetNode() changes (now returns SDNode* instead of SDOperand).Evan Cheng2006-02-092-40/+47
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26084 91177308-0d34-0410-b5e6-96231b3b80d8
* Change Select() fromEvan Cheng2006-02-091-69/+98
| | | | | | | | | SDOperand Select(SDOperand N); to void Select(SDOperand &Result, SDOperand N); git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26067 91177308-0d34-0410-b5e6-96231b3b80d8
* Added options -cflag, -cxxflags, and -ldflags to override the default CEvan Cheng2006-02-081-0/+15
| | | | | | | | | compilation, C++ compilation, and linker options. e.g. This is the options I use for testing on my x86 iMac: nice ./NightlyTest.pl -release -cflags "-Os -DNDEBUG -fomit-frame-pointer" -cxxflags "-Os -DNDEBUG -finline-functions -felide-constructors -fomit-frame-pointer" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26057 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -pedantic. It no longer works.Evan Cheng2006-02-081-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26055 91177308-0d34-0410-b5e6-96231b3b80d8
* Hoist all SDOperand declarations within a Select_{opcode}() to the top levelEvan Cheng2006-02-072-34/+67
| | | | | | | to reduce stack memory usage. This is intended to work around the gcc bug. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26026 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for modifier strings in machine instr descriptions. This allowsChris Lattner2006-02-061-6/+38
| | | | | | | | | | us to avoid creating lots of "Operand" types with different printers, instead we can fold several together and use modifiers. For example, we can now use: ${target:call} to say that the operand should be printed like a 'call' operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26024 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify the variant handling code, no functionality change.Chris Lattner2006-02-061-34/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26023 91177308-0d34-0410-b5e6-96231b3b80d8
* At the end of isel, select a replacement node for each handle that does notEvan Cheng2006-02-061-11/+24
| | | | | | | | have one. This can happen if a load's real uses are dead (i.e. they do not have uses themselves). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26014 91177308-0d34-0410-b5e6-96231b3b80d8
* Name change.Evan Cheng2006-02-061-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26013 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle HANDLENODE: just return itself.Evan Cheng2006-02-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26011 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow more loads to be folded which were previously prevented from happeningEvan Cheng2006-02-052-24/+183
| | | | | | | | | | | | | | | | | due to ordering issue. i.e. they were selected for chain use first. Now at load select time, check if it is being selected for a chain use and if it has only a single real use. If so, return a HANDLENODE (with the load as its operand) in its place and record it. When it is folded or the load is selected for a real use, the isel records it as the replacement for the HANDLENODE. The replacement is done when all nodes are selected. This scheme exposed a couple of problems where cycles can happen. (See comments in EmitMatchCode() for descriptions of the problems and their workaround / solutions.) These problems have been resolved with a small compile time penality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25995 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-committing the last bit of change. It shouldn't break PPC this time.Evan Cheng2006-02-051-4/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25982 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporarily revert the last change, which breaks PPC and other targets thatChris Lattner2006-02-041-3/+4
| | | | | | | DO select things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25970 91177308-0d34-0410-b5e6-96231b3b80d8
* Complex pattern's custom matcher should not call Select() on any operands.Evan Cheng2006-02-041-0/+5
| | | | | | | Select them afterwards if it returns true. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25968 91177308-0d34-0410-b5e6-96231b3b80d8