Ignore:
Timestamp:
Nov 26, 2018, 12:06:06 PM (8 months ago)
Author:
nmedfort
Message:

Initial cache janitor daemon test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/toolchain/cpudriver.cpp

    r6189 r6209  
    7474//    InitializeNativeTargetAsmParser();
    7575    llvm::sys::DynamicLibrary::LoadLibraryPermanently(nullptr);
    76    
     76
    7777
    7878    #ifdef ORCJIT
     
    101101
    102102    mTarget = builder.selectTarget();
    103    
     103
    104104    if (mTarget == nullptr) {
    105105        throw std::runtime_error("Could not selectTarget");
     
    113113    }
    114114    #endif
    115     auto cache = ObjectCacheManager::getObjectCache();
     115    auto cache = ParabixObjectCache::getInstance();
    116116    if (cache) {
    117117        #ifdef ORCJIT
     
    152152std::string CPUDriver::getMangledName(std::string s) {
    153153    #if LLVM_VERSION_INTEGER >= LLVM_VERSION_CODE(3, 9, 0)
    154     DataLayout DL(mTarget->createDataLayout());   
     154    DataLayout DL(mTarget->createDataLayout());
    155155    std::string MangledName;
    156156    raw_string_ostream MangledNameStream(MangledName);
     
    170170    initializeCodeGen(*Registry);
    171171    initializeLowerIntrinsicsPass(*Registry);
    172    
     172
    173173    if (LLVM_UNLIKELY(codegen::ShowUnoptimizedIROption != codegen::OmittedOption)) {
    174174        if (LLVM_LIKELY(mIROutputStream == nullptr)) {
Note: See TracChangeset for help on using the changeset viewer.