- Feb 26, 2012
-
-
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
-
- Feb 06, 2012
-
-
Derek Schuff authored
This CL delays reading of function bodies from initial parse until materialization, allowing overlap of compilation with bitcode download. llvm-svn: 149918
-
Bill Wendling authored
llvm-svn: 149911
-
- Feb 05, 2012
-
-
Chris Lattner authored
but with a critical fix to the SelectionDAG code that optimizes copies from strings into immediate stores: the previous code was stopping reading string data at the first nul. Address this by adding a new argument to llvm::getConstantStringInfo, preserving the behavior before the patch. llvm-svn: 149800
-
- Feb 03, 2012
-
-
Cameron Zwarich authored
disassembler, just like the generic disassembler. llvm-svn: 149681
-
Cameron Zwarich authored
llvm-svn: 149674
-
Cameron Zwarich authored
dylib. This regressed with r145408. I will try to make a test case and add it so that this doesn't happen again. llvm-svn: 149667
-
- Feb 01, 2012
-
-
Stepan Dyatkovskiy authored
The purpose of refactoring is to hide operand roles from SwitchInst user (programmer). If you want to play with operands directly, probably you will need lower level methods than SwitchInst ones (TerminatorInst or may be User). After this patch we can reorganize SwitchInst operands and successors as we want. What was done: 1. Changed semantics of index inside the getCaseValue method: getCaseValue(0) means "get first case", not a condition. Use getCondition() if you want to resolve the condition. I propose don't mix SwitchInst case indexing with low level indexing (TI successors indexing, User's operands indexing), since it may be dangerous. 2. By the same reason findCaseValue(ConstantInt*) returns actual number of case value. 0 means first case, not default. If there is no case with given value, ErrorIndex will returned. 3. Added getCaseSuccessor method. I propose to avoid usage of TerminatorInst::getSuccessor if you want to resolve case successor BB. Use getCaseSuccessor instead, since internal SwitchInst organization of operands/successors is hidden and may be changed in any moment. 4. Added resolveSuccessorIndex and resolveCaseIndex. The main purpose of these methods is to see how case successors are really mapped in TerminatorInst. 4.1 "resolveSuccessorIndex" was created if you need to level down from SwitchInst to TerminatorInst. It returns TerminatorInst's successor index for given case successor. 4.2 "resolveCaseIndex" converts low level successors index to case index that curresponds to the given successor. Note: There are also related compatability fix patches for dragonegg, klee, llvm-gcc-4.0, llvm-gcc-4.2, safecode, clang. llvm-svn: 149481
-
Argyrios Kyrtzidis authored
These are: r149348 r149351 r149352 r149354 r149356 r149357 r149361 r149362 r149364 r149365 llvm-svn: 149470
-
Hal Finkel authored
This is the initial checkin of the basic-block autovectorization pass along with some supporting vectorization infrastructure. Special thanks to everyone who helped review this code over the last several months (especially Tobias Grosser). llvm-svn: 149468
-
- Jan 31, 2012
-
-
Chris Lattner authored
ConstantDataArray::getString instead. llvm-svn: 149365
-
Chris Lattner authored
update this to ConstantDataArray. There are no tests and this isn't using the preferred functionality for ripping apart strings, so I have no way to test this. llvm-svn: 149361
-
- Jan 30, 2012
-
-
Chris Lattner authored
should be feature complete now. Lets see if it works. llvm-svn: 149215
-
- Jan 27, 2012
-
-
Jim Grosbach authored
Provide source line number information. llvm-svn: 149101
-
Jim Grosbach authored
llvm-svn: 149091
-
- Jan 26, 2012
-
-
Peter Collingbourne authored
mode does not form part of the path. llvm-svn: 149010
-
- Jan 20, 2012
-
-
David Blaikie authored
llvm-svn: 148578
-
- Jan 19, 2012
-
-
Nick Lewycky authored
llvm-svn: 148442
-
- Jan 17, 2012
-
-
David Blaikie authored
llvm-svn: 148284
-
- Jan 16, 2012
-
-
Jim Grosbach authored
Move to a by-section allocation and relocation scheme. This allows better support for sections which do not contain externally visible symbols. Flesh out the relocation address vs. local storage address separation a bit more as well. Remote process JITs use this to tell the relocation resolution code where the code will live when it executes. The startFunctionBody/endFunctionBody interfaces to the JIT and the memory manager are deprecated. They'll stick around for as long as the old JIT does, but the MCJIT doesn't use them anymore. llvm-svn: 148258
-
Eli Bendersky authored
Adding a basic ELF dynamic loader and MC-JIT for ELF. Functionality is currently basic and will be enhanced with future patches. Patch developed by Andy Kaylor and Daniel Malea. Reviewed on llvm-commits. llvm-svn: 148231
-
- Jan 11, 2012
-
-
Jim Grosbach authored
llvm-svn: 147970
-
Jim Grosbach authored
llvm-svn: 147969
-
Jim Grosbach authored
Previously let the JITEmitter do it. That's rather odd, and doesn't play nice with the MCJIT, so move the (trivial) logic up. llvm-svn: 147967
-
- Jan 10, 2012
-
-
David Blaikie authored
llvm-svn: 147855
-
Rafael Espindola authored
llvm-svn: 147820
-
- Jan 07, 2012
-
-
Rafael Espindola authored
file error checking. Use that to error on an unfinished cfi_startproc. The error is not nice, but is already better than a segmentation fault. llvm-svn: 147717
-
- Dec 30, 2011
-
-
Nick Lewycky authored
llvm-svn: 147379
-
- Dec 25, 2011
-
-
Bill Wendling authored
llvm-svn: 147264
-
Rafael Espindola authored
llvm-svn: 147261
-
- Dec 23, 2011
-
-
Dylan Noblesmith authored
llvm-svn: 147197
-
- Dec 20, 2011
-
-