2014-05-24 20:50:23 +08:00
|
|
|
//===-- AArch64SelectionDAGInfo.h - AArch64 SelectionDAG Info ---*- C++ -*-===//
|
2014-03-29 18:18:08 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2016-01-28 00:32:26 +08:00
|
|
|
// This file defines the AArch64 subclass for SelectionDAGTargetInfo.
|
2014-03-29 18:18:08 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:26:38 +08:00
|
|
|
#ifndef LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
|
|
|
|
#define LLVM_LIB_TARGET_AARCH64_AARCH64SELECTIONDAGINFO_H
|
2014-03-29 18:18:08 +08:00
|
|
|
|
2016-01-28 00:32:26 +08:00
|
|
|
#include "llvm/CodeGen/SelectionDAGTargetInfo.h"
|
2014-03-29 18:18:08 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
|
2016-01-28 00:32:26 +08:00
|
|
|
class AArch64SelectionDAGInfo : public SelectionDAGTargetInfo {
|
2014-03-29 18:18:08 +08:00
|
|
|
public:
|
2016-06-12 23:39:02 +08:00
|
|
|
SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &dl,
|
|
|
|
SDValue Chain, SDValue Dst, SDValue Src,
|
|
|
|
SDValue Size, unsigned Align, bool isVolatile,
|
2014-03-30 15:25:18 +08:00
|
|
|
MachinePointerInfo DstPtrInfo) const override;
|
2016-04-28 01:27:16 +08:00
|
|
|
bool generateFMAsInMachineCombiner(CodeGenOpt::Level OptLevel) const override;
|
2014-03-29 18:18:08 +08:00
|
|
|
};
|
2015-06-23 17:49:53 +08:00
|
|
|
}
|
2014-03-29 18:18:08 +08:00
|
|
|
|
|
|
|
#endif
|