1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/Transforms
Victor Hernandez 065bc44d01 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.

llvm-svn: 82257
2009-09-18 19:20:02 +00:00
..
Hello Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
Instrumentation Reapplied r81355 with the problems fixed. 2009-09-16 11:35:50 +00:00
IPO add a new CallGraphNode::replaceCallEdge method and use it from 2009-09-15 05:40:35 +00:00
Scalar Update CMake. 2009-09-17 00:06:48 +00:00
Utils 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
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00