search for: virtualtimemanag

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

Did you mean: virtualtimemanager
2020 Nov 12
2
LLVM X86 MachineBasicBlock inserting push and pop instructions causes segmentation fault
...here but basically I have a X86 MachineFunctionPass added to addPreEmitPass2 stage which 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() |...
2020 Nov 12
0
LLVM X86 MachineBasicBlock inserting push and pop instructions causes segmentation fault
...> X86 MachineFunctionPass added to addPreEmitPass2 stage which 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()); >...