diff options
Diffstat (limited to 'include/llvm/IntrinsicInst.h')
-rw-r--r-- | include/llvm/IntrinsicInst.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/include/llvm/IntrinsicInst.h b/include/llvm/IntrinsicInst.h index bd8a8c4..d86b33e 100644 --- a/include/llvm/IntrinsicInst.h +++ b/include/llvm/IntrinsicInst.h @@ -133,13 +133,6 @@ namespace llvm { return getAlignmentCst()->getZExtValue(); } - ConstantInt *getVolatileCst() const { - return cast<ConstantInt>(const_cast<Value*>(getOperand(5))); - } - bool isVolatile() const { - return getVolatileCst()->getZExtValue() != 0; - } - /// getDest - This is just like getRawDest, but it strips off any cast /// instructions that feed it, giving the original input. The returned /// value is guaranteed to be a pointer. @@ -162,11 +155,7 @@ namespace llvm { void setAlignment(Constant* A) { setOperand(4, A); } - - void setVolatile(Constant* V) { - setOperand(5, V); - } - + const Type *getAlignmentType() const { return getOperand(4)->getType(); } |