OSDN Git Service

[IR] Move a few static functions in Instruction class inline.
authorCraig Topper <craig.topper@gmail.com>
Mon, 20 Mar 2017 06:40:39 +0000 (06:40 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 20 Mar 2017 06:40:39 +0000 (06:40 +0000)
commit09aeefe61353c9cad1464e84c52634dd7e9c51bb
treedd9b4713161f5460e7f5e9ee079dcdeb9f46eca9
parent63f2656869e7dab5e8e7f3a8745397e3d70dd8e6
[IR] Move a few static functions in Instruction class inline.

They just check for certain opcodes and opcode enums are available in Instruction.h.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298237 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Instruction.h
lib/IR/Instruction.cpp