summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilingUtils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places toDan Gohman2008-05-231-2/+2
| | | | | | use it instead of duplicating its functionality. llvm-svn: 51499
* API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵Gabor Greif2008-05-161-4/+4
| | | | | | Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200
* API changes for class Use size reduction, wave 1.Gabor Greif2008-04-061-2/+2
| | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
* fix typosGabor Greif2008-03-061-1/+1
| | | | llvm-svn: 47994
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Change the PointerType api for creating pointer types. The old functionality ↵Christopher Lamb2007-12-171-2/+3
| | | | | | of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
* New CallInst interface to address GLIBCXX_DEBUG errors caused byDavid Greene2007-08-011-1/+1
| | | | | | | | indexing an empty std::vector. Updates to all clients. llvm-svn: 40660
* eliminate use of deprecated apisChris Lattner2007-02-191-2/+4
| | | | llvm-svn: 34417
* Eliminate use of ctors that take vectors.Chris Lattner2007-02-131-1/+2
| | | | llvm-svn: 34219
* relax some typesChris Lattner2007-01-071-1/+1
| | | | llvm-svn: 32982
* For PR950:Reid Spencer2006-12-311-13/+13
| | | | | | | | | | | | | This patch replaces signed integer types with signless ones: 1. [US]Byte -> Int8 2. [U]Short -> Int16 3. [U]Int -> Int32 4. [U]Long -> Int64. 5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion and other methods related to signedness. In a few places this warranted identifying the signedness information from other sources. llvm-svn: 32785
* Remove isSigned calls via foreknowledge of main's argument types.Reid Spencer2006-12-211-7/+4
| | | | llvm-svn: 32730
* Convert the last uses of CastInst::createInferredCast to a normal castReid Spencer2006-12-181-4/+13
| | | | | | | | creation. These changes are still temporary but at least this pushes knowledge of signedness out closer to where it can be determined properly and allows signedness to be removed from VMCore. llvm-svn: 32654
* Replace CastInst::createInferredCast calls with more accurate castReid Spencer2006-12-131-0/+1
| | | | | | creation calls. llvm-svn: 32521
* For PR950:Reid Spencer2006-11-271-5/+6
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* For PR950:Reid Spencer2006-10-201-2/+2
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-231-1/+2
| | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
* Remove trailing whitespaceMisha Brukman2005-04-211-4/+4
| | | | llvm-svn: 21427
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-4/+4
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* bug 122:Reid Spencer2004-07-181-3/+2
| | | | | | - Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953
* In InsertProfilingInitCall(), make it legal to pass in a null array, inBrian Gaeke2004-05-031-6/+12
| | | | | | which case you'll get a null array and zero passed to the profiling function. llvm-svn: 13336
* Support getelementptr instructions which use uint's to index into structureChris Lattner2004-04-051-3/+3
| | | | | | | types and can have arbitrary 32- and 64-bit integer types indexing into sequential types. llvm-svn: 12653
* Split utility functions out of BlockProfiling.cppChris Lattner2004-03-081-0/+102
llvm-svn: 12224
OpenPOWER on IntegriCloud