24 #ifndef LLVM_IR_INTRINSICINST_H
25 #define LLVM_IR_INTRINSICINST_H
50 return CF->isIntrinsic();
54 return isa<CallInst>(V) &&
classof(cast<CallInst>(V));
69 default:
return false;
73 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
91 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
102 return cast<ConstantInt>(
112 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
151 "setDest called with pointer of wrong type!");
157 "setLength called with value of wrong type!");
180 default:
return false;
184 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
198 "setValue called with value of wrong type!");
207 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
230 "setSource called with pointer of wrong type!");
240 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
254 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
267 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
279 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
293 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
307 return isa<IntrinsicInst>(V) &&
classof(cast<IntrinsicInst>(V));
unsigned getAlignment() const
static bool classof(const IntrinsicInst *I)
Intrinsic::ID getIntrinsicID() const
ConstantInt * getAlignmentCst() const
static bool classof(const CallInst *I)
static bool classof(const IntrinsicInst *I)
static bool classof(const Value *V)
void setVolatile(Constant *V)
MDNode - a tuple of other values.
void setValue(Value *Val)
void setAlignment(Constant *A)
uint64_t getOffset() const
static bool classof(const IntrinsicInst *I)
Value * getArgList() const
static Value * StripCast(Value *C)
Type * getAlignmentType() const
static bool classof(const Value *V)
static bool classof(const IntrinsicInst *I)
uint64_t getZExtValue() const
Return the zero extended value.
static bool classof(const Value *V)
MDNode * getVariable() const
static bool classof(const Value *V)
Value * getArgList() const
static bool classof(const Value *V)
static bool classof(const IntrinsicInst *I)
unsigned getIntrinsicID() const LLVM_READONLY
LLVM Constant Representation.
Value * getRawDest() const
ConstantInt * getVolatileCst() const
static bool classof(const Value *V)
static bool classof(const IntrinsicInst *I)
static bool classof(const Value *V)
MDNode * getVariable() const
static bool classof(const IntrinsicInst *I)
Class for constant integers.
static bool classof(const Value *V)
static bool classof(const Value *V)
Value * getLength() const
Value * stripPointerCasts()
Strips off any unneeded pointer casts, all-zero GEPs and aliases from the specified value...
Function * getCalledFunction() const
#define LLVM_DELETED_FUNCTION
Value * getArgOperand(unsigned i) const
static bool classof(const Value *V)
Value * getSource() const
void setArgOperand(unsigned i, Value *v)
void setSource(Value *Ptr)
static bool classof(const Value *V)
static bool classof(const Value *V)
static bool classof(const IntrinsicInst *I)
Value * getRawSource() const
LLVM Value Representation.
Value * getAddress() const
unsigned getDestAddressSpace() const
const Value * getValue() const
unsigned getSourceAddressSpace() const
static bool classof(const IntrinsicInst *I)
static bool classof(const IntrinsicInst *I)
static bool classof(const IntrinsicInst *I)