/external/clang/test/CodeGenCXX/ |
H A D | 2004-09-27-DidntEmitTemplate.cpp | 7 struct Pass {}; struct 10 Pass *callDefaultCtor() { return new Pass(); } 12 void foo(Pass *(*C)()); 22 void baz() { foo(callDefaultCtor<Pass>); }
|
H A D | 2003-11-27-MultipleInheritanceThunk.cpp | 17 struct Pass { struct 22 struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
|
/external/llvm/include/llvm/Transforms/ |
H A D | Scalar.h | 21 class Pass; 45 Pass *createDeadInstEliminationPass(); 87 Pass *createIndVarSimplifyPass(); 107 Pass *createLICMPass(); 116 Pass *createLoopStrengthReducePass(const TargetLowering *TLI = 0); 118 Pass *createGlobalMergePass(const TargetLowering *TLI = 0); 124 Pass *createLoopUnswitchPass(bool OptimizeForSize = false); 130 Pass *createLoopInstSimplifyPass(); 136 Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1); 142 Pass *createLoopRotatePas [all...] |
H A D | IPO.h | 23 class Pass; 90 Pass *createFunctionInliningPass(); 91 Pass *createFunctionInliningPass(int Threshold); 96 Pass *createAlwaysInlinerPass(); 97 Pass *createAlwaysInlinerPass(bool InsertLifetime); 103 Pass *createPruneEHPass(); 141 Pass *createArgumentPromotionPass(unsigned maxElements = 3); 161 Pass *createLoopExtractorPass(); 166 Pass *createSingleLoopExtractorPass(); 183 Pass *createFunctionAttrsPas [all...] |
/external/llvm/include/llvm/ |
H A D | PassManagers.h | 1 //===- llvm/PassManagers.h - Pass Infrastructure classes -------*- C++ -*-===// 10 // This file declares the LLVM Pass Manager infrastructure. 17 #include "llvm/Pass.h" 27 // The Pass Manager Infrastructure manages passes. It's responsibilities are: 35 // Pass Manager Infrastructure uses multiple pass managers. They are 76 // [o] class MPPassManager : public Pass, public PMDataManager; 85 // [o] class PassManagerImpl : public Pass, public PMDataManager, 96 class Pass; 104 EXECUTION_MSG, // "Executing Pass '" 106 FREEING_MSG, // " Freeing Pass '" [all...] |
H A D | Pass.h | 1 //===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===// 77 /// Pass interface - Implemented by all 'passes'. Subclass this if you are an 81 class Pass { class in namespace:llvm 85 void operator=(const Pass&); // DO NOT IMPLEMENT 86 Pass(const Pass &); // DO NOT IMPLEMENT 89 explicit Pass(PassKind K, char &pid) : Resolver(0), PassID(&pid), Kind(K) { } function in class:llvm::Pass 90 virtual ~Pass(); 116 /// createPrinterPass - Get a Pass appropriate to print the IR this 118 virtual Pass *createPrinterPas [all...] |
H A D | 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 22 #include "llvm/Pass.h" 35 // Pass infrastructure through the getAnalysisUsage virtual function. 77 // addPreserved - Add the specified Pass class to the set of analyses 86 // addPreserved - Add the Pass with the specified argument string to the set 87 // of analyses preserved by this pass. If no such Pass exists, do nothing. 116 // AnalysisResolver - Simple interface used by Pass objects to pull all 131 Pass *findImplPas [all...] |
H A D | PassManager.h | 12 // that analysis results are available before a pass runs, and that Pass's are 20 #include "llvm/Pass.h" 24 class Pass; 38 /// the Pass to the PassManager. When the PassManager is destroyed, the pass 41 virtual void add(Pass *P) = 0; 52 /// the Pass to the PassManager. When the PassManager is destroyed, the pass 55 void add(Pass *P); 76 /// ownership of the Pass to the PassManager. When the 80 void add(Pass *P);
|
/external/llvm/lib/VMCore/ |
H A D | 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" 25 // Pass Implementation 29 Pass::~Pass() { 36 Pass *ModulePass::createPrinterPass(raw_ostream &O, 45 bool Pass::mustPreserveAnalysisID(char &AID) const { 50 void Pass [all...] |
H A D | PassManager.cpp | 1 //===- PassManager.cpp - LLVM Pass Infrastructure Implementation ----------===// 10 // This file implements the LLVM Pass Manager infrastructure. 32 // See PassManagers.h for Pass Manager infrastructure overview. 37 // Pass debugging information. Often it is useful to find out what pass is 170 /// Pass Manager itself does not invalidate any analysis info. 181 virtual Pass *getAsPass() { return this; } 184 return "BasicBlock Pass Manager"; 198 assert(N < PassVector.size() && "Pass number out of range!"); 217 class FunctionPassManagerImpl : public Pass, 226 Pass(PT_PassManage [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | TransUnusedInitDelegate.cpp | 36 MigrationPass &Pass; member in class:__anon3459::UnusedInitRewriter 42 : Body(0), 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.Ctx); 62 Pass.TA.insertAfterToken(ExprRange.getEnd(), retStr);
|
H A D | TransARCAssign.cpp | 36 MigrationPass &Pass; member in class:__anon3449::ARCAssignChecker 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 ");
|
H A D | TransAPIUses.cpp | 32 MigrationPass &Pass; member in class:__anon3448::APIChecker 39 APIChecker(MigrationPass &pass) : Pass(pass) { 40 SelectorTable &sels = Pass.Ctx.Selectors; 41 IdentifierTable &ids = Pass.Ctx.Idents; 83 Pass.TA.reportError(err, parm->getLocStart(), parm->getSourceRange()); 92 Pass.TA.hasDiagnostic(diag::err_unavailable, 96 Transaction Trans(Pass.TA); 97 Pass.TA.clearDiagnostic(diag::err_unavailable, 100 Pass.TA.replace(E->getSourceRange(), getNilString(Pass [all...] |
H A D | TransRetainReleaseDealloc.cpp | 37 MigrationPass &Pass; member in class:__anon3457::RetainReleaseDeallocRemover 46 : Body(0), Pass(pass) { 48 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate")); 50 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize")); 73 Pass.TA.reportError("it is not safe to remove an unused 'autorelease' " 79 // Pass through. 90 Pass.TA.reportError(err, rec->getLocStart()); 99 Pass [all...] |
H A D | TransBlockObjCVariable.cpp | 128 MigrationPass &Pass = BodyCtx.getMigrationContext().Pass; local 140 bool useWeak = canApplyWeak(Pass.Ctx, var->getType()); 141 SourceManager &SM = Pass.Ctx.getSourceManager(); 142 Transaction Trans(Pass.TA); 143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()),
|
H A D | TransUnbridgedCasts.cpp | 52 MigrationPass &Pass; member in class:__anon3458::UnbridgedCastRewriter 58 UnbridgedCastRewriter(MigrationPass &pass) : Pass(pass), ParentD(0) { 59 SelfII = &Pass.Ctx.Idents.get("self"); 88 if (castExpr->isNullPointerConstant(Pass.Ctx, 93 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) 184 Transaction Trans(Pass.TA); 190 TransformActions &TA = Pass.TA; 213 if (Kind == OBC_Bridge || !Pass.CFBridgingFunctionsDefined()) { 221 newCast += E->getType().getAsString(Pass.Ctx.getPrintingPolicy()); 239 SourceManager &SM = Pass [all...] |
H A D | TransGCCalls.cpp | 30 IdentifierTable &Ids = MigrateCtx.Pass.Ctx.Idents; 38 TransformActions &TA = MigrateCtx.Pass.TA; 41 if (MigrateCtx.Pass.noNSAllocReallocError())
|
/external/llvm/include/llvm/Analysis/ |
H A D | RegionPass.h | 21 #include "llvm/Pass.h" 36 class RegionPass : public Pass { 38 explicit RegionPass(char &pid) : Pass(PT_Region, pid) {} 49 /// @param RGM The RegionPassManager that manages this Pass. 60 Pass *createPrinterPass(raw_ostream &O, const std::string &Banner) const; 98 /// Pass Manager itself does not invalidate any analysis info. 103 return "Region Pass Manager"; 107 virtual Pass *getAsPass() { return this; } 113 Pass *getContainedPass(unsigned N) { 114 assert(N < PassVector.size() && "Pass numbe [all...] |
H A D | Passes.h | 23 class Pass; 32 Pass *createGlobalsModRefPass(); 38 Pass *createAliasDebugger();
|
H A D | LoopPass.h | 19 #include "llvm/Pass.h" 30 class LoopPass : public Pass { 32 explicit LoopPass(char &pid) : Pass(PT_Loop, pid) {} 36 Pass *createPrinterPass(raw_ostream &O, const std::string &Banner) const; 63 /// Return what kind of Pass Manager can manage this pass. 72 /// additional use of multiple inheritance in Pass class hierarchy, something 93 /// Pass Manager itself does not invalidate any analysis info. 98 return "Loop Pass Manager"; 102 virtual Pass *getAsPass() { return this; } 108 assert(N < PassVector.size() && "Pass numbe [all...] |
/external/valgrind/main/gdbserver_tests/ |
H A D | nlpasssigalrm.stdoutB.exp | 1 Signal Stop Print Pass to program Description 6 Signal Stop Print Pass to program Description
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | BasicBlockUtils.h | 28 class Pass; 41 void FoldSingleEntryPHINodes(BasicBlock *BB, Pass *P = 0); 52 bool MergeBlockIntoPredecessor(BasicBlock *BB, Pass *P = 0); 113 Pass *P = 0, bool MergeIdenticalEdges = false, 118 Pass *P = 0) { 127 inline bool SplitCriticalEdge(BasicBlock *Succ, pred_iterator PI, Pass *P = 0) { 141 Pass *P = 0, 155 /// SplitEdge - Split the edge connecting specified block. Pass P must 157 BasicBlock *SplitEdge(BasicBlock *From, BasicBlock *To, Pass *P); 164 BasicBlock *SplitBlock(BasicBlock *Old, Instruction *SplitPt, Pass * [all...] |
H A D | UnifyFunctionExitNodes.h | 21 #include "llvm/Pass.h" 28 static char ID; // Pass identification, replacement for typeid 47 Pass *createUnifyFunctionExitNodesPass();
|
/external/llvm/lib/Transforms/IPO/ |
H A D | InlineSimple.cpp | 41 static char ID; // Pass identification, replacement for typeid 56 Pass *llvm::createFunctionInliningPass() { return new SimpleInliner(); } 58 Pass *llvm::createFunctionInliningPass(int Threshold) {
|
/external/llvm/include/llvm/CodeGen/ |
H A D | MachineFunctionPass.h | 1 //===-- MachineFunctionPass.h - Pass for MachineFunctions --------*-C++ -*-===// 22 #include "llvm/Pass.h" 51 virtual Pass *createPrinterPass(raw_ostream &O,
|