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

1 2

  /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/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...]
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 150 MigrationPass &Pass;
153 EmptyStatementsRemover(MigrationPass &pass) : Pass(pass) { }
172 ASTContext &getContext() { return Pass.Ctx; }
177 if (EmptyChecker(Pass.Ctx, Pass.ARCMTMacroLocs).Visit(S)) {
178 Transaction Trans(Pass.TA);
179 Pass.TA.removeStmt(S);
195 static void cleanupDeallocOrFinalize(MigrationPass &pass) {
    [all...]
TransProtectedScope.cpp 96 MigrationPass &Pass;
103 : Pass(BodyCtx.getMigrationContext().Pass),
104 SM(Pass.Ctx.getSourceManager()) {
111 const CapturedDiagList &DiagList = Pass.getDiags();
131 Transaction Trans(Pass.TA);
143 Pass.TA.clearDiagnostic(diag::err_switch_into_protected_scope, ErrLoc);
158 Pass.TA.clearDiagnostic(Diag.getID(), Diag.getLocation());
175 Pass.TA.insertAfterToken(info.SC->getColonLoc(), " {");
176 Pass.TA.insert(info.Range.getEnd(), "}\n")
    [all...]
TransRetainReleaseDealloc.cpp 38 MigrationPass &Pass;
46 RetainReleaseDeallocRemover(MigrationPass &pass)
47 : Body(nullptr), Pass(pass) {
49 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("delegate"));
51 Pass.Ctx.Selectors.getNullarySelector(&Pass.Ctx.Idents.get("finalize"));
74 Pass.TA.reportError("it is not safe to remove an unused 'autorelease' "
80 // Pass through
    [all...]
TransZeroOutPropsInDealloc.cpp 30 MigrationPass &Pass;
38 ZeroOutInDeallocRemover(MigrationPass &pass) : Pass(pass), SelfD(nullptr) {
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(nullptr), 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;
75 : MigrateCtx(MigrateCtx), Pass(MigrateCtx.Pass) { }
141 Transaction Trans(Pass.TA);
194 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)))
208 Pass.TA.clearDiagnostic(diag::err_arc_strong_property_ownership,
216 bool canUseWeak = canApplyWeak(Pass.Ctx, getPropertyType(props),
217 /*AllowOnUnknownClass=*/Pass.isGCMigration());
219 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)) ? "strong" :
231 (Pass.isGCMigration() && !hasGCWeak(props, atLoc)) ? "__strong "
    [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...]
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...]
  /art/runtime/
barrier.cc 32 void Barrier::Pass(Thread* self) {
53 // that have not yet called the Pass function. When the
54 // Pass function is called by the last thread, the count will
  /external/chromium-trace/catapult/third_party/typ/typ/
json_results.py 21 Pass = 'Pass'
28 values = (Pass, Failure, ImageOnlyFailure, Timeout, Crash, Skip)
43 self.expected = expected or [ResultType.Pass]
87 full_results['num_failures_by_type']['PASS'] = len(passing_tests)
98 value['expected'] = 'PASS'
130 elif r.actual == ResultType.Pass and r.name in names:
136 return set(r.name for r in results.results if r.actual == ResultType.Pass)
145 elif r.actual == ResultType.Pass:
146 actuals.append('PASS')
    [all...]
  /external/llvm/include/llvm/Analysis/
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...]
  /external/llvm/include/llvm/IR/
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/webrtc/webrtc/base/
buffer.h 174 // b.Pass() does the same thing as std::move(b).
176 RTC_DEPRECATED Buffer&& Pass() { return DEPRECATED_Pass(); }
scoped_ptr.h 377 // Get an rvalue reference. (sp.Pass() does the same thing as std::move(sp).)
379 RTC_DEPRECATED scoped_ptr&& Pass() {
513 // Get an rvalue reference. (sp.Pass() does the same thing as std::move(sp).)
515 RTC_DEPRECATED scoped_ptr&& Pass() {
  /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...]
  /external/webrtc/webrtc/system_wrappers/source/
condition_variable_unittest.cc 32 // One can pass it or grab it - both calls have timeouts.
51 // Pass the baton. Returns false if baton is not picked up in |max_msecs|.
52 // Only one process can pass at the same time; this property is
54 bool Pass(uint32_t max_msecs) {
72 // We don't allow polling PassCount() during a Pass()-call since there is
73 // no guarantee that |pass_count_| is incremented until the Pass()-call
125 // part of Pass() at a time.
141 EXPECT_TRUE(the_baton->Pass(kLongWaitMs));
156 // we don't know if it will exit before or after the Pass.
158 // and Pass)
    [all...]
  /external/libchrome/base/
bind_helpers.h 384 T Pass() const {
405 std::unique_ptr<T, D> Pass() const {
425 std::vector<std::unique_ptr<T, D>, A> Pass() const {
445 std::map<K, std::unique_ptr<T, D>, C, A> Pass() const {
503 return o.Pass();
  /external/libweave/third_party/chromium/base/
bind_helpers.h 384 T Pass() const {
442 return o.Pass();
  /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...]

Completed in 789 milliseconds

1 2