Lines Matching refs:ResolveConstants
95 /// ResolveConstants - As we resolve forward-referenced constants, we add
103 ResolveConstantsTy ResolveConstants;
108 assert(ResolveConstants.empty() && "Constants not resolved?");
119 assert(ResolveConstants.empty() && "Constants not resolved?");
595 ResolveConstants.push_back(std::make_pair(PHC, Idx));
650 std::sort(ResolveConstants.begin(), ResolveConstants.end());
654 while (!ResolveConstants.empty()) {
655 Value *RealVal = operator[](ResolveConstants.back().second);
656 Constant *Placeholder = ResolveConstants.back().first;
657 ResolveConstants.pop_back();
686 // Otherwise, look up the placeholder in ResolveConstants.
688 std::lower_bound(ResolveConstants.begin(), ResolveConstants.end(),
691 assert(It != ResolveConstants.end() && It->first == *I);