Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove an assertion that uses Type::TypeTy that is never hit and will | Reid Spencer | 2004-05-27 | 1 | -12/+1 | |
| | | | | | | | break when Type::TypeTy goes away. Also remove a dead block of code and dead comments. llvm-svn: 13861 | |||||
* | Provide the correct patch for bug 345. The solution is to add a setTypeName | Reid Spencer | 2004-05-26 | 1 | -7/+68 | |
| | | | | | | | | function to llvmAsmParser.y and then use it in the one place in the grammar that needs it. Also had to make Type::setName public because setTypeName needs it in order to retain compatibility with setValueName. llvm-svn: 13795 | |||||
* | A quick and ugly hack to fix PR345. I used TypeTy specifically to make | Chris Lattner | 2004-05-26 | 1 | -1/+7 | |
| | | | | | | Reid cringe :) llvm-svn: 13788 | |||||
* | Changed to use SymbolTable's new lookup interface. | Reid Spencer | 2004-05-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 13758 | |||||
* | Fix a memory leak. We leaked the vector holding the entries in switch tables. | Chris Lattner | 2004-04-17 | 1 | -0/+1 | |
| | | | | llvm-svn: 13023 | |||||
* | Support getelementptr instructions which use uint's to index into structure | Chris Lattner | 2004-04-05 | 1 | -1/+26 | |
| | | | | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. Auto-upgrade .ll files that use ubytes to index into structures to use uint's. llvm-svn: 12652 | |||||
* | Avoid TRUE and FALSE which apparently conflict with some macros on OSX | Chris Lattner | 2004-03-31 | 1 | -5/+5 | |
| | | | | llvm-svn: 12566 | |||||
* | Fix bug: Assembler/2004-03-30-UnclosedFunctionCrash.llx | Chris Lattner | 2004-03-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 12551 | |||||
* | Allow parsing select instruction and constant expr | Chris Lattner | 2004-03-12 | 1 | -1/+15 | |
| | | | | llvm-svn: 12313 | |||||
* | Insert functions into the module promptly, not lazily. This fixes a bug | Chris Lattner | 2004-03-08 | 1 | -11/+2 | |
| | | | | | | I introduced last night. Note to self: test the *correct* tree... llvm-svn: 12220 | |||||
* | Eliminate a REALLY HORRIBLE API: mutateReferences, which is gross gross gross. | Chris Lattner | 2004-03-08 | 1 | -5/+7 | |
| | | | | llvm-svn: 12212 | |||||
* | It turns out that the two dimensional vectors were causing big slowdowns | Chris Lattner | 2004-02-09 | 1 | -32/+34 | |
| | | | | | | | | | | | | | | | | | in this for programs with lots of types (like the testcase in PR224). The problem was that the type ID that the outer vector was using was not very dense (as many types are getting resolved), so the vector is large and gets reallocated a lot. Since there are a lot of values in the program (the .ll file is 10M), each reallocation has to copy the subvectors, which is also quite slow (this wouldn't be a problem if C++ supported move semantics, but it doesn't, at least not yet :( Changing the outer data structure to a map speeds a release build of llvm-as up from 11.21s to 5.13s on the testcase in PR224. llvm-svn: 11244 | |||||
* | When resolving upreferences, if multiple uprefs will be resolved to the same | Chris Lattner | 2004-02-09 | 1 | -6/+24 | |
| | | | | | | | | type at the same time, resolve the upreferences to each other before resolving it to the outer type. This shaves off some time from the testcase in PR224, from 25.41s -> 21.72s. llvm-svn: 11241 | |||||
* | Adjust to the changed StructType interface. In particular, ↵ | Chris Lattner | 2004-02-09 | 1 | -2/+2 | |
| | | | | | | getElementTypes() is gone. llvm-svn: 11228 | |||||
* | Start using the new and improve interface to FunctionType arguments | Chris Lattner | 2004-02-09 | 1 | -4/+4 | |
| | | | | llvm-svn: 11224 | |||||
* | This #include is not needed, it should have been removed with the last patch | Chris Lattner | 2004-02-09 | 1 | -1/+0 | |
| | | | | llvm-svn: 11222 | |||||
* | Instead of searching the entire type graph for a type to determine if it | Chris Lattner | 2004-02-09 | 1 | -8/+29 | |
| | | | | | | | | | | | contains the type we are looking for, just search the immediately used types. We can only do this because we keep the "current" type in the nesting level as we decrement upreferences. This change speeds up the testcase in PR224 from 50.4s to 22.08s, not too shabby. llvm-svn: 11221 | |||||
* | Upreferences are always OpaqueTypes, meaning that it is impossible for a ↵ | Chris Lattner | 2004-02-09 | 1 | -0/+1 | |
| | | | | | | | | | non-abstract type from containing one. This speeds up the asmparser on the testcase in PR224 from 61->50s. llvm-svn: 11220 | |||||
* | Change the 'exception' destination to the 'unwind' destination. We will always | Chris Lattner | 2004-02-08 | 1 | -2/+2 | |
| | | | | | | allow 'except' instead of 'unwind' here though. llvm-svn: 11203 | |||||
* | Don't use ConstantExpr::getShift anymore | Chris Lattner | 2004-01-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 10791 | |||||
* | Minor code cleanups. The only bugfix is to the UR_DEBUG stuff which didn't | Chris Lattner | 2003-12-31 | 1 | -15/+20 | |
| | | | | | | compile when enabled. llvm-svn: 10657 | |||||
* | Right, fix the problem with invoke instructions, not just call instructions | Chris Lattner | 2003-12-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 10599 | |||||
* | Do not delete the type holder until after the call instruction has been | Chris Lattner | 2003-12-23 | 1 | -1/+1 | |
| | | | | | | constructed! llvm-svn: 10598 | |||||
* | Minor cleanups, plug a minor memory leak | Chris Lattner | 2003-12-23 | 1 | -3/+1 | |
| | | | | llvm-svn: 10596 | |||||
* | To not barf when an error occurs. | Chris Lattner | 2003-11-26 | 1 | -9/+9 | |
| | | | | llvm-svn: 10236 | |||||
* | Fix PR147 | Chris Lattner | 2003-11-25 | 1 | -0/+5 | |
| | | | | llvm-svn: 10204 | |||||
* | Check return types of functions | Chris Lattner | 2003-11-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 10146 | |||||
* | Don't crash on bogus source value | Chris Lattner | 2003-11-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 10132 | |||||
* | Fix bug PR107, patch contributed by Reid Spencer! | Chris Lattner | 2003-11-12 | 1 | -1/+26 | |
| | | | | llvm-svn: 9911 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -27/+34 | |
| | | | | llvm-svn: 9903 | |||||
* | Make sure that PHI node operands are first class types | Chris Lattner | 2003-10-30 | 1 | -0/+2 | |
| | | | | llvm-svn: 9607 | |||||
* | Added LLVM copyright header. | John Criswell | 2003-10-21 | 1 | -0/+7 | |
| | | | | llvm-svn: 9321 | |||||
* | Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵ | Chris Lattner | 2003-10-19 | 1 | -2/+2 | |
| | | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269 | |||||
* | New revised variable argument handling support | Chris Lattner | 2003-10-18 | 1 | -3/+104 | |
| | | | | llvm-svn: 9219 | |||||
* | Tighten up handling of checks for shift instructions | Chris Lattner | 2003-10-17 | 1 | -2/+4 | |
| | | | | llvm-svn: 9191 | |||||
* | Minor cleanups | Chris Lattner | 2003-10-16 | 1 | -30/+28 | |
| | | | | llvm-svn: 9177 | |||||
* | Add support for 'weak' linkage. | Chris Lattner | 2003-10-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 9171 | |||||
* | Decrease usage of use_size() | Chris Lattner | 2003-10-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 9135 | |||||
* | Regularize header file comments | Chris Lattner | 2003-10-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 9071 | |||||
* | Reserve space for PHI operands | Chris Lattner | 2003-10-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 9007 | |||||
* | Accept 'weak' as a linkage type. For now, just turn it into linkonce linkage | Chris Lattner | 2003-10-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 8998 | |||||
* | Add better checking | Chris Lattner | 2003-10-10 | 1 | -0/+6 | |
| | | | | llvm-svn: 8996 | |||||
* | The objects mapped are really PATypeHolders, not PATypeHandles | Chris Lattner | 2003-10-02 | 1 | -2/+2 | |
| | | | | llvm-svn: 8822 | |||||
* | Oops, look at the VOLATILE marker, not the opcode | Chris Lattner | 2003-09-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 8413 | |||||
* | Add support for the unwind instruction | Chris Lattner | 2003-09-08 | 1 | -2/+5 | |
| | | | | llvm-svn: 8408 | |||||
* | Parse volatile loads/stores | Chris Lattner | 2003-09-08 | 1 | -17/+26 | |
| | | | | llvm-svn: 8402 | |||||
* | Remove gross old hacky code that was in there for backwards compatibility | Chris Lattner | 2003-09-01 | 1 | -56/+9 | |
| | | | | | | 1 year is plenty of migration time! llvm-svn: 8282 | |||||
* | Rename SwitchInst::dest_push_back -> addCase | Chris Lattner | 2003-08-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 8089 | |||||
* | Accept double quoted strings everwhere we accept a %ABC variable name. | Chris Lattner | 2003-08-22 | 1 | -10/+8 | |
| | | | | | | | | This introduces one more innoculous shift-reduce conflict, but will REALLY help the type names generated by the C++ frontend, which wants to use all kinds of crazy stuff. llvm-svn: 8050 | |||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 7944 |