29 return (F && F->
getIntrinsicID() == Intrinsic::experimental_gc_statepoint);
32 if (isa<InvokeInst>(inst) || isa<CallInst>(inst)) {
51 if (
const CallInst *call = dyn_cast<CallInst>(inst)) {
52 if (
const Function *
F = call->getCalledFunction()) {
53 return F->getIntrinsicID() == Intrinsic::experimental_gc_relocate;
68 if (
const CallInst *call = dyn_cast<CallInst>(inst)) {
69 if (
Function *
F = call->getCalledFunction()) {
70 return (
F->getIntrinsicID() == Intrinsic::experimental_gc_result_int ||
71 F->getIntrinsicID() == Intrinsic::experimental_gc_result_float ||
72 F->getIntrinsicID() == Intrinsic::experimental_gc_result_ptr ||
73 F->getIntrinsicID() == Intrinsic::experimental_gc_result);
InstrTy * getInstruction() const
CallInst - This class represents a function call, abstracting a target machine's calling convention...
bool isStatepoint(const ImmutableCallSite &CS)
FunTy * getCalledFunction() const
getCalledFunction - Return the function being called if this is a direct call, otherwise return null ...
bool isGCRelocate(const Value *V)
This file contains the declarations for the subclasses of Constant, which represent the different fla...
Intrinsic::ID getIntrinsicID() const LLVM_READONLY
getIntrinsicID - This method returns the ID number of the specified function, or Intrinsic::not_intri...
ImmutableCallSite - establish a view to a call site for examination.
LLVM Value Representation.
bool isGCResult(const Value *V)