Home
last modified time | relevance | path

Searched refs:addPass (Results 1 – 25 of 74) sorted by relevance

123

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/
DPassBuilder.cpp353 FPM.addPass(SROA()); in buildFunctionSimplificationPipeline()
356 FPM.addPass(EarlyCSEPass(EnableEarlyCSEMemSSA)); in buildFunctionSimplificationPipeline()
360 FPM.addPass(GVNHoistPass()); in buildFunctionSimplificationPipeline()
364 FPM.addPass(GVNSinkPass()); in buildFunctionSimplificationPipeline()
365 FPM.addPass(SimplifyCFGPass()); in buildFunctionSimplificationPipeline()
369 FPM.addPass(SpeculativeExecutionPass()); in buildFunctionSimplificationPipeline()
372 FPM.addPass(JumpThreadingPass()); in buildFunctionSimplificationPipeline()
373 FPM.addPass(CorrelatedValuePropagationPass()); in buildFunctionSimplificationPipeline()
374 FPM.addPass(SimplifyCFGPass()); in buildFunctionSimplificationPipeline()
376 FPM.addPass(AggressiveInstCombinePass()); in buildFunctionSimplificationPipeline()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.cpp192 addPass(createGVNPass()); in addEarlyCSEOrGVNPass()
194 addPass(createEarlyCSEPass()); in addEarlyCSEOrGVNPass()
200 addPass(createSROAPass()); in addAddressSpaceInferencePasses()
201 addPass(createNVPTXLowerAllocaPass()); in addAddressSpaceInferencePasses()
203 addPass(createNVPTXInferAddressSpacesPass()); in addAddressSpaceInferencePasses()
205 addPass(createNVPTXFavorNonGenericAddrSpacesPass()); in addAddressSpaceInferencePasses()
209 addPass(createDeadCodeEliminationPass()); in addAddressSpaceInferencePasses()
214 addPass(createSeparateConstOffsetFromGEPPass()); in addStraightLineScalarOptimizationPasses()
215 addPass(createSpeculativeExecutionPass()); in addStraightLineScalarOptimizationPasses()
218 addPass(createStraightLineStrengthReducePass()); in addStraightLineScalarOptimizationPasses()
[all …]
/external/llvm/lib/CodeGen/
DTargetPassConfig.cpp339 void TargetPassConfig::addPass(Pass *P, bool verifyAfter, bool printAfter) { in addPass() function in TargetPassConfig
366 addPass(IP.getInsertedPass(), IP.VerifyAfter, IP.PrintAfter); in addPass()
384 AnalysisID TargetPassConfig::addPass(AnalysisID PassID, bool verifyAfter, in addPass() function in TargetPassConfig
400 addPass(P, verifyAfter, printAfter); // Ends the lifetime of P. in addPass()
425 addPass(createCFLSteensAAWrapperPass()); in addIRPasses()
428 addPass(createCFLAndersAAWrapperPass()); in addIRPasses()
431 addPass(createCFLAndersAAWrapperPass()); in addIRPasses()
432 addPass(createCFLSteensAAWrapperPass()); in addIRPasses()
442 addPass(createTypeBasedAAWrapperPass()); in addIRPasses()
443 addPass(createScopedNoAliasAAWrapperPass()); in addIRPasses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXTargetMachine.cpp210 addPass(createGVNPass()); in addEarlyCSEOrGVNPass()
212 addPass(createEarlyCSEPass()); in addEarlyCSEOrGVNPass()
218 addPass(createSROAPass()); in addAddressSpaceInferencePasses()
219 addPass(createNVPTXLowerAllocaPass()); in addAddressSpaceInferencePasses()
220 addPass(createInferAddressSpacesPass()); in addAddressSpaceInferencePasses()
224 addPass(createSeparateConstOffsetFromGEPPass()); in addStraightLineScalarOptimizationPasses()
225 addPass(createSpeculativeExecutionPass()); in addStraightLineScalarOptimizationPasses()
228 addPass(createStraightLineStrengthReducePass()); in addStraightLineScalarOptimizationPasses()
234 addPass(createNaryReassociatePass()); in addStraightLineScalarOptimizationPasses()
237 addPass(createEarlyCSEPass()); in addStraightLineScalarOptimizationPasses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp476 void TargetPassConfig::addPass(Pass *P, bool verifyAfter, bool printAfter) { in addPass() function in TargetPassConfig
505 addPass(IP.getInsertedPass(), IP.VerifyAfter, IP.PrintAfter); in addPass()
523 AnalysisID TargetPassConfig::addPass(AnalysisID PassID, bool verifyAfter, in addPass() function in TargetPassConfig
539 addPass(P, verifyAfter, printAfter); // Ends the lifetime of P. in addPass()
569 addPass(createCFLSteensAAWrapperPass()); in addIRPasses()
572 addPass(createCFLAndersAAWrapperPass()); in addIRPasses()
575 addPass(createCFLAndersAAWrapperPass()); in addIRPasses()
576 addPass(createCFLSteensAAWrapperPass()); in addIRPasses()
586 addPass(createTypeBasedAAWrapperPass()); in addIRPasses()
587 addPass(createScopedNoAliasAAWrapperPass()); in addIRPasses()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dtf_tfl_passes.cc40 pass_manager->addPass(mlir::TFL::CreatePrepareQuantizePass(quant_specs)); in AddQuantizationPasses()
41 pass_manager->addPass(mlir::TFL::CreateQuantizePass()); in AddQuantizationPasses()
44 pass_manager->addPass( in AddQuantizationPasses()
49 pass_manager->addPass(mlir::TFL::CreateDefaultQuantParamsPass( in AddQuantizationPasses()
52 pass_manager->addPass(mlir::TFL::CreateQuantizePass()); in AddQuantizationPasses()
53 pass_manager->addPass( in AddQuantizationPasses()
60 pass_manager->addPass(mlir::tf_executor::CreateSwitchFoldPass()); in AddTFToTFLConversionPasses()
63 pass_manager->addPass( in AddTFToTFLConversionPasses()
67 pass_manager->addPass(mlir::createCanonicalizerPass()); in AddTFToTFLConversionPasses()
70 pass_manager->addPass(mlir::TFDevice::CreateClusterFormationPass()); in AddTFToTFLConversionPasses()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetMachine.cpp336 addPass(createGVNPass()); in addEarlyCSEOrGVNPass()
338 addPass(createEarlyCSEPass()); in addEarlyCSEOrGVNPass()
342 addPass(createSeparateConstOffsetFromGEPPass()); in addStraightLineScalarOptimizationPasses()
343 addPass(createSpeculativeExecutionPass()); in addStraightLineScalarOptimizationPasses()
346 addPass(createStraightLineStrengthReducePass()); in addStraightLineScalarOptimizationPasses()
351 addPass(createNaryReassociatePass()); in addStraightLineScalarOptimizationPasses()
354 addPass(createEarlyCSEPass()); in addStraightLineScalarOptimizationPasses()
364 addPass(createAMDGPUAlwaysInlinePass()); in addIRPasses()
365 addPass(createAlwaysInlinerPass()); in addIRPasses()
371 addPass(createBarrierNoopPass()); in addIRPasses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetMachine.cpp586 addPass(createGVNPass()); in addEarlyCSEOrGVNPass()
588 addPass(createEarlyCSEPass()); in addEarlyCSEOrGVNPass()
592 addPass(createLICMPass()); in addStraightLineScalarOptimizationPasses()
593 addPass(createSeparateConstOffsetFromGEPPass()); in addStraightLineScalarOptimizationPasses()
594 addPass(createSpeculativeExecutionPass()); in addStraightLineScalarOptimizationPasses()
597 addPass(createStraightLineStrengthReducePass()); in addStraightLineScalarOptimizationPasses()
602 addPass(createNaryReassociatePass()); in addStraightLineScalarOptimizationPasses()
605 addPass(createEarlyCSEPass()); in addStraightLineScalarOptimizationPasses()
616 addPass(createAMDGPULowerIntrinsicsPass()); in addIRPasses()
621 addPass(createAMDGPUAlwaysInlinePass()); in addIRPasses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp204 addPass(createLowerAtomicPass()); in addIRPasses()
205 addPass(new StripThreadLocal()); in addIRPasses()
209 addPass(createAtomicExpandPass()); in addIRPasses()
213 addPass(createWebAssemblyAddMissingPrototypes()); in addIRPasses()
216 addPass(createWebAssemblyLowerGlobalDtors()); in addIRPasses()
220 addPass(createWebAssemblyFixFunctionBitcasts()); in addIRPasses()
224 addPass(createWebAssemblyOptimizeReturned()); in addIRPasses()
233 addPass(createLowerInvokePass()); in addIRPasses()
236 addPass(createUnreachableBlockEliminationPass()); in addIRPasses()
241 addPass(createWebAssemblyLowerEmscriptenEHSjLj(EnableEmException, in addIRPasses()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DCGSCCPassManagerTest.cpp257 MPM.addPass(RequireAnalysisPass<TestModuleAnalysis, Module>()); in TEST_F()
262 FPM1.addPass(LambdaFunctionPass([&](Function &, FunctionAnalysisManager &) { in TEST_F()
266 CGPM1.addPass(createCGSCCToFunctionPassAdaptor(std::move(FPM1))); in TEST_F()
272 CGPM1.addPass( in TEST_F()
302 FPM2.addPass(LambdaFunctionPass([&](Function &, FunctionAnalysisManager &) { in TEST_F()
306 CGPM1.addPass(createCGSCCToFunctionPassAdaptor(std::move(FPM2))); in TEST_F()
308 MPM.addPass(createModuleToPostOrderCGSCCPassAdaptor(std::move(CGPM1))); in TEST_F()
312 FPM3.addPass(LambdaFunctionPass([&](Function &, FunctionAnalysisManager &) { in TEST_F()
316 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM3))); in TEST_F()
342 MPM.addPass(RequireAnalysisPass<TestModuleAnalysis, Module>()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86TargetMachine.cpp405 addPass(createAtomicExpandPass()); in addIRPasses()
410 addPass(createInterleavedAccessPass()); in addIRPasses()
415 addPass(createIndirectBrExpandPass()); in addIRPasses()
420 addPass(createX86ISelDag(getX86TargetMachine(), getOptLevel())); in addInstSelector()
425 addPass(createCleanupLocalDynamicTLSPass()); in addInstSelector()
427 addPass(createX86GlobalBaseRegPass()); in addInstSelector()
432 addPass(new IRTranslator()); in addIRTranslator()
437 addPass(new Legalizer()); in addLegalizeMachineIR()
442 addPass(new RegBankSelect()); in addRegBankSelect()
447 addPass(new InstructionSelect()); in addGlobalInstructionSelect()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp309 addPass(createConstantPropagationPass()); in addIRPasses()
310 addPass(createDeadCodeEliminationPass()); in addIRPasses()
313 addPass(createAtomicExpandPass()); in addIRPasses()
316 addPass(createLoopDataPrefetchPass()); in addIRPasses()
318 addPass(createHexagonCommonGEP()); in addIRPasses()
321 addPass(createHexagonGenExtract()); in addIRPasses()
330 addPass(createHexagonOptimizeSZextends()); in addInstSelector()
332 addPass(createHexagonISelDag(TM, getOptLevel())); in addInstSelector()
336 addPass(createHexagonVExtract()); in addInstSelector()
339 addPass(createHexagonGenPredicate()); in addInstSelector()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonTargetMachine.cpp225 addPass(createAtomicExpandPass(TM)); in addIRPasses()
228 addPass(createHexagonCommonGEP()); in addIRPasses()
231 addPass(createHexagonGenExtract()); in addIRPasses()
240 addPass(createHexagonOptimizeSZextends()); in addInstSelector()
242 addPass(createHexagonISelDag(TM, getOptLevel())); in addInstSelector()
247 addPass(createHexagonGenPredicate(), false); in addInstSelector()
250 addPass(createHexagonLoopRescheduling(), false); in addInstSelector()
253 addPass(createHexagonSplitDoubleRegs()); in addInstSelector()
256 addPass(createHexagonBitSimplify(), false); in addInstSelector()
257 addPass(createHexagonPeephole()); in addInstSelector()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp142 addPass(createLowerAtomicPass()); in addIRPasses()
146 addPass(createAtomicExpandPass(TM)); in addIRPasses()
150 addPass(createWebAssemblyOptimizeReturned()); in addIRPasses()
157 addPass( in addInstSelector()
162 addPass(createWebAssemblyArgumentMove()); in addInstSelector()
166 addPass(createWebAssemblySetP2AlignOperands()); in addInstSelector()
195 addPass(createWebAssemblyReplacePhysRegs()); in addPreEmitPass()
199 addPass(createWebAssemblyPrepareForLiveIntervals()); in addPreEmitPass()
202 addPass(createWebAssemblyOptimizeLiveIntervals()); in addPreEmitPass()
205 addPass(createWebAssemblyStoreResults()); in addPreEmitPass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp377 addPass(createAtomicExpandPass()); in addIRPasses()
383 addPass(createCFGSimplificationPass(1, true, true, false, true)); in addIRPasses()
391 addPass(createLoopDataPrefetchPass()); in addIRPasses()
393 addPass(createFalkorMarkStridedAccessesPass()); in addIRPasses()
400 addPass(createInterleavedAccessPass()); in addIRPasses()
406 addPass(createSeparateConstOffsetFromGEPPass(true)); in addIRPasses()
409 addPass(createEarlyCSEPass()); in addIRPasses()
412 addPass(createLICMPass()); in addIRPasses()
421 addPass(createAArch64PromoteConstantPass()); in addPreISel()
430 addPass(createGlobalMergePass(TM, 4095, OnlyOptimizeForSize)); in addPreISel()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp336 addPass(createPPCBoolRetToIntPass()); in addIRPasses()
337 addPass(createAtomicExpandPass()); in addIRPasses()
346 addPass(createLoopDataPrefetchPass()); in addIRPasses()
352 addPass(createSeparateConstOffsetFromGEPPass(true)); in addIRPasses()
355 addPass(createEarlyCSEPass()); in addIRPasses()
358 addPass(createLICMPass()); in addIRPasses()
366 addPass(createPPCLoopPreIncPrepPass(getPPCTargetMachine())); in addPreISel()
369 addPass(createPPCCTRLoops()); in addPreISel()
375 addPass(&EarlyIfConverterID); in addILPOpts()
378 addPass(&MachineCombinerID); in addILPOpts()
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64TargetMachine.cpp302 addPass(createAtomicExpandPass(TM)); in addIRPasses()
308 addPass(createCFGSimplificationPass()); in addIRPasses()
315 addPass(createLoopDataPrefetchPass()); in addIRPasses()
321 addPass(createInterleavedAccessPass(TM)); in addIRPasses()
327 addPass(createSeparateConstOffsetFromGEPPass(TM, true)); in addIRPasses()
330 addPass(createEarlyCSEPass()); in addIRPasses()
333 addPass(createLICMPass()); in addIRPasses()
342 addPass(createAArch64PromoteConstantPass()); in addPreISel()
351 addPass(createGlobalMergePass(TM, 4095, OnlyOptimizeForSize)); in addPreISel()
355 addPass(createAArch64AddressTypePromotionPass()); in addPreISel()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dbridge.cc32 pm.nest<FuncOp>().addPass( in CreateTPUBridge()
36 pm.addPass(TF::CreateTFShapeInferencePass()); in CreateTPUBridge()
38 func_pm.addPass(CreateTPUClusterFormationPass()); in CreateTPUBridge()
39 func_pm.addPass(createCanonicalizerPass()); in CreateTPUBridge()
43 func_pm.addPass(TFDevice::CreateDecomposeResourceOpsPass()); in CreateTPUBridge()
47 pm.addPass(TF::CreateTFShapeInferencePass()); in CreateTPUBridge()
49 func_pm2.addPass(tf_executor::CreateTFExecutorConstantSinkingPass()); in CreateTPUBridge()
50 func_pm2.addPass(TFDevice::CreateResourceOpLiftingPass()); in CreateTPUBridge()
52 pm.addPass(TF::CreateResourceDeviceInferencePass()); in CreateTPUBridge()
53 pm.addPass(TFDevice::CreateClusterOutliningPass()); in CreateTPUBridge()
[all …]
/external/llvm/lib/Passes/
DPassBuilder.cpp239 EarlyFPM.addPass(SimplifyCFGPass()); in addPerModuleDefaultPipeline()
240 EarlyFPM.addPass(SROA()); in addPerModuleDefaultPipeline()
241 EarlyFPM.addPass(EarlyCSEPass()); in addPerModuleDefaultPipeline()
242 EarlyFPM.addPass(LowerExpectIntrinsicPass()); in addPerModuleDefaultPipeline()
244 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(EarlyFPM))); in addPerModuleDefaultPipeline()
259 LateFPM.addPass(InstCombinePass()); in addLTODefaultPipeline()
260 LateFPM.addPass(SimplifyCFGPass()); in addLTODefaultPipeline()
262 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(LateFPM))); in addLTODefaultPipeline()
349 MPM.addPass(CREATE_PASS); \ in parseModulePassName()
354 MPM.addPass(RequireAnalysisPass< \ in parseModulePassName()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCTargetMachine.cpp324 addPass(createPPCBoolRetToIntPass()); in addIRPasses()
325 addPass(createAtomicExpandPass(&getPPCTargetMachine())); in addIRPasses()
334 addPass(createLoopDataPrefetchPass()); in addIRPasses()
340 addPass(createSeparateConstOffsetFromGEPPass(TM, true)); in addIRPasses()
343 addPass(createEarlyCSEPass()); in addIRPasses()
346 addPass(createLICMPass()); in addIRPasses()
354 addPass(createPPCLoopPreIncPrepPass(getPPCTargetMachine())); in addPreISel()
357 addPass(createPPCCTRLoops(getPPCTargetMachine())); in addPreISel()
363 addPass(&EarlyIfConverterID); in addILPOpts()
366 addPass(&MachineCombinerID); in addILPOpts()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMTargetMachine.cpp386 addPass(createLowerAtomicPass()); in addIRPasses()
388 addPass(createAtomicExpandPass()); in addIRPasses()
394 addPass(createCFGSimplificationPass( in addIRPasses()
404 addPass(createInterleavedAccessPass()); in addIRPasses()
409 addPass(createARMCodeGenPreparePass()); in addCodeGenPrepare()
415 addPass(createARMParallelDSPPass()); in addPreISel()
432 addPass(createGlobalMergePass(TM, 127, OnlyOptimizeForSize, in addPreISel()
440 addPass(createARMISelDag(getARMTargetMachine(), getOptLevel())); in addInstSelector()
445 addPass(new IRTranslator()); in addIRTranslator()
450 addPass(new Legalizer()); in addLegalizeMachineIR()
[all …]
/external/llvm/lib/Target/X86/
DX86TargetMachine.cpp273 addPass(createAtomicExpandPass(&getX86TargetMachine())); in addIRPasses()
280 addPass(createX86ISelDag(getX86TargetMachine(), getOptLevel())); in addInstSelector()
285 addPass(createCleanupLocalDynamicTLSPass()); in addInstSelector()
287 addPass(createX86GlobalBaseRegPass()); in addInstSelector()
292 addPass(&EarlyIfConverterID); in addILPOpts()
294 addPass(&MachineCombinerID); in addILPOpts()
302 addPass(createX86WinEHStatePass()); in addPreISel()
308 addPass(createX86FixupSetCC()); in addPreRegAlloc()
309 addPass(createX86OptimizeLEAs()); in addPreRegAlloc()
310 addPass(createX86CallFrameOptimization()); in addPreRegAlloc()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp135 addPass(createAtomicExpandPass(&getSparcTargetMachine())); in addIRPasses()
141 addPass(createSparcISelDag(getSparcTargetMachine())); in addInstSelector()
146 addPass(createSparcDelaySlotFillerPass(getSparcTargetMachine())); in addPreEmitPass()
148 addPass(new IgnoreZeroFlag(getSparcTargetMachine())); in addPreEmitPass()
151 addPass(new ReplaceSDIV(getSparcTargetMachine())); in addPreEmitPass()
154 addPass(new FixCALL(getSparcTargetMachine())); in addPreEmitPass()
157 addPass(new FixFSMULD(getSparcTargetMachine())); in addPreEmitPass()
160 addPass(new ReplaceFMULS(getSparcTargetMachine())); in addPreEmitPass()
163 addPass(new PreventRoundChange(getSparcTargetMachine())); in addPreEmitPass()
166 addPass(new FixAllFDIVSQRT(getSparcTargetMachine())); in addPreEmitPass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp187 addPass(createSystemZTDCPass()); in addIRPasses()
188 addPass(createLoopDataPrefetchPass()); in addIRPasses()
195 addPass(createSystemZISelDag(getSystemZTargetMachine(), getOptLevel())); in addInstSelector()
198 addPass(createSystemZLDCleanupPass(getSystemZTargetMachine())); in addInstSelector()
204 addPass(&EarlyIfConverterID); in addILPOpts()
209 addPass(createSystemZExpandPseudoPass(getSystemZTargetMachine())); in addPreSched2()
212 addPass(&IfConverterID); in addPreSched2()
220 addPass(createSystemZShortenInstPass(getSystemZTargetMachine()), false); in addPreEmitPass()
246 addPass(createSystemZElimComparePass(getSystemZTargetMachine()), false); in addPreEmitPass()
247 addPass(createSystemZLongBranchPass(getSystemZTargetMachine())); in addPreEmitPass()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp258 addPass(createAtomicExpandPass()); in addIRPasses()
260 addPass(createMipsOs16Pass()); in addIRPasses()
262 addPass(createMips16HardFloatPass()); in addIRPasses()
267 addPass(createMipsModuleISelDagPass()); in addInstSelector()
268 addPass(createMips16ISelDag(getMipsTargetMachine(), getOptLevel())); in addInstSelector()
269 addPass(createMipsSEISelDag(getMipsTargetMachine(), getOptLevel())); in addInstSelector()
274 addPass(createMipsOptimizePICCallPass()); in addPreRegAlloc()
297 addPass(createMipsExpandPseudoPass()); in addPreEmitPass()
301 addPass(createMicroMipsSizeReducePass()); in addPreEmitPass()
305 addPass(createMipsDelaySlotFillerPass()); in addPreEmitPass()
[all …]

123