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

References

include/llvm/Analysis/CGSCCPassManager.h
  595             if (CS.getCalledFunction()) {
  642         Function *F = CS.getCalledFunction();
include/llvm/Analysis/TargetLibraryInfo.h
  243     return !CS.isNoBuiltin() && CS.getCalledFunction() &&
  244            getLibFunc(*(CS.getCalledFunction()), F);
include/llvm/Analysis/TargetTransformInfoImpl.h
  864       const Function *F = CS.getCalledFunction();
include/llvm/CodeGen/BasicTTIImpl.h
  481           if (const Function *F = CS.getCalledFunction()) {
include/llvm/IR/CallSite.h
  142     if (auto *F = getCalledFunction())
lib/Analysis/CGSCCPassManager.cpp
  452       if (Function *Callee = CS.getCalledFunction())
lib/Analysis/LazyCallGraph.cpp
  103         if (Function *Callee = CS.getCalledFunction())
lib/Analysis/MemoryBuiltins.cpp
  126   if (const Function *Callee = CS.getCalledFunction())
lib/Analysis/ModuleSummaryAnalysis.cpp
  320       auto *CalledFunction = CS.getCalledFunction();
lib/Analysis/ValueTracking.cpp
 1921       if (auto *CalledFunc = CS.getCalledFunction())
 2784   const Function *F = ICS.getCalledFunction();
lib/CodeGen/GlobalISel/CallLowering.cpp
   53   if (const Function *F = CS.getCalledFunction())
lib/CodeGen/SafeStack.cpp
  709   Function *Callee = CS.getCalledFunction();
  726   Function *Callee = CS.getCalledFunction();
lib/ExecutionEngine/Interpreter/Execution.cpp
 1120   Function *F = CS.getCalledFunction();
lib/IR/AbstractCallSite.cpp
   67   Function *Callee = CS.getCalledFunction();
lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp
  279         Function *Callee = CS.getCalledFunction();
lib/Target/AMDGPU/AMDGPUFixFunctionBitcasts.cpp
   35     if (CS.getCalledFunction())
lib/Target/AMDGPU/AMDGPUInline.cpp
  115   Function *Callee = CS.getCalledFunction();
  160   Function *Callee = CS.getCalledFunction();
  178   Function *Callee = CS.getCalledFunction();
lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp
  225         Function *Callee = CS.getCalledFunction();
lib/Target/AMDGPU/SIISelLowering.cpp
 2438   const Function *CalleeFunc = CLI.CS.getCalledFunction();
 2701   if (!CLI.CS.getCalledFunction()) {
lib/Target/ARM/ARMTargetTransformInfo.cpp
 1042         if (const Function *F = CS.getCalledFunction()) {
lib/Target/NVPTX/NVPTXISelLowering.cpp
 1380   const Value *DirectCallee = CS.getCalledFunction();
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  250         if (const Function *F = CS.getCalledFunction()) {
lib/Transforms/IPO/AlwaysInliner.cpp
   55           if (CS.getCalledFunction() == &F)
  154   Function *Callee = CS.getCalledFunction();
lib/Transforms/IPO/ArgumentPromotion.cpp
  244     assert(CS.getCalledFunction() == F);
  853     const Function *Callee = CS.getCalledFunction();
 1140             CG.getOrInsertFunction(NewCS.getCalledFunction());
lib/Transforms/IPO/Attributor.cpp
  195       if (CS && CS.getCalledFunction()) {
  196         for (Argument &Arg : CS.getCalledFunction()->args())
  410       if (const Function *Callee = ICS.getCalledFunction())
  418       if (const Function *Callee = ICS.getCalledFunction()) {
  432       const Function *Callee = ICS.getCalledFunction();
 1760       if (ICS.getCalledFunction() == getAnchorScope())
 2291         if (const Function *F = ICS.getCalledFunction())
 4807     if (CS.getCalledFunction()) {
 4808       for (int i = 0, e = CS.getCalledFunction()->arg_size(); i < e; i++) {
lib/Transforms/IPO/CalledValuePropagation.cpp
  259     Function *F = CS.getCalledFunction();
lib/Transforms/IPO/DeadArgumentElimination.cpp
  427       const Function *F = CS.getCalledFunction();
lib/Transforms/IPO/FunctionAttrs.cpp
  370     Function *F = CS.getCalledFunction();
  498       Function *F = CS.getCalledFunction();
  641       if (auto *CalledFunc = CS.getCalledFunction()) {
  909         if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction()))
  909         if (CS.getCalledFunction() && SCCNodes.count(CS.getCalledFunction()))
 1016       Function *Callee = CS.getCalledFunction();
 1228   return CS && CS.isConvergent() && SCCNodes.count(CS.getCalledFunction()) == 0;
 1253   Function *Callee = CS.getCalledFunction();
 1371         Function *Callee = CS.getCalledFunction();
 1442           if (!CS.getCalledFunction()) {
lib/Transforms/IPO/InlineSimple.cpp
   55     Function *Callee = CS.getCalledFunction();
lib/Transforms/IPO/Inliner.cpp
  279   Function *Callee = CS.getCalledFunction();
  353     if (!CS2 || CS2.getCalledFunction() != Caller) {
  425   Function *Callee = CS.getCalledFunction();
  573         if (Function *Callee = CS.getCalledFunction())
  602     if (Function *F = CallSites[i].first.getCalledFunction())
  622       Function *Callee = CS.getCalledFunction();
  932         if (Function *Callee = CS.getCalledFunction()) {
 1011       Function &Callee = *CS.getCalledFunction();
 1029       Function &Callee = *CS.getCalledFunction();
 1100           if (Function *NewCallee = CS.getCalledFunction())
lib/Transforms/IPO/PartialInlining.cpp
  767   Function *Callee = CS.getCalledFunction();
lib/Transforms/IPO/SampleProfile.cpp
  856   Function *CalledFunction = CS.getCalledFunction();
  936       Function *CalledFunction = CallSite(I).getCalledFunction();
 1006     Function *Callee = CallSite(I).getCalledFunction();
 1428         if (!CS.getCalledFunction()) {
lib/Transforms/Instrumentation/CGProfile.cpp
   69         UpdateCounts(TTI, &F, CS.getCalledFunction(), *BBCount);
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
 1536   Function *F = CS.getCalledFunction();
lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  610         if (CS && !CS.getCalledFunction())
lib/Transforms/ObjCARC/ObjCARCAPElim.cpp
   71   if (const Function *Callee = CS.getCalledFunction()) {
lib/Transforms/Scalar/CallSiteSplitting.cpp
  527       Function *Callee = CS.getCalledFunction();
lib/Transforms/Scalar/DeadStoreElimination.cpp
  171     if (Function *F = CS.getCalledFunction()) {
lib/Transforms/Scalar/SCCP.cpp
 1199   Function *F = CS.getCalledFunction();
 1449           if (Function *F = CS.getCalledFunction())
 1478         if (Function *F = CS.getCalledFunction())
 1782     Function *F = CS.getCalledFunction();
lib/Transforms/Utils/CallPromotionUtils.cpp
  321   assert(!CS.getCalledFunction() && "Only indirect call sites can be promoted");
  367   assert(!CS.getCalledFunction() && "Only indirect call sites can be promoted");
lib/Transforms/Utils/CloneFunction.cpp
  623     if (CS && CS.getCalledFunction() && !CS.getCalledFunction()->isIntrinsic())
  623     if (CS && CS.getCalledFunction() && !CS.getCalledFunction()->isIntrinsic())
lib/Transforms/Utils/InlineFunction.cpp
  814   const Function *CalledFunc = CS.getCalledFunction();
  924   const Function *CalledFunc = CS.getCalledFunction();
 1153   Function *CalledFunc = CS.getCalledFunction();
 1185   const Function *Callee = CS.getCalledFunction();
 1552   Function *CalledFunc = CS.getCalledFunction();
unittests/Analysis/SparsePropagation.cpp
  164     Function *F = CS.getCalledFunction();