2c3e0051c31c3f5b2328b447eadf1cf9c4427442 |
06-May-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master LLVM for rebase to r235153 Change-Id: I9bf53792f9fc30570e81a8d80d296c681d005ea7 (cherry picked from commit 0c7f116bb6950ef819323d855415b2f2b0aad987)
tils/Cloning.cpp
|
4c5e43da7792f75567b693105cc53e3f1992ad98 |
08-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master llvm for rebase to r233350 Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
PO/LowerBitSets.cpp
tils/CMakeLists.txt
tils/Cloning.cpp
tils/ValueMapperTest.cpp
|
ebe69fe11e48d322045d5949c83283927a0d790b |
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r230699. Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9
MakeLists.txt
ebugIR/CMakeLists.txt
ebugIR/DebugIR.cpp
ebugIR/Makefile
PO/CMakeLists.txt
PO/LowerBitSets.cpp
PO/Makefile
akefile
tils/Cloning.cpp
|
37ed9c199ca639565f6ce88105f9e39e898d82d0 |
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r222494. Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
tils/Cloning.cpp
|
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 |
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
ebugIR/DebugIR.cpp
tils/CMakeLists.txt
tils/Cloning.cpp
tils/SpecialCaseList.cpp
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
tils/SpecialCaseList.cpp
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
ebugIR/CMakeLists.txt
ebugIR/DebugIR.cpp
tils/ASanStackFrameLayoutTest.cpp
tils/CMakeLists.txt
tils/Cloning.cpp
tils/IntegerDivision.cpp
tils/SpecialCaseList.cpp
|
2b762cc75df2cbab21b5a1945fdf913a66de0f81 |
19-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Introduce SpecialCaseList::isIn overload for GlobalAliases. Differential Revision: http://llvm-reviews.chandlerc.com/D1437 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188688 91177308-0d34-0410-b5e6-96231b3b80d8
tils/SpecialCaseList.cpp
|
353149ea2f8d4d3bf1ec82e90f80154c6959d56e |
19-Aug-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Remove SpecialCaseList::findCategory. It turned out that I didn't need this for DFSan. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188646 91177308-0d34-0410-b5e6-96231b3b80d8
tils/SpecialCaseList.cpp
|
35f4d41471f73a186e8036f10b3d6071aa3b43ec |
12-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Relax conditions of test added in r188156 to fix it on Windows git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188157 91177308-0d34-0410-b5e6-96231b3b80d8
tils/SpecialCaseList.cpp
|
d976d43f23d67e18f097d72fd90923627f334c79 |
12-Aug-2013 |
Alexey Samsonov <samsonov@google.com> |
Introduce factory methods for SpecialCaseList Summary: Doing work in constructors is bad: this change suggests to call SpecialCaseList::create(Path, Error) instead of "new SpecialCaseList(Path)". Currently the latter may crash with report_fatal_error, which is undesirable - sometimes we want to report the error to user gracefully - for example, if he provides an incorrect file as an argument of Clang's -fsanitize-blacklist flag. Reviewers: pcc Reviewed By: pcc CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1327 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188156 91177308-0d34-0410-b5e6-96231b3b80d8
tils/SpecialCaseList.cpp
|
71981ef040dd94438449aeca726cab5839d8ec3c |
16-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Make SpecialCaseList match full strings, as documented, using anchors. Differential Revision: http://llvm-reviews.chandlerc.com/D1149 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186431 91177308-0d34-0410-b5e6-96231b3b80d8
tils/SpecialCaseList.cpp
|
46e11c4c97fe1c424241e4098801456303a5c86e |
10-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Implement categories for special case lists. A special case list can now specify categories for specific globals, which can be used to instruct an instrumentation pass to treat certain functions or global variables in a specific way, such as by omitting certain aspects of instrumentation while keeping others, or informing the instrumentation pass that a specific uninstrumentable function has certain semantics, thus allowing the pass to instrument callers according to those semantics. For example, AddressSanitizer now uses the "init" category instead of global-init prefixes for globals whose initializers should not be instrumented, but which in all other respects should be instrumented. The motivating use case is DataFlowSanitizer, which will have a number of different categories for uninstrumentable functions, such as "functional" which specifies that a function has pure functional semantics, or "discard" which indicates that a function's return value should not be labelled. Differential Revision: http://llvm-reviews.chandlerc.com/D1092 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185978 91177308-0d34-0410-b5e6-96231b3b80d8
tils/SpecialCaseList.cpp
|
c7087f8e423c8f3eda453d7fc3843191dac4143b |
10-Jul-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Add some SpecialCaseList unit tests. Differential Revision: http://llvm-reviews.chandlerc.com/D1091 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185977 91177308-0d34-0410-b5e6-96231b3b80d8
tils/CMakeLists.txt
tils/SpecialCaseList.cpp
|
8bb9ec15c89da88c8e223f334296d81080cd829c |
29-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Replace UNIXy path with os-independent one in DebugIR unit test - should resolve windows buildbot failure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185232 91177308-0d34-0410-b5e6-96231b3b80d8
ebugIR/DebugIR.cpp
|
9e638df937b66e4313445163e069623b72b86f9a |
28-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Fix Windows/Darwin build error in DebugIR unit tests - mistakenly used get_current_dir() linux function - replaced with getcwd/_getcwd as appropriate for current platform git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185225 91177308-0d34-0410-b5e6-96231b3b80d8
ebugIR/DebugIR.cpp
|
5fa8186b8dcc0be77f4ab64b1ef46ad919315b54 |
28-Jun-2013 |
Daniel Malea <daniel.malea@intel.com> |
Adding tests for DebugIR pass - lit tests verify that each line of input LLVM IR gets a !dbg node and a corresponding entry of metadata that contains the line number - unit tests verify that DebugIR works as advertised in the interface - refactored some useful IR generation functionality from the MCJIT unit tests so it can be reused git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185212 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
ebugIR/CMakeLists.txt
ebugIR/DebugIR.cpp
ebugIR/Makefile
akefile
|
bb5cbd86a4add5944c869836c507d419255d98dc |
11-Apr-2013 |
Joey Gouly <joey.gouly@arm.com> |
Delete the functions F1 and F2 to appease the valgrind bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179239 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
0f57a98a65df5e617ed0adcf0ca0877745c84a79 |
10-Apr-2013 |
Joey Gouly <joey.gouly@arm.com> |
Change CloneFunctionInto to always clone Argument attributes induvidually, rather than checking if the source and destination have the same number of arguments and copying the attributes over directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179169 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
0b8c9a80f20772c3793201ab5b251d3520b9cea3 |
02-Jan-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Move all of the header files which are involved in modelling the LLVM IR into their new header subdirectory: include/llvm/IR. This matches the directory structure of lib, and begins to correct a long standing point of file layout clutter in LLVM. There are still more header files to move here, but I wanted to handle them in separate commits to make tracking what files make sense at each layer easier. The only really questionable files here are the target intrinsic tablegen files. But that's a battle I'd rather not fight today. I've updated both CMake and Makefile build systems (I think, and my tests think, but I may have missed something). I've also re-sorted the includes throughout the project. I'll be committing updates to Clang, DragonEgg, and Polly momentarily. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171366 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
tils/IntegerDivision.cpp
tils/Local.cpp
|
5a88dda4be791426ab4d20a6a6c9c65d66614a27 |
04-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for unittest/... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169250 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
tils/IntegerDivision.cpp
tils/Local.cpp
|
be3338a5de14595e51028bccfd10d696daf87021 |
26-Sep-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Remove unneeded and invalid SetInsertPoint calls from unittest. BB->end() returns a sentinel value that is not a legal insert point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164699 91177308-0d34-0410-b5e6-96231b3b80d8
tils/IntegerDivision.cpp
|
b55462bcfb9acbf8654dff83159daf695dfc3ec4 |
26-Sep-2012 |
Michael Ilseman <milseman@apple.com> |
Expansions for u/srem, using the udiv expansion. More unit tests for udiv and u/srem. Fixed issue with Release build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164654 91177308-0d34-0410-b5e6-96231b3b80d8
tils/IntegerDivision.cpp
|
442ffc346f942329bebdccdf54741713646e20ef |
25-Sep-2012 |
Chad Rosier <mcrosier@apple.com> |
Revert r164614 to appease the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164627 91177308-0d34-0410-b5e6-96231b3b80d8
tils/IntegerDivision.cpp
|
13098443994339249fb3f085bbc4fbcdf9f033db |
25-Sep-2012 |
Michael Ilseman <milseman@apple.com> |
Expansions for u/srem, using the udiv expansion. More unit tests for udiv and u/srem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164614 91177308-0d34-0410-b5e6-96231b3b80d8
tils/IntegerDivision.cpp
|
e5510db57c86a618cbf9c7513e03f34e7e40a1fd |
25-Sep-2012 |
Michael Ilseman <milseman@apple.com> |
Unit tests for IntegerDivision. Currently, just a basic sanity check to ensure that the code was generated properly. Future work would be finding some way to test the actual result that would be computed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164582 91177308-0d34-0410-b5e6-96231b3b80d8
tils/CMakeLists.txt
tils/IntegerDivision.cpp
|
06cb8ed00696eb14d1b831921452e50ec0568ea2 |
29-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.h This was always part of the VMCore library out of necessity -- it deals entirely in the IR. The .cpp file in fact was already part of the VMCore library. This is just a mechanical move. I've tried to go through and re-apply the coding standard's preferred header sort, but at 40-ish files, I may have gotten some wrong. Please let me know if so. I'll be committing the corresponding updates to Clang and Polly, and Duncan has DragonEgg. Thanks to Bill and Eric for giving the green light for this bit of cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159421 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Local.cpp
|
f455101badc2339fc7a17dab2d66f5969d82d812 |
22-Jun-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
llvm/unittests: Simplify LINK_COMPONENTS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158942 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Makefile
|
7c888eee47a5ba925ddc91c837302a7c2a435e5c |
21-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Completely refactor the structuring of unittest CMake files to match the Makefiles, the CMake files in every other part of the LLVM tree, and sanity. This should also restore the output tree structure of all the unit tests, sorry for breaking that, and thanks for letting me know. The fundamental change is to put a CMakeLists.txt file in the unittest directory, with a single test binary produced from it. This has several advantages: - No more weird directory stripping in the unittest macro, allowing it to be used more readily in other projects. - No more directory prefixes on all the source files. - Allows correct and precise use of LLVM's per-directory dependency system. - Allows use of the checking logic for source files that have not been added to the CMake build. This uncovered a file being skipped with CMake in LLVM and one in Clang's unit tests. - Makes Specifying conditional compilation or other custom logic for JIT tests easier. It did require adding the concept of an explicit 'optional' source file to the CMake build so that the missing-file check can skip cases where the file is *supposed* to be missing. =] This is another chunk of refactoring the CMake build in order to make it usable for other clients like CompilerRT / ASan / TSan. Note that this is interdependent with a Clang CMake change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158909 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
tils/CMakeLists.txt
|
1880e2d34458f67a92e26953c257f2feb334ceef |
20-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Fix inappropriate use of anonymous namespaces in unittests. The TEST_F macros actually declare *subclasses* of the test fixtures. Even if they didn't we don't want them to declare external functions. The entire unit test, including both the fixture class and the fixture test cases should be wrapped in the anonymous namespace. This issue was caught by the new '-Winternal-linkage-in-inline' warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158798 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
2d24e2a396a1d211baaeedf32148a3b657240170 |
20-Dec-2011 |
David Blaikie <dblaikie@gmail.com> |
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146960 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
a9203109f4ac95aa7e9624f2838e3d89623ec902 |
25-Jul-2011 |
Jay Foad <jay.foad@gmail.com> |
Convert GetElementPtrInst to use ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135904 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
562b84b3aea359d1f918184e355da82bf05eb290 |
11-Apr-2011 |
Jay Foad <jay.foad@gmail.com> |
Don't include Operator.h from InstrTypes.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129271 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
3ecfc861b4365f341c5c969b40e1afccde676e6f |
30-Mar-2011 |
Jay Foad <jay.foad@gmail.com> |
Remove PHINode::reserveOperandSpace(). Instead, add a parameter to PHINode::Create() giving the (known or expected) number of operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128537 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Local.cpp
|
d8b4fb4aab4d6fedb2b14bed1b846451b17bde7c |
30-Mar-2011 |
Jay Foad <jay.foad@gmail.com> |
(Almost) always call reserveOperandSpace() on newly created PHINodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128535 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Local.cpp
|
b4098ba03d51a3845bde5aeb4fca893d1a90d3f8 |
21-Feb-2011 |
Duncan Sands <baldrick@free.fr> |
Simplify RecursivelyDeleteDeadPHINode. The only functionality change should be that if the phi is used by a side-effect free instruction with no uses then the phi and the instruction now get zapped (checked by the unittest). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126124 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Local.cpp
|
eff5e69c82096812acec0c5c6f135c755a1632d2 |
20-Feb-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Make RecursivelyDeleteDeadPHINode delete a phi node that has no users and add a test for that. With this change, test/CodeGen/X86/codegen-dce.ll no longer finds any instructions to DCE, so delete the test. Also renamed J and JP to I and IP in RecursivelyDeleteDeadPHINode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126088 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Local.cpp
|
1a4021a2be4a59e9f9010776cb6f72107241aeb5 |
20-Feb-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Teach RecursivelyDeleteDeadPHINodes to handle multiple self-references. Patch by Andrew Clinton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126077 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Local.cpp
|
06e59e738c45840b039b5caa8a46d7d0066b89a6 |
13-Mar-2010 |
Nick Lewycky <nicholas@mxc.ca> |
Teach this test not to leak. Also, clean up all the cast<BinaryOperator> cruft. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98446 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
50b6e33584f4e4cf75c7795b1f1a90731861c825 |
27-Oct-2009 |
Devang Patel <dpatel@apple.com> |
Factor out redundancy from clone() implementations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85327 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
f3523592b21af09a5a0032f8261f2f61c302fbd9 |
27-Oct-2009 |
Chris Lattner <sabre@nondot.org> |
Type.h doesn't need to #include LLVMContext.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85254 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
ac53a0b272452013124bfc70480aea5e41b60f40 |
06-Oct-2009 |
Duncan Sands <baldrick@free.fr> |
Introduce and use convenience methods for getting pointer types where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83379 91177308-0d34-0410-b5e6-96231b3b80d8
tils/Cloning.cpp
|
4dd68242f106f047f80a5e0fdd96e19cb0ac5eed |
27-Sep-2009 |
Nick Lewycky <nicholas@mxc.ca> |
New unit test for the cloning module, which so far only covers cloning of instructions' optimization flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82934 91177308-0d34-0410-b5e6-96231b3b80d8
akefile
tils/Cloning.cpp
tils/Makefile
|