/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopSink.cpp | 252 static bool sinkLoopInvariantInstructions(Loop &L, AAResults &AA, LoopInfo &LI, argument 275 AliasSetTracker CurAST(AA); 303 if (!canSinkOrHoistInst(*I, &AA, &DT, &L, &CurAST, nullptr, false)) 320 AAResults &AA = FAM.getResult<AAManager>(F); 338 Changed |= sinkLoopInvariantInstructions(L, AA, LI, DT, BFI,
|
H A D | LICM.cpp | 105 // instead of the cross product using AA to identify aliasing of the memory 109 cl::desc("How many instruction to cross product using AA")); 154 AliasAnalysis *AA); 172 bool runOnLoop(Loop *L, AliasAnalysis *AA, LoopInfo *LI, DominatorTree *DT, 189 collectAliasInfoForLoop(Loop *L, LoopInfo *LI, AliasAnalysis *AA); 191 collectAliasInfoForLoopWithMSSA(Loop *L, AliasAnalysis *AA, 292 if (!LICM.runOnLoop(&L, &AR.AA, &AR.LI, &AR.DT, &AR.TLI, &AR.TTI, &AR.SE, 329 Loop *L, AliasAnalysis *AA, LoopInfo *LI, DominatorTree *DT, 349 CurAST = collectAliasInfoForLoop(L, LI, AA); 391 Changed |= sinkRegion(DT->getNode(L->getHeader()), AA, L 328 runOnLoop( Loop *L, AliasAnalysis *AA, LoopInfo *LI, DominatorTree *DT, TargetLibraryInfo *TLI, TargetTransformInfo *TTI, ScalarEvolution *SE, MemorySSA *MSSA, OptimizationRemarkEmitter *ORE, bool DeleteAST) argument 497 sinkRegion(DomTreeNode *N, AliasAnalysis *AA, LoopInfo *LI, DominatorTree *DT, TargetLibraryInfo *TLI, TargetTransformInfo *TTI, Loop *CurLoop, AliasSetTracker *CurAST, MemorySSAUpdater *MSSAU, ICFLoopSafetyInfo *SafetyInfo, SinkAndHoistLICMFlags &Flags, OptimizationRemarkEmitter *ORE) argument 798 hoistRegion(DomTreeNode *N, AliasAnalysis *AA, LoopInfo *LI, DominatorTree *DT, TargetLibraryInfo *TLI, Loop *CurLoop, AliasSetTracker *CurAST, MemorySSAUpdater *MSSAU, ScalarEvolution *SE, ICFLoopSafetyInfo *SafetyInfo, SinkAndHoistLICMFlags &Flags, OptimizationRemarkEmitter *ORE) argument 1083 canSinkOrHoistInst(Instruction &I, AAResults *AA, DominatorTree *DT, Loop *CurLoop, AliasSetTracker *CurAST, MemorySSAUpdater *MSSAU, bool TargetExecutesOncePerLoop, SinkAndHoistLICMFlags *Flags, OptimizationRemarkEmitter *ORE) argument 2170 collectAliasInfoForLoop(Loop *L, LoopInfo *LI, AliasAnalysis *AA) argument 2212 collectAliasInfoForLoopWithMSSA( Loop *L, AliasAnalysis *AA, MemorySSAUpdater *MSSAU) argument 2250 pointerInvalidatedByLoop(MemoryLocation MemLoc, AliasSetTracker *CurAST, Loop *CurLoop, AliasAnalysis *AA) argument [all...] |
H A D | GVNHoist.cpp | 258 GVNHoist(DominatorTree *DT, PostDominatorTree *PDT, AliasAnalysis *AA, argument 260 : DT(DT), PDT(PDT), AA(AA), MD(MD), MSSA(MSSA), 266 VN.setAliasAnalysis(AA); 333 AliasAnalysis *AA; member in class:llvm::GVNHoist 412 if (MemorySSAUtil::defClobbersUseOrDef(Def, MU, *AA)) 1159 auto &AA = getAnalysis<AAResultsWrapperPass>().getAAResults(); variable 1163 GVNHoist G(&DT, &PDT, &AA, &MD, &MSSA); 1185 AliasAnalysis &AA = AM.getResult<AAManager>(F); local 1188 GVNHoist G(&DT, &PDT, &AA, [all...] |
H A D | LoopPredication.cpp | 253 AliasAnalysis *AA; member in class:__anon2705::LoopPredication 311 LoopPredication(AliasAnalysis *AA, DominatorTree *DT, argument 314 : AA(AA), DT(DT), SE(SE), LI(LI), BPI(BPI) {}; 338 auto *AA = &getAnalysis<AAResultsWrapperPass>().getAAResults(); variable 339 LoopPredication LP(AA, DT, SE, LI, &BPI); 365 LoopPredication LP(&AR.AA, &AR.DT, &AR.SE, &AR.LI, BPI); 555 if (AA->pointsToConstantMemory(LI->getOperand(0)) ||
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PostRASchedulerList.cpp | 131 /// AA - AliasAnalysis for making memory reference queries. 132 AliasAnalysis *AA; member in class:__anon1785::SchedulePostRATDList 148 MachineFunction &MF, MachineLoopInfo &MLI, AliasAnalysis *AA, 207 MachineFunction &MF, MachineLoopInfo &MLI, AliasAnalysis *AA, 211 : ScheduleDAGInstrs(MF, &MLI), AA(AA), EndIndex(0) { 288 AliasAnalysis *AA = &getAnalysis<AAResultsWrapperPass>().getAAResults(); local 314 SchedulePostRATDList Scheduler(Fn, MLI, AA, RegClassInfo, AntiDepMode, 393 buildSchedGraph(AA); 408 buildSchedGraph(AA); 206 SchedulePostRATDList( MachineFunction &MF, MachineLoopInfo &MLI, AliasAnalysis *AA, const RegisterClassInfo &RCI, TargetSubtargetInfo::AntiDepBreakMode AntiDepMode, SmallVectorImpl<const TargetRegisterClass *> &CriticalPathRCs) argument [all...] |
H A D | LiveRangeEdit.cpp | 261 AliasAnalysis *AA) { 363 if (isOrigDef && DeadRemats && TII.isTriviallyReMaterializable(*MI, AA)) { 394 AliasAnalysis *AA) { 400 eliminateDeadDef(Dead.pop_back_val(), ToShrink, AA); 260 eliminateDeadDef(MachineInstr *MI, ToShrinkSet &ToShrink, AliasAnalysis *AA) argument 392 eliminateDeadDefs(SmallVectorImpl<MachineInstr *> &Dead, ArrayRef<unsigned> RegsBeingSpilled, AliasAnalysis *AA) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | AliasAnalysisEvaluator.cpp | 94 void AAEvaluator::runInternal(Function &F, AAResults &AA) { argument 154 AliasResult AR = AA.alias(*I1, I1Size, *I2, I2Size); 180 AliasResult AR = AA.alias(MemoryLocation::get(cast<LoadInst>(Load)), 207 AliasResult AR = AA.alias(MemoryLocation::get(cast<StoreInst>(*I1)), 239 switch (AA.getModRefInfo(Call, Pointer, Size)) { 286 switch (AA.getModRefInfo(CallA, CallB)) {
|
H A D | MemoryDependenceAnalysis.cpp | 207 if (isModOrRefSet(AA.getModRefInfo(Call, Loc))) 214 if (isNoModRef(AA.getModRefInfo(Call, CallB))) { 539 if (AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), MemLoc)) 579 AliasResult R = AA.alias(LoadLoc, MemLoc); 610 if (AA.pointsToConstantMemory(LoadLoc)) 641 if (!isModOrRefSet(AA.getModRefInfo(SI, MemLoc))) 650 AliasResult R = AA.alias(StoreLoc, MemLoc); 669 if (AccessPtr == Inst || AA.isMustAlias(Inst, AccessPtr)) 686 ModRefInfo MR = AA.getModRefInfo(Inst, MemLoc); 689 MR = AA 1755 auto &AA = AM.getResult<AAManager>(F); local 1818 auto &AA = getAnalysis<AAResultsWrapperPass>().getAAResults(); local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | LiveRangeEdit.h | 113 AliasAnalysis *AA); 247 AliasAnalysis *AA = nullptr);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | MemoryDependenceAnalysis.h | 306 /// The AA tags associated with dereferences of the pointer. 357 /// Current AA implementation, just a cache. 358 AliasAnalysis &AA; member in class:llvm::MemoryDependenceResults 368 MemoryDependenceResults(AliasAnalysis &AA, AssumptionCache &AC, argument 371 : AA(AA), AC(AC), TLI(TLI), DT(DT), PV(PV),
|
H A D | LoopAnalysisManager.h | 54 AAResults &AA; member in struct:llvm::LoopStandardAnalysisResults
|
H A D | ObjCARCAnalysisUtils.h | 178 AliasAnalysis &AA) { 184 if (AA.pointsToConstantMemory(Op)) 189 if (AA.pointsToConstantMemory(LI->getPointerOperand())) 177 IsPotentialRetainableObjPtr(const Value *Op, AliasAnalysis &AA) argument
|
H A D | AliasAnalysis.h | 296 /// caches used by BasicAA, but can further be extended to fit other AA needs. 319 /// Register a specific AA result. 640 /// of memory locations. See the AA documentation for details: 774 /// esentially making AA work in "batch mode". The internal state cannot be 778 AAResults &AA; member in class:llvm::BatchAAResults 782 BatchAAResults(AAResults &AAR) : AA(AAR), AAQI() {} 784 return AA.alias(LocA, LocB, AAQI); 787 return AA.pointsToConstantMemory(Loc, AAQI, OrLocal); 790 return AA.getModRefInfo(Call, Loc, AAQI); 793 return AA [all...] |
H A D | DependenceAnalysis.h | 273 DependenceInfo(Function *F, AliasAnalysis *AA, ScalarEvolution *SE, argument 275 : AA(AA), SE(SE), LI(LI), F(F) {} 336 AliasAnalysis *AA; member in class:llvm::DependenceInfo
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/ |
H A D | LoopVectorize.h | 140 AliasAnalysis *AA; member in struct:llvm::LoopVectorizePass
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | Attributor.h | 761 template <typename AAType> AAType ®isterAA(AAType &AA) { argument 767 const IRPosition &IRP = AA.getIRPosition(); 771 KindToAbstractAttributeMap[&AAType::ID] = &AA; 772 AllAbstractAttributes.push_back(&AA); 773 return AA; 887 /// Return true if \p AA (or its context instruction) is assumed dead. 890 bool isAssumedDead(const AbstractAttribute &AA, const AAIsDead *LivenessAA); 899 /// Helper struct used in the communication between an abstract attribute (AA) 902 /// information from the AA (see the constructor). All other members are 1072 auto &AA [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyRegStackify.cpp | 170 static void query(const MachineInstr &MI, AliasAnalysis &AA, bool &Read, argument 178 if (MI.mayLoad() && !MI.isDereferenceableInvariantLoad(&AA)) 261 static bool shouldRematerialize(const MachineInstr &Def, AliasAnalysis &AA, argument 263 return Def.isAsCheapAsAMove() && TII->isTriviallyReMaterializable(Def, &AA); 317 AliasAnalysis &AA, const MachineRegisterInfo &MRI) { 364 query(*Def, AA, Read, Write, Effects, StackPointer); 379 query(*I, AA, InterveningRead, InterveningWrite, InterveningEffects, 778 AliasAnalysis &AA = getAnalysis<AAResultsWrapperPass>().getAAResults(); local 857 bool CanMove = SameBlock && isSafeToMove(Def, Insert, AA, MRI) && 861 } else if (shouldRematerialize(*Def, AA, TI 316 isSafeToMove(const MachineInstr *Def, const MachineInstr *Insert, AliasAnalysis &AA, const MachineRegisterInfo &MRI) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/LTO/ |
H A D | LTOBackend.cpp | 176 AAManager AA; local 178 // Parse a custom AA pipeline if asked to. 179 if (auto Err = PB.parseAAPipeline(AA, "default")) 180 report_fatal_error("Error parsing default AA pipeline"); 187 // Register the AA manager first so that our version is the one used. 188 FAM.registerPass([&] { return std::move(AA); }); 234 AAManager AA; local 236 // Parse a custom AA pipeline if asked to. 238 if (auto Err = PB.parseAAPipeline(AA, AAPipelineDesc)) 239 report_fatal_error("unable to parse AA pipelin [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | Attributor.cpp | 111 raw_ostream &operator<<(raw_ostream &OS, const CLASS &AA) { \ 112 return OS << static_cast<const AbstractAttribute &>(AA); \ 652 const AAType &AA = A.getAAFor<AAType>(QueryingAA, RVPos); 653 LLVM_DEBUG(dbgs() << "[Attributor] RV: " << RV << " AA: " << AA.getAsStr() 655 const StateType &AAS = static_cast<const StateType &>(AA.getState()); 660 LLVM_DEBUG(dbgs() << "[Attributor] AA State: " << AAS << " RV State: " << T 730 const AAType &AA = A.getAAFor<AAType>(QueryingAA, ACSArgPos); 732 << " AA: " << AA 785 const AAType &AA = A.getAAFor<AAType>(*this, FnPos); variable 2934 identifyAliveSuccessors(Attributor &A, const CallBase &CB, AbstractAttribute &AA, SmallVectorImpl<const Instruction *> &AliveSuccessors) argument 2950 identifyAliveSuccessors(Attributor &A, const InvokeInst &II, AbstractAttribute &AA, SmallVectorImpl<const Instruction *> &AliveSuccessors) argument 2974 getAssumedConstant(Attributor &A, const Value &V, AbstractAttribute &AA, bool &UsedAssumedInformation) argument 2988 identifyAliveSuccessors(Attributor &A, const BranchInst &BI, AbstractAttribute &AA, SmallVectorImpl<const Instruction *> &AliveSuccessors) argument 3013 identifyAliveSuccessors(Attributor &A, const SwitchInst &SI, AbstractAttribute &AA, SmallVectorImpl<const Instruction *> &AliveSuccessors) argument 5565 isAssumedDead(const AbstractAttribute &AA, const AAIsDead *LivenessAA) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/ |
H A D | GVN.h | 110 AliasAnalysis *AA = nullptr; member in class:llvm::GVN::ValueTable 146 void setAliasAnalysis(AliasAnalysis *A) { AA = A; } 147 AliasAnalysis *getAliasAnalysis() const { return AA; }
|
/freebsd-11-stable/contrib/llvm-project/llvm/tools/opt/ |
H A D | NewPMDriver.cpp | 296 // a custom pipeline of AA passes with it. 297 AAManager AA; local 298 if (auto Err = PB.parseAAPipeline(AA, AAPipeline)) { 308 // Register the AA manager first so that our version is the one used. 309 FAM.registerPass([&] { return std::move(AA); });
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | ScheduleDAGSDNodes.h | 97 void BuildSchedGraph(AAResults *AA);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Passes/ |
H A D | PassBuilder.h | 457 /// Parse a textual alias analysis pipeline into the provided AA manager. 459 /// The format of the textual AA pipeline is a comma separated list of AA 464 /// The AA manager is set up such that the provided alias analyses are tried 467 /// between AA names and the analyses to register with the manager. 470 /// the \p AA manager is unspecified if such an error is encountered and this 472 Error parseAAPipeline(AAManager &AA, StringRef PipelineText); 564 /// the given AAManager \p AA 566 const std::function<bool(StringRef Name, AAManager &AA)> &C) { 653 bool parseAAPassName(AAManager &AA, StringRe [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ |
H A D | LinkAllPasses.h | 237 llvm::AliasAnalysis AA(TLI); 238 llvm::AliasSetTracker X(AA);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonOptAddrMode.cpp | 182 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(OffsetRR, IA); 183 if ((DFG->IsDef(AA) && AA.Id != OffsetRegRD) || 184 AA.Addr->getReachingDef() != OffsetRegRD) 306 NodeAddr<RefNode*> AA = LV->getNearestAliasedRef(LRExtRR, IA); 307 if ((DFG->IsDef(AA) && AA.Id != LRExtRegRD) || 308 AA.Addr->getReachingDef() != LRExtRegRD) {
|