Home
last modified time | relevance | path

Searched refs:FPM (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilderPipelines.cpp331 void PassBuilder::invokePeepholeEPCallbacks(FunctionPassManager &FPM, in invokePeepholeEPCallbacks() argument
334 C(FPM, Level); in invokePeepholeEPCallbacks()
347 FunctionPassManager &FPM, OptimizationLevel Level) { in invokeScalarOptimizerLateEPCallbacks() argument
349 C(FPM, Level); in invokeScalarOptimizerLateEPCallbacks()
356 void PassBuilder::invokeVectorizerStartEPCallbacks(FunctionPassManager &FPM, in invokeVectorizerStartEPCallbacks() argument
359 C(FPM, Level); in invokeVectorizerStartEPCallbacks()
408 FunctionPassManager FPM; in buildO1FunctionSimplificationPipeline() local
411 FPM.addPass(CountVisitsPass()); in buildO1FunctionSimplificationPipeline()
415 FPM.addPass(SROAPass(SROAOptions::ModifyCFG)); in buildO1FunctionSimplificationPipeline()
418 FPM.addPass(EarlyCSEPass(true /* Enable mem-ssa. */)); in buildO1FunctionSimplificationPipeline()
[all …]
H A DPassBuilder.cpp1475 FunctionPassManager FPM; in parseModulePass() local
1476 if (auto Err = parseFunctionPassPipeline(FPM, InnerPipeline)) in parseModulePass()
1479 createModuleToFunctionPassAdaptor(std::move(FPM), Params->first)); in parseModulePass()
1636 FunctionPassManager FPM; in parseCGSCCPass() local
1637 if (auto Err = parseFunctionPassPipeline(FPM, InnerPipeline)) in parseCGSCCPass()
1641 std::move(FPM), Params->first, Params->second)); in parseCGSCCPass()
1735 Error PassBuilder::parseFunctionPass(FunctionPassManager &FPM, in parseFunctionPass() argument
1747 FPM.addPass(std::move(NestedFPM)); in parseFunctionPass()
1762 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM), UseMemorySSA, in parseFunctionPass()
1770 FPM.addPass(createFunctionToMachineFunctionPassAdaptor(std::move(MFPM))); in parseFunctionPass()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFTargetMachine.cpp122 FunctionPassManager FPM; in registerPassBuilderCallbacks() local
123 FPM.addPass(BPFPreserveStaticOffsetPass(true)); in registerPassBuilderCallbacks()
124 FPM.addPass(BPFAbstractMemberAccessPass(this)); in registerPassBuilderCallbacks()
125 FPM.addPass(BPFPreserveDITypePass()); in registerPassBuilderCallbacks()
126 FPM.addPass(BPFIRPeepholePass()); in registerPassBuilderCallbacks()
127 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in registerPassBuilderCallbacks()
129 PB.registerPeepholeEPCallback([=](FunctionPassManager &FPM, in registerPassBuilderCallbacks()
131 FPM.addPass(SimplifyCFGPass(SimplifyCFGOptions().hoistCommonInsts(true))); in registerPassBuilderCallbacks()
132 FPM.addPass(BPFASpaceCastSimplifyPass()); in registerPassBuilderCallbacks()
135 [=](FunctionPassManager &FPM, OptimizationLevel Level) { in registerPassBuilderCallbacks() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DRegionPrinter.cpp237 llvm::legacy::FunctionPassManager FPM(NonConstF->getParent()); in invokeFunctionPass()
238 FPM.add(ViewerPass); in invokeFunctionPass() local
239 FPM.doInitialization(); in invokeFunctionPass()
240 FPM.run(*NonConstF); in invokeFunctionPass()
241 FPM.doFinalization(); in invokeFunctionPass()
/freebsd/contrib/llvm-project/llvm/include/llvm/Passes/
H A DCodeGenPassBuilder.h173 if (!FPM.isEmpty()) in ~AddIRPass()
174 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in ~AddIRPass()
190 FPM.addPass(std::forward<PassT>(Pass)); in operator()
193 if (!FPM.isEmpty()) { in operator()
194 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in operator()
195 FPM = FunctionPassManager(); in operator()
204 FunctionPassManager FPM; variable
215 FunctionPassManager FPM; in ~AddMachinePass() local
216 FPM.addPass( in ~AddMachinePass()
218 FPM.addPass(InvalidateAnalysisPass<MachineFunctionAnalysis>()); in ~AddMachinePass()
[all …]
H A DPassBuilder.h360 Error parsePassPipeline(FunctionPassManager &FPM, StringRef PipelineText);
618 void invokePeepholeEPCallbacks(FunctionPassManager &FPM,
624 void invokeScalarOptimizerLateEPCallbacks(FunctionPassManager &FPM,
628 void invokeVectorizerStartEPCallbacks(FunctionPassManager &FPM,
704 void addVectorPasses(OptimizationLevel Level, FunctionPassManager &FPM,
712 Error parseFunctionPass(FunctionPassManager &FPM, const PipelineElement &E);
722 Error parseFunctionPassPipeline(FunctionPassManager &FPM,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroCleanup.cpp126 FunctionPassManager FPM; in run() local
127 FPM.addPass(SimplifyCFGPass()); in run()
136 FPM.run(F, FAM); in run()
/freebsd/contrib/llvm-project/llvm/tools/llc/
H A DNewPMDriver.cpp139 FunctionPassManager FPM; in compileModuleWithNewPM() local
155 FPM.addPass(createFunctionToMachineFunctionPassAdaptor(std::move(MFPM))); in compileModuleWithNewPM()
156 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in compileModuleWithNewPM()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DBackendUtil.cpp655 [&](FunctionPassManager &FPM, OptimizationLevel Level) { in addKCFIPass() argument
658 FPM.addPass(KCFIPass()); in addKCFIPass()
694 FunctionPassManager FPM; in addSanitizers() local
695 FPM.addPass(EarlyCSEPass(true /* Enable mem-ssa. */)); in addSanitizers()
696 FPM.addPass(InstCombinePass()); in addSanitizers()
697 FPM.addPass(JumpThreadingPass()); in addSanitizers()
698 FPM.addPass(GVNPass()); in addSanitizers()
699 FPM.addPass(InstCombinePass()); in addSanitizers()
700 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in addSanitizers()
769 [](FunctionPassManager &FPM, OptimizationLevel Level) { in addSanitizers() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXTargetMachine.cpp234 FunctionPassManager FPM; in registerPassBuilderCallbacks() local
235 FPM.addPass(NVVMReflectPass(Subtarget.getSmVersion())); in registerPassBuilderCallbacks()
238 FPM.addPass(NVVMIntrRangePass()); in registerPassBuilderCallbacks()
239 PM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in registerPassBuilderCallbacks()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.cpp671 FunctionPassManager FPM; in registerPassBuilderCallbacks() local
672 PM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in registerPassBuilderCallbacks()
696 [](FunctionPassManager &FPM, OptimizationLevel Level) { in registerPassBuilderCallbacks() argument
700 FPM.addPass(AMDGPUUseNativeCallsPass()); in registerPassBuilderCallbacks()
702 FPM.addPass(AMDGPUSimplifyLibCallsPass()); in registerPassBuilderCallbacks()
710 FunctionPassManager FPM; in registerPassBuilderCallbacks() local
717 FPM.addPass(AMDGPUPromoteKernelArgumentsPass()); in registerPassBuilderCallbacks()
721 FPM.addPass(InferAddressSpacesPass()); in registerPassBuilderCallbacks()
725 FPM.addPass(AMDGPULowerKernelAttributesPass()); in registerPassBuilderCallbacks()
731 FPM.addPass(AMDGPUPromoteAllocaToVectorPass(*this)); in registerPassBuilderCallbacks()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLegacyPassManager.cpp1328 FPM = new legacy::FunctionPassManagerImpl(); in FunctionPassManager()
1330 FPM->setTopLevelManager(FPM); in FunctionPassManager()
1332 AnalysisResolver *AR = new AnalysisResolver(*FPM); in FunctionPassManager()
1333 FPM->setResolver(AR); in FunctionPassManager()
1337 delete FPM; in ~FunctionPassManager()
1341 FPM->add(P); in add()
1352 return FPM->run(F); in run()
1359 return FPM->doInitialization(*M); in doInitialization()
1365 return FPM->doFinalization(*M); in doFinalization()
H A DCore.cpp4484 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMInitializeFunctionPassManager() argument
4485 return unwrap<legacy::FunctionPassManager>(FPM)->doInitialization(); in LLVMInitializeFunctionPassManager()
4488 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F) { in LLVMRunFunctionPassManager() argument
4489 return unwrap<legacy::FunctionPassManager>(FPM)->run(*unwrap<Function>(F)); in LLVMRunFunctionPassManager()
4492 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM) { in LLVMFinalizeFunctionPassManager() argument
4493 return unwrap<legacy::FunctionPassManager>(FPM)->doFinalization(); in LLVMFinalizeFunctionPassManager()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp290 legacy::FunctionPassManager FPM(F.getParent()); in runImpl() local
293 FPM.add(new TargetLibraryInfoWrapperPass(TLI)); in runImpl()
295 FPM.add(PBS); in runImpl()
296 FPM.run(F); in runImpl()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLegacyPassManager.h95 FunctionPassManagerImpl *FPM;
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DIRMutator.cpp83 FunctionPassManager FPM; in eliminateDeadCode() local
84 FPM.addPass(DCEPass()); in eliminateDeadCode()
88 FPM.run(F, FAM); in eliminateDeadCode()
/freebsd/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h4697 LLVMBool LLVMInitializeFunctionPassManager(LLVMPassManagerRef FPM);
4703 LLVMBool LLVMRunFunctionPassManager(LLVMPassManagerRef FPM, LLVMValueRef F);
4708 LLVMBool LLVMFinalizeFunctionPassManager(LLVMPassManagerRef FPM);
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dfsl-fman.txt72 - FPM configuration registers.
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ScheduleBtVer2.td38 def JFPU1 : ProcResource<1>; // Vector/FPU Pipe1: VALU1/STC/FPM
/freebsd/contrib/one-true-awk/testdir/
H A Dfunstack.in21564 note = "See also \cite{Knuth:1977:FPM} and \cite{Sunday:1990:VFS}.",
26445 note = "See also \cite{Boyer:1977:FSS} and \cite{Knuth:1977:FPM}.",
26563 @Article{Knuth:1977:FPM,