llvm-project/llvm/lib/Transforms
Manuel Jacob e902459c4b Change ConstantFoldInstOperands to take Instruction instead of opcode and type. NFC.
Summary:
The previous form, taking opcode and type, is moved to an internal
helper and the new form, taking an instruction, is a wrapper around this
helper.

Although this is a slight cleanup on its own, the main motivation is to
refactor the constant folding API to ease migration to opaque pointers.
This will be follow-up work.

Reviewers: eddyb

Subscribers: dblaikie, llvm-commits

Differential Revision: http://reviews.llvm.org/D16383

llvm-svn: 258391
2016-01-21 06:33:22 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
IPO [opaque pointer types] [NFC] GEP: replace get(Pointer)ElementType uses with get{Source,Result}ElementType. 2016-01-19 17:28:00 +00:00
InstCombine don't repeat function names in comments; NFC 2016-01-20 22:24:38 +00:00
Instrumentation Function name change /NFC 2016-01-20 00:24:36 +00:00
ObjCARC Refactor: Simplify boolean conditional return statements in lib/Transforms/ObjCARC 2015-12-28 16:19:08 +00:00
Scalar Add a "gc-transition" operand bundle 2016-01-20 19:50:25 +00:00
Utils Change ConstantFoldInstOperands to take Instruction instead of opcode and type. NFC. 2016-01-21 06:33:22 +00:00
Vectorize Reapply r257800 with fix 2016-01-15 18:51:51 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile