Home | History | Annotate | Download | only in Utils

Lines Matching defs:Pair

1091   std::map<std::pair<Value*,Value*>, SelectInst*> InsertedSelects;
1147 std::map<Value*, std::pair<Value*, PHINode*> > MapValueFromBB1ToBB2;
1225 // a single pair of different operands.
1231 // Early exit if we have more-than one pair of different operands or
1249 // We insert the pair of different operands to MapValueFromBB1ToBB2 and
2083 SmallVector<std::pair<Value*, unsigned>, 4> Worklist;
2090 std::pair<Value*, unsigned> Pair = Worklist.back();
2093 if (Pair.second >= 4) continue;
2094 UsedValues.erase(Pair.first);
2097 if (Instruction *I = dyn_cast<Instruction>(Pair.first)) {
2100 Worklist.push_back(std::make_pair(OI->get(), Pair.second+1));
2916 // branch itself into a select/return pair.
3011 std::map<BasicBlock*, std::pair<unsigned, unsigned> > Popularity;
3014 std::pair<unsigned, unsigned> &entry =
3028 for (std::map<BasicBlock*, std::pair<unsigned, unsigned> >::iterator
3358 SmallVectorImpl<std::pair<PHINode*,Constant*> > &Res) {
3431 const SmallVectorImpl<std::pair<ConstantInt*, Constant*> >& Values,
3478 const SmallVectorImpl<std::pair<ConstantInt*, Constant*> >& Values,
3684 typedef SmallVector<std::pair<ConstantInt*, Constant*>, 4> ResultListTy;
3698 typedef SmallVector<std::pair<PHINode*, Constant*>, 4> ResultsTy;
3713 SmallVector<std::pair<PHINode*, Constant*>, 4> DefaultResultsList;