| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 72697
|
|
|
|
|
|
| |
JITCodeEmitter and ObjectCodeEmitter. No functional changes yet. Patch by Aaron Gray
llvm-svn: 72631
|
|
|
|
|
|
|
| |
which better identifies what the optimization is doing. And is more flexible for
future uses.
llvm-svn: 70440
|
|
|
|
|
|
|
|
|
|
|
|
| |
Massive check in. This changes the "-fast" flag to "-O#" in llc. If you want to
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at different -O levels.
Most of this work was pretty mechanical. The majority of the fixes came from
verifying that a "fast" variable wasn't used anymore. The JIT still uses a
"Fast" flag. I'll change the JIT with a follow-up patch.
llvm-svn: 70343
|
|
|
|
| |
llvm-svn: 70275
|
|
|
|
|
|
|
|
|
|
|
| |
use the old behavior, the flag is -O0. This change allows for finer-grained
control over which optimizations are run at different -O levels.
Most of this work was pretty mechanical. The majority of the fixes came from
verifying that a "fast" variable wasn't used anymore. The JIT still uses a
"Fast" flag. I'm not 100% sure if it's necessary to change it there...
llvm-svn: 70270
|
|
|
|
|
|
| |
default to verbose.
llvm-svn: 67668
|
|
|
|
|
|
|
|
|
|
|
|
| |
them are generic changes.
- Use the "fast" flag that's already being passed into the asm printers instead
of shoving it into the DwarfWriter.
- Instead of calling "MI->getParent()->getParent()" for every MI, set the
machine function when calling "runOnMachineFunction" in the asm printers.
llvm-svn: 65379
|
|
|
|
|
|
|
|
|
|
|
| |
well as 2 files that use "Registrator"s. These are to be used by the
MSVC builds, as the Win32 linker does not include libs that are
otherwise unreferenced, even if global constructors in the lib have
side-effects.
Patch by Scott Graham!
llvm-svn: 59378
|
|
|
|
|
|
|
|
|
| |
instead of requiring all "short description" strings to begin with
two spaces. This makes these strings less mysterious, and it fixes
some cases where short description strings mistakenly did not
begin with two spaces.
llvm-svn: 57521
|
|
|
|
| |
llvm-svn: 55092
|
|
|
|
| |
llvm-svn: 54887
|
|
|
|
|
|
|
|
| |
switches use the binary search algorithm) for
environments that don't support it. PPC64 JIT
is such an environment; turn the flag on for that.
llvm-svn: 54248
|
|
|
|
| |
llvm-svn: 53801
|
|
|
|
|
|
|
| |
several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017
|
|
|
|
|
|
|
|
| |
that merely add passes. This allows them to be used with either
FunctionPassManager or PassManager, or even with a custom new
kind of pass manager.
llvm-svn: 48256
|
|
|
|
| |
llvm-svn: 47369
|
|
|
|
| |
llvm-svn: 45418
|
|
|
|
| |
llvm-svn: 44240
|
|
|
|
| |
llvm-svn: 40123
|
|
|
|
|
|
| |
zero if they see a target triple they don't understand.
llvm-svn: 38463
|
|
|
|
| |
llvm-svn: 37289
|
|
|
|
|
|
|
| |
for a target-dependent default with a command-line override; this way
should be generally usable.
llvm-svn: 37285
|
|
|
|
| |
llvm-svn: 34572
|
|
|
|
|
|
|
|
| |
definition of it into the CodeGen library. This is so that a backend doesn't
necessarily add in these writers if it doesn't use them (like in the lli
program).
llvm-svn: 34034
|
|
|
|
| |
llvm-svn: 33480
|
|
|
|
| |
llvm-svn: 33298
|
|
|
|
| |
llvm-svn: 33291
|
|
|
|
|
|
| |
broken invites bug reports.
llvm-svn: 32961
|
|
|
|
| |
llvm-svn: 32735
|
|
|
|
|
|
|
|
|
|
| |
emitted for external globals in PPC64-JIT-PIC mode (which is good because
we didn't handle them before!).
This also fixes a bug handling the picbase delta, which we would get wrong
in some cases.
llvm-svn: 32451
|
|
|
|
|
|
|
|
| |
which allows the code to be above the 2G marker. We still need to JIT emit
dyld stubs to support external, weak, common, etc globals, but that will
happen tomorrow.
llvm-svn: 32348
|
|
|
|
| |
llvm-svn: 31839
|
|
|
|
|
|
| |
should create the right asmprinter subclass.
llvm-svn: 30542
|
|
|
|
| |
llvm-svn: 30173
|
|
|
|
|
|
|
|
| |
2. Protect and outline createTargetAsmInfo.
3. Misc. kruft.
llvm-svn: 30169
|
|
|
|
| |
llvm-svn: 30126
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This pass:
1. Splits TargetMachine into TargetMachine (generic targets, can be implemented
any way, like the CBE) and LLVMTargetMachine (subclass of TM that is used by
things using libcodegen and other support).
2. Instead of having each target fully populate the passmgr for file or JIT
output, move all this to common code, and give targets hooks they can
implement.
3. Commonalize the target population stuff between file emission and JIT
emission.
4. All (native code) codegen stuff now happens in a FunctionPassManager, which
paves the way for "fast -O0" stuff in the CFE later, and now LLC could
lazily stream .bc files from disk to use less memory.
5. There are now many fewer #includes and the targets don't depend on the
scalar xforms or libanalysis anymore (but codegen does).
6. Changing common code generator pass ordering stuff no longer requires
touching all targets.
7. The JIT now has the option of "-fast" codegen or normal optimized codegen,
which is now orthogonal to the fact that JIT'ing is being done.
llvm-svn: 30081
|
|
|
|
| |
llvm-svn: 30070
|
|
|
|
|
|
| |
there are clearly some encoding bugs lurking in there somewhere.
llvm-svn: 29949
|
|
|
|
|
|
| |
does emit linkable .o files in very simple cases.
llvm-svn: 29850
|
|
|
|
| |
llvm-svn: 29307
|
|
|
|
|
|
| |
complete.
llvm-svn: 29156
|
|
|
|
|
|
|
| |
function instead of returning a value. This sometimes allowed the ppc32 jit
to be used in 64-bit mode.
llvm-svn: 29123
|
|
|
|
| |
llvm-svn: 29011
|
|
|
|
|
|
| |
magic to work.
llvm-svn: 28847
|
|
|
|
|
|
| |
the target triple & subtarget info. woo.
llvm-svn: 28835
|
|
|
|
|
|
|
| |
Remove explicit casts to std::string now that there is no overload resolution
issues in the TargetData ctors.
llvm-svn: 28830
|
|
|
|
|
|
| |
that is currently just like ppc32 :)
llvm-svn: 28813
|
|
|
|
| |
llvm-svn: 28423
|