Lines Matching refs:AliasSet
31 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { in mergeSetIn()
82 void AliasSetTracker::removeAliasSet(AliasSet *AS) { in removeAliasSet()
83 if (AliasSet *Fwd = AS->Forward) { in removeAliasSet()
90 void AliasSet::removeFromTracker(AliasSetTracker &AST) { in removeFromTracker()
95 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, in addPointer()
126 void AliasSet::addUnknownInst(Instruction *I, AliasAnalysis &AA) { in addUnknownInst()
143 bool AliasSet::aliasesPointer(const Value *Ptr, uint64_t Size, in aliasesPointer()
179 bool AliasSet::aliasesUnknownInst(Instruction *Inst, AliasAnalysis &AA) const { in aliasesUnknownInst()
216 AliasSet *AliasSetTracker::findAliasSetForPointer(const Value *Ptr, in findAliasSetForPointer()
219 AliasSet *FoundSet = 0; in findAliasSetForPointer()
246 AliasSet *AliasSetTracker::findAliasSetForUnknownInst(Instruction *Inst) { in findAliasSetForUnknownInst()
247 AliasSet *FoundSet = 0; in findAliasSetForUnknownInst()
265 AliasSet &AliasSetTracker::getAliasSetForPointer(Value *Pointer, uint64_t Size, in getAliasSetForPointer()
268 AliasSet::PointerRec &Entry = getEntryFor(Pointer); in getAliasSetForPointer()
277 if (AliasSet *AS = findAliasSetForPointer(Pointer, Size, TBAAInfo)) { in getAliasSetForPointer()
285 AliasSets.push_back(new AliasSet()); in getAliasSetForPointer()
292 addPointer(Ptr, Size, TBAAInfo, AliasSet::NoModRef, NewPtr); in add()
299 AliasSet::AccessType ATy = AliasSet::Refs; in add()
300 if (!LI->isUnordered()) ATy = AliasSet::ModRef; in add()
302 AliasSet &AS = addPointer(LI->getOperand(0), in add()
312 AliasSet::AccessType ATy = AliasSet::Mods; in add()
313 if (!SI->isUnordered()) ATy = AliasSet::ModRef; in add()
316 AliasSet &AS = addPointer(SI->getOperand(1), in add()
328 AliasSet::ModRef, NewPtr); in add()
339 AliasSet *AS = findAliasSetForUnknownInst(Inst); in addUnknown()
344 AliasSets.push_back(new AliasSet()); in addUnknown()
376 AliasSet &AS = const_cast<AliasSet&>(*I); in add()
384 for (AliasSet::iterator ASI = AS.begin(), E = AS.end(); ASI != E; ++ASI) { in add()
385 AliasSet &NewAS = addPointer(ASI.getPointer(), ASI.getSize(), in add()
387 (AliasSet::AccessType)AS.AccessTy, X); in add()
395 void AliasSetTracker::remove(AliasSet &AS) { in remove()
402 AliasSet::PointerRec *P = AS.PtrList; in remove()
424 AliasSet *AS = findAliasSetForPointer(Ptr, Size, TBAAInfo); in remove()
433 AliasSet *AS = findAliasSetForPointer(LI->getOperand(0), Size, TBAAInfo); in remove()
442 AliasSet *AS = findAliasSetForPointer(SI->getOperand(1), Size, TBAAInfo); in remove()
449 AliasSet *AS = findAliasSetForPointer(VAAI->getOperand(0), in remove()
461 AliasSet *AS = findAliasSetForUnknownInst(I); in removeUnknown()
506 AliasSet::PointerRec *PtrValEnt = I->second; in deleteValue()
507 AliasSet *AS = PtrValEnt->getAliasSet(*this); in deleteValue()
533 AliasSet::PointerRec &Entry = getEntryFor(To); in copyValue()
538 AliasSet *AS = I->second->getAliasSet(*this); in copyValue()
550 void AliasSet::print(raw_ostream &OS) const { in print()
591 void AliasSet::dump() const { print(dbgs()); } in dump()