LLVM API Documentation
#include <CallSite.h>
Public Member Functions | |
CallSite () | |
CallSite (Base B) | |
CallSite (Value *V) | |
CallSite (CallInst *CI) | |
CallSite (InvokeInst *II) | |
CallSite (Instruction *II) | |
bool | operator== (const CallSite &CS) const |
bool | operator!= (const CallSite &CS) const |
bool | operator< (const CallSite &CS) const |
![]() | |
CallSiteBase () | |
CallSiteBase (CallInst *CI) | |
CallSiteBase (InvokeInst *II) | |
CallSiteBase (Value *II) | |
bool | isCall () const |
bool | isInvoke () const |
Instruction * | getInstruction () const |
Instruction * | operator-> () const |
LLVM_EXPLICIT | operator bool () const |
Value * | getCalledValue () const |
Function * | getCalledFunction () const |
void | setCalledFunction (Value *V) |
bool | isCallee (value_use_iterator< User > UI) const |
Value * | getArgument (unsigned ArgNo) const |
void | setArgument (unsigned ArgNo, Value *newVal) |
unsigned | getArgumentNo (value_use_iterator< User > I) const |
User::op_iterator | arg_begin () const |
User::op_iterator | arg_end () const |
bool | arg_empty () const |
unsigned | arg_size () const |
Type * | getType () const |
Function * | getCaller () const |
CallingConv::ID | getCallingConv () const |
void | setCallingConv (CallingConv::ID CC) |
const AttributeSet & | getAttributes () const |
void | setAttributes (const AttributeSet &PAL) |
bool | hasFnAttr (Attribute::AttrKind A) const |
Return true if this function has the given attribute. More... | |
bool | paramHasAttr (unsigned i, Attribute::AttrKind A) const |
Return true if the call or the callee has the given attribute. More... | |
uint16_t | getParamAlignment (uint16_t i) const |
Extract the alignment for a call or parameter (0=unknown). More... | |
bool | isNoBuiltin () const |
Return true if the call should not be treated as a call to a builtin. More... | |
bool | isNoInline () const |
Return true if the call should not be inlined. More... | |
void | setIsNoInline (bool Value=true) |
bool | doesNotAccessMemory () const |
Determine if the call does not access memory. More... | |
bool | doesNotAccessMemory (unsigned ArgNo) const |
void | setDoesNotAccessMemory () |
bool | onlyReadsMemory () const |
Determine if the call does not access or only reads memory. More... | |
bool | onlyReadsMemory (unsigned ArgNo) const |
void | setOnlyReadsMemory () |
bool | doesNotReturn () const |
Determine if the call cannot return. More... | |
void | setDoesNotReturn () |
bool | doesNotThrow () const |
Determine if the call cannot unwind. More... | |
void | setDoesNotThrow () |
bool | doesNotCapture (unsigned ArgNo) const |
Determine whether this argument is not captured. More... | |
bool | isByValArgument (unsigned ArgNo) const |
Determine whether this argument is passed by value. More... | |
bool | hasArgument (const Value *Arg) const |
Additional Inherited Members | |
![]() | |
typedef User::op_iterator | arg_iterator |
![]() | |
static CallSiteBase | get (Value *V) |
![]() | |
PointerIntPair< Instruction *, 1, bool > | I |
Definition at line 295 of file CallSite.h.
|
inline |
Definition at line 300 of file CallSite.h.
|
inline |
Definition at line 301 of file CallSite.h.
|
inline |
Definition at line 302 of file CallSite.h.
|
inline |
Definition at line 303 of file CallSite.h.
|
inline |
Definition at line 304 of file CallSite.h.
|
inline |
Definition at line 305 of file CallSite.h.