LLVM 20.0.0git
|
#include "llvm/CodeGen/MachineInstrBundle.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/Pass.h"
#include "llvm/PassRegistry.h"
#include <utility>
Go to the source code of this file.
Functions | |
INITIALIZE_PASS (UnpackMachineBundles, "unpack-mi-bundles", "Unpack machine instruction bundles", false, false) bool UnpackMachineBundles | |
INITIALIZE_PASS (FinalizeMachineBundles, "finalize-mi-bundles", "Finalize machine instruction bundles", false, false) bool FinalizeMachineBundles | |
static DebugLoc | getDebugLoc (MachineBasicBlock::instr_iterator FirstMI, MachineBasicBlock::instr_iterator LastMI) |
Return the first found DebugLoc that has a DILocation, given a range of instructions. | |
|
static |
Return the first found DebugLoc that has a DILocation, given a range of instructions.
The search range is from FirstMI to LastMI (exclusive). If no DILocation is found, then an empty location is returned.
Definition at line 109 of file MachineInstrBundle.cpp.
Referenced by llvm::VPVectorPointerRecipe::execute(), llvm::finalizeBundle(), INITIALIZE_PASS(), llvm::InlineFunction(), LLVMInstructionGetDebugLoc(), llvm::AMDGPUTargetLowering::LowerDYNAMIC_STACKALLOC(), llvm::NVPTXTargetLowering::LowerDYNAMIC_STACKALLOC(), and mergeDILocations().
INITIALIZE_PASS | ( | FinalizeMachineBundles | , |
"finalize-mi-bundles" | , | ||
"Finalize machine instruction bundles" | , | ||
false | , | ||
false | |||
) |
Definition at line 99 of file MachineInstrBundle.cpp.
References llvm::finalizeBundles().
INITIALIZE_PASS | ( | UnpackMachineBundles | , |
"unpack-mi-bundles" | , | ||
"Unpack machine instruction bundles" | , | ||
false | , | ||
false | |||
) |
Definition at line 43 of file MachineInstrBundle.cpp.
References llvm::MachineBasicBlock::instr_begin(), llvm::MachineBasicBlock::instr_end(), MBB, and MI.