diff options
-rw-r--r-- | include/llvm/Instructions.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index f2854b6342..bd1e889de0 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1052,6 +1052,11 @@ public: void setCalledFunction(Value* Fn) { Op<-1>() = Fn; } + + /// isInlineAsm - Check if this call is an inline asm statement. + bool isInlineAsm() const { + return isa<InlineAsm>(Op<-1>()); + } // Methods for support type inquiry through isa, cast, and dyn_cast: static inline bool classof(const CallInst *) { return true; } |