/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/ |
D | PassBuilder.cpp | 353 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/CodeGen/ |
D | TargetPassConfig.cpp | 339 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/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetMachine.cpp | 192 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/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | TargetPassConfig.cpp | 476 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
D | NVPTXTargetMachine.cpp | 210 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/Target/AMDGPU/ |
D | AMDGPUTargetMachine.cpp | 586 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/llvm/lib/Target/AMDGPU/ |
D | AMDGPUTargetMachine.cpp | 336 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/WebAssembly/ |
D | WebAssemblyTargetMachine.cpp | 204 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/ |
D | CGSCCPassManagerTest.cpp | 257 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/ |
D | X86TargetMachine.cpp | 405 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/ |
D | HexagonTargetMachine.cpp | 309 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/ |
D | HexagonTargetMachine.cpp | 225 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/ |
D | WebAssemblyTargetMachine.cpp | 142 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/ |
D | AArch64TargetMachine.cpp | 374 addPass(createAtomicExpandPass()); in addIRPasses() 380 addPass(createCFGSimplificationPass(1, true, true, false, true)); in addIRPasses() 388 addPass(createLoopDataPrefetchPass()); in addIRPasses() 390 addPass(createFalkorMarkStridedAccessesPass()); in addIRPasses() 397 addPass(createInterleavedAccessPass()); in addIRPasses() 403 addPass(createSeparateConstOffsetFromGEPPass(true)); in addIRPasses() 406 addPass(createEarlyCSEPass()); in addIRPasses() 409 addPass(createLICMPass()); in addIRPasses() 418 addPass(createAArch64PromoteConstantPass()); in addPreISel() 427 addPass(createGlobalMergePass(TM, 4095, OnlyOptimizeForSize)); in addPreISel() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.cpp | 302 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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/ |
D | PPCTargetMachine.cpp | 336 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/Passes/ |
D | PassBuilder.cpp | 239 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/ |
D | PPCTargetMachine.cpp | 324 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/ |
D | ARMTargetMachine.cpp | 386 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/ |
D | X86TargetMachine.cpp | 273 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/ |
D | SparcTargetMachine.cpp | 135 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/Mips/ |
D | MipsTargetMachine.cpp | 258 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 …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetMachine.cpp | 187 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/tools/llvm-ld/ |
D | Optimize.cpp | 67 static inline void addPass(PassManager &PM, Pass *P) { in addPass() function 90 addPass(Passes, new TargetData(M)); in Optimize() 100 addPass(Passes, createStripSymbolsPass(StripDebug && !Strip)); in Optimize() 107 addPass(Passes, Opt->getNormalCtor()()); in Optimize() 116 addPass(Passes, createInstructionCombiningPass()); in Optimize() 117 addPass(Passes, createCFGSimplificationPass()); in Optimize() 118 addPass(Passes, createAggressiveDCEPass()); in Optimize() 119 addPass(Passes, createGlobalDCEPass()); in Optimize()
|
/external/llvm/unittests/IR/ |
D | PassManagerTest.cpp | 241 NestedFPM.addPass(TestFunctionPass( in TEST_F() 245 NestedMPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 251 MPM.addPass(TestModulePass(ModulePassRunCount)); in TEST_F() 259 FPM.addPass(TestFunctionPass(FunctionPassRunCount2, AnalyzedInstrCount2, in TEST_F() 261 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 266 MPM.addPass(TestPreservingModulePass()); in TEST_F() 272 FPM.addPass(TestFunctionPass(FunctionPassRunCount3, AnalyzedInstrCount3, in TEST_F() 274 FPM.addPass(TestInvalidationFunctionPass("f")); in TEST_F() 275 MPM.addPass(createModuleToFunctionPassAdaptor(std::move(FPM))); in TEST_F() 279 MPM.addPass(TestMinPreservingModulePass()); in TEST_F() [all …]
|