Home
last modified time | relevance | path

Searched refs:AM (Results 1 – 25 of 822) sorted by relevance

12345678910>>...33

/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelDAGToDAG.cpp59 AddrType AM; member
84 : AM(AT), BaseType(Base::RegBase), Disp(0), BaseFrameIndex(0), IndexReg(), in M68kISelAddressMode()
109 return AM == AddrType::ARII || AM == AddrType::PCI || in isDispAddrType()
110 AM == AddrType::ARID || AM == AddrType::PCD || AM == AddrType::AL; in isDispAddrType()
114 switch (AM) { in getDispSize()
206 bool foldOffsetIntoAddress(uint64_t Offset, M68kISelAddressMode &AM);
208 bool matchLoadInAddress(LoadSDNode *N, M68kISelAddressMode &AM);
209 bool matchAddress(SDValue N, M68kISelAddressMode &AM);
210 bool matchAddressBase(SDValue N, M68kISelAddressMode &AM);
211 bool matchAddressRecursively(SDValue N, M68kISelAddressMode &AM,
[all …]
H A DM68kInstrData.td149 foreach AM = MxMoveSupportedAMs in {
151 def MOV # TYPE.Size # AM # REG # TYPE.Postfix
152 : MxMove_MR<TYPE, !cast<MxOpBundle>("MxOp"#TYPE.Size#"AddrMode_"#AM), REG,
154 !cast<MxEncMemOp>("MxMoveDstOpEnc_"#AM),
156 } // foreach AM
158 foreach AM = MxMoveSupportedAMs in {
160 def MOV # TYPE.Size # AM # i # TYPE.Postfix
161 : MxMove_MI<TYPE, !cast<MxOpBundle>("MxOp"#TYPE.Size#"AddrMode_"#AM),
163 !cast<MxEncMemOp>("MxMoveDstOpEnc_"#AM),
165 } // foreach AM
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelDAGToDAG.cpp96 bool MatchAddress(SDValue N, MSP430ISelAddressMode &AM);
97 bool MatchWrapper(SDValue N, MSP430ISelAddressMode &AM);
98 bool MatchAddressBase(SDValue N, MSP430ISelAddressMode &AM);
141 bool MSP430DAGToDAGISel::MatchWrapper(SDValue N, MSP430ISelAddressMode &AM) { in MatchWrapper() argument
144 if (AM.hasSymbolicDisplacement()) in MatchWrapper()
150 AM.GV = G->getGlobal(); in MatchWrapper()
151 AM.Disp += G->getOffset(); in MatchWrapper()
154 AM.CP = CP->getConstVal(); in MatchWrapper()
155 AM.Alignment = CP->getAlign(); in MatchWrapper()
156 AM.Disp += CP->getOffset(); in MatchWrapper()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrBuilder.h88 X86AddressMode AM; in getAddressFromInstr() local
91 AM.BaseType = X86AddressMode::RegBase; in getAddressFromInstr()
92 AM.Base.Reg = Op0.getReg(); in getAddressFromInstr()
94 AM.BaseType = X86AddressMode::FrameIndexBase; in getAddressFromInstr()
95 AM.Base.FrameIndex = Op0.getIndex(); in getAddressFromInstr()
99 AM.Scale = Op1.getImm(); in getAddressFromInstr()
102 AM.IndexReg = Op2.getReg(); in getAddressFromInstr()
106 AM.GV = Op3.getGlobal(); in getAddressFromInstr()
108 AM.Disp = Op3.getImm(); in getAddressFromInstr()
110 return AM; in getAddressFromInstr()
[all …]
H A DX86ISelDAGToDAG.cpp203 bool foldOffsetIntoAddress(uint64_t Offset, X86ISelAddressMode &AM);
204 bool matchLoadInAddress(LoadSDNode *N, X86ISelAddressMode &AM,
206 bool matchWrapper(SDValue N, X86ISelAddressMode &AM);
207 bool matchAddress(SDValue N, X86ISelAddressMode &AM);
208 bool matchVectorAddress(SDValue N, X86ISelAddressMode &AM);
209 bool matchAdd(SDValue &N, X86ISelAddressMode &AM, unsigned Depth);
210 SDValue matchIndexRecursively(SDValue N, X86ISelAddressMode &AM,
212 bool matchAddressRecursively(SDValue N, X86ISelAddressMode &AM,
214 bool matchVectorAddressRecursively(SDValue N, X86ISelAddressMode &AM,
216 bool matchAddressBase(SDValue N, X86ISelAddressMode &AM);
[all …]
H A DX86FastISel.cpp78 bool X86FastEmitLoad(MVT VT, X86AddressMode &AM, MachineMemOperand *MMO,
81 bool X86FastEmitStore(EVT VT, const Value *Val, X86AddressMode &AM,
83 bool X86FastEmitStore(EVT VT, Register ValReg, X86AddressMode &AM,
89 bool X86SelectAddress(const Value *V, X86AddressMode &AM);
90 bool X86SelectCallAddress(const Value *V, X86AddressMode &AM);
137 bool handleConstantAddresses(const Value *V, X86AddressMode &AM);
166 X86AddressMode &AM);
216 X86AddressMode &AM) { in addFullAddress() argument
218 AM.IndexReg = constrainOperandRegClass(MIB->getDesc(), AM.IndexReg, in addFullAddress()
221 return ::addFullAddress(MIB, AM); in addFullAddress()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopPassManager.cpp26 LPMUpdater &>::run(Loop &L, LoopAnalysisManager &AM, in run() argument
30 ? runWithLoopNestPasses(L, AM, AR, U) in run()
31 : runWithoutLoopNestPasses(L, AM, AR, U); in run()
67 LoopPassManager::runWithLoopNestPasses(Loop &L, LoopAnalysisManager &AM, in runWithLoopNestPasses() argument
76 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithLoopNestPasses()
93 PassPA = runSinglePass(L, Pass, AM, AR, U, PI); in runWithLoopNestPasses()
112 PassPA = runSinglePass(*LoopNestPtr, Pass, AM, AR, U, PI); in runWithLoopNestPasses()
129 AM.invalidate(IsLoopNestPass[I] ? *OuterMostLoop : L, *PassPA); in runWithLoopNestPasses()
150 LoopPassManager::runWithoutLoopNestPasses(Loop &L, LoopAnalysisManager &AM, in runWithoutLoopNestPasses() argument
157 PassInstrumentation PI = AM.getResult<PassInstrumentationAnalysis>(L, AR); in runWithoutLoopNestPasses()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DRunLoopAutoreleaseLeakChecker.cpp53 AnalysisManager &AM,
83 AnalysisManager &AM, in emitDiagnostics() argument
89 AnalysisDeclContext *ADC = AM.getAnalysisDeclContext(D); in emitDiagnostics()
155 checkTempObjectsInSamePool(const Decl *D, AnalysisManager &AM, BugReporter &BR, in checkTempObjectsInSamePool() argument
168 auto Matches = match(GroupM, *D, AM.getASTContext()); in checkTempObjectsInSamePool()
170 emitDiagnostics(Match, D, BR, AM, Chkr); in checkTempObjectsInSamePool()
174 checkTempObjectsInNoPool(const Decl *D, AnalysisManager &AM, BugReporter &BR, in checkTempObjectsInNoPool() argument
188 auto Matches = match(GroupM, *D, AM.getASTContext()); in checkTempObjectsInNoPool()
191 emitDiagnostics(Match, D, BR, AM, Chkr); in checkTempObjectsInNoPool()
196 AnalysisManager &AM, in checkASTCodeBody() argument
[all …]
H A DObjCAutoreleaseWriteChecker.cpp53 AnalysisManager &AM,
112 AnalysisManager &AM, in emitDiagnostics() argument
114 AnalysisDeclContext *ADC = AM.getAnalysisDeclContext(D); in emitDiagnostics()
171 AnalysisManager &AM, in checkASTCodeBody() argument
229 auto Matches = match(MatcherM, *D, AM.getASTContext()); in checkASTCodeBody()
231 emitDiagnostics(Match, D, BR, AM, this); in checkASTCodeBody()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCGSCCPassManager.cpp69 CGSCCAnalysisManager &AM, in run() argument
74 AM.getResult<PassInstrumentationAnalysis>(InitialC, G); in run()
84 AM.getCachedResult<FunctionAnalysisManagerCGSCCProxy>(*C)->getManager(); in run()
94 PreservedAnalyses PassPA = Pass->run(*C, AM, G, UR); in run()
101 &AM.getResult<FunctionAnalysisManagerCGSCCProxy>(*C, G); in run()
122 AM.invalidate(*C, PassPA); in run()
143 ModuleToPostOrderCGSCCPassAdaptor::run(Module &M, ModuleAnalysisManager &AM) { in run() argument
146 AM.getResult<CGSCCAnalysisManagerModuleProxy>(M).getManager(); in run()
149 LazyCallGraph &CG = AM.getResult<LazyCallGraphAnalysis>(M); in run()
153 AM.getCachedResult<FunctionAnalysisManagerModuleProxy>(M)->getManager(); in run()
[all …]
H A DCFGPrinter.cpp110 PreservedAnalyses CFGViewerPass::run(Function &F, FunctionAnalysisManager &AM) { in run() argument
113 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run()
114 auto *BPI = &AM.getResult<BranchProbabilityAnalysis>(F); in run()
120 FunctionAnalysisManager &AM) { in run() argument
123 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run()
124 auto *BPI = &AM.getResult<BranchProbabilityAnalysis>(F); in run()
130 FunctionAnalysisManager &AM) { in run() argument
133 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run()
134 auto *BPI = &AM.getResult<BranchProbabilityAnalysis>(F); in run()
140 FunctionAnalysisManager &AM) { in run() argument
[all …]
H A DRegionInfo.cpp187 RegionInfo RegionInfoAnalysis::run(Function &F, FunctionAnalysisManager &AM) { in run() argument
189 auto *DT = &AM.getResult<DominatorTreeAnalysis>(F); in run()
190 auto *PDT = &AM.getResult<PostDominatorTreeAnalysis>(F); in run()
191 auto *DF = &AM.getResult<DominanceFrontierAnalysis>(F); in run()
201 FunctionAnalysisManager &AM) { in run() argument
203 AM.getResult<RegionInfoAnalysis>(F).print(OS); in run()
209 FunctionAnalysisManager &AM) { in run() argument
210 AM.getResult<RegionInfoAnalysis>(F).verifyAnalysis(); in run()
H A DCycleAnalysis.cpp30 FunctionAnalysisManager &AM) { in run() argument
32 AM.getResult<CycleAnalysis>(F).print(OS); in run()
38 FunctionAnalysisManager &AM) { in run() argument
39 CycleInfo &CI = AM.getResult<CycleAnalysis>(F); in run()
H A DDominanceFrontier.cpp79 FunctionAnalysisManager &AM) { in run() argument
81 DF.analyze(AM.getResult<DominatorTreeAnalysis>(F)); in run()
89 DominanceFrontierPrinterPass::run(Function &F, FunctionAnalysisManager &AM) { in run() argument
91 AM.getResult<DominanceFrontierAnalysis>(F).print(OS); in run()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPU.h72 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
78 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
85 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
122 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
131 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
141 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
150 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
244 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
253 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
262 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DExtraPassManager.h47 Result run(Loop &L, LoopAnalysisManager &AM, in run()
67 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM) { in run() argument
69 if (AM.getCachedResult<MarkerTy>(F)) in run()
70 PA.intersect(InnerFPM.run(F, AM)); in run()
91 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM, in run() argument
94 if (AM.getCachedResult<MarkerTy>(L)) in run()
95 PA.intersect(InnerLPM.run(L, AM, AR, U)); in run()
H A DCallGraphUpdater.h46 CGSCCAnalysisManager *AM = nullptr; variable
59 CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR) { in initialize() argument
62 this->AM = &AM; in initialize()
65 &AM.getResult<FunctionAnalysisManagerCGSCCProxy>(SCC, LCG).getManager(); in initialize()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DStripSymbols.h31 LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
35 LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
39 LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
43 LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
47 LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/
H A DObjCARC.h31 LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
35 LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
39 LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
43 LLVM_ABI PreservedAnalyses run(Function &M, FunctionAnalysisManager &AM);
47 LLVM_ABI PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPF.h53 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
60 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
67 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
75 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
82 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
91 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp152 bool expandAddress(SystemZAddressingMode &AM, bool IsBase) const;
155 bool selectAddress(SDValue N, SystemZAddressingMode &AM) const;
158 void getAddressOperands(const SystemZAddressingMode &AM, EVT VT,
160 void getAddressOperands(const SystemZAddressingMode &AM, EVT VT,
429 static void changeComponent(SystemZAddressingMode &AM, bool IsBase, in changeComponent() argument
432 AM.Base = Value; in changeComponent()
434 AM.Index = Value; in changeComponent()
440 static bool expandAdjDynAlloc(SystemZAddressingMode &AM, bool IsBase, in expandAdjDynAlloc() argument
442 if (AM.isDynAlloc() && !AM.IncludesDynAlloc) { in expandAdjDynAlloc()
443 changeComponent(AM, IsBase, Value); in expandAdjDynAlloc()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DTargetPassRegistry.inc157 PB.registerAnalysisRegistrationCallback([](ModuleAnalysisManager &AM) {
159 AM.registerPass([&] { return CREATE_PASS; });
164 PB.registerAnalysisRegistrationCallback([](FunctionAnalysisManager &AM) {
166 AM.registerPass([&] { return CREATE_PASS; });
171 PB.registerParseAACallback([](StringRef Name, AAManager &AM) {
174 AM.registerFunctionAnalysis< \
183 PB.registerAnalysisRegistrationCallback([](LoopAnalysisManager &AM) {
185 AM.registerPass([&] { return CREATE_PASS; });
191 [=](MachineFunctionAnalysisManager &AM) {
193 AM.registerPass([&] { return CREATE_PASS; });
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCGSCCPassManager.h133 CGSCCAnalysisManager &AM,
154 PreservedAnalyses run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
156 (void)AM.template getResult<AnalysisT>(C, CG);
204 CGSCCAnalysisManagerModuleProxy::run(Module &M, ModuleAnalysisManager &AM);
340 LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
401 LLVM_ABI Result run(LazyCallGraph::SCC &C, CGSCCAnalysisManager &AM,
425 CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR,
436 CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR,
473 CGSCCAnalysisManager &AM, LazyCallGraph &CG,
560 CGSCCAnalysisManager &AM, LazyCallGraph &CG,
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTX.h82 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
88 PreservedAnalyses run(Module &F, ModuleAnalysisManager &AM);
95 PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
99 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
108 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
112 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DEmbedBitcodePass.cpp25 PreservedAnalyses EmbedBitcodePass::run(Module &M, ModuleAnalysisManager &AM) { in run() argument
37 ThinLTOBitcodeWriterPass(OS, /*ThinLinkOS=*/nullptr).run(M, AM); in run()
40 .run(M, AM); in run()

12345678910>>...33