search for: filesystemrepresentation

Displaying 3 results from an estimated 3 matches for "filesystemrepresentation".

2007 Jan 22
2
[LLVMdev] addPassesToEmit(Whole)File changes?
...nst TargetMachineRegistry::Entry* entry= TargetMachineRegistry::getClosestStaticTargetForModule( *M, err1 ); TargetMachine &target=*entry->CtorFn( *M, "" ); [self generateMethodLists]; std::ostream *outStream = 0; PassManager passes; outStream = new std::ofstream( [filename fileSystemRepresentation] ); TargetData *data =new TargetData( *target.getTargetData()); passes.add(data); target.addPassesToEmitFile(passes, *outStream, FileType, false); passes.run(*M); delete outStream; }
2007 Jan 22
0
[LLVMdev] addPassesToEmit(Whole)File changes?
...nst TargetMachineRegistry::Entry* entry= TargetMachineRegistry::getClosestStaticTargetForModule( *M, err1 ); TargetMachine &target=*entry->CtorFn( *M, "" ); [self generateMethodLists]; std::ostream *outStream = 0; PassManager passes; outStream = new std::ofstream( [filename fileSystemRepresentation] ); TargetData *data =new TargetData( *target.getTargetData()); passes.add(data); target.addPassesToEmitFile(passes, *outStream, FileType, false); passes.run(*M); delete outStream; }
2007 Jan 22
0
[LLVMdev] addPassesToEmit(Whole)File changes?
...ntry* entry= > TargetMachineRegistry::getClosestStaticTargetForModule( *M, err1 ); > TargetMachine &target=*entry->CtorFn( *M, "" ); > [self generateMethodLists]; > std::ostream *outStream = 0; > PassManager passes; > outStream = new std::ofstream( [filename fileSystemRepresentation] ); > TargetData *data =new TargetData( *target.getTargetData()); > passes.add(data); > target.addPassesToEmitFile(passes, *outStream, FileType, false); > passes.run(*M); > delete outStream; > } > > > > _______________________________________________ > LLVM Dev...