llvm-project/llvm/lib
Chris Lattner c7bfed0f7b Merge two almost-identical pieces of code.
Make this code more powerful by using ComputeMaskedBits instead of looking
for an AND operand.  This lets us fold this:

int %test23(int %a) {
        %tmp.1 = and int %a, 1
        %tmp.2 = seteq int %tmp.1, 0
        %tmp.3 = cast bool %tmp.2 to int  ;; xor tmp1, 1
        ret int %tmp.3
}

into: xor (and a, 1), 1
llvm-svn: 26396
2006-02-27 02:38:23 +00:00
..
Analysis add an assert 2006-02-14 20:14:17 +00:00
AsmParser Convert this over to work with the new makefiles 2006-02-15 07:22:58 +00:00
Bytecode Fix auto-upgrade of intrinsics to work properly with both assembly and 2006-01-27 11:49:27 +00:00
CodeGen remove some completed notes 2006-02-27 00:39:31 +00:00
Debugger dum de dum 2005-12-26 10:24:15 +00:00
ExecutionEngine simplify this code now that each constant pool entry is not separately allocated 2006-02-09 04:49:59 +00:00
Linker Rename method 2006-01-24 04:14:29 +00:00
Support Let bugpoint work on sparc with v9 instructions enabled. 2006-02-04 05:02:27 +00:00
System Add AddSymbol() method to DynamicLibrary to work around Windows limitation 2006-01-30 04:33:51 +00:00
Target Implement bit propagation through sub nodes, this (re)implements 2006-02-27 01:00:42 +00:00
Transforms Merge two almost-identical pieces of code. 2006-02-27 02:38:23 +00:00
VMCore Reverting. Didn't realize some developers were embedding constants in their 2006-02-26 10:16:05 +00:00
Makefile Add the Linker library 2004-11-14 21:54:41 +00:00