Lines Matching refs:CallSiteBase
49 class CallSiteBase {
53 CallSiteBase() : I(nullptr, false) {} in CallSiteBase() function
54 CallSiteBase(CallTy *CI) : I(CI, true) { assert(CI); } in CallSiteBase() function
55 CallSiteBase(InvokeTy *II) : I(II, false) { assert(II); } in CallSiteBase() function
56 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase() function
64 static CallSiteBase get(ValTy *V) { in get()
67 return CallSiteBase(static_cast<CallTy*>(II)); in get()
69 return CallSiteBase(static_cast<InvokeTy*>(II)); in get()
71 return CallSiteBase(); in get()
601 class CallSite : public CallSiteBase<Function, BasicBlock, Value, User, Use,
606 CallSite(CallSiteBase B) : CallSiteBase(B) {} in CallSite()
607 CallSite(CallInst *CI) : CallSiteBase(CI) {} in CallSite()
608 CallSite(InvokeInst *II) : CallSiteBase(II) {} in CallSite()
609 explicit CallSite(Instruction *II) : CallSiteBase(II) {} in CallSite()
610 explicit CallSite(Value *V) : CallSiteBase(V) {} in CallSite()
623 class ImmutableCallSite : public CallSiteBase<> {
626 ImmutableCallSite(const CallInst *CI) : CallSiteBase(CI) {} in ImmutableCallSite()
627 ImmutableCallSite(const InvokeInst *II) : CallSiteBase(II) {} in ImmutableCallSite()
628 explicit ImmutableCallSite(const Instruction *II) : CallSiteBase(II) {} in ImmutableCallSite()
629 explicit ImmutableCallSite(const Value *V) : CallSiteBase(V) {} in ImmutableCallSite()
630 ImmutableCallSite(CallSite CS) : CallSiteBase(CS.getInstruction()) {} in ImmutableCallSite()