Displaying 1 result from an estimated 1 matches for "machineblockplacementid".
Did you mean:
machineblockplacement
2013 Sep 19
1
[LLVMdev] How do you add MachineBlockPlacement to a Function Pass Manager?
...tPass());
// Reassociate expressions.
TheFPM->add(llvm::createReassociatePass());
// etc ...
It looks like llvm actually had a `createMachineBlockPlacementPass` once a
upon a time. But that was removed and refactored by atrick #150100. It now
just has a
extern char &MachineBlockPlacementID;
in Passes.h instead.
I'm /very/ new to llvm and only started looking at it a few days ago. After
exhaustively checking through the doc, I still cannot find any example or
explanation on how to do this.
If there's no corresponding `create*Pass` for a given pass how would you add
it to a...