- Mar 18, 2011
-
-
Peter Collingbourne authored
add support for the OpenCL __private, __local, __constant and __global address spaces, as well as the __read_only, _read_write and __write_only image access specifiers. Patch originally by ARM; language-specific address space support by myself. llvm-svn: 127915
-
Ted Kremenek authored
Remove '-Xclang' and '-mllvm' entries from Clang man page. The later is only available in debug builds and the former is not supposed to be used by end-users. llvm-svn: 127914
-
-
Jakob Stoklund Olesen authored
The llvm.dbg.value intrinsic refers to SSA values, not virtual registers, so we should be able to extend the range of a value by tracking that value through register copies. This greatly improves the debug value tracking for function arguments that for some reason are copied to a second virtual register at the end of the entry block. We only extend the debug value range where its register is killed. All original llvm.dbg.value locations are still respected. Copies from physical registers are ignored. That should not be a problem since the entry block already adds DBG_VALUE instructions for the virtual registers holding the function arguments. llvm-svn: 127912
-
Daniel Dunbar authored
- We don't really support the majority of the horrible -traditional-cpp behavior, but it is unlikely that we ever will either. This allows us to start trying to use clang as a /usr/bin/cpp replacement and see what pieces of -traditional-cpp mode people actually care about. llvm-svn: 127911
-
Daniel Dunbar authored
comments. llvm-svn: 127910
-
Eli Friedman authored
llvm-svn: 127909
-
Johnny Chen authored
in the same compilation module show up as different types for lldb debugger. llvm-svn: 127904
-
Daniel Dunbar authored
don't support the ABI yet. llvm-svn: 127903
-
Daniel Dunbar authored
llvm-svn: 127902
-
Rafael Espindola authored
'ar'. Have to figure out how to make libLTO even lazier. llvm-svn: 127901
-
Owen Anderson authored
llvm-svn: 127900
-
Owen Anderson authored
llvm-svn: 127899
-
Caroline Tice authored
Fix various small problems with EmulateInstructionARM::EmulateSTRRtSP. llvm-svn: 127898
-
Daniel Dunbar authored
llvm-svn: 127897
-
Daniel Dunbar authored
llvm-svn: 127896
-
Justin Holewinski authored
- Emit mad instead of mad.rn for shader model 1.0 - Emit explicit mov.u32 instructions for reading global variables - (most PTX instructions cannot take global variable immediates) llvm-svn: 127895
-
Anders Carlsson authored
Use the newly added FileManager::getNoncachedStatValue when trying to determine if any files in the preamble have changed. llvm-svn: 127894
-
Anders Carlsson authored
Add FileManager::getNoncachedStatValue, which will resolve relative paths against the working directory specified in the file system options. llvm-svn: 127893
-
Jim Grosbach authored
Factor out the 64-bit specific bits into a helper function and add an equivalent that loads the 32-bit sections. This allows using llvm-rtdyld on ARM. llvm-svn: 127892
-
Jim Grosbach authored
llvm-svn: 127891
-
Anders Carlsson authored
llvm-svn: 127890
-
Owen Anderson authored
llvm-svn: 127888
-
Oscar Fuentes authored
llvm-svn: 127887
-
Jim Grosbach authored
llvm-svn: 127886
-
Jim Grosbach authored
Add a bone-simple utility to load a MachO object into memory, look for a function (main) in it, and run that function directly. This will be used as a test and development platform for MC-JIT work regarding symbol resolution, dynamic lookup, etc.. Code by Daniel Dunbar. llvm-svn: 127885
-
Andrew Trick authored
For example, on 32-bit architecture, don't promote all uses of the IV to 64-bits just because one use is a 64-bit cast. Alternate implementation of the patch by Arnaud de Grandmaison. llvm-svn: 127884
-
Jim Grosbach authored
llvm-svn: 127883
-
Stephen Canon authored
Carefully written implementations of the 32-bit integer divide and modulus functions for ARM. These are still using a naive digit-by-digit algorithm, but the core loop has been carefully written. llvm-svn: 127882
-
Douglas Gregor authored
global using directives in C++ headers, from Elliot Glaysher! llvm-svn: 127881
-
Rafael Espindola authored
llvm-svn: 127879
-
Abramo Bagnara authored
llvm-svn: 127877
-
Abramo Bagnara authored
llvm-svn: 127876
-
Joerg Sonnenberger authored
For now, only the default segments are supported. llvm-svn: 127875
-
Che-Liang Chiou authored
llvm-svn: 127874
-
Che-Liang Chiou authored
llvm-svn: 127873
-
NAKAMURA Takumi authored
On MSVCRT and compatible, output of %e is incompatible to Posix by default. Number of exponent digits should be at least 2. "%+03d" FIXME: Implement our formatter in future! llvm-svn: 127872
-
Bill Wendling authored
makes valgrind stop complaining about uninitialized variables being read when it accesses a bitfield (category) that shares its bits with these variables. llvm-svn: 127871
-
Rafael Espindola authored
functions and initializers, just report the declarations present in the module. The motivation is to open the way for using the lazy module parsing, which should speed up clients that just want a symbol list (nm, ar). This is slightly less precise, but since both -strip-dead-prototypes and -globaldce are part of the standard pipeline, this shouldn't change the result for clang/dragonegg produced binaries. Any decl in an IL file was also put there because a FE expected it to be necessary, so this should not be a problem for "-O0 -emit-llvm". As a sanity check, I have bootstrapped clang on linux and built firefox on both linux and darwin. A clang bootstrap on darwin with LTO fails with or without this patch because, ironically, the linker doesn't like the combination of dead_strip and LTO when building libLTO.so :-) llvm-svn: 127870
-
NAKAMURA Takumi authored
llvm-svn: 127869
-