LLVM  10.0.0svn
Functions
MachineInstrBundle.cpp File Reference
#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/Target/TargetMachine.h"
#include <utility>
Include dependency graph for MachineInstrBundle.cpp:

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. More...
 

Function Documentation

◆ getDebugLoc()

static DebugLoc getDebugLoc ( MachineBasicBlock::instr_iterator  FirstMI,
MachineBasicBlock::instr_iterator  LastMI 
)
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 110 of file MachineInstrBundle.cpp.

Referenced by llvm::finalizeBundle(), findNextInsertLocation(), llvm::SDValue::getScalarValueSizeInBits(), INITIALIZE_PASS(), llvm::InlineFunction(), llvm::DenseMapInfo< UserValueIdentity >::isEqual(), LLVMInstructionGetDebugLoc(), llvm::AMDGPUTargetLowering::LowerDYNAMIC_STACKALLOC(), llvm::AMDGPUTargetLowering::LowerGlobalAddress(), and llvm::DWARFContext::setMaxVersionIfGreater().

◆ INITIALIZE_PASS() [1/2]

INITIALIZE_PASS ( UnpackMachineBundles  ,
"unpack-mi-bundles"  ,
"Unpack machine instruction bundles"  ,
false  ,
false   
)

◆ INITIALIZE_PASS() [2/2]

INITIALIZE_PASS ( FinalizeMachineBundles  ,
"finalize-mi-bundles"  ,
"Finalize machine instruction bundles"  ,
false  ,
false   
)

Definition at line 100 of file MachineInstrBundle.cpp.

References llvm::finalizeBundles().