llvm-6502/include/llvm/Support
Dan Gohman e56a94ef91 Remove the API for creating ConstantExprs with the nsw, nuw, inbounds,
and exact flags. Because ConstantExprs are uniqued, creating an
expression with this flag causes all expressions with the same operands
to have the same flag, which may not be safe. Add, sub, mul, and sdiv
ConstantExprs are usually folded anyway, so the main interesting flag
here is inbounds, and the constant folder already knows how to set the
inbounds flag automatically in most cases, so there isn't an urgent need
for the API support.

This can be reconsidered in the future, but for now just removing these
API bits eliminates a source of potential trouble with little downside.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80959 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-03 22:17:40 +00:00
..
AIXDataTypesFix.h
AlignOf.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Allocator.h Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for 2009-07-23 18:34:13 +00:00
CallSite.h 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
Casting.h convert LoopInfo.h and GraphWriter.h to use raw_ostream 2009-08-23 07:19:13 +00:00
CFG.h eliminate all 80-col violations that I have introduced in my recent checkins (and some others more) 2009-08-27 23:44:33 +00:00
CommandLine.h Fix some comments referring to std::cerr. 2009-08-03 01:02:24 +00:00
Compiler.h Introduce new error handling API. 2009-07-07 17:32:34 +00:00
ConstantFolder.h Remove the API for creating ConstantExprs with the nsw, nuw, inbounds, 2009-09-03 22:17:40 +00:00
ConstantRange.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
DataFlow.h Make dataflow iteration possible on Value*, not only on User*: df_ext_iterator<Value*, SmallPtrSet<const Value*, 16> > 2009-04-30 17:09:22 +00:00
DataTypes.h.cmake Convert comments to C90-style so llvm-c can import DataTypes.h. 2009-08-10 19:44:53 +00:00
DataTypes.h.in Convert comments to C90-style so llvm-c can import DataTypes.h. 2009-08-10 19:44:53 +00:00
Debug.h Fix some refactos for iostream changes (in -Asserts mode). 2009-08-23 08:50:52 +00:00
DebugLoc.h Reapply 79977. 2009-08-28 23:24:31 +00:00
DOTGraphTraits.h Get rid of the global CFGOnly flag by threading a ShortNames parameters through the GraphViz rendering code. 2009-06-24 17:37:09 +00:00
Dwarf.h Fix a bug where the DWARF emitter in the JIT was not initializing alignment 2009-08-21 21:03:57 +00:00
DynamicLinker.h
ELF.h Add AMD64 elf machine type 2009-05-30 21:05:47 +00:00
ErrorHandling.h Add some comments clarifying what appear to be the intent of various 2009-08-20 01:46:24 +00:00
FileUtilities.h Removed trailing whitespace. 2009-02-20 22:51:36 +00:00
Format.h Fix off-by-one in llvm::Format::print. 2009-08-23 20:31:39 +00:00
FormattedStream.h switch formattedstream to use raw_ostream::indent. This eliminates 2009-08-22 23:16:09 +00:00
GetElementPtrTypeIterator.h eliminate all 80-col violations that I have introduced in my recent checkins (and some others more) 2009-08-27 23:44:33 +00:00
GraphWriter.h Make LLVM command-line tools overwrite their output files without -f. 2009-08-25 15:34:52 +00:00
InstIterator.h
InstVisitor.h Clean up some comments. 2009-07-15 22:43:51 +00:00
IRBuilder.h hopefully unbreak the build by making this-> explicit for dependent 2009-08-30 17:44:10 +00:00
IRReader.h Add convenience functions for reading in LLVM IR that autodetect 2009-09-02 17:54:06 +00:00
LeakDetector.h Reapply my less-lock-contention-in-leak-detector patch, now with new files 2009-08-19 17:07:46 +00:00
ManagedStatic.h Resolve undefined behaviour when ManagedStatic is instantiated with a fixed-length array type. 2009-07-09 17:26:16 +00:00
Mangler.h Rename Mangler linkage enums to something less gross. 2009-07-20 19:41:27 +00:00
MathExtras.h Add MathExtras.h OffsetToAlignment, like RoundUpToAlignment but returns the 2009-08-28 05:48:04 +00:00
MemoryBuffer.h Add MemoryBuffer::getBuffer() -> StringRef. 2009-08-24 09:29:24 +00:00
MemoryObject.h Thanks, Bill! 2009-07-27 19:45:28 +00:00
MutexGuard.h Tidy up #includes, deleting a bunch of unnecessary #includes. 2009-01-05 17:59:02 +00:00
NoFolder.h Remove the API for creating ConstantExprs with the nsw, nuw, inbounds, 2009-09-03 22:17:40 +00:00
OutputBuffer.h Simple ELF32/64 binary files can now be emitted for x86 and x86_64 without 2009-06-07 21:22:38 +00:00
PassNameParser.h Change Pass::print to take a raw ostream instead of std::ostream, 2009-08-23 06:03:38 +00:00
PatternMatch.h Remove a bunch more now-unnecessary Context arguments. 2009-08-12 16:23:25 +00:00
PluginLoader.h
PointerLikeTypeTraits.h Drop the default assumption about alignment down to 2 bits from 3. This apparently 2009-05-01 23:48:33 +00:00
PredIteratorCache.h Add caching of predecessor counts as well as predecessors themselves. 2009-04-22 08:46:33 +00:00
PrettyStackTrace.h add a knob to turn off PrettyStackTrace globally. Patch by Zoltan 2009-07-16 06:17:45 +00:00
raw_os_ostream.h split raw_os_ostream out to its own header and implementation file. This 2009-08-24 04:02:06 +00:00
raw_ostream.h Make LLVM command-line tools overwrite their output files without -f. 2009-08-25 15:34:52 +00:00
Recycler.h ooops, forgot to include the pointless-write eliminator in my previous checkin 2009-03-04 21:54:31 +00:00
RecyclingAllocator.h
Regex.h Add regular expression matching support, based on OpenBSD regexec()/regcomp() 2009-08-30 08:24:09 +00:00
Registry.h Registry.h should not depend on CommandLine.h. 2009-01-16 07:02:28 +00:00
RegistryParser.h Registry.h should not depend on CommandLine.h. 2009-01-16 07:02:28 +00:00
SlowOperationInformer.h
SourceMgr.h add a trivial line # cache to SourceMgr to make repeated queries to 2009-08-11 17:49:14 +00:00
StableBasicBlockNumbering.h
StandardPasses.h Disable loop index split for now and let nightly tester verify its usefulness. 2009-07-07 22:09:42 +00:00
StringPool.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
SystemUtils.h eliminate the ostream version of CheckBitcodeOutputToConsole, 2009-08-23 21:36:09 +00:00
TargetFolder.h Remove the API for creating ConstantExprs with the nsw, nuw, inbounds, 2009-09-03 22:17:40 +00:00
Timer.h remove some uses of llvm/Support/Streams.h 2009-08-23 08:43:55 +00:00
type_traits.h This void is implicit in C++. 2009-08-12 22:10:57 +00:00
TypeBuilder.h Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
ValueHandle.h To catch bugs like the one fixed in 2009-08-07 19:54:29 +00:00