File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -7583,6 +7583,22 @@ extern "C" void jl_dump_llvm_debugloc(void *v)
7583
7583
llvm_dump ((DebugLoc*)v);
7584
7584
}
7585
7585
7586
+ namespace llvm {
7587
+ class MachineBasicBlock ;
7588
+ class MachineFunction ;
7589
+ raw_ostream& operator <<(raw_ostream &OS, const MachineBasicBlock &MBB);
7590
+ void printMIR (raw_ostream &OS, const MachineFunction &MF);
7591
+ }
7592
+ extern " C" void jl_dump_llvm_mbb (void *v)
7593
+ {
7594
+ errs () << *(llvm::MachineBasicBlock*)v;
7595
+ }
7596
+ extern " C" void jl_dump_llvm_mfunction (void *v)
7597
+ {
7598
+ llvm::printMIR (errs (), *(llvm::MachineFunction*)v);
7599
+ }
7600
+
7601
+
7586
7602
extern void jl_write_bitcode_func (void *F, char *fname) {
7587
7603
std::error_code EC;
7588
7604
raw_fd_ostream OS (fname, EC, sys::fs::F_None);
You can’t perform that action at this time.
0 commit comments