- Oct 24, 2009
-
-
http://llvm.org/PR4822Jeffrey Yasskin authored
compiled. When functions are compiled, they accumulate references in the JITResolver's stub maps. This patch removes those references when the functions are destroyed. It's illegal to destroy a Function when any thread may still try to call its machine code. This patch also updates r83987 to use ValueMap instead of explicit CallbackVHs and fixes a couple "do stuff inside assert()" bugs from r84522. llvm-svn: 84975
-
- Oct 23, 2009
-
-
Victor Hernandez authored
Remove AllocationInst. Since MallocInst went away, AllocaInst is the only subclass of AllocationInst, so it no longer is necessary. llvm-svn: 84969
-
Jeffrey Yasskin authored
Evan Cheng. llvm-svn: 84967
-
Dan Gohman authored
the scale overflows pointer-sized arithmetic. This fixes PR5281. llvm-svn: 84954
-
Dan Gohman authored
exact backedge taken count, when checking for infinite loops. This allows it to delete loops with multiple exit conditions. llvm-svn: 84952
-
Chris Lattner authored
llvm-svn: 84943
-
Chris Lattner authored
implements something out of Target/README.txt producing: _foo: ## @foo movl 4(%esp), %eax movapd LCPI1_0, %xmm0 movapd %xmm0, (%eax) ret $4 instead of: _foo: ## @foo movl 4(%esp), %eax movapd _b, %xmm0 mulpd LCPI1_0, %xmm0 addpd _a, %xmm0 movapd %xmm0, (%eax) ret $4 llvm-svn: 84942
-
Chris Lattner authored
bytes (i256). llvm-svn: 84941
-
Chris Lattner authored
non-type-safe constant initializers. This sort of thing happens quite a bit for 4-byte loads out of string constants, unions, bitfields, and an interesting endianness check from sqlite, which is something like this: const int sqlite3one = 1; # define SQLITE_BIGENDIAN (*(char *)(&sqlite3one)==0) # define SQLITE_LITTLEENDIAN (*(char *)(&sqlite3one)==1) # define SQLITE_UTF16NATIVE (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE) all of these macros now constant fold away. This implements PR3152 and is based on a patch started by Eli, but heavily modified and extended. llvm-svn: 84936
-
Tanya Lattner authored
llvm-svn: 84934
-
Evan Cheng authored
llvm-svn: 84932
-
Evan Cheng authored
llvm-svn: 84931
-
Dale Johannesen authored
they don't get lost; I don't think the originator has write access. llvm-svn: 84928
-
Bill Wendling authored
llvm-svn: 84921
-
Victor Hernandez authored
llvm-svn: 84919
-
Bill Wendling authored
does. llvm-svn: 84916
-
David Goodwin authored
Allow the target to select the level of anti-dependence breaking that should be performed by the post-RA scheduler. The default is none. llvm-svn: 84911
-
Ted Kremenek authored
Use 'waitpid' instead of 'wait'. Basing Program::Wait() on 'wait()' prevents it being correct within a multithreaded context. This address: PR 5277 (Program::Wait is unsafe to call from multiple threads). Note: If waitpid() turns out to be non-portable, we can add more autoconf magic, or look into another solution. llvm-svn: 84903
-
Jeffrey Yasskin authored
gcc-4.4. llvm-svn: 84902
-
Eric Christopher authored
llvm-svn: 84900
-
- Oct 22, 2009
-
-
Benjamin Kramer authored
llvm-svn: 84898
-
Jeffrey Yasskin authored
llvm-svn: 84895
-
Bill Wendling authored
llvm-svn: 84894
-
Jeffrey Yasskin authored
llvm-svn: 84892
-
Jeffrey Yasskin authored
even when keys get RAUWed and deleted during its lifetime. By default the keys act like WeakVHs, but users can pass a third template parameter to configure how updates work and whether to do anything beyond updating the map on each action. It's also possible to automatically acquire a lock around ValueMap updates triggered by RAUWs and deletes, to support the ExecutionEngine. llvm-svn: 84890
-
Devang Patel authored
llvm-svn: 84886
-
Devang Patel authored
llvm-svn: 84885
-
Devang Patel authored
llvm-svn: 84884
-
Devang Patel authored
llvm-svn: 84878
-
Stuart Hastings authored
Now with Clang-compatibility. llvm-svn: 84872
-
Bob Wilson authored
llvm-svn: 84868
-
Duncan Sands authored
In the latest binutils the plugin-api.h needs this - without it the LLVM gold plugin fails to compile. llvm-svn: 84861
-
Nicolas Geoffray authored
before freeing them. llvm-svn: 84859
-
Duncan Sands authored
of the struct (!) works correctly. llvm-svn: 84853
-
Duncan Sands authored
llvm-svn: 84851
-
Benjamin Kramer authored
llvm-svn: 84849
-
Evan Cheng authored
Move if-conversion before post-regalloc scheduling so the predicated instruction get scheduled properly. llvm-svn: 84843
-
Evan Cheng authored
Load / store multiple was missing opportunites when the load / store bundles are at the end of the bb. Test case is already in, the bug is exposed by subsequent commit. llvm-svn: 84842
-
Chris Lattner authored
llvm-svn: 84841
-
Chris Lattner authored
to libanalysis. Instcombine shrinking... does this even make sense??? llvm-svn: 84840
-