search for: mbb_erase

Displaying 4 results from an estimated 4 matches for "mbb_erase".

2014 Dec 08
2
[LLVMdev] Virtual register problem in X86 backend
...const TargetInstrInfo *TII = getTargetMachine().getInstrInfo(); const BasicBlock *LLVM_BB = MBB->getBasicBlock(); MachineFunction *F = MBB->getParent(); // Create all the basicblocks MachineBasicBlock *MBB_cond = F->CreateMachineBasicBlock(LLVM_BB); MachineBasicBlock *MBB_erase = F->CreateMachineBasicBlock(LLVM_BB); MachineBasicBlock *MBB_end = F->CreateMachineBasicBlock(LLVM_BB); // Insert the new basicblocks F->insert(MBB, MBB_cond); F->insert(MBB, MBB_erase); F->insert(MBB, MBB_end); // Split the last MBB in two MBB_end->...
2014 Oct 29
2
[LLVMdev] Problem in X86 backend (again)
>> // Increment loop variable and jmp >> BuildMI(*MBB_erase, MBB_erase->end(), db, >> TII->get(X86::ADD64ri32),reg).addReg(reg).addImm(8); > > It looks like this instruction is defining virtual register "reg" the second time. Thx for your answer... Why would it define it again? I just want to use this register and add somethin...
2014 Oct 28
2
[LLVMdev] Problem in X86 backend (again)
...MI->getDebugLoc(); const TargetInstrInfo *TII = getTargetMachine().getInstrInfo(); const BasicBlock *LLVM_BB = MBB->getBasicBlock(); MachineFunction *F = MBB->getParent(); // Create all the basicblocks MachineBasicBlock *MBB_cond = F->CreateMachineBasicBlock(LLVM_BB); MachineBasicBlock *MBB_erase = F->CreateMachineBasicBlock(LLVM_BB); MachineBasicBlock *MBB_end = F->CreateMachineBasicBlock(LLVM_BB); // Insert the new basicblocks F->insert(MBB, MBB_cond); F->insert(MBB, MBB_erase); F->insert(MBB, MBB_end); // Split the last MBB in two MBB_end->splice(MBB_end->begin(), MB...
2014 Dec 10
2
[LLVMdev] Virtual register problem in X86 backend
....getInstrInfo(); >> const BasicBlock *LLVM_BB = MBB->getBasicBlock(); >> MachineFunction *F = MBB->getParent(); >> >> // Create all the basicblocks >> MachineBasicBlock *MBB_cond = F->CreateMachineBasicBlock(LLVM_BB); >> MachineBasicBlock *MBB_erase = F->CreateMachineBasicBlock(LLVM_BB); >> MachineBasicBlock *MBB_end = F->CreateMachineBasicBlock(LLVM_BB); >> >> // Insert the new basicblocks >> F->insert(MBB, MBB_cond); >> F->insert(MBB, MBB_erase); >> F->insert(MBB, MBB_end); &g...