| Commit message (Collapse) | Author | Age | Files | Lines | 
| ... |  | 
| | 
| 
| 
| 
| 
|  | 
than in a specific backend.
llvm-svn: 182450
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
the C API to provide their own way of allocating JIT memory (both code 
and data) and finalizing memory permissions (page protections, cache 
flush).
llvm-svn: 182448
 | 
| | 
| 
| 
| 
| 
| 
|  | 
This should hopefully fix
http://lab.llvm.org:8011/builders/clang-x86_64-darwin11-self-mingw32
llvm-svn: 182446
 | 
| | 
| 
| 
|  | 
llvm-svn: 182444
 | 
| | 
| 
| 
|  | 
llvm-svn: 182443
 | 
| | 
| 
| 
| 
| 
| 
|  | 
a RegScavenger object on it's own.
 
llvm-svn: 182430
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
libExecutionEngine. Move method implementations that aren't specific to 
allocation out of SectionMemoryManager and into RTDyldMemoryManager.
This is in preparation for exposing RTDyldMemoryManager through the C 
API.
This is a fixed version of r182407 and r182411. That first revision 
broke builds because I forgot to move the conditional includes of 
various POSIX headers from SectionMemoryManager into 
RTDyldMemoryManager. Those includes are necessary because of how 
getPointerToNamedFunction works around the glibc libc_nonshared.a thing. 
The latter revision still broke things because I forgot to include 
llvm/Config/config.h.
llvm-svn: 182418
 | 
| | 
| 
| 
|  | 
llvm-svn: 182415
 | 
| | 
| 
| 
| 
| 
|  | 
SectionMemoryManager, but is now in RTDyldMemoryManager.
llvm-svn: 182412
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
libExecutionEngine. Move method implementations that aren't specific to 
allocation out of SectionMemoryManager and into RTDyldMemoryManager.
This is in preparation for exposing RTDyldMemoryManager through the C 
API.
This is a fixed version of r182407. That revision broke builds because I 
forgot to move the conditional includes of various POSIX headers from 
SectionMemoryManager into RTDyldMemoryManager. Those includes are 
necessary because of how getPointerToNamedFunction works around the 
glibc libc_nonshared.a thing.
llvm-svn: 182411
 | 
| | 
| 
| 
|  | 
llvm-svn: 182409
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
the C API to provide their own way of allocating JIT memory (both code 
and data) and finalizing memory permissions (page protections, cache 
flush).
llvm-svn: 182408
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
libExecutionEngine. Move method implementations that aren't specific to 
allocation out of SectionMemoryManager and into RTDyldMemoryManager.
This is in preparation for exposing RTDyldMemoryManager through the C 
API.
llvm-svn: 182407
 | 
| | 
| 
| 
|  | 
llvm-svn: 182397
 | 
| | 
| 
| 
|  | 
llvm-svn: 182396
 | 
| | 
| 
| 
|  | 
llvm-svn: 182394
 | 
| | 
| 
| 
|  | 
llvm-svn: 182390
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
The intrinsic calls are dropped, but the annotated value is propagated.
Fixes PR 15253
Original patch by Zeng Bin!
llvm-svn: 182387
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Although I had added some support for the BDZ/BDNZ branches into the selector
(in r158204), I had not correctly adjusted the condition at the top of the
loop. As a result, these branches were still essentially unsupported.
This fixes PR16086. Unfortunately, any test case would be very large (because
it would need to force the loop backedge to exceed the range of the 16-bit
immediate).
llvm-svn: 182385
 | 
| | 
| 
| 
|  | 
llvm-svn: 182377
 | 
| | 
| 
| 
| 
| 
| 
|  | 
This stuff is used on platforms where MSan does not have a proper VarArg
implementation (anything other than x86_64 at the moment).
llvm-svn: 182375
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
compare instructions, like COMISS, COMISD.
No functional changes.
llvm-svn: 182371
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
smaller type.
Otherwise we'll get a mix of signed and unsigned compares.
Fixes PR15977.
llvm-svn: 182364
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
0) == 0.
Fixes PR16083.
llvm-svn: 182357
 | 
| | 
| 
| 
|  | 
llvm-svn: 182356
 | 
| | 
| 
| 
|  | 
llvm-svn: 182349
 | 
| | 
| 
| 
| 
| 
|  | 
type signature computation.
llvm-svn: 182348
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
This is to fix PR15408 where an undefined symbol Lline_table_start1 is used.
Since we do not generate the debug_line section when .loc is used,
Lline_table_start1 is not emitted and we can't refer to it when calculating
at_stmt_list for a compile unit.
llvm-svn: 182344
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
pic calls. These need to be there so we don't try and use helper
functions when we call those.
As part of this, make sure that we properly exclude helper functions in pic
mode when indirect calls are involved.
llvm-svn: 182343
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
This resolves the last of the PR14606 failures in the GDB 7.5 test
suite by implementing an optional name field for
DW_TAG_imported_modules/DIImportedEntities and using that to implement
C++ namespace aliases (eg: "namespace X = Y;").
llvm-svn: 182328
 | 
| | 
| 
| 
| 
| 
|  | 
TargetLoweringBase like the other EH passes.
llvm-svn: 182321
 | 
| | 
| 
| 
|  | 
llvm-svn: 182317
 | 
| | 
| 
| 
|  | 
llvm-svn: 182315
 | 
| | 
| 
| 
| 
| 
|  | 
As discussed, LoopUtils.h is a better name.
llvm-svn: 182314
 | 
| | 
| 
| 
|  | 
llvm-svn: 182307
 | 
| | 
| 
| 
| 
| 
| 
|  | 
By default, a teq instruction is inserted after integer divide. No divide-by-zero
checks are performed if option "-mnocheck-zero-division" is used.
llvm-svn: 182306
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
Now that the preheader insertion logic in LoopSimplify is externally exposed,
use it, and remove the copy-and-pasted version.
No functionality change intended.
llvm-svn: 182300
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
Other passes, PPC counter-loop formation for example, also need to add loop
preheaders outside of the regular loop simplification pass. This makes
InsertPreheaderForLoop a global function so that it can be used by other
passes.
No functionality change intended.
llvm-svn: 182299
 | 
| | 
| 
| 
| 
| 
|  | 
symbol name error in the output PTX.
llvm-svn: 182298
 | 
| | 
| 
| 
|  | 
llvm-svn: 182297
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
As the pairing of this instruction form with the bdnz/bdz branches is now
enforced by the verification pass, make it clear from the name that these
are used only for counter-based loops.
No functionality change intended.
llvm-svn: 182296
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
|  | 
When asserts are enabled, this adds a verification pass for PPC counter-loop
formation. Unfortunately, without sacrificing code quality, there is no better
way of forming counter-based loops except at the (late) IR level. This means
that we need to recognize, at the IR level, anything which might turn into a
function call (or indirect branch). Because this is currently a finite set of
things, and because SelectionDAG lowering is basic-block local, this can be
done. Nevertheless, it is fragile, and failure results in a miscompile. This
verification pass checks that all (reachable) counter-based branches are
dominated by a loop mtctr instruction, and that no instructions in between
clobber the counter register. If these conditions are not satisfied, then an
ICE will be triggered.
In short, this is to help us sleep better at night.
llvm-svn: 182295
 | 
| | 
| 
| 
| 
| 
| 
| 
| 
|  | 
R600TextureIntrinsicsReplacer.cpp:232: warning: the address of ‘ArgsType’ will always evaluate as ‘true’
This doesn't have any effect on the output as a vararg intrinsic behaves the
same way as a non-vararg one.
llvm-svn: 182293
 | 
| | 
| 
| 
| 
| 
| 
|  | 
This will simplify the instructions and also the pattern definitions.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 182288
 | 
| | 
| 
| 
| 
|  | 
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 182287
 | 
| | 
| 
| 
| 
|  | 
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 182286
 | 
| | 
| 
| 
| 
| 
|  | 
The hardware supports rotr and not rotl.
llvm-svn: 182285
 | 
| | 
| 
| 
| 
|  | 
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 182284
 | 
| | 
| 
| 
| 
| 
| 
| 
|  | 
This makes it possible to reorder the operands without breaking the
encoding.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 182283
 | 
| | 
| 
| 
| 
|  | 
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
llvm-svn: 182282
 |