reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

include/llvm/IR/Instructions.h
 1400 class CallInst : public CallBase {
 3656 class InvokeInst : public CallBase {
 3917 class CallBrInst : public CallBase {

Declarations

include/llvm/Analysis/ConstantFolding.h
   25 class CallBase;
include/llvm/Analysis/InlineCost.h
   25 class CallBase;
include/llvm/Analysis/InstructionSimplify.h
   44 class CallBase;

References

include/llvm/ADT/ArrayRef.h
  108         const ArrayRef<U *> &A,
  110            std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
  118       const SmallVectorTemplateCommon<U *, DummyT> &Vec,
  120           std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
include/llvm/ADT/DenseMapInfo.h
   39   static inline T* getEmptyKey() {
   41     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   45   static inline T* getTombstoneKey() {
   47     Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   51   static unsigned getHashValue(const T *PtrVal) {
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
   56   static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
include/llvm/Analysis/AliasAnalysis.h
  411   ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx);
  414   FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
  430   bool doesNotAccessMemory(const CallBase *Call) {
  458   bool onlyReadsMemory(const CallBase *Call) {
  524   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc);
  527   ModRefInfo getModRefInfo(const CallBase *Call, const Value *P,
  637   ModRefInfo getModRefInfo(Instruction *I, const CallBase *Call);
  642   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2);
  642   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2);
  697   ModRefInfo getModRefInfo(Instruction *I, const CallBase *Call2,
  699   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
  701   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
  701   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
  723       if (const auto *Call = dyn_cast<CallBase>(I)) {
  723       if (const auto *Call = dyn_cast<CallBase>(I)) {
  789   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc) {
  792   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2) {
  792   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2) {
  799   ModRefInfo getModRefInfo(Instruction *I, const CallBase *Call2) {
  802   ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) {
  805   FunctionModRefBehavior getModRefBehavior(const CallBase *Call) {
  857   virtual ModRefInfo getArgModRefInfo(const CallBase *Call,
  861   virtual FunctionModRefBehavior getModRefBehavior(const CallBase *Call) = 0;
  868   virtual ModRefInfo getModRefInfo(const CallBase *Call,
  875   virtual ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
  875   virtual ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
  908   ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) override {
  912   FunctionModRefBehavior getModRefBehavior(const CallBase *Call) override {
  920   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
  925   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
  925   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
  985     ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) {
  990     FunctionModRefBehavior getModRefBehavior(const CallBase *Call) {
  999     ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
 1005     ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
 1005     ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
 1042   ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) {
 1046   FunctionModRefBehavior getModRefBehavior(const CallBase *Call) {
 1054   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
 1059   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
 1059   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
include/llvm/Analysis/BasicAliasAnalysis.h
   87   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
   90   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
   90   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
   98   ModRefInfo getArgModRefInfo(const CallBase *Call, unsigned ArgIdx);
  101   FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
include/llvm/Analysis/CallGraph.h
  232   void addCalledFunction(CallBase *Call, CallGraphNode *M) {
  249   void removeCallEdgeFor(CallBase &Call);
  266   void replaceCallEdge(CallBase &Call, CallBase &NewCall,
  266   void replaceCallEdge(CallBase &Call, CallBase &NewCall,
include/llvm/Analysis/ConstantFolding.h
  146 bool canConstantFoldCallTo(const CallBase *Call, const Function *F);
  150 Constant *ConstantFoldCall(const CallBase *Call, Function *F,
  162 bool isMathLibCallNoop(const CallBase *Call, const TargetLibraryInfo *TLI);
include/llvm/Analysis/GlobalsModRef.h
   95   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
  106   FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
  121   ModRefInfo getModRefInfoForArgument(const CallBase *Call,
include/llvm/Analysis/IndirectCallVisitor.h
   24   void visitCallBase(CallBase &Call) {
include/llvm/Analysis/InlineCost.h
  202 int getCallsiteCost(CallBase &Call, const DataLayout &DL);
  216     CallBase &Call, const InlineParams &Params, TargetTransformInfo &CalleeTTI,
  227 getInlineCost(CallBase &Call, Function *Callee, const InlineParams &Params,
include/llvm/Analysis/InstructionSimplify.h
  260 Value *SimplifyCall(CallBase *Call, const SimplifyQuery &Q);
include/llvm/Analysis/MemoryDependenceAnalysis.h
  403   const NonLocalDepInfo &getNonLocalCallDependency(CallBase *QueryCall);
  487   MemDepResult getCallDependencyFrom(CallBase *Call, bool isReadOnlyCall,
include/llvm/Analysis/MemoryLocation.h
  236   static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx,
  238   static MemoryLocation getForArgument(const CallBase *Call, unsigned ArgIdx,
include/llvm/Analysis/ObjCARCAliasAnalysis.h
   64   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
include/llvm/Analysis/ScopedNoAliasAA.h
   44   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
   46   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
   46   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
include/llvm/Analysis/TypeBasedAliasAnalysis.h
   47   FunctionModRefBehavior getModRefBehavior(const CallBase *Call);
   49   ModRefInfo getModRefInfo(const CallBase *Call, const MemoryLocation &Loc,
   51   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
   51   ModRefInfo getModRefInfo(const CallBase *Call1, const CallBase *Call2,
include/llvm/Analysis/ValueTracking.h
  315   const Value *getArgumentAliasingToReturnedPointer(const CallBase *Call,
  318   getArgumentAliasingToReturnedPointer(CallBase *Call,
  331       const CallBase *Call, bool MustPreserveNullness);
include/llvm/CodeGen/TargetLowering.h
  200     void setAttributes(const CallBase *Call, unsigned ArgIdx);
  203       return setAttributes(cast<CallBase>(CS->getInstruction()), ArgIdx);
include/llvm/IR/CallSite.h
  122     if (const CallBase *CB = dyn_cast<CallBase>(getInstruction()))
  122     if (const CallBase *CB = dyn_cast<CallBase>(getInstruction()))
  255     return cast<CallBase>(getInstruction())->data_operands_begin();
  259     return cast<CallBase>(getInstruction())->data_operands_end();
  316     return cast<CallBase>(getInstruction())->isInlineAsm();
  598     cast<CallBase>(getInstruction())->getOperandBundlesAsDefs(Defs);
  668     return cast<CallBase>(getInstruction())->op_end() - 1;
include/llvm/IR/InstVisitor.h
  275   RetTy visitCallBase(CallBase &I) {
include/llvm/IR/InstrTypes.h
 1903   bool hasIdenticalOperandBundleSchema(const CallBase &Other) const {
 2045     auto *NonConstThis = const_cast<CallBase *>(this);
 2062     auto *NonConstThis = const_cast<CallBase *>(this);
 2127 struct OperandTraits<CallBase> : public VariadicOperandTraits<CallBase, 1> {};
include/llvm/IR/Instructions.h
 1400 class CallInst : public CallBase {
 1691                OperandTraits<CallBase>::op_end(this) -
 1702                OperandTraits<CallBase>::op_end(this) -
 3656 class InvokeInst : public CallBase {
 3894                OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands,
 3904                OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands,
 3917 class CallBrInst : public CallBase {
 4135                OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands,
 4150           OperandTraits<CallBase>::op_end(this) - NumOperands, NumOperands,
include/llvm/IR/OperandTraits.h
   69   static Use *op_begin(SubClass* U) {
   71         !std::is_polymorphic<SubClass>::value,
   75   static Use *op_end(SubClass* U) {
include/llvm/IR/PatternMatch.h
   47 template <typename Val, typename Pattern> bool match(Val *V, const Pattern &P) {
 1693   template <typename OpTy> bool match(OpTy *V) {
include/llvm/IR/Statepoint.h
   58 bool isStatepoint(const CallBase *Call);
   62 bool isGCRelocate(const CallBase *Call);
   65 bool isGCResult(const CallBase *Call);
   75   CallBaseTy *StatepointCall;
   79     StatepointCall = isStatepoint(I) ? cast<CallBaseTy>(I) : nullptr;
   82   explicit StatepointBase(CallBaseTy *Call) {
   87   using arg_iterator = typename CallBaseTy::const_op_iterator;
  107   CallBaseTy *getCall() const {
  294                             const CallBase> {
  296                               const CallBase>;
  300   explicit ImmutableStatepoint(const CallBase *Call) : Base(Call) {}
  306     : public StatepointBase<Function, Instruction, Value, CallBase> {
  307   using Base = StatepointBase<Function, Instruction, Value, CallBase>;
  311   explicit Statepoint(CallBase *Call) : Base(Call) {}
  336   const CallBase *getStatepoint() const {
  343       return cast<CallBase>(Token);
  355     return cast<CallBase>(InvokeBB->getTerminator());
include/llvm/IR/User.h
  127   template <int Idx, typename U> static Use &OpFrom(const U *that) {
  129       ? OperandTraits<U>::op_end(const_cast<U*>(that))[Idx]
  130       : OperandTraits<U>::op_begin(const_cast<U*>(that))[Idx];
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
   66   static inline bool doit(const From &) { return true; }
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
   77     return isa_impl<To, From>::doit(Val);
   92     return isa_impl<To, From>::doit(*Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  106     return isa_impl<To, From>::doit(*Val);
  122     return isa_impl_wrap<To, SimpleFrom,
  132     return isa_impl_cl<To,FromTy>::doit(Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  165   using ret_type = To &;       // Normal case, return Ty&
  168   using ret_type = const To &; // Normal case, return Ty&
  172   using ret_type = To *;       // Pointer arg case, return Ty*
  176   using ret_type = const To *; // Constant pointer arg case, return const Ty*
  198   using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::ret_type;
  218   static typename cast_retty<To, From>::ret_type doit(From &Val) {
  219     return cast_convert_val<To, SimpleFrom,
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  228     typename cast_retty<To, FromTy>::ret_type Res2
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  248                                typename cast_retty<X, const Y>::ret_type>::type
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  258   return cast_convert_val<X, Y,
  259                           typename simplify_type<Y>::SimpleType>::doit(Val);
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  331                             typename cast_retty<X, const Y>::ret_type>::type
  337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  338   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  352                             typename cast_retty<X, const Y>::ret_type>::type
  360                             typename cast_retty<X, Y>::ret_type>::type
  362   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  362   return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h
   56   static inline void *getAsVoidPointer(T *P) { return P; }
   57   static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
   59   enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
   91   typedef PointerLikeTypeTraits<T *> NonConst;
   93   static inline const void *getAsVoidPointer(const T *P) {
   96   static inline const T *getFromVoidPointer(const void *P) {
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
include/llvm/Transforms/IPO/Attributor.h
  168     if (auto *CB = dyn_cast<CallBase>(&V))
  189   static const IRPosition callsite_function(const CallBase &CB) {
  194   static const IRPosition callsite_returned(const CallBase &CB) {
  199   static const IRPosition callsite_argument(const CallBase &CB,
  206     return IRPosition::callsite_function(cast<CallBase>(*ICS.getInstruction()));
  211     return IRPosition::callsite_returned(cast<CallBase>(*ICS.getInstruction()));
  217     return IRPosition::callsite_argument(cast<CallBase>(*ICS.getInstruction()),
  227           cast<CallBase>(*ACS.getInstruction()), CSArgNo);
  238           cast<CallBase>(IRP.getAnchorValue()));
  271     if (auto *CB = dyn_cast<CallBase>(AnchorVal))
  271     if (auto *CB = dyn_cast<CallBase>(AnchorVal))
  368     return *cast<CallBase>(AnchorVal)->getArgOperand(getArgNo());
  406       if (isa<CallBase>(getAnchorValue()))
 1560   virtual const SmallSetVector<CallBase *, 4> &getUnresolvedCalls() const = 0;
include/llvm/Transforms/Utils/Cloning.h
  232 InlineResult InlineFunction(CallBase *CB, InlineFunctionInfo &IFI,
include/llvm/Transforms/Utils/Local.h
  465 bool callsGCLeafFunction(const CallBase *Call, const TargetLibraryInfo &TLI);
lib/Analysis/AliasAnalysis.cpp
  135 ModRefInfo AAResults::getArgModRefInfo(const CallBase *Call, unsigned ArgIdx) {
  149 ModRefInfo AAResults::getModRefInfo(Instruction *I, const CallBase *Call2) {
  154 ModRefInfo AAResults::getModRefInfo(Instruction *I, const CallBase *Call2,
  157   if (const auto *Call1 = dyn_cast<CallBase>(I)) {
  157   if (const auto *Call1 = dyn_cast<CallBase>(I)) {
  176 ModRefInfo AAResults::getModRefInfo(const CallBase *Call,
  182 ModRefInfo AAResults::getModRefInfo(const CallBase *Call,
  244 ModRefInfo AAResults::getModRefInfo(const CallBase *Call1,
  245                                     const CallBase *Call2) {
  250 ModRefInfo AAResults::getModRefInfo(const CallBase *Call1,
  251                                     const CallBase *Call2, AAQueryInfo &AAQI) {
  382 FunctionModRefBehavior AAResults::getModRefBehavior(const CallBase *Call) {
  652   const auto *Call = dyn_cast<CallBase>(I);
  652   const auto *Call = dyn_cast<CallBase>(I);
  869   if (const auto *Call = dyn_cast<CallBase>(V))
  869   if (const auto *Call = dyn_cast<CallBase>(V))
lib/Analysis/AliasAnalysisEvaluator.cpp
   68 static inline void PrintModRefResults(const char *Msg, bool P, CallBase *CallA,
   69                                       CallBase *CallB, Module *M) {
   99   SmallSetVector<CallBase *, 16> Calls;
  115     if (auto *Call = dyn_cast<CallBase>(&Inst)) {
  115     if (auto *Call = dyn_cast<CallBase>(&Inst)) {
  231   for (CallBase *Call : Calls) {
  281   for (CallBase *CallA : Calls) {
  282     for (CallBase *CallB : Calls) {
lib/Analysis/AliasAnalysisSummary.cpp
   76                                                       CallBase &Call) {
   85 instantiateExternalRelation(ExternalRelation ERelation, CallBase &Call) {
   96                                                         CallBase &Call) {
lib/Analysis/AliasAnalysisSummary.h
  204                                                       CallBase &Call);
  233 instantiateExternalRelation(ExternalRelation ERelation, CallBase &Call);
  242                                                         CallBase &Call);
lib/Analysis/AliasSetTracker.cpp
  247       const auto *C1 = dyn_cast<CallBase>(UnknownInst);
  247       const auto *C1 = dyn_cast<CallBase>(UnknownInst);
  248       const auto *C2 = dyn_cast<CallBase>(Inst);
  248       const auto *C2 = dyn_cast<CallBase>(Inst);
  474   if (auto *Call = dyn_cast<CallBase>(I))
  474   if (auto *Call = dyn_cast<CallBase>(I))
lib/Analysis/BasicAliasAnalysis.cpp
  164   if (isa<CallBase>(V))
  494       if (const auto *Call = dyn_cast<CallBase>(V)) {
  494       if (const auto *Call = dyn_cast<CallBase>(V)) {
  713 FunctionModRefBehavior BasicAAResult::getModRefBehavior(const CallBase *Call) {
  771 static bool isWriteOnlyParam(const CallBase *Call, unsigned ArgIdx,
  796 ModRefInfo BasicAAResult::getArgModRefInfo(const CallBase *Call,
  811 static bool isIntrinsicCall(const CallBase *Call, Intrinsic::ID IID) {
  869 ModRefInfo BasicAAResult::getModRefInfo(const CallBase *Call,
 1046 ModRefInfo BasicAAResult::getModRefInfo(const CallBase *Call1,
 1047                                         const CallBase *Call2,
lib/Analysis/CFLGraph.h
  191     static bool getPossibleTargets(CallBase &Call,
  375     bool tryInterproceduralAnalysis(CallBase &Call,
  417     void visitCallBase(CallBase &Call) {
lib/Analysis/CallGraph.cpp
   75       if (auto *Call = dyn_cast<CallBase>(&I)) {
   75       if (auto *Call = dyn_cast<CallBase>(&I)) {
  186 void CallGraphNode::removeCallEdgeFor(CallBase &Call) {
  229 void CallGraphNode::replaceCallEdge(CallBase &Call, CallBase &NewCall,
  229 void CallGraphNode::replaceCallEdge(CallBase &Call, CallBase &NewCall,
lib/Analysis/CallGraphSCCPass.cpp
  232       auto *Call = dyn_cast_or_null<CallBase>(I->first);
  232       auto *Call = dyn_cast_or_null<CallBase>(I->first);
  288         auto *Call = dyn_cast<CallBase>(&I);
  288         auto *Call = dyn_cast<CallBase>(&I);
lib/Analysis/CaptureTracking.cpp
  257       auto *Call = cast<CallBase>(I);
  257       auto *Call = cast<CallBase>(I);
lib/Analysis/CodeMetrics.cpp
  127     if (const auto *Call = dyn_cast<CallBase>(&I)) {
  127     if (const auto *Call = dyn_cast<CallBase>(&I)) {
lib/Analysis/ConstantFolding.cpp
 1048       const auto *Call = cast<CallBase>(InstOrCE);
 1048       const auto *Call = cast<CallBase>(InstOrCE);
 1400 bool llvm::canConstantFoldCallTo(const CallBase *Call, const Function *F) {
 1689                                          const CallBase *Call) {
 2028                                          const CallBase *Call) {
 2281                                          const CallBase *Call) {
 2376                                         const CallBase *Call) {
 2395                                         const CallBase *Call) {
 2468 Constant *llvm::ConstantFoldCall(const CallBase *Call, Function *F,
 2487 bool llvm::isMathLibCallNoop(const CallBase *Call,
lib/Analysis/GlobalsModRef.cpp
  257 GlobalsAAResult::getModRefBehavior(const CallBase *Call) {
  368     } else if (auto *Call = dyn_cast<CallBase>(I)) {
  368     } else if (auto *Call = dyn_cast<CallBase>(I)) {
  579         if (auto *Call = dyn_cast<CallBase>(&I)) {
  579         if (auto *Call = dyn_cast<CallBase>(&I)) {
  890 ModRefInfo GlobalsAAResult::getModRefInfoForArgument(const CallBase *Call,
  921 ModRefInfo GlobalsAAResult::getModRefInfo(const CallBase *Call,
lib/Analysis/InlineCost.cpp
  124   CallBase &CandidateCall;
  210   bool simplifyCallSite(Function *F, CallBase &Call);
  230   void updateThreshold(CallBase &Call, Function &Callee);
  233   bool allowSizeGrowth(CallBase &Call);
  236   bool isColdCallSite(CallBase &Call, BlockFrequencyInfo *CallerBFI);
  239   Optional<int> getHotCallSiteThreshold(CallBase &Call,
  281   bool visitCallBase(CallBase &Call);
  297                Function &Callee, CallBase &Call, const InlineParams &Params)
  305   InlineResult analyzeCall(CallBase &Call);
  783 bool CallAnalyzer::allowSizeGrowth(CallBase &Call) {
  808 bool CallAnalyzer::isColdCallSite(CallBase &Call,
  832 CallAnalyzer::getHotCallSiteThreshold(CallBase &Call,
  860 void CallAnalyzer::updateThreshold(CallBase &Call, Function &Callee) {
 1203 bool CallAnalyzer::simplifyCallSite(Function *F, CallBase &Call) {
 1231 bool CallAnalyzer::visitCallBase(CallBase &Call) {
 1728 InlineResult CallAnalyzer::analyzeCall(CallBase &Call) {
 1778     CallBase *Call = dyn_cast<CallBase>(U);
 1778     CallBase *Call = dyn_cast<CallBase>(U);
 1970 int llvm::getCallsiteCost(CallBase &Call, const DataLayout &DL) {
 2004     CallBase &Call, const InlineParams &Params, TargetTransformInfo &CalleeTTI,
 2013     CallBase &Call, Function *Callee, const InlineParams &Params,
 2106       CallBase *Call = dyn_cast<CallBase>(&II);
 2106       CallBase *Call = dyn_cast<CallBase>(&II);
lib/Analysis/InstructionSimplify.cpp
 5140 static Value *simplifyIntrinsic(CallBase *Call, const SimplifyQuery &Q) {
 5203 Value *llvm::SimplifyCall(CallBase *Call, const SimplifyQuery &Q) {
lib/Analysis/Loads.cpp
  114   if (const auto *Call = dyn_cast<CallBase>(V))
  114   if (const auto *Call = dyn_cast<CallBase>(V))
lib/Analysis/LoopAccessAnalysis.cpp
 1817       if (auto *Call = dyn_cast<CallBase>(&I)) {
 1817       if (auto *Call = dyn_cast<CallBase>(&I)) {
lib/Analysis/MemDepPrinter.cpp
  107     } else if (auto *Call = dyn_cast<CallBase>(Inst)) {
  107     } else if (auto *Call = dyn_cast<CallBase>(Inst)) {
lib/Analysis/MemoryDependenceAnalysis.cpp
  184     CallBase *Call, bool isReadOnlyCall, BasicBlock::iterator ScanIt,
  211     if (auto *CallB = dyn_cast<CallBase>(Inst)) {
  211     if (auto *CallB = dyn_cast<CallBase>(Inst)) {
  756     } else if (auto *QueryCall = dyn_cast<CallBase>(QueryInst)) {
  756     } else if (auto *QueryCall = dyn_cast<CallBase>(QueryInst)) {
  785 MemoryDependenceResults::getNonLocalCallDependency(CallBase *QueryCall) {
lib/Analysis/MemoryLocation.cpp
  127 MemoryLocation MemoryLocation::getForArgument(const CallBase *Call,
lib/Analysis/MemorySSA.cpp
  138     if (auto *C = dyn_cast<CallBase>(Inst)) {
  138     if (auto *C = dyn_cast<CallBase>(Inst)) {
  152   const CallBase *getCall() const {
  179     const CallBase *Call;
  266   const auto *UseCall = dyn_cast<CallBase>(UseInst);
  266   const auto *UseCall = dyn_cast<CallBase>(UseInst);
  351       : IsCall(isa<CallBase>(Inst)), Inst(Inst), OriginalAccess(Access) {
 2348   if (!isa<CallBase>(I) && I->isFenceLike())
 2397   if (!isa<CallBase>(I) && I->isFenceLike())
lib/Analysis/ObjCARCAliasAnalysis.cpp
  110 ModRefInfo ObjCARCAAResult::getModRefInfo(const CallBase *Call,
lib/Analysis/ScopedNoAliasAA.cpp
   98 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(const CallBase *Call,
  115 ModRefInfo ScopedNoAliasAAResult::getModRefInfo(const CallBase *Call1,
  116                                                 const CallBase *Call2,
lib/Analysis/TypeBasedAliasAnalysis.cpp
  403 TypeBasedAAResult::getModRefBehavior(const CallBase *Call) {
  424 ModRefInfo TypeBasedAAResult::getModRefInfo(const CallBase *Call,
  438 ModRefInfo TypeBasedAAResult::getModRefInfo(const CallBase *Call1,
  439                                             const CallBase *Call2,
lib/Analysis/ValueTracking.cpp
 2073     if (const auto *Call = dyn_cast<CallBase>(V)) {
 2073     if (const auto *Call = dyn_cast<CallBase>(V)) {
 3664 llvm::getArgumentAliasingToReturnedPointer(const CallBase *Call,
 3678     const CallBase *Call, bool MustPreserveNullness) {
 3732       if (auto *Call = dyn_cast<CallBase>(V)) {
 3732       if (auto *Call = dyn_cast<CallBase>(V)) {
lib/Bitcode/Reader/BitcodeReader.cpp
  720   void propagateByValTypes(CallBase *CB, ArrayRef<Type *> ArgsFullTys);
 3680 void BitcodeReader::propagateByValTypes(CallBase *CB,
 4538       propagateByValTypes(cast<CallBase>(I), ArgsFullTys);
 5077       propagateByValTypes(cast<CallBase>(I), ArgsFullTys);
lib/Bitcode/Writer/ValueEnumerator.cpp
  417         if (const auto *Call = dyn_cast<CallBase>(&I))
  417         if (const auto *Call = dyn_cast<CallBase>(&I))
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 8621     TargetLowering::CallLoweringInfo &CLI, const CallBase *Call,
 8789   populateCallLoweringInfo(CLI, cast<CallBase>(CS.getInstruction()),
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  549                                 const CallBase *Call, unsigned ArgIdx,
  613   void LowerCallSiteWithDeoptBundle(const CallBase *Call, SDValue Callee,
  619   void LowerCallSiteWithDeoptBundleImpl(const CallBase *Call, SDValue Callee,
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  926     const CallBase *Call, SDValue Callee, const BasicBlock *EHPadBB,
  959     const CallBase *Call, SDValue Callee, const BasicBlock *EHPadBB) {
lib/CodeGen/SelectionDAG/TargetLowering.cpp
  101 void TargetLoweringBase::ArgListEntry::setAttributes(const CallBase *Call,
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
   31     if (auto Call = dyn_cast<CallBase>(&I))
lib/IR/AsmWriter.cpp
 1004       if (const auto *Call = dyn_cast<CallBase>(&I)) {
 1004       if (const auto *Call = dyn_cast<CallBase>(&I)) {
 2386   void writeOperandBundles(const CallBase *Call);
 2538 void AssemblyWriter::writeOperandBundles(const CallBase *Call) {
lib/IR/Core.cpp
 2774   return unwrap<CallBase>(Instr)->getNumArgOperands();
 2780   return unwrap<CallBase>(Instr)->getCallingConv();
 2784   return unwrap<CallBase>(Instr)->setCallingConv(
 2790   auto *Call = unwrap<CallBase>(Instr);
 2790   auto *Call = unwrap<CallBase>(Instr);
 2798   unwrap<CallBase>(C)->addAttribute(Idx, unwrap(A));
 2803   auto *Call = unwrap<CallBase>(C);
 2803   auto *Call = unwrap<CallBase>(C);
 2810   auto *Call = unwrap<CallBase>(C);
 2810   auto *Call = unwrap<CallBase>(C);
 2820       unwrap<CallBase>(C)->getAttribute(Idx, (Attribute::AttrKind)KindID));
 2826   return wrap(unwrap<CallBase>(C)->getAttribute(Idx, StringRef(K, KLen)));
 2831   unwrap<CallBase>(C)->removeAttribute(Idx, (Attribute::AttrKind)KindID);
 2836   unwrap<CallBase>(C)->removeAttribute(Idx, StringRef(K, KLen));
 2840   return wrap(unwrap<CallBase>(Instr)->getCalledValue());
 2844   return wrap(unwrap<CallBase>(Instr)->getFunctionType());
lib/IR/Function.cpp
 1425     const auto *Call = dyn_cast<CallBase>(FU);
 1425     const auto *Call = dyn_cast<CallBase>(FU);
 1458     if (const auto *Call = dyn_cast<CallBase>(&I))
 1458     if (const auto *Call = dyn_cast<CallBase>(&I))
lib/IR/Instruction.cpp
  527     return !cast<CallBase>(this)->doesNotReadMemory();
  547     return !cast<CallBase>(this)->onlyReadsMemory();
lib/IR/Instructions.cpp
   70   return cast<CallBase>(getInstruction())->op_end() - 1;
  355 CallBase::op_iterator
  425                OperandTraits<CallBase>::op_end(this) - 1, 1, InsertBefore) {
  432                OperandTraits<CallBase>::op_end(this) - 1, 1, InsertAtEnd) {
  438                OperandTraits<CallBase>::op_end(this) - CI.getNumOperands(),
  751                OperandTraits<CallBase>::op_end(this) - II.getNumOperands(),
  833                OperandTraits<CallBase>::op_end(this) - CBI.getNumOperands(),
lib/IR/Statepoint.cpp
   20 bool llvm::isStatepoint(const CallBase *Call) {
   27   if (auto *Call = dyn_cast<CallBase>(V))
   36 bool llvm::isGCRelocate(const CallBase *Call) {
   41   if (auto *Call = dyn_cast<CallBase>(V))
   46 bool llvm::isGCResult(const CallBase *Call) { return isa<GCResultInst>(Call); }
   49   if (auto *Call = dyn_cast<CallBase>(V))
lib/IR/Value.cpp
  505       if (const auto *Call = dyn_cast<CallBase>(V)) {
  505       if (const auto *Call = dyn_cast<CallBase>(V)) {
  594     } else if (const auto *Call = dyn_cast<CallBase>(V)) {
  594     } else if (const auto *Call = dyn_cast<CallBase>(V)) {
  625   } else if (const auto *Call = dyn_cast<CallBase>(this)) {
  625   } else if (const auto *Call = dyn_cast<CallBase>(this)) {
  720   } else if (const auto *Call = dyn_cast<CallBase>(this)) {
  720   } else if (const auto *Call = dyn_cast<CallBase>(this)) {
lib/IR/Verifier.cpp
  201   void WriteTs(const T1 &V1, const Ts &... Vs) {
  201   void WriteTs(const T1 &V1, const Ts &... Vs) {
  224   void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) {
  224   void CheckFailed(const Twine &Message, const T1 &V1, const Ts &... Vs) {
  240   void DebugInfoCheckFailed(const Twine &Message, const T1 &V1,
  451   void visitCallBase(CallBase &Call);
  476   void visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call);
  496   void verifySwiftErrorCall(CallBase &Call, const Value *SwiftErrorVal);
  511   void verifyStatepoint(const CallBase &Call);
 1938 void Verifier::verifyStatepoint(const CallBase &Call) {
 2817 void Verifier::visitCallBase(CallBase &Call) {
 3430 void Verifier::verifySwiftErrorCall(CallBase &Call,
 3457     if (auto *Call = dyn_cast<CallBase>(U))
 4102   const CallBase *CBI = dyn_cast<CallBase>(&I);
 4102   const CallBase *CBI = dyn_cast<CallBase>(&I);
 4232 void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
 4479     const auto *StatepointCall = dyn_cast<CallBase>(Call.getArgOperand(0));
 4479     const auto *StatepointCall = dyn_cast<CallBase>(Call.getArgOperand(0));
 4529     const CallBase &StatepointCall =
 4530         *cast<CallBase>(cast<GCRelocateInst>(Call).getStatepoint());
lib/Target/AMDGPU/AMDGPUInline.cpp
  217   auto IC = llvm::getInlineCost(cast<CallBase>(*CS.getInstruction()), Callee,
lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
  200       SmallVector<std::pair<CallBase *, Function *>, 32> ToReplace;
  206         CallBase *CI = dyn_cast<CallBase>(I);
  206         CallBase *CI = dyn_cast<CallBase>(I);
lib/Transforms/CFGuard/CFGuard.cpp
  101   void insertCFGuardCheck(CallBase *CB);
  142   void insertCFGuardDispatch(CallBase *CB);
  158 void CFGuard::insertCFGuardCheck(CallBase *CB) {
  182 void CFGuard::insertCFGuardDispatch(CallBase *CB) {
  207   CallBase *NewCB;
  261   SmallVector<CallBase *, 8> IndirectCalls;
  269       auto *CB = dyn_cast<CallBase>(&I);
  269       auto *CB = dyn_cast<CallBase>(&I);
  286     for (CallBase *CB : IndirectCalls) {
  290     for (CallBase *CB : IndirectCalls) {
lib/Transforms/Coroutines/CoroSplit.cpp
 1463         if (auto *CB = dyn_cast<CallBase>(Use.getUser())) {
 1463         if (auto *CB = dyn_cast<CallBase>(Use.getUser())) {
lib/Transforms/Coroutines/Coroutines.cpp
  193     if (auto *Call = dyn_cast<CallBase>(&I)) {
  193     if (auto *Call = dyn_cast<CallBase>(&I)) {
lib/Transforms/IPO/ArgumentPromotion.cpp
 1142         CallerNode->replaceCallEdge(*cast<CallBase>(OldCS.getInstruction()),
 1143                                     *cast<CallBase>(NewCS.getInstruction()),
lib/Transforms/IPO/Attributor.cpp
  424         IRPosition::callsite_function(cast<CallBase>(*ICS.getInstruction())));
  854   DenseMap<const CallBase *, unsigned> NumReturnedValuesPerKnownAA;
  857   SmallSetVector<CallBase *, 4> UnresolvedCalls;
  921   const SmallSetVector<CallBase *, 4> &getUnresolvedCalls() const override {
  997         if (CallBase *CB = dyn_cast<CallBase>(U.getUser()))
  997         if (CallBase *CB = dyn_cast<CallBase>(U.getUser()))
 1008       Changed = ReplaceCallSiteUsersWith(cast<CallBase>(AnchorValue), *RVCCast);
 1067     CallBase *CB = dyn_cast<CallBase>(RV);
 1067     CallBase *CB = dyn_cast<CallBase>(RV);
 1132     CallBase *CB = dyn_cast<CallBase>(It.first);
 1132     CallBase *CB = dyn_cast<CallBase>(It.first);
 1172       if (isa<Argument>(RetVal) || isa<CallBase>(RetVal) ||
 1206       } else if (isa<CallBase>(RetVal)) {
 3665       if (auto *CB = dyn_cast<CallBase>(UserI)) {
 3665       if (auto *CB = dyn_cast<CallBase>(UserI)) {
lib/Transforms/IPO/FunctionAttrs.cpp
  135     if (auto *Call = dyn_cast<CallBase>(I)) {
  135     if (auto *Call = dyn_cast<CallBase>(I)) {
lib/Transforms/IPO/InlineSimple.cpp
   72         cast<CallBase>(*CS.getInstruction()), Params, TTI, GetAssumptionCache,
lib/Transforms/IPO/Inliner.cpp
  676         CG[Caller]->removeCallEdgeFor(*cast<CallBase>(CS.getInstruction()));
 1016       return getInlineCost(cast<CallBase>(*CS.getInstruction()), Params,
lib/Transforms/IPO/PartialInlining.cpp
  779   InlineCost IC = getInlineCost(cast<CallBase>(*Call), getInlineParams(),
  815   int NonWeightedSavings = getCallsiteCost(cast<CallBase>(*Call), DL);
lib/Transforms/IPO/PruneEH.cpp
  245     if (auto *Call = dyn_cast<CallBase>(&*I)) {
  245     if (auto *Call = dyn_cast<CallBase>(&*I)) {
lib/Transforms/IPO/SampleProfile.cpp
  869       getInlineCost(cast<CallBase>(*I), Params, GetTTI(*CalledFunction), GetAC,
lib/Transforms/InstCombine/InstCombineCalls.cpp
 4089 static bool isSafeToEliminateVarargsCast(const CallBase &Call,
 4217 static void annotateAnyAllocSite(CallBase &Call, const TargetLibraryInfo *TLI) {
 4266 Instruction *InstCombiner::visitCallBase(CallBase &Call) {
 4331       cast<CallBase>(OldCall)->setCalledFunction(
 4408 bool InstCombiner::transformConstExprCastCall(CallBase &Call) {
 4627   CallBase *NewCall;
 4693 InstCombiner::transformCallThroughTrampoline(CallBase &Call,
lib/Transforms/InstCombine/InstCombineInternal.h
  503   Instruction *visitCallBase(CallBase &Call);
  505   bool transformConstExprCastCall(CallBase &Call);
  506   Instruction *transformCallThroughTrampoline(CallBase &Call,
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
   91       if (auto *Call = dyn_cast<CallBase>(I)) {
   91       if (auto *Call = dyn_cast<CallBase>(I)) {
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
 1260           cast<CallBase>(Op0)->getCalledFunction()->getAttributes();
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 3650   int getNumOutputArgs(InlineAsm *IA, CallBase *CB) {
 3693     CallBase *CB = cast<CallBase>(&I);
 3693     CallBase *CB = cast<CallBase>(&I);
lib/Transforms/ObjCARC/DependencyAnalysis.cpp
   47   const auto *Call = cast<CallBase>(Inst);
   47   const auto *Call = cast<CallBase>(Inst);
lib/Transforms/Scalar/DeadStoreElimination.cpp
  838     if (auto *Call = dyn_cast<CallBase>(&*BBI)) {
  838     if (auto *Call = dyn_cast<CallBase>(&*BBI)) {
lib/Transforms/Scalar/GVN.cpp
 2268   if (auto *CallB = dyn_cast<CallBase>(CurInst))
 2268   if (auto *CallB = dyn_cast<CallBase>(CurInst))
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  332   if (auto *Call = dyn_cast<CallBase>(I)) {
  332   if (auto *Call = dyn_cast<CallBase>(I)) {
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  465   SmallVector<const CallBase *, 8> Calls;
  496       else if (const auto *Call = dyn_cast<CallBase>(C)) {
  496       else if (const auto *Call = dyn_cast<CallBase>(C)) {
lib/Transforms/Scalar/PlaceSafepoints.cpp
  180                     std::vector<CallBase *> &ParsePointsNeeded /*rval*/,
  183 static bool needsStatepoint(CallBase *Call, const TargetLibraryInfo &TLI) {
  217       if (auto *Call = dyn_cast<CallBase>(&I))
  217       if (auto *Call = dyn_cast<CallBase>(&I))
  360 static bool doesNotRequireEntrySafepointBefore(CallBase *Call) {
  423     if (auto *Call = dyn_cast<CallBase>(Cursor)) {
  423     if (auto *Call = dyn_cast<CallBase>(Cursor)) {
  499   std::vector<CallBase *> ParsePointNeeded;
  588     std::vector<CallBase *> RuntimeCalls;
  621                     std::vector<CallBase *> &ParsePointsNeeded /*rval*/,
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  287 static ArrayRef<Use> GetDeoptBundleOperands(const CallBase *Call) {
  372     DominatorTree &DT, GCPtrLivenessData &OriginalLivenessData, CallBase *Call,
 1176                              CallBase *Call,
 1198                                   CallBase *Call,
 1202     Function &F, DominatorTree &DT, ArrayRef<CallBase *> toUpdate,
 1397 static StringRef getDeoptLowering(CallBase *Call) {
 1414 makeStatepointExplicitImpl(CallBase *Call, /* to replace */
 1601 makeStatepointExplicit(DominatorTree &DT, CallBase *Call,
 1890 static void insertUseHolderAfter(CallBase *Call, const ArrayRef<Value *> Values,
 1916     Function &F, DominatorTree &DT, ArrayRef<CallBase *> toUpdate,
 2019 static void rematerializeLiveValues(CallBase *Call,
 2173                               SmallVectorImpl<CallBase *> &ToUpdate) {
 2176   std::set<CallBase *> Uniqued;
 2180   for (CallBase *Call : ToUpdate)
 2188   for (CallBase *Call : ToUpdate) {
 2204   for (CallBase *Call : ToUpdate) {
 2383 static void RemoveNonValidAttrAtIndex(LLVMContext &Ctx, AttrHolder &AH,
 2473     if (auto *Call = dyn_cast<CallBase>(&I)) {
 2473     if (auto *Call = dyn_cast<CallBase>(&I)) {
 2524     if (const auto *Call = dyn_cast<CallBase>(&I))
 2524     if (const auto *Call = dyn_cast<CallBase>(&I))
 2540   SmallVector<CallBase *, 64> ParsePointNeeded;
 2550       ParsePointNeeded.push_back(cast<CallBase>(&I));
 2810                                   CallBase *Call,
lib/Transforms/Scalar/SCCP.cpp
 1272         canConstantFoldCallTo(cast<CallBase>(CS.getInstruction()), F)) {
 1293       if (Constant *C = ConstantFoldCall(cast<CallBase>(CS.getInstruction()), F,
lib/Transforms/Scalar/Sink.cpp
   78   if (auto *Call = dyn_cast<CallBase>(Inst)) {
   78   if (auto *Call = dyn_cast<CallBase>(Inst)) {
lib/Transforms/Utils/CallPromotionUtils.cpp
  371   cast<CallBase>(CS.getInstruction())->setCalledOperand(Callee);
lib/Transforms/Utils/Evaluator.cpp
  570         if (Constant *C = ConstantFoldCall(cast<CallBase>(CS.getInstruction()),
lib/Transforms/Utils/InlineFunction.cpp
   87 llvm::InlineResult llvm::InlineFunction(CallBase *CB, InlineFunctionInfo &IFI,
  995       else if (const auto *Call = dyn_cast<CallBase>(I)) {
  995       else if (const auto *Call = dyn_cast<CallBase>(I)) {
 1211     auto *NewCall = dyn_cast<CallBase>(VMI->second);
 1211     auto *NewCall = dyn_cast<CallBase>(VMI->second);
 1243   CallerNode->removeCallEdgeFor(*cast<CallBase>(CS.getInstruction()));
lib/Transforms/Utils/Local.cpp
  429   if (auto *Call = dyn_cast<CallBase>(I))
  429   if (auto *Call = dyn_cast<CallBase>(I))
 2515 bool llvm::callsGCLeafFunction(const CallBase *Call,
lib/Transforms/Utils/SimplifyCFG.cpp
 1461     if (const auto *C = dyn_cast<CallBase>(I))
 1461     if (const auto *C = dyn_cast<CallBase>(I))
 1530       if (isa<CallBase>(I0) && OI == OE - 1) {
tools/clang/lib/CodeGen/Address.h
  108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGBuiltin.cpp
  866   llvm::CallBase *CB = CGF.EmitRuntimeCallOrInvoke(SetJmpFn, Args);
tools/clang/lib/CodeGen/CGCUDANV.cpp
  362     llvm::CallBase *CB = CGF.EmitRuntimeCallOrInvoke(cudaSetupArgFn, Args);
tools/clang/lib/CodeGen/CGCall.cpp
 3731 llvm::CallBase *
 3738 llvm::CallBase *
 3742   llvm::CallBase *call = EmitCallOrInvoke(callee, args, name);
 3749 llvm::CallBase *CodeGenFunction::EmitCallOrInvoke(llvm::FunctionCallee Callee,
 3756   llvm::CallBase *Inst;
 3783                                  llvm::CallBase **callOrInvoke,
 4358   llvm::CallBase *CI;
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 3709 void CGDebugInfo::EmitFuncDeclForCallSite(llvm::CallBase *CallOrInvoke,
tools/clang/lib/CodeGen/CGDebugInfo.h
  418   void EmitFuncDeclForCallSite(llvm::CallBase *CallOrInvoke,
tools/clang/lib/CodeGen/CGExpr.cpp
 4942   llvm::CallBase *CallOrInvoke = nullptr;
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1289   llvm::CallBase *CallOrInvoke;
tools/clang/lib/CodeGen/CGExprComplex.cpp
  647   llvm::CallBase *Call;
tools/clang/lib/CodeGen/CGObjC.cpp
 1116     llvm::CallBase *CallInstruction;
 2104   llvm::CallBase *Inst = CGF.EmitCallOrInvoke(fn, value);
 2651   llvm::CallBase *call = EmitCallOrInvoke(fn, value);
tools/clang/lib/CodeGen/CGObjCGNU.cpp
  693     llvm::CallBase *imp = CGF.EmitRuntimeCallOrInvoke(MsgLookupFn, args);
  775       llvm::CallBase *slot = CGF.EmitRuntimeCallOrInvoke(LookupFn, args);
 2045     llvm::CallBase *imp;
 2605   llvm::CallBase *call;
 2722   llvm::CallBase *call;
 3954     llvm::CallBase *Throw = CGF.EmitRuntimeCallOrInvoke(ExceptionReThrowFn);
 3959     llvm::CallBase *Throw =
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2236   llvm::CallBase *CallSite;
 4289       if (cast<llvm::CallBase>(I).doesNotThrow())
 7669     llvm::CallBase *Call =
 7673     llvm::CallBase *Call =
tools/clang/lib/CodeGen/CGStmt.cpp
 1912 static void UpdateAsmCallInst(llvm::CallBase &Result, bool HasSideEffect,
 2283     UpdateAsmCallInst(cast<llvm::CallBase>(*Result), HasSideEffect, ReadOnly,
 2289     UpdateAsmCallInst(cast<llvm::CallBase>(*Result), HasSideEffect, ReadOnly,
tools/clang/lib/CodeGen/CGVTables.cpp
  369   llvm::CallBase *CallOrInvoke;
tools/clang/lib/CodeGen/CodeGenFunction.h
 3601                   llvm::CallBase **callOrInvoke, SourceLocation Loc);
 3604                   llvm::CallBase **callOrInvoke = nullptr) {
 3632   llvm::CallBase *EmitCallOrInvoke(llvm::FunctionCallee Callee,
 3635   llvm::CallBase *EmitRuntimeCallOrInvoke(llvm::FunctionCallee callee,
 3638   llvm::CallBase *EmitRuntimeCallOrInvoke(llvm::FunctionCallee callee,
tools/clang/lib/CodeGen/CodeGenModule.cpp
 4278     llvm::CallBase *callSite = dyn_cast<llvm::CallBase>(user);
 4278     llvm::CallBase *callSite = dyn_cast<llvm::CallBase>(user);
 4321     llvm::CallBase *newCall;
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1374   llvm::CallBase *Call = CGF.EmitRuntimeCallOrInvoke(Fn);
 1472   llvm::CallBase *Call = CGF.EmitRuntimeCallOrInvoke(Fn);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  932 static llvm::CallBase *emitRTtypeidCall(CodeGenFunction &CGF,
  943   llvm::CallBase *Call =
  955   llvm::CallBase *Typeid = emitRTtypeidCall(CGF, ThisPtr.getPointer());
tools/llvm-extract/llvm-extract.cpp
  303           CallBase *CB = dyn_cast<CallBase>(&I);
  303           CallBase *CB = dyn_cast<CallBase>(&I);
usr/include/c++/7.4.0/type_traits
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1983     { typedef _Up     type; };