Home
last modified time | relevance | path

Searched defs:ConstantComparesGatherer (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp372 struct ConstantComparesGatherer { struct
373 const DataLayout &DL;
374 Value *CompValue; /// Value found for the switch comparison
375 Value *Extra; /// Extra clause to be checked before the switch
376 SmallVector<ConstantInt *, 8> Vals; /// Set of integers to match in switch
377 unsigned UsedICmps; /// Number of comparisons matched in the and/or chain
380 ConstantComparesGatherer(Instruction *Cond, const DataLayout &DL) in ConstantComparesGatherer() argument
394 bool setValueOnce(Value *NewVal) { in setValueOnce()
407 bool matchInstruction(Instruction *I, bool isEQ) { in matchInstruction()
489 void gather(Value *V) { in gather()