Searched defs:ConstantComparesGatherer (Results 1 – 1 of 1) sorted by relevance
372 struct ConstantComparesGatherer { struct373 const DataLayout &DL;374 Value *CompValue; /// Value found for the switch comparison375 Value *Extra; /// Extra clause to be checked before the switch376 SmallVector<ConstantInt *, 8> Vals; /// Set of integers to match in switch377 unsigned UsedICmps; /// Number of comparisons matched in the and/or chain380 ConstantComparesGatherer(Instruction *Cond, const DataLayout &DL) in ConstantComparesGatherer() argument394 bool setValueOnce(Value *NewVal) { in setValueOnce()407 bool matchInstruction(Instruction *I, bool isEQ) { in matchInstruction()489 void gather(Value *V) { in gather()