Home | History | Annotate | Download | only in MCAnalysis

Lines Matching refs:Atom

37   // Insert the new atom to the list.
53 // remap - Update the interval mapping for an atom.
54 void MCModule::remap(MCAtom *Atom, uint64_t NewBegin, uint64_t NewEnd) {
57 Atom->Begin, AtomComp);
58 assert(I != atom_end() && "Atom offset not found in module!");
59 assert(*I == Atom && "Previous atom mapping was invalid!");
62 // FIXME: special case NewBegin == Atom->Begin
67 assert((NewI == atom_end() || (*NewI)->getBeginAddr() > Atom->End)
69 Atoms.insert(NewI, Atom);
71 // Update the atom internal bounds.
72 Atom->Begin = NewBegin;
73 Atom->End = NewEnd;
108 static bool CompBBToAtom(MCBasicBlock *BB, const MCTextAtom *Atom) {
109 return BB->getInsts() < Atom;
124 void MCModule::trackBBForAtom(const MCTextAtom *Atom, MCBasicBlock *BB) {
125 assert(Atom == BB->getInsts() && "Text atom doesn't back the basic block!");
128 Atom, CompBBToAtom);
129 for (; I != BBsByAtom.end() && (*I)->getInsts() == Atom; ++I)