Ignore:
Timestamp:
Jan 13, 2018, 11:57:43 AM (12 months ago)
Author:
nmedfort
Message:

Pablo support for byte comparisions; LineFeed? kernel processes byte streams directly. Some clean up of PabloBuilder? functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/CBuilder.h

    r5771 r5828  
    222222    }
    223223   
    224     llvm::IntegerType * getIntAddrTy() const;
    225    
    226     llvm::PointerType * getVoidPtrTy(const unsigned AddressSpace = 0) const;
    227    
    228     llvm::PointerType * getFILEptrTy();
     224    llvm::IntegerType * LLVM_READNONE getIntAddrTy() const;
     225   
     226    llvm::PointerType * LLVM_READNONE getVoidPtrTy(const unsigned AddressSpace = 0) const;
     227   
     228    llvm::PointerType * LLVM_READNONE getFILEptrTy();
    229229   
    230230    inline unsigned getCacheAlignment() const {
     
    258258    }
    259259
    260     llvm::BasicBlock * CreateBasicBlock(std::string && name);
     260    llvm::BasicBlock * CreateBasicBlock(const llvm::StringRef name, llvm::BasicBlock * insertBefore = nullptr);
    261261
    262262    virtual bool supportsIndirectBr() const;
     
    264264    llvm::Value * CreatePopcount(llvm::Value * bits);
    265265
    266     llvm::Value * CreateCountForwardZeroes(llvm::Value * value, const bool isZeroUndefined = false);
    267 
    268     llvm::Value * CreateCountReverseZeroes(llvm::Value * value, const bool isZeroUndefined = false);
     266    // TODO: AVX512 offers these as vector instructions
     267    llvm::Value * CreateCountForwardZeroes(llvm::Value * value, const bool guaranteedNonZero = false);
     268    llvm::Value * CreateCountReverseZeroes(llvm::Value * value, const bool guaranteedNonZero = false);
    269269   
    270270    // Useful bit manipulation operations 
Note: See TracChangeset for help on using the changeset viewer.