Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h163 namespace AA {
384 const AA::InstExclusionSetTy *ExclusionSet = nullptr,
391 const AA::InstExclusionSetTy *ExclusionSet = nullptr,
407 struct DenseMapInfo<AA::ValueAndContext>
408 : public DenseMapInfo<AA::ValueAndContext::Base> {
409 using Base = DenseMapInfo<AA::ValueAndContext::Base>;
410 static inline AA::ValueAndContext getEmptyKey() {
413 static inline AA::ValueAndContext getTombstoneKey() {
416 static unsigned getHashValue(const AA::ValueAndContext &VAC) {
420 static bool isEqual(const AA::ValueAndContext &LHS,
[all …]
/freebsd/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()
104 DominatorTree &DT, LoopInfo &LI, AAResults &AA) { in SinkInstruction()
113 if (!isSafeToMove(Inst, AA, Stores)) in SinkInstruction()
176 AAResults &AA) { in ProcessBlock() argument
201 if (SinkInstruction(Inst, Stores, DT, LI, AA)) { in ProcessBlock()
213 LoopInfo &LI, AAResults &AA) { in iterativelySinkInstructions() argument
221 MadeChange |= ProcessBlock(I, DT, LI, AA); in iterativelySinkInstructions()
232 auto &AA in run() local
105 SinkInstruction(Instruction * Inst,SmallPtrSetImpl<Instruction * > & Stores,DominatorTree & DT,LoopInfo & LI,AAResults & AA) SinkInstruction() argument
253 auto &AA = getAnalysis<AAResultsWrapperPass>().getAAResults(); 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;
223 bool canSinkBCECmpInst(const Instruction *, AliasAnalysis &AA) const;
228 void split(BasicBlock *NewParent, AliasAnalysis &AA) const;
244 AliasAnalysis &AA) const { in canSinkBCECmpInst()
252 isModSet(AA.getModRefInfo(Inst, MemoryLocation::get(LI))); in canSinkBCECmpInst()
265 void BCECmpBlock::split(BasicBlock *NewParent, AliasAnalysis &AA) const { in split()
270 assert(canSinkBCECmpInst(&Inst, AA) && "Split unsplittable block"); in split()
281 bool BCECmpBlock::canSplit(AliasAnalysis &AA) const { in canSplit()
284 if (!canSinkBCECmpInst(&Inst, AA)) in canSplit()
406 AliasAnalysis &AA);
[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, 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 __anonb6db5b0a0111::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/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp129 void AliasSet::addUnknownInst(Instruction *I, BatchAAResults &AA) { in addUnknownInst() argument
155 BatchAAResults &AA) const { in aliasesMemoryLocation()
161 AliasResult AR = AA.alias(MemLoc, ASMemLoc); in aliasesMemoryLocation()
168 if (isModOrRefSet(AA.getModRefInfo(Inst, MemLoc))) in aliasesMemoryLocation()
175 BatchAAResults &AA) const { in aliasesUnknownInst()
186 if (!C1 || !C2 || isModOrRefSet(AA.getModRefInfo(C1, C2)) || in aliasesUnknownInst()
187 isModOrRefSet(AA.getModRefInfo(C2, C1))) { in aliasesUnknownInst()
195 MR |= AA.getModRefInfo(Inst, ASMemLoc); in aliasesUnknownInst()
236 AliasResult AR = AS.aliasesMemoryLocation(MemLoc, AA); in mergeAliasSetsForMemoryLocation()
249 FoundSet->mergeSetIn(AS, *this, AA); in mergeAliasSetsForMemoryLocation()
[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()
545 AAResults &AA) const { in isAliased()
548 return AA.isMustAlias(Loc1, Loc2); in isAliased()
564 AAResults &AA, DependenceInfo &DI, in CacheCost() argument
567 TTI(TTI), AA(AA), DI(DI) { in CacheCost()
596 return std::make_unique<CacheCost>(Loops, AR.LI, AR.SE, AR.TTI, AR.AA, DI, TRT); in getCacheCost()
657 R->hasTemporalReuse(Representative, *TRT, *InnerMostLoop, DI, AA); in populateReferenceGroups()
[all …]
H A DAliasAnalysis.cpp126 for (const auto &AA : AAs) { in alias() local
127 Result = AA->alias(LocA, LocB, AAQI, CtxI); in alias()
161 for (const auto &AA : AAs) { in getModRefInfoMask() local
162 Result &= AA->getModRefInfoMask(Loc, AAQI, IgnoreLocals); in getModRefInfoMask()
175 for (const auto &AA : AAs) { in getArgModRefInfo() local
176 Result &= AA->getArgModRefInfo(Call, ArgIdx); in getArgModRefInfo()
218 for (const auto &AA : AAs) { in getModRefInfo() local
219 Result &= AA->getModRefInfo(Call, Loc, AAQI); in getModRefInfo()
271 for (const auto &AA : AAs) { in getModRefInfo() local
272 Result &= AA->getModRefInfo(Call1, Call2, AAQI); in getModRefInfo()
[all …]
H A DLint.cpp128 AliasAnalysis *AA; member in __anon88a7481a0111::Lint
136 Lint(Module *Mod, const DataLayout *DL, AliasAnalysis *AA, in Lint() argument
138 : Mod(Mod), DL(DL), AA(AA), AC(AC), DT(DT), TLI(TLI), in Lint()
248 AliasResult Result = AA->alias(*AI, *BI); in visitCallBase()
310 Check(AA->alias(MCI->getSource(), Size, MCI->getDest(), Size) != in visitCallBase()
646 BatchAAResults BatchAA(*AA); in findValueImpl()
697 auto *AA = &AM.getResult<AAManager>(F); in run() local
701 Lint L(Mod, DL, AA, AC, DT, TLI); in run()
726 AAManager AA; in lintFunction() local
727 AA.registerFunctionAnalysis<BasicAA>(); in lintFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteKernelArguments.cpp35 AliasAnalysis *AA; member in __anon4eb9f4ae0111::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/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/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributorAttributes.cpp159 raw_ostream &operator<<(raw_ostream &OS, const CLASS &AA) { \
160 return OS << static_cast<const AbstractAttribute &>(AA); \
381 return AA::hasAssumedIRAttr<IRAttributeKind>( in clampReturnedValueStates()
385 const AAType *AA = in clampReturnedValueStates() local
387 if (!AA) in clampReturnedValueStates()
390 << " AA: " << AA->getAsStr(&A) << " @ " << RVPos << "\n"); in clampReturnedValueStates()
391 const StateType &AAS = AA->getState(); in clampReturnedValueStates()
401 AA::ValueScope::Intraprocedural, in clampReturnedValueStates()
462 return AA::hasAssumedIRAttr<IRAttributeKind>( in clampCallSiteArgumentStates()
466 const AAType *AA = in clampCallSiteArgumentStates() local
[all …]
H A DAttributor.cpp201 bool AA::isGPU(const Module &M) { in isGPU()
206 bool AA::isNoSyncInst(Attributor &A, const Instruction &I, in isNoSyncInst()
221 return AA::hasAssumedIRAttr<Attribute::NoSync>( in isNoSyncInst()
232 bool AA::isDynamicallyUnique(Attributor &A, const AbstractAttribute &QueryingAA, in isDynamicallyUnique()
243 AA::getInitialValueForObj(Attributor &A, const AbstractAttribute &QueryingAA, in getInitialValueForObj()
245 const DataLayout &DL, AA::RangeTy *RangePtr) { in getInitialValueForObj()
281 bool AA::isValidInScope(const Value &V, const Function *Scope) { in isValidInScope()
291 bool AA::isValidAtPosition(const AA::ValueAndContext &VAC, in isValidAtPosition()
317 Value *AA::getWithType(Value &V, Type &Ty) { in getWithType()
340 AA::combineOptionalValuesInAAValueLatice(const std::optional<Value *> &A, in combineOptionalValuesInAAValueLatice()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp58 CoroIdElider(CoroIdInst *CoroId, FunctionElideInfo &FEI, AAResults &AA,
69 AAResults &AA; member in __anon955a79fe0111::CoroIdElider
105 static bool operandReferences(CallInst *CI, AllocaInst *Frame, AAResults &AA) { in operandReferences() argument
107 if (!AA.isNoAlias(Op, Frame)) in operandReferences()
119 static void removeTailCallAttribute(AllocaInst *Frame, AAResults &AA) { in removeTailCallAttribute() argument
123 if (Call->isTailCall() && operandReferences(Call, Frame, AA) && in removeTailCallAttribute()
185 AAResults &AA, DominatorTree &DT, in CoroIdElider() argument
187 : CoroId(CoroId), FEI(FEI), AA(AA), DT(DT), ORE(ORE) { in CoroIdElider()
253 removeTailCallAttribute(Frame, AA); in elideHeapAllocations()
477 AAResults &AA = AM.getResult<AAManager>(F); in run() local
[all …]
/freebsd/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()
264 AA->alias(MemoryLocation(Op1.getValue(), Overlapa, in alias()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp33 const AvailabilityAttr *AA) { in hasMatchingEnvironmentOrNone() argument
34 IdentifierInfo *IIEnvironment = AA->getEnvironment(); in hasMatchingEnvironmentOrNone()
188 if (const AvailabilityAttr *AA = getAttrForPlatform(S.Context, C)) in ShouldDiagnoseAvailabilityInContext() local
189 if (AA->getIntroduced() >= DeclVersion && in ShouldDiagnoseAvailabilityInContext()
190 AA->getEnvironment() == DeclEnv) in ShouldDiagnoseAvailabilityInContext()
408 const AvailabilityAttr *AA = getAttrForPlatform(S.Context, OffendingDecl); in DoEmitAvailabilityWarning() local
410 if (AA) { in DoEmitAvailabilityWarning()
411 DeclVersion = AA->getIntroduced(); in DoEmitAvailabilityWarning()
412 IIEnv = AA->getEnvironment(); in DoEmitAvailabilityWarning()
423 if (AA && AA->isInherited()) { in DoEmitAvailabilityWarning()
[all …]
/freebsd/contrib/bc/tests/bc/
H A Dletters.txt37 AA
40 AA
44 AA
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp36 AliasAnalysis *AA; member in __anonf1f7dd6c0111::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/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/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DDFAPacketizer.h53 AAResults *AA;
59 AAResults *AA);
140 AAResults *AA; variable
154 AAResults *AA);

12345678910>>...13