llvm-project/llvm/lib
Chandler Carruth e45781e673 Address some review comments from Duncan. This moves the iterative
offset accumulation to use a boring APInt instead of ConstantExprs.
I didn't go all the way to an 'int64_t' because I wanted APInt to handle
any magic required to properly wrap the arithmetic when the pointer
width is <64 bits. If there is a significant penalty from using APInt
here, first off WTF, and secondly let me know and I'll do the math by
hand.

I've left one layer still operating w/ ConstantExpr because it makes the
interface quite a bit simpler, and that one isn't iterative so has much
lower cost.

I suppose this may potentially speed up some strang compilation
situations, but I don't really expect much. It should have no functional
impact either way.

llvm-svn: 152590
2012-03-13 00:06:15 +00:00
..
Analysis Address some review comments from Duncan. This moves the iterative 2012-03-13 00:06:15 +00:00
Archive Avoid using an invalidated iterator. 2012-01-23 05:07:16 +00:00
AsmParser Convert assert(0) to llvm_unreachable 2012-02-07 05:05:23 +00:00
Bitcode llvm::SwitchInst 2012-03-11 06:09:17 +00:00
CodeGen Revert due to nightly test failures. 2012-03-12 20:19:41 +00:00
DebugInfo More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
ExecutionEngine llvm::SwitchInst 2012-03-11 06:09:17 +00:00
Linker Include cctype for isdigit. Patch by Stephen Hines. 2012-03-03 09:36:58 +00:00
MC Make MCRegisterInfo available to the the MCInstPrinter. 2012-03-05 19:33:20 +00:00
Object [Object] 2012-03-09 20:41:57 +00:00
Support Inline a trivial helper function. 2012-03-12 21:18:53 +00:00
TableGen Fix infinite loop in nested multiclasses. 2012-03-07 16:39:35 +00:00
Target Added a missing error check for X86 assembly with mismatched base and index 2012-03-12 21:32:09 +00:00
Transforms When inlining a function and adding its inner call sites to the 2012-03-12 11:19:33 +00:00
VMCore llvm::SwitchInst 2012-03-11 06:09:17 +00:00
CMakeLists.txt Move TableGen's parser and entry point into a library 2011-10-01 16:41:13 +00:00
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the 2011-12-12 22:45:54 +00:00
Makefile Remove more of llvmc and dependencies. 2011-09-20 00:34:27 +00:00