llvm-6502/lib/IR
Chandler Carruth f73826bef0 Add a new helper method to Value to strip in-bounds constant offsets of
pointers, but accumulate the offset into an APInt in the process of
stripping it.

This is a pretty handy thing to have, such as when trying to determine
if two pointers are at some constant relative offset. I'll be committing
a patch shortly to use it for exactly that purpose.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189000 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-22 11:25:11 +00:00
..
AsmWriter.cpp
AsmWriter.h
AttributeImpl.h Add a AttributeSetImpl::dump function. 2013-08-02 22:34:30 +00:00
Attributes.cpp Add a AttributeSetImpl::dump function. 2013-08-02 22:34:30 +00:00
AutoUpgrade.cpp
BasicBlock.cpp
CMakeLists.txt
ConstantFold.cpp Respect address space sizes in isEliminableCastPair. 2013-07-30 22:27:10 +00:00
ConstantFold.h
Constants.cpp
ConstantsContext.h
Core.cpp
DataLayout.cpp Minor code simplification suggested by Duncan 2013-07-27 19:22:28 +00:00
DebugInfo.cpp DebugInfo: Allow the addition of other (such as static data) members to a record type after construction 2013-08-16 20:42:14 +00:00
DebugLoc.cpp
DIBuilder.cpp DebugInfo: Allow the addition of other (such as static data) members to a record type after construction 2013-08-16 20:42:14 +00:00
Dominators.cpp
Function.cpp
GCOV.cpp
Globals.cpp Introduce non-const overloads for GlobalAlias::{get,resolve}AliasedGlobal. 2013-08-19 23:13:33 +00:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp
Instructions.cpp Add parentheses to silence gcc warning. 2013-07-31 04:07:28 +00:00
IntrinsicInst.cpp
IRBuilder.cpp
LeakDetector.cpp
LeaksContext.h
LLVMBuild.txt
LLVMContext.cpp
LLVMContextImpl.cpp
LLVMContextImpl.h
Makefile
Metadata.cpp
Module.cpp Make these methods const correct. 2013-07-25 02:50:08 +00:00
Pass.cpp
PassManager.cpp
PassRegistry.cpp
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp
TypeFinder.cpp
Use.cpp
User.cpp
Value.cpp Add a new helper method to Value to strip in-bounds constant offsets of 2013-08-22 11:25:11 +00:00
ValueSymbolTable.cpp
ValueTypes.cpp [Mips][msa] Value types for MSA support. 2013-08-13 22:34:26 +00:00
Verifier.cpp Debug Info Finder|Verifier: handle DbgLoc attached to instructions. 2013-08-06 19:38:43 +00:00