search for: ternaryop

Displaying 1 result from an estimated 1 matches for "ternaryop".

Did you mean: ternary
2011 Jul 16
0
[LLVMdev] TableGen and DenseMap Strangeness
...of making TableGen Inits unique, I've run into some very odd DenseMap behavior. I converted the TernOpInit to use a factory method that uses a DenseMap to unique objects. I have defined a DenseMapInfo for std::string that uses HashString from StringExtras.h. const TernOpInit *TernOpInit::get(TernaryOp opc, const Init *lhs, const Init *mhs, const Init *rhs, RecTy *Type) { #define WORKS #ifdef WORKS typedef std::pair< std::pair< std::pair<std::pair<unsigned, std::string>, const Init *>, const In...