| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
Patch by: Aaron Watry
llvm-svn: 184999
|
| |
|
|
|
|
| |
Patch by: Aaron Watry
llvm-svn: 184998
|
| |
|
|
|
|
|
|
| |
Much more understandable/readable as a result, and probably more efficient.
Patch by: Aaron Watry
llvm-svn: 184997
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Max(x,y) is available for all integer/floating types.
Patch by: Aaron Watry
llvm-svn: 184995
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Patch by: Aaron Watry
llvm-svn: 184993
|
| |
|
|
|
|
|
|
| |
Adds this function for both int and floating data types.
Patch by: Aaron Watry
llvm-svn: 184992
|
| |
|
|
| |
llvm-svn: 184991
|
| |
|
|
|
|
| |
Patch by: Niels Ole Salscheider
llvm-svn: 184990
|
| |
|
|
|
|
| |
Patch by: Niels Ole Salscheider
llvm-svn: 184989
|
| |
|
|
| |
llvm-svn: 184988
|
| |
|
|
| |
llvm-svn: 184987
|
| |
|
|
|
|
| |
static functions are not allowed in OpenCL C
llvm-svn: 184986
|
| |
|
|
|
|
| |
These functions were not being compiled
llvm-svn: 184985
|
| |
|
|
| |
llvm-svn: 184984
|
| |
|
|
| |
llvm-svn: 184983
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
This allows libclc to be built for R600 with upstream clang and LLVM.
llvm-svn: 184980
|
| |
|
|
|
|
|
| |
to lib, and add header files in generic. Incorporates a patch by
Tom Stellard!
llvm-svn: 184979
|
| |
|
|
| |
llvm-svn: 184978
|
| |
|
|
| |
llvm-svn: 184977
|
| |
|
|
| |
llvm-svn: 184976
|
| |
|
|
|
|
|
| |
This includes a get_global_id() implementation and function stubs for
the other workitem and synchronization functions.
llvm-svn: 184975
|
| |
|
|
| |
llvm-svn: 184974
|
| |
|
|
| |
llvm-svn: 184973
|
| |
|
|
|
|
| |
[-Wc++11-extensions]
llvm-svn: 184972
|
| |
|
|
|
|
| |
Patch by 罗勇刚(Yonggang Luo).
llvm-svn: 184971
|
| |
|
|
| |
llvm-svn: 184970
|
| |
|
|
| |
llvm-svn: 184969
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This allows for targeting the ARMv8 AArch32 variant.
llvm-svn: 184967
|
| |
|
|
|
|
| |
consider them as a candidate for replacement of instructions to be visited.
llvm-svn: 184966
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
The barrier instructions are only "always-execute" in ARM mode, they can quite
happily sit inside an IT block in Thumb.
llvm-svn: 184964
|
| |
|
|
| |
llvm-svn: 184963
|
| |
|
|
|
|
| |
Make v4 the default ARM architecture attribute, to match CodeGen.
llvm-svn: 184962
|
| |
|
|
|
|
|
| |
This reverts commit r184816. With Chandler's change in r184929, this should
no longer be necessary.
llvm-svn: 184961
|
| |
|
|
| |
llvm-svn: 184960
|
| |
|
|
| |
llvm-svn: 184959
|
| |
|
|
| |
llvm-svn: 184958
|
| |
|
|
|
|
| |
Factor out code to be reused in LSan. Also switch from linked list to vector.
llvm-svn: 184957
|
| |
|
|
| |
llvm-svn: 184956
|
| |
|
|
| |
llvm-svn: 184955
|
| |
|
|
| |
llvm-svn: 184954
|
| |
|
|
|
|
|
| |
Host::GetOSVersion's caller already sets it to UINT32_MAX to determine
which version number components are set.
llvm-svn: 184953
|
| |
|
|
|
|
| |
here. Should be matched to single \ with '\\'.
llvm-svn: 184952
|
| |
|
|
|
|
|
| |
Instead of creating a temporary directory, remember the set of temporary files
we create.
llvm-svn: 184951
|
| |
|
|
| |
llvm-svn: 184950
|