OSDN Git Service

[APInt] Remove the And/Or/Xor/Not functions from the APIntOps namespace.
authorCraig Topper <craig.topper@gmail.com>
Sun, 5 Mar 2017 16:41:11 +0000 (16:41 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 5 Mar 2017 16:41:11 +0000 (16:41 +0000)
commite0e40c6867d9fd4e7ffbae95a27e83e6ef0945da
tree75b8b548dbe6773e8c7c64d293afa357679f33f6
parent08c7984cee7e2f158b46c4005954cb48132a52e3
[APInt] Remove the And/Or/Xor/Not functions from the APIntOps namespace.

Summary:
They aren't used anywhere in tree and its preferable to use the &, |, ^, or ~ operators.

With my patch to add rvalue reference support to &, |, ^ operators it also becomes less performant to use these functions.

Reviewers: RKSimon, davide, hans

Reviewed By: RKSimon

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D30613

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296990 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/APInt.h