diff options
Diffstat (limited to 'contrib/llvm/lib/Target/X86/X86CallLowering.h')
-rw-r--r-- | contrib/llvm/lib/Target/X86/X86CallLowering.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/contrib/llvm/lib/Target/X86/X86CallLowering.h b/contrib/llvm/lib/Target/X86/X86CallLowering.h index f2672f0..6a5dabf 100644 --- a/contrib/llvm/lib/Target/X86/X86CallLowering.h +++ b/contrib/llvm/lib/Target/X86/X86CallLowering.h @@ -34,6 +34,15 @@ public: bool lowerFormalArguments(MachineIRBuilder &MIRBuilder, const Function &F, ArrayRef<unsigned> VRegs) const override; + +private: + /// A function of this type is used to perform value split action. + typedef std::function<void(ArrayRef<unsigned>)> SplitArgTy; + + bool splitToValueTypes(const ArgInfo &OrigArgInfo, + SmallVectorImpl<ArgInfo> &SplitArgs, + const DataLayout &DL, MachineRegisterInfo &MRI, + SplitArgTy SplitArg) const; }; -} // End of namespace llvm; +} // namespace llvm #endif |