Home
last modified time | relevance | path

Searched refs:AA (Results 1 – 25 of 292) sorted by relevance

12345678910>>...12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h162 namespace AA {
1589 registerAA(AA);
1594 return &AA;
1611 return &AA;
1620 updateAA(AA);
1628 return &AA;
1664 return AA;
1701 AAPtr = &AA;
1708 return AA;
5550 (void)AA;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSink.cpp30 static bool isSafeToMove(Instruction *Inst, AliasAnalysis &AA, in isSafeToMove() argument
41 if (isModSet(AA.getModRefInfo(S, Loc))) in isSafeToMove()
56 if (isModSet(AA.getModRefInfo(S, Call))) in isSafeToMove()
113 if (!isSafeToMove(Inst, AA, Stores)) in SinkInstruction()
176 AAResults &AA) { in ProcessBlock() argument
201 if (SinkInstruction(Inst, Stores, DT, LI, AA)) { in ProcessBlock()
221 MadeChange |= ProcessBlock(I, DT, LI, AA); in iterativelySinkInstructions()
232 auto &AA = AM.getResult<AAManager>(F); in run() local
234 if (!iterativelySinkInstructions(F, DT, LI, AA)) in run()
253 auto &AA = getAnalysis<AAResultsWrapperPass>().getAAResults(); in runOnFunction() local
[all …]
H A DFlattenCFGPass.cpp40 AliasAnalysis *AA; member
45 bool iterativelyFlattenCFG(Function &F, AliasAnalysis *AA) { in iterativelyFlattenCFG() argument
63 if (FlattenCFG(BB, AA)) in iterativelyFlattenCFG()
86 AA = &getAnalysis<AAResultsWrapperPass>().getAAResults(); in runOnFunction()
89 while (iterativelyFlattenCFG(F, AA)) { in runOnFunction()
99 AliasAnalysis *AA = &AM.getResult<AAManager>(F); in run() local
101 while (iterativelyFlattenCFG(F, AA)) { in run()
H A DMergeICmps.cpp217 bool canSplit(AliasAnalysis &AA) const;
281 bool BCECmpBlock::canSplit(AliasAnalysis &AA) const { in canSplit()
284 if (!canSinkBCECmpInst(&Inst, AA)) in canSplit()
406 AliasAnalysis &AA);
474 AliasAnalysis &AA) in BCECmpChain() argument
505 if (Comparison->canSplit(AA)) { in BCECmpChain()
639 ToSplit->split(BB, AA); in mergeComparisons()
835 BCECmpChain CmpChain(Blocks, Phi, AA); in processPhi()
842 return CmpChain.simplify(TLI, AA, DTU); in processPhi()
867 MadeChange |= processPhi(*Phi, TLI, AA, DTU); in runImpl()
[all …]
H A DLoopVersioningLICM.cpp118 LoopVersioningLICM(AliasAnalysis *AA, ScalarEvolution *SE, in LoopVersioningLICM()
122 : AA(AA), SE(SE), LAIs(LAIs), LI(LI), CurLoop(CurLoop), in LoopVersioningLICM()
130 AliasAnalysis *AA; member
229 BatchAAResults BAA(*AA); in legalLoopMemoryAccesses()
314 if (!AA->doesNotAccessMemory(Call)) { in instructionSafeForVersioning()
579 AliasAnalysis *AA = &LAR.AA; in run() local
585 LoopAccessInfoManager LAIs(*SE, *AA, *DT, LAR.LI, nullptr); in run()
586 if (!LoopVersioningLICM(AA, SE, &ORE, LAIs, LAR.LI, &L).run(DT)) in run()
H A DMergedLoadStoreMotion.cpp97 AliasAnalysis *AA = nullptr; member in __anon39a229000111::MergedLoadStoreMotion
108 bool run(Function &F, AliasAnalysis &AA);
175 return AA->canInstructionRangeModRef(Start, End, Loc, ModRefInfo::ModRef); in isStoreSinkBarrierInRange()
195 if (AA->isMustAlias(Loc0, Loc1) && in canSinkFromBlock()
362 bool MergedLoadStoreMotion::run(Function &F, AliasAnalysis &AA) { in run() argument
363 this->AA = &AA; in run()
383 auto &AA = AM.getResult<AAManager>(F); in run() local
384 if (!Impl.run(F, AA)) in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp161 AliasResult AR = AA.alias(MemLoc, ASMemLoc); in aliasesMemoryLocation()
187 isModOrRefSet(AA.getModRefInfo(C2, C1))) { in aliasesUnknownInst()
195 MR |= AA.getModRefInfo(Inst, ASMemLoc); in aliasesUnknownInst()
249 FoundSet->mergeSetIn(AS, *this, AA); in mergeAliasSetsForMemoryLocation()
266 FoundSet->mergeSetIn(AS, *this, AA); in findAliasSetForUnknownInst()
368 AS->addUnknownInst(Inst, AA); in addUnknown()
372 AliasSets.back().addUnknownInst(Inst, AA); in addUnknown()
436 assert(&AA == &AST.AA && in add()
487 AliasAnyAS->mergeSetIn(*Cur, *this, AA); in mergeAllAliasSets()
575 auto &AA = AM.getResult<AAManager>(F); in run() local
[all …]
H A DObjCARCAnalysisUtils.cpp29 AAResults &AA) { in IsPotentialRetainableObjPtr() argument
35 if (AA.pointsToConstantMemory(Op)) in IsPotentialRetainableObjPtr()
40 if (AA.pointsToConstantMemory(LI->getPointerOperand())) in IsPotentialRetainableObjPtr()
H A DLoopCacheAnalysis.cpp161 AAResults &AA) const { in hasSpacialReuse()
164 if (BasePointer != Other.getBasePointer() && !isAliased(Other, AA)) { in hasSpacialReuse()
217 DependenceInfo &DI, AAResults &AA) const { in hasTemporalReuse()
220 if (BasePointer != Other.getBasePointer() && !isAliased(Other, AA)) { in hasTemporalReuse()
540 AAResults &AA) const { in isAliased()
543 return AA.isMustAlias(Loc1, Loc2); in isAliased()
559 AAResults &AA, DependenceInfo &DI, in CacheCost() argument
562 TTI(TTI), AA(AA), DI(DI) { in CacheCost()
652 R->hasTemporalReuse(Representative, *TRT, *InnerMostLoop, DI, AA); in populateReferenceGroups()
654 R->hasSpacialReuse(Representative, CLS, AA); in populateReferenceGroups()
[all …]
H A DAliasAnalysis.cpp124 for (const auto &AA : AAs) { in alias() local
125 Result = AA->alias(LocA, LocB, AAQI, CtxI); in alias()
159 for (const auto &AA : AAs) { in getModRefInfoMask() local
173 for (const auto &AA : AAs) { in getArgModRefInfo() local
174 Result &= AA->getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo()
216 for (const auto &AA : AAs) { in getModRefInfo() local
269 for (const auto &AA : AAs) { in getModRefInfo() local
376 for (const auto &AA : AAs) { in getMemoryEffects() local
377 Result &= AA->getMemoryEffects(Call, AAQI); in getMemoryEffects()
395 for (const auto &AA : AAs) { in getMemoryEffects() local
[all …]
H A DLint.cpp123 AliasAnalysis *AA; member in __anon6e7dde900111::Lint
133 : Mod(Mod), DL(DL), AA(AA), AC(AC), DT(DT), TLI(TLI), in Lint()
243 AliasResult Result = AA->alias(*AI, *BI); in visitCallBase()
660 BatchAAResults BatchAA(*AA); in findValueImpl()
711 auto *AA = &AM.getResult<AAManager>(F); in run() local
715 Lint L(Mod, DL, AA, AC, DT, TLI); in run()
736 AAManager AA; in lintFunction() local
737 AA.registerFunctionAnalysis<BasicAA>(); in lintFunction()
738 AA.registerFunctionAnalysis<ScopedNoAliasAA>(); in lintFunction()
739 AA.registerFunctionAnalysis<TypeBasedAA>(); in lintFunction()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteKernelArguments.cpp35 AliasAnalysis *AA; member in __anon94b086e40111::AMDGPUPromoteKernelArguments
52 bool run(Function &F, MemorySSA &MSSA, AliasAnalysis &AA);
79 !AMDGPU::isClobberedInFunction(LD, MSSA, AA)) in enqueueUsers()
154 AliasAnalysis &AA) { in run() argument
164 this->AA = &AA; in run()
190 AliasAnalysis &AA = getAnalysis<AAResultsWrapperPass>().getAAResults(); in runOnFunction() local
191 return run(F, MSSA, AA); in runOnFunction()
211 AliasAnalysis &AA = AM.getResult<AAManager>(F); in run() local
212 if (AMDGPUPromoteKernelArguments().run(F, MSSA, AA)) { in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
H A DAllocationActions.cpp20 for (auto &AA : AAs) { in runFinalizeActions() local
21 if (AA.Finalize) in runFinalizeActions()
22 if (auto Err = AA.Finalize.runWithSPSRetErrorMerged()) in runFinalizeActions()
25 if (AA.Dealloc) in runFinalizeActions()
26 DeallocActions.push_back(std::move(AA.Dealloc)); in runFinalizeActions()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp387 if (!AA) in clampReturnedValueStates()
467 if (!AA) in clampCallSiteArgumentStates()
516 if (!AA) in getArgumentStateFromCallBaseContext()
5043 if (!AA || (!Stripped && this == AA)) { in updateImpl()
5324 if (!AA || (!Stripped && this == AA)) { in updateImpl()
8612 if (!AA || !AA->forallUnderlyingObjects(Pred, AA::Intraprocedural)) { in categorizePtrValue()
10395 if (!AA || this == AA) { in updateImpl()
10728 if (!AA) in askForAssumedConstant()
10847 S = AA::ValueScope(S | AA::Interprocedural); in addValue()
10920 for (AA::ValueScope S : {AA::Interprocedural, AA::Intraprocedural}) { in manifest()
[all …]
H A DAttributor.cpp291 bool AA::isValidAtPosition(const AA::ValueAndContext &VAC, in isValidAtPosition()
526 AA::RangeTy Range; in getPotentialCopiesOfMemoryValue()
1440 if (AA) in getAssumedSimplified()
1451 SmallVectorImpl<AA::ValueAndContext> &Values, AA::ValueScope S, in getAssumedSimplifiedValues()
2262 assert(AA.isQueryAA() && in registerForUpdate()
2292 if (AA->getCtxI() && !isRunOn(*AA->getAnchorScope())) in manifestAttributes()
2686 return AA.getName() + std::to_string(AA.getIRPosition().getPositionKind()); in updateAA()
2700 CS = AA.update(*this); in updateAA()
2702 if (!AA.isQueryAA() && DV.empty() && !AA.getState().isAtFixpoint()) { in updateAA()
3720 AA.print(OS); in operator <<()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h143 void addUnknownInst(Instruction *I, BatchAAResults &AA);
149 BatchAAResults &AA) const;
152 BatchAAResults &AA) const;
161 BatchAAResults &AA; variable
173 explicit AliasSetTracker(BatchAAResults &AA) : AA(AA) {} in AliasSetTracker() argument
208 BatchAAResults &getAliasAnalysis() const { return AA; } in getAliasAnalysis()
H A DLoopCacheAnalysis.h77 unsigned CLS, AAResults &AA) const;
85 DependenceInfo &DI, AAResults &AA) const;
137 bool isAliased(const IndexedReference &Other, AAResults &AA) const;
202 TargetTransformInfo &TTI, AAResults &AA, DependenceInfo &DI,
278 AAResults &AA; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp47 AAResults &AA);
50 bool processCoroId(CoroIdInst *, AAResults &AA, DominatorTree &DT,
84 if (!AA.isNoAlias(Op, Frame)) in operandReferences()
96 static void removeTailCallAttribute(AllocaInst *Frame, AAResults &AA) { in removeTailCallAttribute() argument
100 if (Call->isTailCall() && operandReferences(Call, Frame, AA) && in removeTailCallAttribute()
142 Align FrameAlign, AAResults &AA) { in elideHeapAllocations() argument
177 removeTailCallAttribute(Frame, AA); in elideHeapAllocations()
340 bool Lowerer::processCoroId(CoroIdInst *CoroId, AAResults &AA, in processCoroId() argument
414 FrameSizeAndAlign->second, AA); in processCoroId()
462 AAResults &AA = AM.getResult<AAManager>(F); in run() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp68 bool isReallyAClobber(const Value *Ptr, MemoryDef *Def, AAResults *AA) { in isReallyAClobber() argument
98 const auto checkNoAlias = [AA, Ptr](auto I) -> bool { in isReallyAClobber()
99 return I && AA->isNoAlias(I->getPointerOperand(), Ptr); in isReallyAClobber()
110 AAResults *AA) { in isClobberedInFunction() argument
137 if (isReallyAClobber(Load->getPointerOperand(), Def, AA)) { in isClobberedInFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DDFAPacketizer.cpp101 AAResults *AA) in DefaultVLIWScheduler() argument
102 : ScheduleDAGInstrs(MF, &MLI), AA(AA) { in DefaultVLIWScheduler()
114 buildSchedGraph(AA); in schedule()
120 : MF(mf), TII(mf.getSubtarget().getInstrInfo()), AA(aa) { in VLIWPacketizerList()
123 VLIWScheduler = new DefaultVLIWScheduler(MF, mli, AA); in VLIWPacketizerList()
263 AA->alias(MemoryLocation(Op1.getValue(), Overlapa, in alias()
/freebsd-14.2/lib/libc/stdlib/
H A Da64l.c19 #define AA 65 /* ASCII 'A' */ macro
35 else if (*s <= AA + 25) in a64l()
36 digit = *s - AA + 12; in a64l()
/freebsd-14.2/contrib/bc/tests/bc/
H A Dletters.txt37 AA
40 AA
44 AA
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.h52 AAResults *AA; variable
71 void setAA(AAResults *aa) { AA = aa; } in setAA()
73 AAResults *getAA() const { return AA; } in getAA()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp36 AliasAnalysis *AA; member in __anon73898a620111::FlattenCFGOpt
56 FlattenCFGOpt(AliasAnalysis *AA) : AA(AA) {} in FlattenCFGOpt() argument
360 if (!AA || !AA->isNoAlias(&*iter1, &*BI)) in CompareIfRegionBlock()
533 bool llvm::FlattenCFG(BasicBlock *BB, AAResults *AA) { in FlattenCFG() argument
534 return FlattenCFGOpt(AA).run(BB); in FlattenCFG()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDFAPacketizer.h53 AAResults *AA;
59 AAResults *AA);
140 AAResults *AA; variable
154 AAResults *AA);

12345678910>>...12