| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767
llvm-svn: 164768
|
| |
|
|
| |
llvm-svn: 164767
|
| |
|
|
| |
llvm-svn: 164763
|
| |
|
|
| |
llvm-svn: 164762
|
| |
|
|
|
|
|
|
|
|
|
|
| |
folders and not having it here fails to compile if you actually try to use it.
Also, CreatePointerCast was failing to do the part where it does TD-aware
constant folding. Granted there is exactly one case where that it will ever
do anything, but there's no reason to skip it. For reference, that case is a
subtraction between two constant offsets on the same global variable, eg.,
"&A[123] - &A[4].f".
llvm-svn: 164760
|
| |
|
|
|
|
|
| |
This is a preliminary step towards ELF support; currently ARMFastISel hasn't
been used for ELF object files yet.
llvm-svn: 164759
|
| |
|
|
| |
llvm-svn: 164757
|
| |
|
|
| |
llvm-svn: 164756
|
| |
|
|
| |
llvm-svn: 164755
|
| |
|
|
| |
llvm-svn: 164754
|
| |
|
|
|
|
| |
Field instruction.
llvm-svn: 164751
|
| |
|
|
| |
llvm-svn: 164750
|
| |
|
|
| |
llvm-svn: 164749
|
| |
|
|
| |
llvm-svn: 164748
|
| |
|
|
| |
llvm-svn: 164747
|
| |
|
|
|
|
| |
No test cases. These patterns will get tested along with dsp intrinsics.
llvm-svn: 164746
|
| |
|
|
| |
llvm-svn: 164744
|
| |
|
|
|
|
| |
Committed on behalf of Kirill Uhanov
llvm-svn: 164736
|
| |
|
|
|
|
|
|
| |
This method can be called with a '0' argument which checks the return
value. However, the method it calls doesn't expect '0' as a valid value. Call the
correct method when it's 0.
llvm-svn: 164735
|
| |
|
|
|
|
| |
have testcases for the current problems.
llvm-svn: 164731
|
| |
|
|
| |
llvm-svn: 164728
|
| |
|
|
| |
llvm-svn: 164727
|
| |
|
|
|
|
|
| |
The hasFnAttr method has been replaced by querying the Attributes explicitly. No
intended functionality change.
llvm-svn: 164725
|
| |
|
|
|
|
|
|
|
|
| |
If the offset is more than 24-bits, it won't fit in a scattered
relocation offset field, so we fall back to using a non-scattered
relocation.
rdar://12358909
llvm-svn: 164724
|
| |
|
|
|
|
|
|
| |
This opaque class will contain all of the attributes. All attribute queries will
go through this object. This object will also be uniqued in the LLVMContext.
Currently not used, so no implementation change.
llvm-svn: 164722
|
| |
|
|
|
|
| |
getMipsRegisterNumbering.
llvm-svn: 164720
|
| |
|
|
| |
llvm-svn: 164719
|
| |
|
|
| |
llvm-svn: 164718
|
| |
|
|
| |
llvm-svn: 164714
|
| |
|
|
|
|
|
| |
teach the callgraph logic to not create callgraph edges to intrinsics for invoke
instructions; it already skips this for call instructions. Fixes PR13903.
llvm-svn: 164707
|
| |
|
|
|
|
| |
Fixes PR12632.
llvm-svn: 164701
|
| |
|
|
|
|
| |
BB->end() returns a sentinel value that is not a legal insert point.
llvm-svn: 164699
|
| |
|
|
|
|
|
|
| |
date, don't rely on it.
Add a couple of unit tests for special floats. Fixes 13929, found by MemorySanitizer.
llvm-svn: 164698
|
| |
|
|
|
|
|
|
| |
- Put statistics in alphabetical order
- Don't use getZextValue when building TableInt, just use APInts
- Introduce Create{Z,S}ExtOrTrunc in IRBuilder.
llvm-svn: 164696
|
| |
|
|
|
|
|
| |
- Finish assert messages with exclamation mark
- Move overflow checking into ShouldBuildLookupTable.
llvm-svn: 164692
|
| |
|
|
|
|
|
| |
contrived for these yet, as I spotted them by inspection and the test
cases are a bit more tricky to phrase.
llvm-svn: 164691
|
| |
|
|
|
|
|
| |
alignment guarantees attached, re-compute the alignment so that we
consider offsets which impact alignment.
llvm-svn: 164690
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
rewriter in SROA to carry a proper alignment. This involves
interrogating various sources of alignment, etc. This is a more complete
and principled fix to PR13920 as well as related bugs pointed out by Eli
in review and by inspection in the area.
Also by inspection fix the integer and vector promotion paths to create
aligned loads and stores. I still need to work up test cases for
these... Sorry for the delay, they were found purely by inspection.
llvm-svn: 164689
|
| |
|
|
|
|
|
| |
and stores. These will be used in subsequnet patches to SROA to more
systematically manage the alignment on loads and stores.
llvm-svn: 164688
|
| |
|
|
| |
llvm-svn: 164687
|
| |
|
|
| |
llvm-svn: 164686
|
| |
|
|
| |
llvm-svn: 164685
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tables in bitmaps when they fit in a target-legal register.
This saves some space, and it also allows for building tables that would
otherwise be deemed too sparse.
One interesting case that this hits is example 7 from
http://blog.regehr.org/archives/320. We currently generate good code
for this when lowering the switch to the selection DAG: we build a
bitmask to decide whether to jump to one block or the other. My patch
will result in the same bitmask, but it removes the need for the jump,
as the return value can just be retrieved from the mask.
llvm-svn: 164684
|
| |
|
|
|
|
| |
breaking out the building of lookup tables into a separate class.
llvm-svn: 164682
|
| |
|
|
| |
llvm-svn: 164681
|
| |
|
|
|
|
|
|
|
|
|
| |
For example, under a Linux chroot, /proc/ might not be mounted.
Therefor, we test if this file exist. If it is the case, use it (the current
behavior). Otherwise, we fall back to the detection used by *BSD.
The issue has been reported initially on the Debian bug tracker:
http://bugs.debian.org/674588
llvm-svn: 164676
|
| |
|
|
| |
llvm-svn: 164675
|
| |
|
|
| |
llvm-svn: 164674
|
| |
|
|
| |
llvm-svn: 164673
|
| |
|
|
| |
llvm-svn: 164671
|