llvm-6502/include/llvm/Support
Chris Lattner 85a0a06b18 patch from Frits van Bommel:
The attached patch fixes IRBuilder and the NoFolder class so that when
NoFolder is used the instructions it generates are treated just like
the ones IRBuilder creates directly (insert into block, assign them a
name and debug info, as applicable).
It does this by
1) having NoFolder return Instruction*s instead of Value*s,
2) having IRBuilder call Insert(Value, Name) on values obtained from
the folder like it does on instructions it creates directly, and
3) adding an Insert(Constant*, const Twine& = "") overload which just
returns the constant so that the other folders shouldn't have any
extra overhead as long as inlining is enabled.

While I was there, I also added some missing (CreateFNeg and various
Create*Cast) methods to NoFolder.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119614 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-18 02:15:42 +00:00
..
AlignOf.h Rename alignof -> alignOf to avoid irritating C++'0x compilers, 2010-10-30 05:14:01 +00:00
Allocator.h Rename alignof -> alignOf to avoid irritating C++'0x compilers, 2010-10-30 05:14:01 +00:00
CallSite.h
Casting.h
CFG.h
circular_raw_ostream.h
COFF.h
CommandLine.h
Compiler.h
ConstantFolder.h
ConstantRange.h Fix ScalarEvolution's range memoization to avoid using a 2010-11-17 20:23:08 +00:00
CrashRecoveryContext.h CrashRecoveryContext: Add RunSafelyOnThread helper function. 2010-11-05 07:19:09 +00:00
DataFlow.h
Debug.h
DebugLoc.h
DOTGraphTraits.h
Dwarf.h
DynamicLinker.h
ELF.h Initial comdat implementation. 2010-11-11 18:13:52 +00:00
Endian.h
ErrorHandling.h report_fatal_error: Simplify a possible ambiguity. 2010-11-13 02:48:51 +00:00
FileUtilities.h
Format.h
FormattedStream.h
GetElementPtrTypeIterator.h
GraphWriter.h
InstIterator.h
InstVisitor.h
IRBuilder.h patch from Frits van Bommel: 2010-11-18 02:15:42 +00:00
IRReader.h
LeakDetector.h
MachO.h Add v5 and v7 ARM CPU subtype values. 2010-11-05 17:48:05 +00:00
ManagedStatic.h
MathExtras.h Factor code out of APInt to form a isUIntN helper function. 2010-11-03 00:38:40 +00:00
MemoryBuffer.h There is no EndPtr anymore - reinterpret the original comment in terms 2010-11-10 07:46:36 +00:00
MemoryObject.h
MutexGuard.h
NoFolder.h patch from Frits van Bommel: 2010-11-18 02:15:42 +00:00
OutputBuffer.h
PassNameParser.h
PatternMatch.h Move some those Xor simplifications which don't require creating new 2010-11-17 18:52:15 +00:00
PluginLoader.h
PointerLikeTypeTraits.h
PredIteratorCache.h
PrettyStackTrace.h
raw_os_ostream.h
raw_ostream.h
Recycler.h
RecyclingAllocator.h
Regex.h
Registry.h
RegistryParser.h
SMLoc.h
SourceMgr.h now that AsmPrinter::EmitInlineAsm is factored right, we can eliminate the 2010-11-17 08:13:01 +00:00
StableBasicBlockNumbering.h
StandardPasses.h
StringPool.h
SystemUtils.h Rename FindExecutable to PrependMainExecutablePath. 2010-11-03 16:14:16 +00:00
TargetFolder.h
Timer.h
ToolOutputFile.h
type_traits.h
TypeBuilder.h
ValueHandle.h