LLVM
8.0.1
|
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
Go to the source code of this file.
Functions | |
static bool | doesNotGeneratecode (const MachineInstr &MI) |
Returns true if instruction MI will not result in actual machine code instructions. More... | |
|
static |
Returns true if instruction MI
will not result in actual machine code instructions.
Definition at line 42 of file PatchableFunction.cpp.
References llvm::MachineInstrBuilder::add(), llvm::MachineInstrBuilder::addImm(), assert(), llvm::MachineFunction::begin(), llvm::BuildMI(), llvm::ISD::EH_LABEL, llvm::MachineFunction::ensureAlignment(), llvm::Function::getFnAttribute(), llvm::MachineFunction::getFunction(), llvm::TargetSubtargetInfo::getInstrInfo(), llvm::MachineInstr::getOpcode(), llvm::MachineFunction::getSubtarget(), llvm::Attribute::getValueAsString(), llvm::Function::hasFnAttribute(), llvm::AMDGPUISD::KILL, and TII.