Displaying 1 result from an estimated 1 matches for "createmachineblockplacementpass".
2013 Sep 19
1
[LLVMdev] How do you add MachineBlockPlacement to a Function Pass Manager?
...);
// add some passes for opt1
// ...
if(OptLevel > 2) {
// BlockPlacement
TheFPM->add(llvm::createBlockPlacementPass());
// 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 f...