- Jul 14, 2004
-
-
Chris Lattner authored
Since the stupid '%X = const int 4' thing is gone, we can now simplify setValueNameMergingDuplicates a bit more. llvm-svn: 14810
-
Chris Lattner authored
llvm-svn: 14809
-
Chris Lattner authored
llvm-svn: 14808
-
Chris Lattner authored
for a basic block, use it when the block is defined instead of deleting it and creating a new one. Also, only create at most ONE forward reference for any block, instead of one for each forward reference. llvm-svn: 14807
-
Chris Lattner authored
llvm-svn: 14805
-
- Jul 13, 2004
-
-
Chris Lattner authored
forward reference blocks if they have been created (instead of creating a new block, replaceAllUsesOfWith, then nuking the placeholder). This is not yet implemented. llvm-svn: 14791
-
Chris Lattner authored
just to keep track of some per-object state! Gaah! Whoever wrote this stuff... oh wait, that would be me. Never mind. llvm-svn: 14790
-
Chris Lattner authored
llvm-svn: 14789
-
Chris Lattner authored
the funciton symbol table to check for conflicts instead of having to keep a shadow named LocalSymtab. Totally eliminate LocalSymtab. Verified that this did not cause a regression on the testcase for PR107. llvm-svn: 14788
-
Chris Lattner authored
1. Split setValueName into two separate functions, one that is only used at function scope and doesn't have to deal with duplicates, and one that can be used either at global or function scope but that does deal with conflicts. Conflicts were only in there because of the crappy old CFE and probably should be entirely eliminated. 2. Insert BasicBlock's into the parent functions when they are created instead of when they are complete. This effects name lookup (for the better), which will be exploited in the next patch. llvm-svn: 14787
-
Chris Lattner authored
code. llvm-svn: 14785
-
- Jul 09, 2004
-
-
Chris Lattner authored
llvm-svn: 14724
-
Chris Lattner authored
llvm-svn: 14707
-
- Jul 04, 2004
-
-
Reid Spencer authored
any more. Needed for bug 122 - #include <iostream> since Value.h doesn't include it any more. llvm-svn: 14621
-
- Jun 17, 2004
-
-
Chris Lattner authored
llvm-svn: 14201
-
- May 28, 2004
-
-
Reid Spencer authored
llvm-svn: 13862
-
Reid Spencer authored
break when Type::TypeTy goes away. Also remove a dead block of code and dead comments. llvm-svn: 13861
-
- May 26, 2004
-
-
Reid Spencer authored
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
-
Chris Lattner authored
Reid cringe :) llvm-svn: 13788
-
- May 25, 2004
-
-
Reid Spencer authored
llvm-svn: 13758
-
- Apr 18, 2004
-
-
Chris Lattner authored
llvm-svn: 13023
-
- Apr 05, 2004
-
-
Chris Lattner authored
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
-
- Mar 31, 2004
-
-
Chris Lattner authored
llvm-svn: 12566
-
- Mar 30, 2004
-
-
Chris Lattner authored
llvm-svn: 12551
-
- Mar 12, 2004
-
-
Chris Lattner authored
llvm-svn: 12313
-
- Mar 08, 2004
-
-
Chris Lattner authored
I introduced last night. Note to self: test the *correct* tree... llvm-svn: 12220
-
Chris Lattner authored
llvm-svn: 12212
-
- Feb 09, 2004
-
-
Chris Lattner authored
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
-
Chris Lattner authored
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
-
Chris Lattner authored
llvm-svn: 11228
-
Chris Lattner authored
llvm-svn: 11224
-
Chris Lattner authored
llvm-svn: 11222
-
Chris Lattner authored
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
-
Chris Lattner authored
type from containing one. This speeds up the asmparser on the testcase in PR224 from 61->50s. llvm-svn: 11220
-
- Feb 08, 2004
-
-
Chris Lattner authored
allow 'except' instead of 'unwind' here though. llvm-svn: 11203
-
- Jan 12, 2004
-
-
Chris Lattner authored
llvm-svn: 10791
-
- Dec 31, 2003
-
-
Chris Lattner authored
compile when enabled. llvm-svn: 10657
-
- Dec 23, 2003
-
-
Chris Lattner authored
llvm-svn: 10599
-
Chris Lattner authored
constructed! llvm-svn: 10598
-
Chris Lattner authored
llvm-svn: 10596
-