llvm.org GIT mirror llvm / release_90 lib / Target / ARM / ARMMachineFunctionInfo.cpp
release_90

Tree @release_90 (Download .tar.gz)

ARMMachineFunctionInfo.cpp @release_90

6fc1adf
2d24e2a
6b54768
 
 
2d24e2a
 
 
 
6159a00
2d24e2a
 
 
bd4001e
887a5c7
 
f179b3f
6159a00
//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#include "ARMMachineFunctionInfo.h"
#include "ARMSubtarget.h"

using namespace llvm;

void ARMFunctionInfo::anchor() {}

ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
    : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()),
      hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {}