Home | History | Annotate | Download | only in MC

Lines Matching refs:Atom

23   // Create the new atom and add it to our maps.
30 // remap - Update the interval mapping for an atom.
31 void MCModule::remap(MCAtom *Atom, uint64_t NewBegin, uint64_t NewEnd) {
33 IntervalMap<uint64_t, MCAtom*>::iterator I = OffsetMap.find(Atom->Begin);
34 assert(I.valid() && "Atom offset not found in module!");
35 assert(*I == Atom && "Previous atom mapping was invalid!");
39 OffsetMap.insert(NewBegin, NewEnd, Atom);
41 // Update the atom internal bounds.
42 Atom->Begin = NewBegin;
43 Atom->End = NewEnd;