diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/IR/Instruction.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/IR/Instruction.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/IR/Instruction.h b/contrib/llvm-project/llvm/include/llvm/IR/Instruction.h index 8d0a8363cdfb..15b0bdf557fb 100644 --- a/contrib/llvm-project/llvm/include/llvm/IR/Instruction.h +++ b/contrib/llvm-project/llvm/include/llvm/IR/Instruction.h @@ -172,10 +172,6 @@ public: /// its operands. bool isOnlyUserOfAnyOperand(); - bool isIndirectTerminator() const { - return isIndirectTerminator(getOpcode()); - } - static const char* getOpcodeName(unsigned OpCode); static inline bool isTerminator(unsigned OpCode) { @@ -242,17 +238,6 @@ public: } } - /// Returns true if the OpCode is a terminator with indirect targets. - static inline bool isIndirectTerminator(unsigned OpCode) { - switch (OpCode) { - case Instruction::IndirectBr: - case Instruction::CallBr: - return true; - default: - return false; - } - } - //===--------------------------------------------------------------------===// // Metadata manipulation. //===--------------------------------------------------------------------===// |