summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes requested (avoid getFunction(), avoid Type creation via isVoidTy(), ↵Victor Hernandez2009-11-031-13/+8
| | | | | | and avoid redundant isFreeCall cases) in feedback to r85176 llvm-svn: 85936
* Changes (* location in pointer variables, avoiding include, and using ↵Victor Hernandez2009-11-031-39/+34
| | | | | | APInt::getLimitedValue) based on feedback to r85814 llvm-svn: 85933
* Set bit instead of calling pow() to compute 2 << nVictor Hernandez2009-11-021-5/+13
| | | | llvm-svn: 85814
* Fix for warning seen on DF-BSD, Victor, please fix this to use a shift ↵Edward O'Callaghan2009-11-021-1/+1
| | | | | | instead of pow() llvm-svn: 85781
* fix 80-col.Zhongxing Xu2009-10-291-1/+1
| | | | llvm-svn: 85480
* Explicitly convert to double to suppress Visual C++ 2008 build error C2668 ↵Zhongxing Xu2009-10-291-1/+1
| | | | | | pow is ambiguous call to overloaded function llvm-svn: 85478
* Extend getMallocArraySize() to determine the array size if the malloc ↵Victor Hernandez2009-10-281-112/+96
| | | | | | | | | | | | | | argument is: ArraySize * ElementSize ElementSize * ArraySize ArraySize << log2(ElementSize) ElementSize << log2(ArraySize) Refactor isArrayMallocHelper and delete isSafeToGetMallocArraySize, so that there is only 1 copy of the malloc array determining logic. Update users of getMallocArraySize() to not bother calling isArrayMalloc() as well. llvm-svn: 85421
* Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez2009-10-271-0/+295
llvm-svn: 85286
OpenPOWER on IntegriCloud