- Jun 26, 2013
-
-
Tom Stellard authored
Patch by: Aaron Watry llvm-svn: 184999
-
Tom Stellard authored
Patch by: Aaron Watry llvm-svn: 184998
-
Tom Stellard authored
Much more understandable/readable as a result, and probably more efficient. Patch by: Aaron Watry llvm-svn: 184997
-
Tom Stellard authored
This implementation does a lot of bit shifting and masking. Suffice to say, this is somewhat suboptimal... but it does look to produce correct results (after the piglit tests were corrected for sign extension issues). Someone who knows LLVM better than I could re-write this more efficiently. Patch by: Aaron Watry llvm-svn: 184996
-
Tom Stellard authored
Max(x,y) is available for all integer/floating types. Patch by: Aaron Watry llvm-svn: 184995
-
Tom Stellard authored
Created under a new shared/ directory for functions which are available for both integer and floating point types. Patch by: Aaron Watry llvm-svn: 184994
-
Tom Stellard authored
Patch by: Aaron Watry llvm-svn: 184993
-
Tom Stellard authored
Adds this function for both int and floating data types. Patch by: Aaron Watry llvm-svn: 184992
-
Tom Stellard authored
llvm-svn: 184991
-
Tom Stellard authored
Patch by: Niels Ole Salscheider llvm-svn: 184990
-
Tom Stellard authored
Patch by: Niels Ole Salscheider llvm-svn: 184989
-
Tom Stellard authored
llvm-svn: 184988
-
Tom Stellard authored
llvm-svn: 184987
-
Tom Stellard authored
static functions are not allowed in OpenCL C llvm-svn: 184986
-
Tom Stellard authored
These functions were not being compiled llvm-svn: 184985
-
Tom Stellard authored
llvm-svn: 184984
-
Tom Stellard authored
llvm-svn: 184983
-
Tom Stellard authored
Targets can override generic implementations by adding a file called OVERRIDES in $(TARGET_DIR)/lib and listing the generic implementations that it wants to override. For example, to override get_group_id() and get_global_size() you would add these lines to the OVERRIDES file: workitem/get_group_id.cl workitem/get_global_size.cl llvm-svn: 184982
-
Tom Stellard authored
- First introducing a versioning scheme - Add --libexecdir, --includedir and --pkgconfigdir and prefill them as well as --prefix - Build all targets by default - Create clc.pc and install it in $pkgconfigdir - Use clang++ instead of c++ - Rename builtins.bc to built_libs/$triple.bc and install them in $libexecdir - Includes are installed recursively to $includedir - Finally add $(DESTDIR) for 'make install' Patch by: Johannes Obermayr llvm-svn: 184981
-
Tom Stellard authored
This allows libclc to be built for R600 with upstream clang and LLVM. llvm-svn: 184980
-
Tom Stellard authored
to lib, and add header files in generic. Incorporates a patch by Tom Stellard! llvm-svn: 184979
-
Tom Stellard authored
llvm-svn: 184978
-
Tom Stellard authored
llvm-svn: 184977
-
Tom Stellard authored
llvm-svn: 184976
-
Tom Stellard authored
This includes a get_global_id() implementation and function stubs for the other workitem and synchronization functions. llvm-svn: 184975
-
Michael Gottesman authored
llvm-svn: 184974
-
Nadav Rotem authored
llvm-svn: 184973
-
Nico Weber authored
llvm-svn: 184972
-
Rafael Espindola authored
Patch by 罗勇刚(Yonggang Luo). llvm-svn: 184971
-
Joey Gouly authored
llvm-svn: 184970
-
Nadav Rotem authored
llvm-svn: 184969
-
Reid Kleckner authored
This allows clang to parse the type_traits header in Visual Studio 2012, which is included widely in practice. This is a rework of r163022 by João Matos. The original patch broke preprocessing of gtest headers, which this patch addresses. Patch by Will Wilson! llvm-svn: 184968
-
Joey Gouly authored
This allows for targeting the ARMv8 AArch32 variant. llvm-svn: 184967
-
Nadav Rotem authored
Do not add cse-ed instructions into the visited map because we dont want to consider them as a candidate for replacement of instructions to be visited. llvm-svn: 184966
-
Tim Northover authored
Unfortunately this addresses two issues (by the time I'd disentangled the logic it wasn't worth putting it back to half-broken): + Coprocessor instructions should all be predicable in Thumb mode. + BKPT should never be predicable. llvm-svn: 184965
-
Tim Northover authored
The barrier instructions are only "always-execute" in ARM mode, they can quite happily sit inside an IT block in Thumb. llvm-svn: 184964
-
Sergey Matveev authored
llvm-svn: 184963
-
Joey Gouly authored
Make v4 the default ARM architecture attribute, to match CodeGen. llvm-svn: 184962
-
Bob Wilson authored
This reverts commit r184816. With Chandler's change in r184929, this should no longer be necessary. llvm-svn: 184961
-
Rafael Espindola authored
llvm-svn: 184960
-