| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 203715
|
| |
|
|
|
|
|
|
| |
They're already defined in ia32intrin.h, and this would cause including Intrin.h
in 64-bit mode to fail because of conflicting types. Update ms-intrin.cpp to
also run in 64-bit mode to catch things like this.
llvm-svn: 203714
|
| |
|
|
|
|
|
|
|
| |
This will break without the corresponding change in clang, which I've
reverted until I figure out how to get it to link properly.
This reverts commit r203710.
llvm-svn: 203713
|
| |
|
|
|
|
|
|
|
| |
I've clearly done something wrong with how to get this to link
correctly. Reverting for now.
This reverts commit r203711.
llvm-svn: 203712
|
| |
|
|
|
|
|
|
| |
This updates CodeGenPGO to use the ProfileDataReader introduced to
llvm in r203703 and the new API for writing out the profile introduced
to compiler-rt in r203710.
llvm-svn: 203711
|
| |
|
|
| |
llvm-svn: 203710
|
| |
|
|
|
|
| |
MSVC doesn't understand it, and it wasn't really necessary anyway.
llvm-svn: 203709
|
| |
|
|
|
|
|
| |
This was leftover from an approach I abandoned, but I forgot to update
it before committing.
llvm-svn: 203708
|
| |
|
|
|
|
|
| |
This reverts commit 86cb795388643710dab34941ddcb5a9470ac39d8.
The problems previously found have been resolved through other CLs.
llvm-svn: 203707
|
| |
|
|
| |
llvm-svn: 203706
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On ELF and COFF an alias is just another name for a position in the file.
There is no way to refer to a position in another file, so an alias to
undefined is meaningless.
MachO currently doesn't support aliases. The spec has a N_INDR, which when
implemented will have a different set of restrictions. Adding support for
it shouldn't be harder than any other IR extension.
For now, having the IR represent what is actually possible with current
tools makes it easier to fix the design of GlobalAlias.
llvm-svn: 203705
|
| |
|
|
|
|
|
|
| |
This replaces the llvm-profdata tool with a version that uses the
recently introduced Profile library. The new tool has the ability to
generate and summarize profdata files as well as merging them.
llvm-svn: 203704
|
| |
|
|
|
|
|
|
|
|
|
| |
This provides a library to work with the instrumentation based
profiling format that is used by clang's -fprofile-instr-* options and
by the llvm-profdata tool. This is a binary format, rather than the
textual one that's currently in use.
The tests are in the subsequent commits that use this.
llvm-svn: 203703
|
| |
|
|
| |
llvm-svn: 203702
|
| |
|
|
|
|
|
|
|
| |
Without this common features like off_t and strdup are missing.
This should bring back those bots.
Configure bits by Meador Inge.
llvm-svn: 203701
|
| |
|
|
|
|
| |
Newer FreeBSD doesnt ship with gcc and defaults to using libc++.
llvm-svn: 203700
|
| |
|
|
| |
llvm-svn: 203699
|
| |
|
|
| |
llvm-svn: 203698
|
| |
|
|
| |
llvm-svn: 203697
|
| |
|
|
|
|
|
| |
to avoid an error when directly doing ninja check-polly after cmake
'Could not find llc in .../ninja/bin'.
llvm-svn: 203696
|
| |
|
|
| |
llvm-svn: 203695
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to generate table lookups for code such as:
unsigned test(unsigned x) {
switch (x) {
case 100: return 0;
case 101: return 1;
case 103: return 2;
case 105: return 3;
case 107: return 4;
case 109: return 5;
case 110: return 6;
default: return f(x);
}
}
Since cases 102, 104, etc. are not constants, the lookup table has holes
in those positions. We therefore guard the table lookup with a bitmask check.
Patch by Jasper Neumann!
llvm-svn: 203694
|
| |
|
|
|
|
| |
in an @selector expression. // rdar://15794055
llvm-svn: 203693
|
| |
|
|
|
|
| |
verbose"), then dump all DIEs for a compile unit after all DIEs have been parsed for a compile unit.
llvm-svn: 203692
|
| |
|
|
|
|
| |
pointer-to-member-function call.
llvm-svn: 203691
|
| |
|
|
|
|
| |
is a declaration and return the size of the type.
llvm-svn: 203690
|
| |
|
|
| |
llvm-svn: 203689
|
| |
|
|
|
|
| |
trunk/source/Plugins/Process/Utility.
llvm-svn: 203688
|
| |
|
|
| |
llvm-svn: 203687
|
| |
|
|
| |
llvm-svn: 203686
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The peephole (shift x, (and y, 31)) -> (shift x, y) is repeated for each
integer type and each shift variant.
To improve this a new multiclass is added that covers all integer types. The
shift patterns are now instantiated from this. I am planning to add new
instances for rotates as well.
No functional change intended:
* test/CodeGen/X86/shift-and.ll provides coverage
* Compared the expanded tablegen output and matched up the defs for these
Pat<>s before and after
llvm-svn: 203685
|
| |
|
|
| |
llvm-svn: 203684
|
| |
|
|
|
|
| |
performing auto type deduction.
llvm-svn: 203683
|
| |
|
|
|
|
| |
This is related to <rdar://problem/15607571>.
llvm-svn: 203682
|
| |
|
|
|
|
| |
No functional change.
llvm-svn: 203681
|
| |
|
|
| |
llvm-svn: 203680
|
| |
|
|
| |
llvm-svn: 203679
|
| |
|
|
| |
llvm-svn: 203678
|
| |
|
|
|
|
|
|
|
| |
When printing assembly we don't have a Layout object, but we can still
try to fold some constants.
Testcase by Ulrich Weigand.
llvm-svn: 203677
|
| |
|
|
| |
llvm-svn: 203676
|
| |
|
|
| |
llvm-svn: 203675
|
| |
|
|
|
|
|
|
|
| |
The MIPS version was reviewed by myself. The ARM version was reviewed by JF
Bastien.
Patch by Narayan Kamath <narayan@google.com>.
llvm-svn: 203674
|
| |
|
|
|
|
| |
Follow-up on LLVM r203669
llvm-svn: 203673
|
| |
|
|
|
|
| |
Needed after r203667
llvm-svn: 203672
|
| |
|
|
|
|
| |
Otherwise gcc 4.8.2 generates a warning.
llvm-svn: 203671
|
| |
|
|
|
|
| |
This is a follow-up to r203635 as suggested by Rafael.
llvm-svn: 203670
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's a bit of duplicated "magic" code in opt.cpp and Clang's CodeGen that
computes the inliner threshold from opt level and size opt level.
This patch moves the code to a function that lives alongside the inliner itself,
providing a convenient overload to the inliner creation.
A separate patch can be committed to Clang to use this once it's committed to
LLVM. Standalone tools that use the inlining pass can also avoid duplicating
this code and fearing it will go out of sync.
Note: this patch also restructures the conditinal logic of the computation to
be cleaner.
llvm-svn: 203669
|
| |
|
|
|
|
| |
This is a follow-up to r203624 to address Anton's comment.
llvm-svn: 203668
|
| |
|
|
|
|
|
|
|
| |
for easier sharing.
Fix Windows build by adding JITLoaderGDB and ProcessElfCore.
RegisterContext: fixes for Windows build: sizeof(GPR::register) didn't work, switched to sizeof(((GPR*)NULL)->register).
llvm-svn: 203667
|
| |
|
|
| |
llvm-svn: 203666
|