llvm-6502/include/llvm/Target
Benjamin Kramer 8e0d1c03ca Make MemoryBuiltins aware of TargetLibraryInfo.
This disables malloc-specific optimization when -fno-builtin (or -ffreestanding)
is specified. This has been a problem for a long time but became more severe
with the recent memory builtin improvements.

Since the memory builtin functions are used everywhere, this required passing
TLI in many places. This means that functions that now have an optional TLI
argument, like RecursivelyDeleteTriviallyDeadFunctions, won't remove dead
mallocs anymore if the TLI argument is missing. I've updated most passes to do
the right thing.

Fixes PR13694 and probably others.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162841 91177308-0d34-0410-b5e6-96231b3b80d8
2012-08-29 15:32:21 +00:00
..
Mangler.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
Target.td Tristate mayLoad, mayStore, and hasSideEffects. 2012-08-23 19:34:46 +00:00
TargetCallingConv.h Convert comments to proper Doxygen comments. 2012-06-09 00:01:45 +00:00
TargetCallingConv.td Add TableGen support for callee saved registers. 2012-01-17 22:46:58 +00:00
TargetData.h Revert r161371. Removing the 'const' before Type is a "good thing". 2012-08-07 05:51:59 +00:00
TargetELFWriterInfo.h [Hexagon] Clean up Hexagon ELF definition. 2012-05-17 16:46:46 +00:00
TargetFrameLowering.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetInstrInfo.h Simplify the computeOperandLatency API. 2012-08-23 00:39:43 +00:00
TargetIntrinsicInfo.h land David Blaikie's patch to de-constify Type, with a few tweaks. 2011-07-18 04:54:35 +00:00
TargetItinerary.td I'm introducing a new machine model to simultaneously allow simple 2012-07-07 04:00:00 +00:00
TargetJITInfo.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetLibraryInfo.h Make MemoryBuiltins aware of TargetLibraryInfo. 2012-08-29 15:32:21 +00:00
TargetLowering.h Allow legalization of target-specific SDNodes, provided that the target itself provide a legalization hook for them. 2012-08-08 23:31:14 +00:00
TargetLoweringObjectFile.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00
TargetMachine.h Extend TargetPassConfig to allow running only a subset of the normal passes. 2012-07-02 19:48:45 +00:00
TargetOpcodes.h First chunk of MachineInstr bundle support. 2011-12-06 22:12:01 +00:00
TargetOptions.h Add support for the --param ssp-buffer-size= driver option. 2012-08-21 16:15:24 +00:00
TargetRegisterInfo.h Add TargetRegisterInfo::hasRegUnit(). 2012-08-02 14:45:53 +00:00
TargetSchedule.td Added MispredictPenalty to SchedMachineModel. 2012-08-08 02:44:16 +00:00
TargetSelectionDAG.td Remove extra MayLoad/MayStore flags from atomic_load/store. 2012-08-28 03:11:32 +00:00
TargetSelectionDAGInfo.h reimplement memcpy/memmove/memset lowering to use MachinePointerInfo 2010-09-21 05:40:29 +00:00
TargetSubtargetInfo.h Prune some includes and forward declarations. 2012-03-25 18:09:44 +00:00