search for: regallocdebug

Displaying 1 result from an estimated 1 matches for "regallocdebug".

2007 Oct 15
2
[LLVMdev] cl::opt Ideas
...ging flags to my register allocator here to turn on and off specific debug messages. 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"),...