diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/BPF/BPFTargetTransformInfo.h')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Target/BPF/BPFTargetTransformInfo.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/BPF/BPFTargetTransformInfo.h b/contrib/llvm-project/llvm/lib/Target/BPF/BPFTargetTransformInfo.h index 417e8b6ffec3..6b86bf6e6cc1 100644 --- a/contrib/llvm-project/llvm/lib/Target/BPF/BPFTargetTransformInfo.h +++ b/contrib/llvm-project/llvm/lib/Target/BPF/BPFTargetTransformInfo.h @@ -56,12 +56,11 @@ public: } InstructionCost getArithmeticInstrCost( - unsigned Opcode, Type *Ty, - TTI::TargetCostKind CostKind = TTI::TCK_RecipThroughput, - TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, - TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, - TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, - TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None, + unsigned Opcode, Type *Ty, TTI::TargetCostKind CostKind, + TTI::OperandValueKind Opd1Info = TTI::OK_AnyValue, + TTI::OperandValueKind Opd2Info = TTI::OK_AnyValue, + TTI::OperandValueProperties Opd1PropInfo = TTI::OP_None, + TTI::OperandValueProperties Opd2PropInfo = TTI::OP_None, ArrayRef<const Value *> Args = ArrayRef<const Value *>(), const Instruction *CxtI = nullptr) { int ISD = TLI->InstructionOpcodeToISD(Opcode); |