Displaying 1 result from an estimated 1 matches for "coloring_debug_flag".
Did you mean:
coloring_debug_flags
2007 Oct 15
2
[LLVMdev] cl::opt Ideas
...I did this with llvm::cl::bits
which allows me to turn on multiple options.
But its kind of ugly because each option is independent as far as
llvm is concerned and I have to prefix each option with something
like RegallocDebug so users know what it's about. For example:
llvm::cl::bits<coloring_debug_flags>
ColoringDebugBits(llvm::cl::desc("Regalloc Debug Flags:"),
llvm::cl::values(
clEnumVal(RegallocDebugColoring, "Output while
coloring"),
clEnumVal(RegallocDebugSimplify, "Output while
simplifying"...