Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp400 struct ConstantComparesGatherer { struct
401 const DataLayout &DL;
402 Value *CompValue; /// Value found for the switch comparison
403 Value *Extra; /// Extra clause to be checked before the switch
404 SmallVector<ConstantInt *, 8> Vals; /// Set of integers to match in switch
405 unsigned UsedICmps; /// Number of comparisons matched in the and/or chain
408 ConstantComparesGatherer(Instruction *Cond, const DataLayout &DL) in ConstantComparesGatherer() function
421 bool setValueOnce(Value *NewVal) { in setValueOnce()
435 bool matchInstruction(Instruction *I, bool isEQ) { in matchInstruction()
580 void gather(Value *V) { in gather()