/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 | 17 struct Pass { 22 struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
|
/external/clang/lib/ARCMigrate/ |
TransUnusedInitDelegate.cpp | 36 MigrationPass &Pass; 41 UnusedInitRewriter(MigrationPass &pass) 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) [all...] |
TransAPIUses.cpp | 32 MigrationPass &Pass; 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 [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...] |
TransBlockObjCVariable.cpp | 128 MigrationPass &Pass = BodyCtx.getMigrationContext().Pass; 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()),
|
TransEmptyStatementsAndDealloc.cpp | 153 MigrationPass &Pass; 156 EmptyStatementsRemover(MigrationPass &pass) : Pass(pass) { } 176 ASTContext &getContext() { return Pass.Ctx; } 181 if (EmptyChecker(Pass.Ctx, Pass.ARCMTMacroLocs).Visit(S)) { 182 Transaction Trans(Pass.TA); 183 Pass.TA.removeStmt(S); 200 static void cleanupDeallocOrFinalize(MigrationPass &pass) { [all...] |
TransRetainReleaseDealloc.cpp | 37 MigrationPass &Pass; 45 RetainReleaseDeallocRemover(MigrationPass &pass) 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 [all...] |
TransZeroOutPropsInDealloc.cpp | 30 MigrationPass &Pass; 38 ZeroOutInDeallocRemover(MigrationPass &pass) : Pass(pass), SelfD(0) { 40 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize")); 44 ASTContext &Ctx = Pass.Ctx; 45 TransformActions &TA = Pass.TA; 84 Transaction Trans(Pass.TA); 85 Pass.TA.removeStmt(POE) [all...] |
TransAutoreleasePool.cpp | 72 AutoreleasePoolRewriter(MigrationPass &pass) 73 : Body(0), Pass(pass) { 74 PoolII = &pass.Ctx.Idents.get("NSAutoreleasePool"); 75 DrainSel = pass.Ctx.Selectors.getNullarySelector( 76 &pass.Ctx.Idents.get("drain")); 113 Transaction Trans(Pass.TA); 116 Pass.TA.removeStmt(info.Dcl); 127 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {"); 128 Pass.TA.removeStmt(*scope.End) [all...] |
TransProperties.cpp | 48 MigrationPass &Pass; 74 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { } 138 Transaction Trans(Pass.TA); 153 Transaction Trans(Pass.TA); 215 (Pass.isGCMigration() && !hasGCWeak(props, atLoc))) 229 Pass.TA.clearDiagnostic(diag::err_arc_assign_property_ownership, 235 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props), 236 /*AllowOnUnknownClass=*/Pass.isGCMigration()); 238 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)) ? "strong" [all...] |
TransUnbridgedCasts.cpp | 52 MigrationPass &Pass; 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()) [all...] |
Transforms.h | 36 void rewriteAutoreleasePool(MigrationPass &pass); 37 void rewriteUnbridgedCasts(MigrationPass &pass); 38 void makeAssignARCSafe(MigrationPass &pass); 39 void removeRetainReleaseDeallocFinalize(MigrationPass &pass); 40 void removeZeroOutPropsInDeallocFinalize(MigrationPass &pass); 41 void rewriteUnusedInitDelegate(MigrationPass &pass); 42 void checkAPIUses(MigrationPass &pass); 44 void removeEmptyStatementsAndDeallocFinalize(MigrationPass &pass); 85 MigrationPass &Pass; 104 explicit MigrationContext(MigrationPass &pass) : Pass(pass) { [all...] |
/external/llvm/include/llvm/ |
Pass.h | 1 //===- llvm/Pass.h - Base class for Passes ----------------------*- C++ -*-===// 11 // transformation pass implementation. 48 // AnalysisID - Use the PassInfo to identify a pass... 51 /// Different types of internal pass managers. External pass managers 53 /// Ordering of pass manager types is important here. 77 /// Pass interface - Implemented by all 'passes'. Subclass this if you are an 81 class Pass { 85 void operator=(const Pass&); // DO NOT IMPLEMENT 86 Pass(const Pass &); // DO NOT IMPLEMEN [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
Filter.java | 66 protected Pass defaultPass;
67 protected List<Pass> postRenderPasses;
77 * Inner class Pass
78 * Pass are like filters in filters.
81 public class Pass {
89 * init the pass called internally
123 * init the pass called internally
139 * init the pass called internally
197 * returns the default pass texture format
205 * returns the default pass depth format 247 Pass pass = it.next(); local [all...] |
/external/llvm/lib/VMCore/ |
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 { 49 // dumpPassStructure - Implement the -debug-pass=Structure optio [all...] |
/prebuilts/misc/common/jython/ |
jython.jar | |