search for: origmbb

Displaying 2 results from an estimated 2 matches for "origmbb".

Did you mean: origbb
2020 Nov 12
2
LLVM X86 MachineBasicBlock inserting push and pop instructions causes segmentation fault
...hich simply inserts a push rcx immediately followed by pop rcx before each basic block (only the relevant logic portions are included): /* Inserts push rcx followed by pop rcx before each MachineBasicBlock */ void VirtualTimeManager::__insertVtlLogic(MachineFunction &MF, MachineBasicBlock* origMBB) { const llvm::TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); auto MMI = &MF.getMMI(); llvm::Module &M = const_cast<Module &>(*MMI->getModule()); if (origMBB->empty() || !origMBB->isLegalToHoistInto()) return; llvm::BuildMI(*ori...
2020 Nov 12
0
LLVM X86 MachineBasicBlock inserting push and pop instructions causes segmentation fault
...sh rcx immediately followed by pop rcx before each basic block (only > the relevant logic portions are included): > > /* Inserts push rcx followed by pop rcx before each MachineBasicBlock */ > void VirtualTimeManager::__insertVtlLogic(MachineFunction &MF, > MachineBasicBlock* origMBB) { > const llvm::TargetInstrInfo &TII = *MF.getSubtarget().getInstrInfo(); > auto MMI = &MF.getMMI(); > llvm::Module &M = const_cast<Module &>(*MMI->getModule()); > if (origMBB->empty() || !origMBB->isLegalToHoistInto()) > retur...