Mercurial > hg > CbC > CbC_llvm
comparison lib/Target/Mips/MipsMachineFunction.h @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | 803732b1fca8 |
children |
comparison
equal
deleted
inserted
replaced
134:3a76565eade5 | 147:c2174574ed3a |
---|---|
1 //===- MipsMachineFunctionInfo.h - Private data used for Mips ---*- C++ -*-===// | 1 //===- MipsMachineFunctionInfo.h - Private data used for Mips ---*- C++ -*-===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 // | 4 // See https://llvm.org/LICENSE.txt for license information. |
5 // This file is distributed under the University of Illinois Open Source | 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 // License. See LICENSE.TXT for details. | |
7 // | 6 // |
8 //===----------------------------------------------------------------------===// | 7 //===----------------------------------------------------------------------===// |
9 // | 8 // |
10 // This file declares the Mips specific subclass of MachineFunctionInfo. | 9 // This file declares the Mips specific subclass of MachineFunctionInfo. |
11 // | 10 // |
31 | 30 |
32 unsigned getSRetReturnReg() const { return SRetReturnReg; } | 31 unsigned getSRetReturnReg() const { return SRetReturnReg; } |
33 void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; } | 32 void setSRetReturnReg(unsigned Reg) { SRetReturnReg = Reg; } |
34 | 33 |
35 bool globalBaseRegSet() const; | 34 bool globalBaseRegSet() const; |
36 unsigned getGlobalBaseReg(); | 35 Register getGlobalBaseReg(); |
36 Register getGlobalBaseRegForGlobalISel(); | |
37 | |
38 // Insert instructions to initialize the global base register in the | |
39 // first MBB of the function. | |
40 void initGlobalBaseReg(); | |
37 | 41 |
38 int getVarArgsFrameIndex() const { return VarArgsFrameIndex; } | 42 int getVarArgsFrameIndex() const { return VarArgsFrameIndex; } |
39 void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; } | 43 void setVarArgsFrameIndex(int Index) { VarArgsFrameIndex = Index; } |
40 | 44 |
41 bool hasByvalArg() const { return HasByvalArg; } | 45 bool hasByvalArg() const { return HasByvalArg; } |