Chris Lattner
|
8b418685e9
simplify a bunch of code to use the well-known LLVM IR types computed by CodeGenModule.
|
13 år sedan |
Bob Wilson
|
eac1f6746a
Preserve alignment for Neon vld1_lane/dup and vst1_lane intrinsics.
|
13 år sedan |
Craig Topper
|
30c5f1444d
Remove long dead code for handling vector shift by immediate builtins.
|
13 år sedan |
Craig Topper
|
79a64c7f8c
Remove custom handling for cmpsd/cmpss/cmppd/cmpps builtins. The builtins are now in IntrinsicsX86.td.
|
13 år sedan |
Craig Topper
|
f8495d67ca
Cleanup 3dnow builtin handling. Most of them were already handled by LLVM connecting intrinsics and builtins in IntrinsicsX86.td.
|
13 år sedan |
Benjamin Kramer
|
a49a283926
Make the __builtin_c[lt]zs builtins target independent.
|
13 år sedan |
Bob Wilson
|
8b30a9379f
Make clz/ctz builtins defined for zero on ARM targets. rdar://10732455
|
13 år sedan |
Chris Lattner
|
2ce8842641
reapply r148902:
|
13 år sedan |
Argyrios Kyrtzidis
|
af521dae8e
Revert 148902 which was part of 148901 which was reverted in r148906.
|
13 år sedan |
Chris Lattner
|
9ddc6246b5
use the new ConstantVector::getSplat method where it makes sense.
|
13 år sedan |
David Blaikie
|
3026348bd4
More dead code removal (using -Wunreachable-code)
|
13 år sedan |
Eli Friedman
|
f7b2d8b3b1
Add __builtin_labs and __builtin_llabs, to complete the set of __builtin_*abs. Patch by Ruben Van Boxem.
|
13 år sedan |
David Blaikie
|
561d3abc88
Remove unnecessary default cases in switches over enums.
|
13 år sedan |
Eli Friedman
|
52a27f5be9
Revert r147655; it's breaking the compiler_rt build on OSX.
|
13 år sedan |
David Chisnall
|
843cc5aaed
If we are compiling with -fno-builtin then don't do constant folding of
|
13 år sedan |
Richard Smith
|
80d4b55db9
Small refactoring and simplification of constant evaluation and some of its
|
13 år sedan |
Craig Topper
|
5c75208a5b
Add intrinsics for lzcnt and tzcnt instructions.
|
13 år sedan |
Craig Topper
|
9c2ffd803a
More AVX2 intrinsic support including saturating add/sub and palignr.
|
13 år sedan |
Tony Linthicum
|
9631939f82
Hexagon backend support
|
13 år sedan |
Chandler Carruth
|
50058ec63f
Update Clang to emit the new form of llvm.cttz and llvm.ctlz intrinsics,
|
13 år sedan |
NAKAMURA Takumi
|
83084c8635
lib/CodeGen/CGBuiltin.cpp: Tweak the identifier "Type" to appease msvc.
|
13 år sedan |
Bob Wilson
|
da95f73b59
Clean up type flags for overloaded Neon builtins. No functional change.
|
13 år sedan |
Richard Smith
|
51f4708c00
Rename Expr::Evaluate to Expr::EvaluateAsRValue to make it clear that it will
|
14 år sedan |
Eli Friedman
|
276b061970
Initial implementation of __atomic_* (everything except __atomic_is_lock_free).
|
14 år sedan |
Richard Smith
|
a6b8b2c096
Constant expression evaluation refactoring:
|
14 år sedan |
Eli Friedman
|
51c3b79caa
llvm.memory.barrier is going away; remove the wrapper intrinsic __builtin_llvm_memory_barrier.
|
14 år sedan |
Benjamin Kramer
|
578faa837b
de-tmpify clang.
|
14 år sedan |
David Blaikie
|
b219cfc4d7
Switch assert(0/false) llvm_unreachable.
|
14 år sedan |
Eli Friedman
|
5c22ad2ef6
Fix comment.
|
14 år sedan |
John McCall
|
a45680b7e7
Correctly generate IR for casted "builtin" functions, where
|
14 år sedan |