Ignore:
Timestamp:
Jul 2, 2017, 10:00:26 AM (2 years ago)
Author:
cameron
Message:

Ensure size of dynamic buffers is a multiple of cache line size

File:
1 edited

Legend:

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

    r5541 r5543  
    5656    // Equivalent to CreateUDiv(CreateAdd(number, CreateSub(divisor, ConstantInt::get(divisor->getType(), 1))), divisor)
    5757    llvm::Value * CreateUDivCeil(llvm::Value * number, llvm::Value * divisor, const llvm::Twine &Name = "");
    58        
     58   
     59    // Round up to a multiple of divisor.
     60    llvm::Value * CreateRoundUp(llvm::Value * number, llvm::Value * divisor, const llvm::Twine &Name = "");
     61           
    5962    llvm::Value * CreateMalloc(llvm::Value * size);
    6063
Note: See TracChangeset for help on using the changeset viewer.