LLVM API Documentation
ImmutableCallSite - establish a view to a call site for examination. More...
#include <CallSite.h>
Public Member Functions | |
ImmutableCallSite (const Value *V) | |
ImmutableCallSite (const CallInst *CI) | |
ImmutableCallSite (const InvokeInst *II) | |
ImmutableCallSite (const Instruction *II) | |
ImmutableCallSite (CallSite CS) | |
![]() | |
CallSiteBase () | |
CallSiteBase (const CallInst *CI) | |
CallSiteBase (const InvokeInst *II) | |
CallSiteBase (const Value *II) | |
bool | isCall () const |
bool | isInvoke () const |
const Instruction * | getInstruction () const |
const Instruction * | operator-> () const |
LLVM_EXPLICIT | operator bool () const |
const Value * | getCalledValue () const |
const Function * | getCalledFunction () const |
void | setCalledFunction (Value *V) |
bool | isCallee (value_use_iterator< const User > UI) const |
const Value * | getArgument (unsigned ArgNo) const |
void | setArgument (unsigned ArgNo, Value *newVal) |
unsigned | getArgumentNo (value_use_iterator< const User > I) const |
User::const_op_iterator | arg_begin () const |
User::const_op_iterator | arg_end () const |
bool | arg_empty () const |
unsigned | arg_size () const |
Type * | getType () const |
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::const_op_iterator | arg_iterator |
![]() | |
static CallSiteBase | get (const Value *V) |
![]() | |
PointerIntPair< const Instruction *, 1, bool > | I |
ImmutableCallSite - establish a view to a call site for examination.
Definition at line 318 of file CallSite.h.
|
inline |
Definition at line 321 of file CallSite.h.
|
inline |
Definition at line 322 of file CallSite.h.
|
inline |
Definition at line 323 of file CallSite.h.
|
inline |
Definition at line 324 of file CallSite.h.
|
inline |
Definition at line 325 of file CallSite.h.