Path: blob/main/contrib/llvm-project/llvm/lib/Target/AArch64/AArch64ExpandImm.h
35269 views
//===- AArch64ExpandImm.h - AArch64 Immediate Expansion ---------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file contains the AArch64 immediate expansion stuff.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64EXPANDIMM_H13#define LLVM_LIB_TARGET_AARCH64_MCTARGETDESC_AARCH64EXPANDIMM_H1415#include "llvm/ADT/SmallVector.h"1617namespace llvm {1819namespace AArch64_IMM {2021struct ImmInsnModel {22unsigned Opcode;23uint64_t Op1;24uint64_t Op2;25};2627void expandMOVImm(uint64_t Imm, unsigned BitSize,28SmallVectorImpl<ImmInsnModel> &Insn);2930} // end namespace AArch64_IMM3132} // end namespace llvm3334#endif353637