summaryrefslogtreecommitdiffstats
path: root/llvm/utils
Commit message (Collapse)AuthorAgeFilesLines
* work around a gcc bug with -Wuninitialized.Chris Lattner2010-02-101-0/+1
| | | | llvm-svn: 95808
* lit: Ignore dot files when scanning for tests (e.g., editor temprary files,Daniel Dunbar2010-02-101-1/+6
| | | | | | etc.) llvm-svn: 95803
* MC/AsmMatcher: Tweak conversion function name.Daniel Dunbar2010-02-101-1/+1
| | | | llvm-svn: 95802
* MC/AsmMatcher: Add support for creating tied operands when constructing MCInsts.Daniel Dunbar2010-02-101-9/+67
| | | | | | | - Pretty messy, but we need to rework how we handle tied operands in MCInst anyway. llvm-svn: 95774
* Remove stray DOS newline.Daniel Dunbar2010-02-101-1/+1
| | | | llvm-svn: 95765
* Updated the enhanced disassembly library's TableGenSean Callanan2010-02-101-8/+1
| | | | | | | backend to not use exceptions at all except in cases of actual error. llvm-svn: 95762
* Updated the TableGen emitter for the EnhancedSean Callanan2010-02-101-209/+24
| | | | | | | Disassembler to take advantage of the refactored AsmWriterInst.h. Note removed parser code. llvm-svn: 95760
* Changed AsmWriterOperand to also include the index of theSean Callanan2010-02-102-4/+15
| | | | | | | operand into the CodeGenInstruction's list of operands, which is useful for EDEmitter. (Still working on PR6219) llvm-svn: 95759
* Introduce a new CodeGenInstruction::ConstraintInfo classChris Lattner2010-02-104-25/+57
| | | | | | | | | for representing constraint info semantically instead of as a c expression that will be blatted out to the .inc file. Fix X86RecognizableInstr to use this instead of parsing C code :). llvm-svn: 95753
* Fixed some indentation in the AsmWriterInstSean Callanan2010-02-094-14/+22
| | | | | | | | implementation. Also changed the constructor so that it does not require a Record, making it usable by the EDEmitter. llvm-svn: 95715
* Added AsmWriterInst.cpp to the CMakeList so thatSean Callanan2010-02-091-0/+1
| | | | | | it builds OK on Visual Studio. llvm-svn: 95702
* Per PR 6219, factored AsmWriterInst and AsmWriterOperandSean Callanan2010-02-093-325/+364
| | | | | | | | | out of the AsmWriterEmitter. This patch does the physical code movement, but leaves the implementation unchanged. I'll make any changes necessary to generalize the code in a separate patch. llvm-svn: 95697
* move target-independent opcodes out of TargetInstrInfoChris Lattner2010-02-093-9/+9
| | | | | | | | | into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
* pass stringref by value instead of by const&Chris Lattner2010-02-091-10/+10
| | | | llvm-svn: 95627
* Reintroduce the InlineHint function attribute.Jakob Stoklund Olesen2010-02-062-1/+2
| | | | | | | | | | | | This time it's for real! I am going to hook this up in the frontends as well. The inliner has some experimental heuristics for dealing with the inline hint. When given a -respect-inlinehint option, functions marked with the inline keyword are given a threshold just above the default for -O3. We need some experiments to determine if that is the right thing to do. llvm-svn: 95466
* Make lit's gtest support honor config.environment.Jeffrey Yasskin2010-02-052-8/+17
| | | | llvm-svn: 95398
* New flag for GenLibDeps, and llvm-config-perobjincl.Torok Edwin2010-02-041-1/+142
| | | | | | | This allows to show the explicit files that need to be built/linked to get an LLVM component. llvm-svn: 95300
* sink handling of target-independent machine instrs (otherChris Lattner2010-02-031-18/+0
| | | | | | | | than DEBUG_VALUE :( ) into the target indep AsmPrinter.cpp file. This allows elimination of the NO_ASM_WRITER_BOILERPLATE hack among other things. llvm-svn: 95177
* AsmMatcherEmitter: Use stable_sort when reordering instructions, so that orderDaniel Dunbar2010-02-021-3/+5
| | | | | | | is still deterministic even amongst ambiguous instructions (eventually ambiguous match orders will be a hard error, but we aren't there yet). llvm-svn: 95157
* AsmMatcher: Create operand classes before use, apparently records aren't visitedDaniel Dunbar2010-01-301-1/+7
| | | | | | in the order they were declared. llvm-svn: 94868
* FileCheck: When looking for "possible matches", only compare against the prefixDaniel Dunbar2010-01-301-1/+4
| | | | | | | line. Turns out edit_distance can be slow if the string we are scanning for happens to be quite large. llvm-svn: 94860
* Minor code cleanup.Dan Gohman2010-01-291-1/+1
| | | | llvm-svn: 94848
* Skip whitespace when looking for a potential intended match.Dan Gohman2010-01-291-0/+5
| | | | | | | | | | | | | | | Before: <stdin>:94:1: note: possible intended match here movsd 4096(%rsi), %xmm0 ^ After: <stdin>:94:2: note: possible intended match here movsd 4096(%rsi), %xmm0 ^ llvm-svn: 94847
* Fix the position of the caret in the FileCheck error message.Dan Gohman2010-01-291-1/+4
| | | | | | | | | | | | | | | | Before: test/CodeGen/X86/lsr-reuse.ll:52:34: error: expected string not found in input ; CHECK: movsd -2048(%rsi), %xmm0 ^ After: test/CodeGen/X86/lsr-reuse.ll:52:10: error: expected string not found in input ; CHECK: movsd -2048(%rsi), %xmm0 ^ llvm-svn: 94846
* FileCheck: Switch "possible match" calculation to use StringRef::edit_distance.Daniel Dunbar2010-01-291-6/+1
| | | | | | - Thanks Doug, who is obviously less lazy than me! llvm-svn: 94795
* Quick fix to make the header file for the enhancedSean Callanan2010-01-291-3/+3
| | | | | | | disassembly information have a better comment (and better guard macros). llvm-svn: 94781
* Recognize 'add_executable' when analyzing CMake files.Ted Kremenek2010-01-291-1/+2
| | | | llvm-svn: 94777
* Update CMake build.Ted Kremenek2010-01-291-0/+1
| | | | llvm-svn: 94776
* Added a custom TableGen backend to support theSean Callanan2010-01-293-0/+905
| | | | | | | enhanced disassembler, and the necessary makefile rules to build the table for X86. llvm-svn: 94764
* Escape double quotes in 'help'.Mikhail Glushenkov2010-01-261-2/+17
| | | | llvm-svn: 94543
* make -fno-rtti the default unless a directory builds with REQUIRES_RTTI.Chris Lattner2010-01-242-0/+2
| | | | llvm-svn: 94378
* Modified the register matcher function in AsmMatcher toSean Callanan2010-01-231-3/+5
| | | | | | | | | | | be static. Also made it possible for clients to get it and no other functions from ...GenAsmMatcher.inc by defining REGISTERS_ONLY before including GenAsmMatcher.inc. This sets the stage for target-specific lexers that can identify registers and return AsmToken::Register as appropriate. llvm-svn: 94266
* AsmMatcher: Add a comment.Daniel Dunbar2010-01-231-0/+4
| | | | llvm-svn: 94261
* Make GetSourceVersion more portable, thanks Pawel!Daniel Dunbar2010-01-221-1/+1
| | | | llvm-svn: 94186
* lit: Separate test suite from test name with spaces, to make it easier to ↵Daniel Dunbar2010-01-221-1/+1
| | | | | | cut and paste. llvm-svn: 94134
* Add a simple script for getting a version tag from a svn/git-svn/gitDaniel Dunbar2010-01-211-0/+27
| | | | | | repository. Feel free to add support for your favorite VCS. llvm-svn: 94077
* The change in r90189 adds a link in a directory outside the iPhone platformBob Wilson2010-01-191-16/+11
| | | | | | | | | | | directory when building the llvmCore_Embedded project. Fix this by putting the iPhone platform directory into DEST_DIR instead of DEST_ROOT. I also noticed what appears to be an unintentional use of DEVELOPER_BIN instead of DEVELOPER_DIR, so I fixed that and changed to use DEVELOPER_DIR in some places that were hardcoded to "Developer". Finally, the other changes here allowed some refactoring and simplification, which I have done. llvm-svn: 93878
* update mkpatch, patch by Garrison Venn!Chris Lattner2010-01-181-2/+2
| | | | llvm-svn: 93771
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-152-2/+1
| | | | | | users. llvm-svn: 93558
* Remove DEBUG_DECLARE, looks like we don't need it.Dale Johannesen2010-01-153-16/+5
| | | | | | Also, DEBUG_VALUE has side effects. llvm-svn: 93498
* Split the TargetAsmParser "ParseInstruction" interface in half:Chris Lattner2010-01-141-9/+13
| | | | | | | | | | | the new ParseInstruction method just parses and returns a list of target operands. A new MatchInstruction interface is used to turn the operand list into an MCInst. This requires new/deleting all the operands, but it also gives targets the ability to use polymorphic operands if they want to. llvm-svn: 93469
* Use ENABLE_ASSERTIONS throughout.Bill Wendling2010-01-141-2/+2
| | | | llvm-svn: 93423
* Erm, previous patch was wrong; Thanks Bill\!Stuart Hastings2010-01-141-2/+0
| | | | llvm-svn: 93381
* Enable assertions by default for Apple-style builds.Stuart Hastings2010-01-141-2/+2
| | | | llvm-svn: 93380
* Reimplement getToken and SplitString as "StringRef helper functions"Benjamin Kramer2010-01-111-1/+3
| | | | | | | | | - getToken is modeled after StringRef::split but it can split on multiple separator chars and skips leading seperators. - SplitString is a StringRef::split variant for more than 2 elements with the same behaviour as getToken. llvm-svn: 93161
* Tighten up the vim LLVM IR syntax highlighting regex for labels, and add aDan Gohman2010-01-091-1/+3
| | | | | | highlighting rule for identifiers. llvm-svn: 93056
* Set the vim auto-indent setting for open braces after case statements toDan Gohman2010-01-091-1/+1
| | | | | | | | | | | | | | | | follow LLVM source convention. Before: case X: { stuff; } After: case X: { stuff; } llvm-svn: 93055
* Add DEBUG_DECLARE. Not used yet.Dale Johannesen2010-01-093-5/+16
| | | | llvm-svn: 93040
* Add DEBUG_VALUE. Not used yet.Dale Johannesen2010-01-083-5/+16
| | | | llvm-svn: 93030
* Partially address a README by having functionattrs consider calls toDuncan Sands2010-01-061-1/+1
| | | | | | | | | | memcpy, memset and other intrinsics that only access their arguments to be readnone if the intrinsic's arguments all point to local memory. This improves the testcase in the README to readonly, but it could in theory be made readnone, however this would involve more sophisticated analysis that looks through the memcpy. llvm-svn: 92829
OpenPOWER on IntegriCloud