Home
last modified time | relevance | path

Searched refs:getCallCost (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h155 int getCallCost(FunctionType *FTy, int NumArgs = -1) const;
161 int getCallCost(const Function *F, int NumArgs = -1) const;
166 int getCallCost(const Function *F, ArrayRef<const Value *> Arguments) const;
554 virtual int getCallCost(FunctionType *FTy, int NumArgs) = 0;
555 virtual int getCallCost(const Function *F, int NumArgs) = 0;
556 virtual int getCallCost(const Function *F,
658 int getCallCost(FunctionType *FTy, int NumArgs) override { in getCallCost() function
659 return Impl.getCallCost(FTy, NumArgs); in getCallCost()
661 int getCallCost(const Function *F, int NumArgs) override { in getCallCost() function
662 return Impl.getCallCost(F, NumArgs); in getCallCost()
[all …]
DTargetTransformInfoImpl.h116 unsigned getCallCost(FunctionType *FTy, int NumArgs) { in getCallCost() function
367 using BaseT::getCallCost;
369 unsigned getCallCost(const Function *F, int NumArgs) { in getCallCost() function
388 return static_cast<T *>(this)->getCallCost(F->getFunctionType(), NumArgs); in getCallCost()
391 unsigned getCallCost(const Function *F, ArrayRef<const Value *> Arguments) { in getCallCost() function
395 return static_cast<T *>(this)->getCallCost(F, Arguments.size()); in getCallCost()
483 ->getCallCost(cast<FunctionType>(FTy), CS.arg_size()); in getUserCost()
487 return static_cast<T *>(this)->getCallCost(F, Arguments); in getUserCost()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp56 int TargetTransformInfo::getCallCost(FunctionType *FTy, int NumArgs) const { in getCallCost() function in TargetTransformInfo
57 int Cost = TTIImpl->getCallCost(FTy, NumArgs); in getCallCost()
62 int TargetTransformInfo::getCallCost(const Function *F, in getCallCost() function in TargetTransformInfo
64 int Cost = TTIImpl->getCallCost(F, Arguments); in getCallCost()