search for: addpreisel

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

2014 Sep 30
2
[LLVMdev] Custom pass that runs before EmitStartOfAsmFile()?
...ore AsmPrinter::EmitStartOfAsmFile(), since I'd like to have some processed information available once entering this function. Looking through "Writing an LLVM pass" documentation, it's not clear to me if this is possible. I've also tried putting the pass in different orders (addPreISel, addIRPasses, and etc.). Am I missing something or this is just not possible to do? Any help is appreciated. Thanks, Cheng-Chih -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140930/78e83ad1/attachment.ht...
2012 Dec 06
1
[LLVMdev] target dependent bitcode pass
I need to add a Mips specific pass that adds some bitcode for special stub functions, to the normal bitcode prior to compiling the module. Is there a simple way to have such target dependent passes in llvm? tia. Reed
2012 Jul 16
3
[LLVMdev] RFC: LLVM incubation, or requirements for committing new backends
...nfig { > +public: > + AMDGPUPassConfig(AMDGPUTargetMachine *TM, PassManagerBase &PM) > + : TargetPassConfig(TM, PM) {} > + > + AMDGPUTargetMachine &getAMDGPUTargetMachine() const { > + return getTM<AMDGPUTargetMachine>(); > + } > + > + virtual bool addPreISel(); > + virtual bool addInstSelector(); > + virtual bool addPreRegAlloc(); > + virtual bool addPostRegAlloc(); > + virtual bool addPreSched2(); > + virtual bool addPreEmitPass(); > +}; > +} // End of anonymous namespace > + > +TargetPassConfig *AMDGPUTargetMachine::cr...