- Mar 12, 2014
-
-
Rafael Espindola authored
As an example that was not actually being used, it suffered from a slow bitrot. The two main issues with it were that it had no cmake support and included a copy of the autoconf directory. The reality is that autoconf is not easily composable. The lack of composabilty is why we have clang options in llvm's configure. Suggesting that users include a copy of autoconf/ in their projects seems a bad idea. We are also in the process of switching to cmake, so pushing autoconf to new project is probably not what we want. llvm-svn: 203728
-
David Blaikie authored
llvm-svn: 203727
-
David Blaikie authored
This makes the mapping consistent with other CU->X mappings in the MCContext, helping pave the way to refactor all these values into a single data structure per CU and thus a single map. I haven't renamed the data structure as that would make the patch churn even higher (the MCLineSection name no longer makes sense, as this structure now contains lines for multiple sections covered by a single CU, rather than lines for a single section in multiple CUs) and further refactorings will follow that may remove this type entirely. For convenience, I also gave the MCLineSection value semantics so we didn't have to do the lazy construction, manual delete, etc. (& for those playing at home, refactoring the line printing into a single data structure will eventually alow that data structure to be reused to own the debug_line.dwo line table used for type unit file name resolution) llvm-svn: 203726
-
Rafael Espindola authored
llvm-svn: 203725
-
Jim Ingham authored
When clearing a breakpoint site, make sure the owning process still exists before asking it to remove the breakpoint site the rest of the way. <rdar://problem/16303500> llvm-svn: 203724
-
Justin Bogner authored
Chandler voiced some concern with checking this in without some discussion first. Reverting for now. This reverts r203703, r203704, r203708, and 203709. llvm-svn: 203723
-
Hans Wennborg authored
llvm-svn: 203722
-
Rafael Espindola authored
llvm-svn: 203721
-
DeLesley Hutchins authored
llvm-svn: 203720
-
Michael Zolotukhin authored
Don't normalize an expression during postinc transformation unless it's invertible. llvm-svn: 203719
-
Adam Nemet authored
Extend what's currently done for shift because the HW performs this masking implicitly: (rotl:i32 x, (and y, 31)) -> (rotl:i32 x, y) I use the newly factored out multiclass that was only supporting shifts so far. For testing I extended my testcase for the new rotation idiom. <rdar://problem/15295856> llvm-svn: 203718
-
Rafael Espindola authored
llvm-svn: 203717
-
Michael Zolotukhin authored
llvm-svn: 203716
-
Hans Wennborg authored
llvm-svn: 203715
-
Hans Wennborg authored
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
-
Justin Bogner authored
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
-
Justin Bogner authored
I've clearly done something wrong with how to get this to link correctly. Reverting for now. This reverts commit r203711. llvm-svn: 203712
-
Justin Bogner authored
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
-
Justin Bogner authored
llvm-svn: 203710
-
Justin Bogner authored
MSVC doesn't understand it, and it wasn't really necessary anyway. llvm-svn: 203709
-
Justin Bogner authored
This was leftover from an approach I abandoned, but I forgot to update it before committing. llvm-svn: 203708
-
Raul E. Silvera authored
This reverts commit 86cb795388643710dab34941ddcb5a9470ac39d8. The problems previously found have been resolved through other CLs. llvm-svn: 203707
-
Rafael Espindola authored
llvm-svn: 203706
-
Rafael Espindola authored
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
-
Justin Bogner authored
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
-
Justin Bogner authored
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
-
Eric Christopher authored
llvm-svn: 203702
-
Rafael Espindola authored
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
-
Roman Divacky authored
Newer FreeBSD doesnt ship with gcc and defaults to using libc++. llvm-svn: 203700
-
Roman Divacky authored
llvm-svn: 203699
-
Eric Christopher authored
llvm-svn: 203698
-
Eric Christopher authored
llvm-svn: 203697
-
Sebastian Pop authored
to avoid an error when directly doing ninja check-polly after cmake 'Could not find llc in .../ninja/bin'. llvm-svn: 203696
-
Matt Arsenault authored
llvm-svn: 203695
-
Hans Wennborg authored
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
-
Fariborz Jahanian authored
in an @selector expression. // rdar://15794055 llvm-svn: 203693
-
Greg Clayton authored
If DWARF debug info and verbose mode is enabled ("log enable dwarf info verbose"), then dump all DIEs for a compile unit after all DIEs have been parsed for a compile unit. llvm-svn: 203692
-
Richard Smith authored
llvm-svn: 203691
-
Eric Christopher authored
is a declaration and return the size of the type. llvm-svn: 203690
-
Justin Bogner authored
llvm-svn: 203689
-