- Mar 29, 2012
-
-
Bill Wendling authored
llvm-svn: 153612
-
- Mar 28, 2012
-
-
Danil Malyshev authored
llvm-svn: 153607
-
Bill Wendling authored
llvm-svn: 153598
-
Bill Wendling authored
a bunch of comments for the various functions. No intended functionality change. llvm-svn: 153595
-
Bill Wendling authored
llvm-svn: 153567
-
- Mar 23, 2012
-
-
Benjamin Kramer authored
This should unbreak the msvc build. llvm-svn: 153329
-
Anton Korobeynikov authored
Patch from Mageia! llvm-svn: 153324
-
Eric Christopher authored
llvm-svn: 153307
-
- Mar 22, 2012
-
-
Chandler Carruth authored
(and hopefully on Windows). The bots have been down most of the day because of this, and it's not clear to me what all will be required to fix it. The commits started with r153205, then r153207, r153208, and r153221. The first commit seems to be the real culprit, but I couldn't revert a smaller number of patches. When resubmitting, r153207 and r153208 should be folded into r153205, they were simple build fixes. llvm-svn: 153241
-
- Mar 21, 2012
-
-
Danil Malyshev authored
Added ExecutionEngine/MCJIT tests. llvm-svn: 153221
-
Danil Malyshev authored
llvm-svn: 153208
-
- Mar 20, 2012
-
-
Chris Lattner authored
1) opt is not usually in the same path as the target program. Even for the bugpoint as a standalone app, it should be more portable to search in PATH, isn't it? 2) bugpoint driver accounts opt plugins, but does not list them in the final output command. Patch by Dmitry Mikushin! llvm-svn: 153066
-
Chris Lattner authored
llvm-svn: 153065
-
- Mar 13, 2012
-
-
Eli Bendersky authored
Also refactor the existing OProfile profiling code to reuse the same interfaces with the VTune profiling code. In addition, unit tests for the profiling interfaces were added. This patch was prepared by Andrew Kaylor and Daniel Malea, and reviewed in the llvm-commits list by Jim Grosbach llvm-svn: 152620
-
- Mar 11, 2012
-
-
Stepan Dyatkovskiy authored
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default. Added some notes relative to case iterators. llvm-svn: 152532
-
- Mar 10, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152474
-
- Mar 09, 2012
-
-
David Meyer authored
* Add enums and structures for GNU version information. * Implement extraction of that information on a per-symbol basis (ELFObjectFile::getSymbolVersion). * Implement a generic interface, GetELFSymbolVersion(), for getting the symbol version from the ObjectFile (hides the templating). * Have llvm-readobj print out the version, when available. * Add a test for the new feature: readobj-elf-versioning.test llvm-svn: 152436
-
- Mar 08, 2012
-
-
Duncan Sands authored
Patch by jey. llvm-svn: 152315
-
Stepan Dyatkovskiy authored
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120130/136146.html Implemented CaseIterator and it solves almost all described issues: we don't need to mix operand/case/successor indexing anymore. Base iterator class is implemented as a template since it may be initialized either from "const SwitchInst*" or from "SwitchInst*". ConstCaseIt is just a read-only iterator. CaseIt is read-write iterator; it allows to change case successor and case value. Usage of iterator allows totally remove resolveXXXX methods. All indexing convertions done automatically inside the iterator's getters. Main way of iterator usage looks like this: SwitchInst *SI = ... // intialize it somehow for (SwitchInst::CaseIt i = SI->caseBegin(), e = SI->caseEnd(); i != e; ++i) { BasicBlock *BB = i.getCaseSuccessor(); ConstantInt *V = i.getCaseValue(); // Do something. } If you want to convert case number to TerminatorInst successor index, just use getSuccessorIndex iterator's method. If you want initialize iterator from TerminatorInst successor index, use CaseIt::fromSuccessorIndex(...) method. There are also related changes in llvm-clients: klee and clang. llvm-svn: 152297
-
- Mar 05, 2012
-
-
Jim Grosbach authored
Used to allow context sensitive printing of super-register or sub-register references. llvm-svn: 152043
-
- Mar 03, 2012
-
-
David Meyer authored
llvm-svn: 151957
-
- Mar 01, 2012
-
-
David Meyer authored
Add ObjectFile::getLoadName() for retrieving the soname/installname of a shared object. llvm-svn: 151845
-
David Meyer authored
* Add begin_dynamic_table() / end_dynamic_table() private interface to ELFObjectFile. * Add begin_libraries_needed() / end_libraries_needed() interface to ObjectFile, for grabbing the list of needed libraries for a shared object or dynamic executable. * Implement this new interface completely for ELF, leave stubs for COFF and MachO. * Add 'llvm-readobj' tool for dumping ObjectFile information. llvm-svn: 151785
-
- Feb 29, 2012
-
-
David Meyer authored
[Object] Add symbol attribute flags: ST_ThreadLocal, ST_Common, and ST_Undefined. Implement these completely for ELF. Rename ST_External to ST_Unknown, and slightly change its semantics. It now only indicates that the symbol's type is unknown, not that the symbol is undefined. (For that, use ST_Undefined). llvm-svn: 151696
-
Derek Schuff authored
llvm-svn: 151687
-
Daniel Dunbar authored
llvm-svn: 151680
-
David Meyer authored
In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags. llvm-svn: 151670
-
- Feb 28, 2012
-
-
Michael J. Spencer authored
Add -D option to llvm-nm to dump dynamic symbols. Patch by David Meyer. llvm-svn: 151600
-
Hal Finkel authored
llvm-svn: 151596
-
- Feb 26, 2012
-
-
Nadav Rotem authored
Patch by Joey Gouly. llvm-svn: 151489
-
Nadav Rotem authored
llvm-svn: 151488
-
Nadav Rotem authored
llvm-svn: 151487
-
Nadav Rotem authored
Thanks zygoloid. llvm-svn: 151481
-
Nadav Rotem authored
llvm-svn: 151480
-
Nadav Rotem authored
Add a random .LL file generator to stress-test different llvm components. llvm-svn: 151479
-
- Feb 23, 2012
-
-
Duncan Sands authored
used if IsInDevelopmentTree is 'true'. But it doesn't, so help it out. llvm-svn: 151244
-
- Feb 22, 2012
-
-
Eli Friedman authored
llvm-svn: 151115
-
- Feb 19, 2012
-
-
Ahmed Charles authored
llvm-svn: 150918
-
- Feb 10, 2012
-
-
Andrew Trick authored
Creates a configurable regalloc pipeline. Ensure specific llc options do what they say and nothing more: -reglloc=... has no effect other than selecting the allocator pass itself. This patch introduces a new umbrella flag, "-optimize-regalloc", to enable/disable the optimizing regalloc "superpass". This allows for example testing coalscing and scheduling under -O0 or vice-versa. When a CodeGen pass requires the MachineFunction to have a particular property, we need to explicitly define that property so it can be directly queried rather than naming a specific Pass. For example, to check for SSA, use MRI->isSSA, not addRequired<PHIElimination>. CodeGen transformation passes are never "required" as an analysis ProcessImplicitDefs does not require LiveVariables. We have a plan to massively simplify some of the early passes within the regalloc superpass. llvm-svn: 150226
-
- Feb 07, 2012
-
-
Hal Finkel authored
llvm-svn: 150003
-