Ignore:
Timestamp:
Nov 26, 2017, 12:09:25 PM (15 months ago)
Author:
cameron
Message:

ShowIR, ShowASM, ShowUnoptimizedIR options can set filename: -ShowIR=myIRfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/toolchain.h

    r5734 r5745  
    4242// Command Parameters
    4343enum DebugFlags {
    44     ShowUnoptimizedIR,
    45     ShowIR,
    4644    VerifyIR,
    47 #if LLVM_VERSION_INTEGER >= LLVM_3_7_0
    48     ShowASM,
    49 #endif
    5045    SerializeThreads,
    5146    TraceCounts,
     
    6055extern bool PipelineParallel;
    6156extern bool SegmentPipelineParallel;
     57   
     58// Options for generating IR or ASM to files
     59const std::string OmittedOption = ".";
     60extern std::string ShowUnoptimizedIROption;
     61extern std::string ShowIROption;
    6262#if LLVM_VERSION_INTEGER >= LLVM_3_7_0
    63 extern const char * ASMOutputFilename;
     63extern std::string ShowASMOption;
    6464#endif
    65 extern const char * IROutputFilename;
    6665extern const char * ObjectCacheDir;
    6766extern llvm::CodeGenOpt::Level OptLevel;  // set from command line
Note: See TracChangeset for help on using the changeset viewer.