Ignore:
Timestamp:
Jan 19, 2017, 2:41:02 PM (3 years ago)
Author:
nmedfort
Message:

Code clean-up. Removed Pablo Call, SetIthBit? and Prototype.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/boolean.h

    r5230 r5267  
    1717    virtual ~And() { }
    1818protected:
    19     And(Type * const type, PabloAST * expr1, PabloAST * expr2, const String * name, Allocator & allocator)
     19    And(llvm::Type * const type, PabloAST * expr1, PabloAST * expr2, const String * name, Allocator & allocator)
    2020    : Variadic(ClassTypeId::And, type, {expr1, expr2}, name, allocator)
    2121    {
    2222
    2323    }
    24     And(Type * const type, const unsigned reserved, const String * name, Allocator & allocator)
     24    And(llvm::Type * const type, const unsigned reserved, const String * name, Allocator & allocator)
    2525    : Variadic(ClassTypeId::And, type, reserved, name, allocator)
    2626    {
     
    2828    }
    2929    template<typename iterator>
    30     And(Type * const type, iterator begin, iterator end, const String * name, Allocator & allocator)
     30    And(llvm::Type * const type, iterator begin, iterator end, const String * name, Allocator & allocator)
    3131    : Variadic(ClassTypeId::And, type, begin, end, name, allocator) {
    3232
     
    4545    virtual ~Or() { }
    4646protected:
    47     Or(Type * const type, PabloAST * expr1, PabloAST * expr2, const String * name, Allocator & allocator)
     47    Or(llvm::Type * const type, PabloAST * expr1, PabloAST * expr2, const String * name, Allocator & allocator)
    4848    : Variadic(ClassTypeId::Or, type, {expr1, expr2}, name, allocator)
    4949    {
    5050
    5151    }
    52     Or(Type * const type, const unsigned reserved, const String * name, Allocator & allocator)
     52    Or(llvm::Type * const type, const unsigned reserved, const String * name, Allocator & allocator)
    5353    : Variadic(ClassTypeId::Or, type, reserved, name, allocator)
    5454    {
     
    5656    }
    5757    template<typename iterator>
    58     Or(Type * const type, iterator begin, iterator end, const String * name, Allocator & allocator)
     58    Or(llvm::Type * const type, iterator begin, iterator end, const String * name, Allocator & allocator)
    5959    : Variadic(ClassTypeId::Or, type, begin, end, name, allocator) {
    6060
     
    7272    }
    7373protected:
    74     Xor(Type * const type, PabloAST * expr1, PabloAST * expr2, const String * name, Allocator & allocator)
     74    Xor(llvm::Type * const type, PabloAST * expr1, PabloAST * expr2, const String * name, Allocator & allocator)
    7575    : Variadic(ClassTypeId::Xor, type, {expr1, expr2}, name, allocator)
    7676    {
    7777
    7878    }
    79     Xor(Type * const type, const unsigned reserved, const String * name, Allocator & allocator)
     79    Xor(llvm::Type * const type, const unsigned reserved, const String * name, Allocator & allocator)
    8080    : Variadic(ClassTypeId::Xor, type, reserved, name, allocator)
    8181    {
     
    8383    }
    8484    template<typename iterator>
    85     Xor(Type * const type, iterator begin, iterator end, const String * name, Allocator & allocator)
     85    Xor(llvm::Type * const type, iterator begin, iterator end, const String * name, Allocator & allocator)
    8686    : Variadic(ClassTypeId::Xor, type, begin, end, name, allocator) {
    8787
Note: See TracChangeset for help on using the changeset viewer.