Lines Matching full:labels
142 static void DeleteContainedLabels(const RVAToLabel& labels) {
143 for (RVAToLabel::const_iterator p = labels.begin(); p != labels.end(); ++p)
249 Label* AssemblyProgram::FindLabel(RVA rva, RVAToLabel* labels) {
250 Label*& slot = (*labels)[rva];
258 void AssemblyProgram::UnassignIndexes(RVAToLabel* labels) {
259 for (RVAToLabel::iterator p = labels->begin(); p != labels->end(); ++p) {
265 // DefaultAssignIndexes takes a set of labels and assigns indexes in increasing
268 void AssemblyProgram::DefaultAssignIndexes(RVAToLabel* labels) {
270 for (RVAToLabel::iterator p = labels->begin(); p != labels->end(); ++p) {
279 // AssignRemainingIndexes assigns indexes to any addresses (labels) that are not
282 void AssemblyProgram::AssignRemainingIndexes(RVAToLabel* labels) {
289 std::vector<bool> available(labels->size(), true);
292 for (RVAToLabel::iterator p = labels->begin(); p != labels->end(); ++p) {
302 VLOG(1) << used << " of " << labels->size() << " labels pre-assigned";
304 // Are there any unused labels that happen to be adjacent following a used
309 for (RVAToLabel::iterator p = labels->begin(); p != labels->end(); ++p) {
324 // Are there any unused labels that happen to be adjacent preceeding a used
329 for (RVAToLabel::reverse_iterator p = labels->rbegin();
330 p != labels->rend();
353 for (RVAToLabel::iterator p = labels->begin(); p != labels->end(); ++p) {
376 static CheckBool DefineLabels(const RVAToLabel& labels,
380 for (RVAToLabel::const_iterator p = labels.begin();
381 ok && p != labels.end();
510 // Remove underused labels from the list of labels
520 // Walk through the list of instructions, replacing trimmed labels
550 labels) {
551 for (RVAToLabel::const_iterator p = labels->begin(); p != labels->end();