Ignore:
Timestamp:
Aug 30, 2017, 11:48:17 AM (21 months ago)
Author:
nmedfort
Message:

Modified CountForward/ReverseZeroes? to allow a zero value to be valid.

File:
1 edited

Legend:

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

    r5622 r5624  
    217217    llvm::Value * CreatePopcount(llvm::Value * bits);
    218218
    219     llvm::Value * CreateCountForwardZeroes(llvm::Value * value);
    220 
    221     llvm::Value * CreateCountReverseZeroes(llvm::Value * value);
     219    llvm::Value * CreateCountForwardZeroes(llvm::Value * value, const bool isZeroUndefined = false);
     220
     221    llvm::Value * CreateCountReverseZeroes(llvm::Value * value, const bool isZeroUndefined = false);
    222222   
    223223    // Useful bit manipulation operations 
Note: See TracChangeset for help on using the changeset viewer.