diff options
Diffstat (limited to 'lib/Target/X86/X86CallLowering.h')
| -rw-r--r-- | lib/Target/X86/X86CallLowering.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/Target/X86/X86CallLowering.h b/lib/Target/X86/X86CallLowering.h index f5f8f9a3ef6d..0445331bc3ff 100644 --- a/lib/Target/X86/X86CallLowering.h +++ b/lib/Target/X86/X86CallLowering.h @@ -1,9 +1,8 @@ //===- llvm/lib/Target/X86/X86CallLowering.h - Call lowering ----*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // @@ -30,10 +29,10 @@ public: X86CallLowering(const X86TargetLowering &TLI); bool lowerReturn(MachineIRBuilder &MIRBuilder, const Value *Val, - ArrayRef<unsigned> VRegs) const override; + ArrayRef<Register> VRegs) const override; bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, - ArrayRef<unsigned> VRegs) const override; + ArrayRef<ArrayRef<Register>> VRegs) const override; bool lowerCall(MachineIRBuilder &MIRBuilder, CallingConv::ID CallConv, const MachineOperand &Callee, const ArgInfo &OrigRet, @@ -41,7 +40,7 @@ public: private: /// A function of this type is used to perform value split action. - using SplitArgTy = std::function<void(ArrayRef<unsigned>)>; + using SplitArgTy = std::function<void(ArrayRef<Register>)>; bool splitToValueTypes(const ArgInfo &OrigArgInfo, SmallVectorImpl<ArgInfo> &SplitArgs, |
