Home | History | Annotate | Download | only in MCAnalysis

Lines Matching refs:TA

204     MCTextAtom *TA = dyn_cast<MCTextAtom>(*AI);
205 if (!TA) continue;
206 Calls.push_back(TA->getBeginAddr());
207 BBInfos[TA->getBeginAddr()].Atom = TA;
208 for (MCTextAtom::const_iterator II = TA->begin(), IE = TA->end();
229 MCTextAtom *TA = cast<MCTextAtom>(A);
230 if (TA->getBeginAddr() == *SI)
232 MCTextAtom *NewAtom = TA->split(*SI);
234 StringRef BBName = TA->getName();
243 MCTextAtom *TA = dyn_cast<MCTextAtom>(*AI);
244 if (!TA) continue;
245 BBInfo &CurBB = BBInfos[TA->getBeginAddr()];
246 const MCDecodedInst &LI = TA->back();
330 MCTextAtom *&TA = BBI->Atom;
331 assert(!TA && "Discovered basic block already has an associated atom!");
336 TA = cast<MCTextAtom>(A);
339 if (TA->getBeginAddr() != BeginAddr) {
341 MCTextAtom *NewTA = TA->split(BeginAddr);
344 BBInfoByAddrTy::iterator It = BBInfos.find(TA->getBeginAddr());
350 TA = NewTA;
352 BBI->Atom = TA;
373 if (!TA)
374 TA = Module->createTextAtom(Addr, Addr);
375 TA->addInst(Inst, InstSize);
390 BBI->Atom = TA;
393 assert(TA && "Couldn't disassemble atom, none was created!");
394 assert(TA->begin() != TA->end() && "Empty atom!");
396 MemoryObject *Region = getRegionFor(TA->getBeginAddr());
402 if ((MIA.isConditionalBranch(TA->back().Inst) ||
403 !MIA.isTerminator(TA->back().Inst)) &&
404 (TA->getEndAddr() + 1 < EndRegion)) {
405 BBI->SuccAddrs.push_back(TA->getEndAddr() + 1);
406 Worklist.insert(TA->getEndAddr() + 1);
410 if (MIA.isBranch(TA->back().Inst)) {
412 if (MIA.evaluateBranch(TA->back().Inst, TA->back().Address,
413 TA->back().Size, BranchTarget)) {