- Jul 16, 2004
-
-
Chris Lattner authored
llvm-svn: 14866
-
Chris Lattner authored
llvm-svn: 14865
-
Chris Lattner authored
llvm-svn: 14864
-
Chris Lattner authored
by using a new macro. llvm-svn: 14863
-
Chris Lattner authored
llvm-svn: 14862
-
Chris Lattner authored
Speed up SCCP substantially by processing overdefined values quickly. This patch speeds up SCCP by about 30-40% on large testcases. llvm-svn: 14861
-
- Jul 15, 2004
-
-
Chris Lattner authored
This version takes about 1s longer than the previous one (down to 2.35s), but on the positive side, it actually works :) llvm-svn: 14856
-
Chris Lattner authored
llvm-svn: 14855
-
Chris Lattner authored
llvm-svn: 14854
-
Chris Lattner authored
llvm-svn: 14853
-
Chris Lattner authored
llvm-svn: 14852
-
Chris Lattner authored
This eliminates an N*N*logN algorithm from the loop simplify pass, replacing it with a much simpler and faster alternative. In a debug build, this reduces gccas time on eon from 85s to 42s. llvm-svn: 14851
-
Chris Lattner authored
llvm-svn: 14850
-
Chris Lattner authored
now send references to ostreams instead of pointers. Sending pointers to ostreams will print their addresses. llvm-svn: 14849
-
Chris Lattner authored
llvm-svn: 14848
-
Chris Lattner authored
llvm-svn: 14847
-
Chris Lattner authored
llvm-svn: 14846
-
Chris Lattner authored
llvm-svn: 14845
-
Chris Lattner authored
llvm-svn: 14844
-
Chris Lattner authored
llvm-svn: 14843
-
Chris Lattner authored
llvm-svn: 14842
-
Chris Lattner authored
llvm-svn: 14841
-
Chris Lattner authored
llvm-svn: 14840
-
Chris Lattner authored
llvm-svn: 14839
-
Chris Lattner authored
llvm-svn: 14838
-
Chris Lattner authored
null, uint 1) to uint)' to a constant integer. We can only do this with primitive LLVM types, because other types have target-specific sizes. llvm-svn: 14837
-
Chris Lattner authored
llvm-svn: 14836
-
Chris Lattner authored
malloc lowering. This means that lowerallocations doesn't need targetdata anymore. yaay. llvm-svn: 14835
-
Chris Lattner authored
this LLVM function: int %foo() { ret int cast (int** getelementptr (int** null, int 1) to int) } into: foo: mov %EAX, 0 lea %EAX, DWORD PTR [%EAX + 4] ret now we compile it into: foo: mov %EAX, 4 ret This sequence is frequently generated by the MSIL front-end, and soon the malloc lowering pass and Java front-ends as well.. -Chris llvm-svn: 14834
-
Chris Lattner authored
llvm-svn: 14833
-
Chris Lattner authored
llvm-svn: 14832
-
Chris Lattner authored
that is made unnecessary by it. llvm-svn: 14831
-
Chris Lattner authored
* Simplify a lot of code because type's cannot be in function symbol tables * Fix memory leaks in handling of redefined function prototypes * Don't use SymbolTable directly for stuff that we can go through the Module for. * Fix some minor bugs on obscure testcases like: test/Feature/globalredefinition.ll * Do not create GlobalVariable objects for forward referenced Functions! * When forward referencing a function in a constant expression, do not create a placeholder, add a bunch of references to it, then turn around and replaceAllUsesOfWith on it with a new global, deleting the placeholder. Instead, when we find the real definition of the global, just use the placeholder instead of creating a new object. This substantially simplifies the asmwriter and should even speed it up on cases heavy in constantexprs (like C++, Java, MSIL)... llvm-svn: 14830
-
Chris Lattner authored
llvm-svn: 14829
-
- Jul 14, 2004
-
-
Chris Lattner authored
replaceAllUsesWith'ing any forward references, just use the forward reference if it exists. This introduces GetForwardRefForGlobal, which will eventually completely replace the horrible DeclareNewGlobalValue function. llvm-svn: 14828
-
Chris Lattner authored
to substantially simplify the result. In particular, we no longer create GlobalVariables and then immediately destroy them when they are duplciate definitions. The real point of this patch though is that it gets us closer to the DeclareNewGlobalValue calls... llvm-svn: 14827
-
Brian Gaeke authored
llvm-svn: 14826
-
Chris Lattner authored
llvm-svn: 14825
-
Chris Lattner authored
hold. Because types are basically immutable anyway, they should not be referenced as "const Type*" everywhere. Just "Type*" should suffice! llvm-svn: 14824
-
Chris Lattner authored
functions multiple times, expecting them to be merged. This should be fixed in the CFE, then here. llvm-svn: 14823
-