[PATCH] TTI: Add getCallInstrCost.

hfinkel at anl.gov hfinkel at anl.gov
Wed Mar 11 00:25:49 PDT 2015


================
Comment at: include/llvm/Analysis/TargetTransformInfo.h:454
@@ +453,3 @@
+  /// \returns The cost of Call instructions.
+  unsigned getCallInstrCost(Function *F, Type *RetTy, ArrayRef<Type *> Tys,
+                            const TargetLibraryInfo *TLI) const;
----------------
Please specifically mention that F may by nullptr.

http://reviews.llvm.org/D8094

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list