HomeSort by relevance Sort by last modified time
    Searched refs:Pass (Results 1 - 25 of 224) sorted by null

1 2 3 4 5 6 7 8 9

  /external/llvm/include/llvm/Transforms/
ObjCARC.h 20 class Pass;
26 Pass *createObjCARCAPElimPass();
32 Pass *createObjCARCExpandPass();
38 Pass *createObjCARCContractPass();
44 Pass *createObjCARCOptPass();
IPO.h 25 class Pass;
46 // These pass removes llvm.dbg.declare intrinsics.
51 // These pass removes unused symbols' debug info.
55 /// createConstantMergePass - This function returns a new pass that merges
64 /// createGlobalOptimizerPass - This function returns a new pass that optimizes
82 /// createGVExtractionPass - If deleteFn is true, this pass deletes
90 /// This pass performs iterative function importing from other modules.
91 Pass *createFunctionImportPass(const FunctionInfoIndex *Index = nullptr);
94 /// createFunctionInliningPass - Return a new pass object that uses a heuristic
102 Pass *createFunctionInliningPass()
    [all...]
Scalar.h 27 class Pass;
36 // ConstantPropagation - A worklist driven constant propagation pass
55 // DeadInstElimination - This pass quickly removes trivially dead instructions
59 Pass *createDeadInstEliminationPass();
63 // DeadCodeElimination - This pass is more powerful than DeadInstElimination,
72 // DeadStoreElimination - This pass deletes stores that are post-dominated by
79 // AggressiveDCE - This pass uses the SSA based Aggressive DCE algorithm. This
87 // BitTrackingDCE - This pass uses a bit-tracking DCE algorithm in order to
114 Pass *createInductiveRangeCheckEliminationPass();
121 Pass *createIndVarSimplifyPass()
    [all...]
Vectorize.h 21 class Pass;
111 // BBVectorize - A basic-block vectorization pass.
118 // LoopVectorize - Create a loop vectorization pass.
120 Pass *createLoopVectorizePass(bool NoUnrolling = false,
125 // SLPVectorizer - Create a bottom-up SLP vectorizer pass.
127 Pass *createSLPVectorizerPass();
133 /// @param P The current running pass, should require AliasAnalysis and
139 bool vectorizeBasicBlock(Pass *P, BasicBlock &BB,
  /external/clang/test/CodeGenCXX/
2004-09-27-DidntEmitTemplate.cpp 7 struct Pass {};
10 Pass *callDefaultCtor() { return new Pass(); }
12 void foo(Pass *(*C)());
22 void baz() { foo(callDefaultCtor<Pass>); }
2003-11-27-MultipleInheritanceThunk.cpp 18 struct Pass {
23 struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
  /external/llvm/include/llvm/IR/
LegacyPassManagers.h 1 //===- LegacyPassManagers.h - Legacy Pass Infrastructure --------*- C++ -*-===//
10 // This file declares the LLVM Pass Manager infrastructure.
22 #include "llvm/Pass.h"
28 // The Pass Manager Infrastructure manages passes. It's responsibilities are:
30 // o Manage optimization pass execution order
31 // o Make required Analysis information available before pass P is run
33 // o If Analysis information is dirtied by a pass then regenerate Analysis
34 // information before it is consumed by another pass.
36 // Pass Manager Infrastructure uses multiple pass managers. They ar
    [all...]
LegacyPassManager.h 12 // that analysis results are available before a pass runs, and that Pass's are
20 #include "llvm/Pass.h"
25 class Pass;
34 /// a pass manager without having to hard-code what kind of pass manager
40 /// Add a pass to the queue of passes to run. This passes ownership of
41 /// the Pass to the PassManager. When the PassManager is destroyed, the pass
42 /// will be destroyed as well, so there is no need to delete the pass. Thi
    [all...]
PassManagerInternal.h 12 /// pass management interfaces exposed in PassManager.h. To understand more
29 /// \brief Implementation details of the pass manager interfaces.
33 /// polymorphically over pass objects.
38 /// \brief The polymorphic API which runs the pass over a given IR entity.
40 /// Note that actual pass object can omit the analysis manager argument if
42 /// analysis manager in the pass pipeline.
45 /// \brief Polymorphic method to access the name of a pass.
71 /// an \c IRUnitT. It requires the pass to be a copyable object. When the
72 /// \c run method also accepts an \c AnalysisManager<IRUnitT>*, we pass it
85 explicit PassModel(PassT Pass) : Pass(std::move(Pass)) {
    [all...]
  /external/llvm/lib/IR/
Pass.cpp 1 //===- Pass.cpp - LLVM Pass Infrastructure Implementation -----------------===//
10 // This file implements the LLVM Pass infrastructure. It is primarily
16 #include "llvm/Pass.h"
28 // Pass Implementation
32 Pass::~Pass() {
39 Pass *ModulePass::createPrinterPass(raw_ostream &O,
48 bool Pass::mustPreserveAnalysisID(char &AID) const {
52 // dumpPassStructure - Implement the -debug-pass=Structure optio
    [all...]
LegacyPassManager.cpp 1 //===- LegacyPassManager.cpp - LLVM Pass Infrastructure Implementation ----===//
10 // This file implements the legacy LLVM Pass Manager infrastructure.
34 // See PassManagers.h for Pass Manager infrastructure overview.
37 // Pass debugging information. Often it is useful to find out what pass is
39 // debugging on, a command line option (--debug-pass) is enabled that causes the
40 // pass name to be printed before it executes.
51 PassDebugging("debug-pass", cl::Hidden,
55 clEnumVal(Arguments , "print pass arguments to pass to 'opt'")
    [all...]
  /external/llvm/include/llvm/Analysis/
RegionPass.h 22 #include "llvm/Pass.h"
31 /// @brief A pass that runs on each Region in a function.
34 class RegionPass : public Pass {
36 explicit RegionPass(char &pid) : Pass(PT_Region, pid) {}
42 /// @brief Run the pass on a specific Region
46 /// @param R The region this pass is run on.
47 /// @param RGM The RegionPassManager that manages this Pass.
49 /// @return True if the pass modifies this Region.
52 /// @brief Get a pass to print the LLVM IR in the region.
57 /// @return The pass to print the LLVM IR in the region
    [all...]
CallGraphSCCPass.h 1 //===- CallGraphSCCPass.h - Pass that operates BU on call graph -*- C++ -*-===//
25 #include "llvm/Pass.h"
34 class CallGraphSCCPass : public Pass {
36 explicit CallGraphSCCPass(char &pid) : Pass(PT_CallGraphSCC, pid) {}
38 /// createPrinterPass - Get a pass that prints the Module
40 Pass *createPrinterPass(raw_ostream &O,
43 using llvm::Pass::doInitialization;
44 using llvm::Pass::doFinalization;
47 /// has been processed, allowing the pass to do initialization as necessary.
63 /// been processed, allowing the pass to do final cleanup as necessary
    [all...]
CGSCCPassManager.h 1 //===- CGSCCPassManager.h - Call graph pass management ----------*- C++ -*-===//
29 /// \brief The CGSCC pass manager.
41 /// pass manager infrastructure.
48 /// manager and module pass manager to a CGSCC analysis manager. You should
50 /// pass manager unless your parent module pass has received a proxy result
104 /// \brief Run the analysis pass and create our proxy result object.
126 /// provided to indicate that once inside of a CGSCC analysis pass you
131 /// the recursive return path of each layer of the pass manager and the
150 /// \brief Handle invalidation by ignoring it, this pass is immutable
    [all...]
LoopPass.h 20 #include "llvm/Pass.h"
29 class LoopPass : public Pass {
31 explicit LoopPass(char &pid) : Pass(PT_Loop, pid) {}
33 /// getPrinterPass - Get a pass to print the function corresponding
35 Pass *createPrinterPass(raw_ostream &O,
42 using llvm::Pass::doInitialization;
43 using llvm::Pass::doFinalization;
54 // Check if this pass is suitable for the current LPPassManager, if
55 // available. This pass P is not suitable for a LPPassManager if P
62 /// Assign pass manager to manage this pas
    [all...]
  /external/clang/lib/ARCMigrate/
TransUnusedInitDelegate.cpp 36 MigrationPass &Pass;
41 UnusedInitRewriter(MigrationPass &pass)
42 : Body(nullptr), Pass(pass) { }
53 Pass.TA.hasDiagnostic(diag::err_arc_unused_init_message,
55 Transaction Trans(Pass.TA);
56 Pass.TA.clearDiagnostic(diag::err_arc_unused_init_message,
59 Pass.TA.insert(ExprRange.getBegin(), "if (!(self = ");
61 retStr += getNilString(Pass);
62 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr)
    [all...]
TransAPIUses.cpp 32 MigrationPass &Pass;
39 APIChecker(MigrationPass &pass) : Pass(pass) {
40 SelectorTable &sels = Pass.Ctx.Selectors;
41 IdentifierTable &ids = Pass.Ctx.Idents;
78 Pass.TA.report(parm->getLocStart(),
90 Pass.TA.hasDiagnostic(diag::err_unavailable,
94 Transaction Trans(Pass.TA);
95 Pass.TA.clearDiagnostic(diag::err_unavailable
    [all...]
TransARCAssign.cpp 36 MigrationPass &Pass;
40 ARCAssignChecker(MigrationPass &pass) : Pass(pass) { }
51 ASTContext &Ctx = Pass.Ctx;
57 Transaction Trans(Pass.TA);
58 if (Pass.TA.clearDiagnostic(diag::err_typecheck_arr_assign_enumeration,
62 Pass.TA.insert(TLoc.getBeginLoc(), "__strong ");
75 void trans::makeAssignARCSafe(MigrationPass &pass) {
76 ARCAssignChecker assignCheck(pass);
    [all...]
TransUnbridgedCasts.cpp 61 MigrationPass &Pass;
69 UnbridgedCastRewriter(MigrationPass &pass)
70 : Pass(pass), ParentD(nullptr), Body(nullptr) {
71 SelfII = &Pass.Ctx.Idents.get("self");
84 UnbridgedCastRewriter(Pass).transformBody(D->getBody(), D);
105 if (castExpr->isNullPointerConstant(Pass.Ctx,
110 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc))
201 Transaction Trans(Pass.TA);
207 TransformActions &TA = Pass.TA
    [all...]
  /external/llvm/include/llvm/
Pass.h 1 //===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===//
11 // transformation pass implementation.
49 // AnalysisID - Use the PassInfo to identify a pass...
52 /// Different types of internal pass managers. External pass managers
54 /// Ordering of pass manager types is important here.
78 /// Pass interface - Implemented by all 'passes'. Subclass this if you are an
82 class Pass {
86 void operator=(const Pass&) = delete;
87 Pass(const Pass &) = delete
    [all...]
PassAnalysisSupport.h 1 //===- llvm/PassAnalysisSupport.h - Analysis Pass Support code --*- C++ -*-===//
11 // This file is automatically #included by Pass.h, so:
15 // Instead, #include Pass.h
24 #include "llvm/Pass.h"
30 /// Represent the analysis usage information of a pass. This tracks analyses
31 /// that the pass REQUIRES (must be available when the pass runs), REQUIRES
32 /// TRANSITIVE (must be available throughout the lifetime of the pass), and
33 /// analyses that the pass PRESERVES (the pass does not invalidate the result
    [all...]
PassInfo.h 1 //===- llvm/PassInfo.h - Pass Info class ------------------------*- C++ -*-===//
21 class Pass;
25 /// PassInfo class - An instance of this class exists for every pass known by
26 /// the system, and can be obtained from a live Pass by calling its
32 typedef Pass* (*NormalCtor_t)();
33 typedef Pass *(*TargetMachineCtor_t)(TargetMachine *);
36 const char *const PassName; // Nice name for Pass
37 const char *const PassArgument; // Command Line argument to run this pass
39 const bool IsCFGOnlyPass; // Pass only looks at the CFG.
40 const bool IsAnalysis; // True if an analysis pass
    [all...]
  /external/libchrome/base/
move.h 23 // Use this macro instead of DISALLOW_COPY_AND_ASSIGN if you want to pass
28 // This version of the macro adds a Pass() function and a cryptic
51 type&& Pass() WARN_UNUSED_RESULT { return std::move(*this); } \
  /external/libweave/third_party/chromium/base/
move.h 23 // Use this macro instead of DISALLOW_COPY_AND_ASSIGN if you want to pass
28 // This version of the macro adds a Pass() function and a cryptic
51 type&& Pass() WARN_UNUSED_RESULT { return std::move(*this); } \
  /external/llvm/include/llvm/CodeGen/
MachineFunctionPass.h 1 //===-- MachineFunctionPass.h - Pass for MachineFunctions --------*-C++ -*-===//
22 #include "llvm/Pass.h"
45 /// the pass does not modify the MachineBasicBlock CFG.
50 /// createPrinterPass - Get a machine function printer pass.
51 Pass *createPrinterPass(raw_ostream &O,

Completed in 274 milliseconds

1 2 3 4 5 6 7 8 9