llvm-6502/lib/Transforms/Utils
Victor Hernandez 88d9839d07 Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type).
In getMallocArraySize(), fix bug in the case that array size is the product of 2 constants.

Extend isArrayMalloc() and getMallocArraySize() to handle case where malloc is used as char array.

Ensure that ArraySize in LowerAllocations::runOnBasicBlock() is correct type.

Extend Instruction::isSafeToSpeculativelyExecute() to handle malloc calls.

Add verification for malloc calls.

Reviewed by Dan Gohman.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82257 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-18 19:20:02 +00:00
..
AddrModeMatcher.cpp
BasicBlockUtils.cpp Re-apply r80926, with fixes: keep the domtree informed of new blocks 2009-09-08 15:45:00 +00:00
BasicInliner.cpp
BreakCriticalEdges.cpp Fix SplitCriticalEdge to properly update LCSSA form when splitting a 2009-09-09 18:18:18 +00:00
CloneFunction.cpp Reapply 79977. 2009-08-28 23:24:31 +00:00
CloneLoop.cpp
CloneModule.cpp
CMakeLists.txt
CodeExtractor.cpp
DemoteRegToStack.cpp
InlineCost.cpp unbreak the build, yay for symlinks + makefiles. :( 2009-08-27 04:43:05 +00:00
InlineFunction.cpp Fix comment. 2009-09-06 22:20:54 +00:00
InstructionNamer.cpp
LCSSA.cpp Re-apply r80926, with fixes: keep the domtree informed of new blocks 2009-09-08 15:45:00 +00:00
Local.cpp Preserve ProfileInfo during CodeGenPrepare. 2009-09-16 09:26:52 +00:00
LoopSimplify.cpp Re-apply r80926, with fixes: keep the domtree informed of new blocks 2009-09-08 15:45:00 +00:00
LowerAllocations.cpp Update malloc call creation code (AllocType is now the element type of the malloc, not the resulting type). 2009-09-18 19:20:02 +00:00
LowerInvoke.cpp back out my recent commit (r80858), it seems to break self-hosting buildbot's stage 2 configure 2009-09-03 02:02:59 +00:00
LowerSwitch.cpp
Makefile
Mem2Reg.cpp
PromoteMemoryToRegister.cpp Change PHINode::hasConstantValue to have a DominatorTree argument 2009-09-03 15:34:35 +00:00
SimplifyCFG.cpp
SSI.cpp Correctly handle the case where a comparison is created in one BasicBlock and 2009-09-10 07:02:09 +00:00
UnifyFunctionExitNodes.cpp
UnrollLoop.cpp
ValueMapper.cpp