summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/Passes.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2010-09-18 09:07:10 +0000
committerLang Hames <lhames@gmail.com>2010-09-18 09:07:10 +0000
commitcb1e1017ddf5ae981db6e04f9b16f6770ebdbf01 (patch)
treece692cb84d36576c7ea6bb780954d383dabbae8e /llvm/lib/CodeGen/Passes.cpp
parent65bd28db99ec6f5d6eff841398e3474ad63d7707 (diff)
downloadbcm5719-llvm-cb1e1017ddf5ae981db6e04f9b16f6770ebdbf01.tar.gz
bcm5719-llvm-cb1e1017ddf5ae981db6e04f9b16f6770ebdbf01.zip
Added a separate class (PBQPBuilder) for PBQP Problem construction. This class can be extended to support custom constraints.
For now the allocator still uses the old (internal) construction mechanism by default. This will be phased out soon assuming no issues with the builder system come up. To invoke the new construction mechanism just pass '-regalloc=pbqp -pbqp-builder' to llc. To provide custom constraints a Target just needs to extend PBQPBuilder and pass an instance of their derived builder to the RegAllocPBQP constructor. llvm-svn: 114272
Diffstat (limited to 'llvm/lib/CodeGen/Passes.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud