Searched defs:Pass (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/test/CodeGenCXX/
H A D2003-11-27-MultipleInheritanceThunk.cpp18 struct Pass { struct
23 struct AliasAnalysisCounter : public Pass, public AliasAnalysis {
H A D2004-09-27-DidntEmitTemplate.cpp7 struct Pass {}; struct
10 Pass *callDefaultCtor() { return new Pass(); }
12 void foo(Pass *(*C)());
22 void baz() { foo(callDefaultCtor<Pass>); }
/external/clang/lib/ARCMigrate/
H A DTransAPIUses.cpp32 MigrationPass &Pass; member in class:__anon1026::APIChecker
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,
98 Pass.TA.replace(E->getSourceRange(), getNilString(Pass));
[all...]
H A DTransARCAssign.cpp36 MigrationPass &Pass; member in class:__anon1027::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 DTransUnusedInitDelegate.cpp36 MigrationPass &Pass; member in class:__anon1039::UnusedInitRewriter
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);
H A DTransBlockObjCVariable.cpp128 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 DTransEmptyStatementsAndDealloc.cpp150 MigrationPass &Pass; member in class:__anon1031::EmptyStatementsRemover
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);
H A DTransZeroOutPropsInDealloc.cpp30 MigrationPass &Pass; member in class:__anon1040::ZeroOutInDeallocRemover
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);
93 Transaction Trans(Pass.TA);
94 Pass
[all...]
H A DTransProtectedScope.cpp96 MigrationPass &Pass; member in class:__anon1035::ProtectedScopeFixer
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
[all...]
H A DTransRetainReleaseDealloc.cpp38 MigrationPass &Pass; member in class:__anon1037::RetainReleaseDeallocRemover
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.
91 Pass.TA.reportError(err, rec->getLocStart());
100 Pass
[all...]
H A DTransforms.h85 MigrationPass &Pass; member in class:clang::arcmt::trans::MigrationContext
104 explicit MigrationContext(MigrationPass &pass) : Pass(pass) {}
183 StringRef getNilString(MigrationPass &Pass);
187 MigrationPass &Pass; member in class:clang::arcmt::trans::BodyTransform
192 BodyTransform(MigrationPass &pass) : Pass(pass), ParentD(nullptr) { }
196 BODY_TRANS(Pass).transformBody(rootS, ParentD);
H A DTransAutoreleasePool.cpp73 : Body(nullptr), Pass(pass) {
113 Transaction Trans(Pass.TA);
116 Pass.TA.removeStmt(info.Dcl);
127 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
128 Pass.TA.removeStmt(*scope.End);
132 Pass.Ctx);
136 Pass.TA.insertAfterToken(afterSemi, "\n}");
137 Pass.TA.increaseIndentation(
142 Pass.TA.replaceStmt(*scope.Begin, "@autoreleasepool {");
143 Pass
414 MigrationPass &Pass; member in class:__anon1029::AutoreleasePoolRewriter
[all...]
H A DTransProperties.cpp48 MigrationPass &Pass; member in class:__anon1034::PropertiesRewriter
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
[all...]
H A DTransUnbridgedCasts.cpp61 MigrationPass &Pass; member in class:__anon1038::UnbridgedCastRewriter
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;
230 if (Kind == OBC_Bridge || !Pass.CFBridgingFunctionsDefined()) {
238 newCast += E->getType().getAsString(Pass
[all...]
/external/llvm/include/llvm/Analysis/
H A DLoopPassManager.h65 explicit FunctionToLoopPassAdaptor(LoopPassT Pass) argument
66 : Pass(std::move(Pass)) {}
70 : Pass(Arg.Pass) {}
72 : Pass(std::move(Arg.Pass)) {}
76 swap(LHS.Pass, RHS.Pass);
106 PreservedAnalyses PassPA = Pass
130 LoopPassT Pass; member in class:llvm::FunctionToLoopPassAdaptor
137 createFunctionToLoopPassAdaptor(LoopPassT Pass) argument
[all...]
H A DCGSCCPassManager.h70 explicit ModuleToPostOrderCGSCCPassAdaptor(CGSCCPassT Pass, bool DebugLogging = false) argument
71 : Pass(std::move(Pass)), DebugLogging(DebugLogging) {}
76 : Pass(Arg.Pass), DebugLogging(Arg.DebugLogging) {}
78 : Pass(std::move(Arg.Pass)), DebugLogging(Arg.DebugLogging) {}
82 swap(LHS.Pass, RHS.Pass);
106 PreservedAnalyses PassPA = Pass
133 CGSCCPassT Pass; member in class:llvm::ModuleToPostOrderCGSCCPassAdaptor
141 createModuleToPostOrderCGSCCPassAdaptor(CGSCCPassT Pass, bool DebugLogging = false) argument
168 CGSCCToFunctionPassAdaptor(FunctionPassT Pass, bool DebugLogging = false) argument
223 FunctionPassT Pass; member in class:llvm::CGSCCToFunctionPassAdaptor
231 createCGSCCToFunctionPassAdaptor(FunctionPassT Pass, bool DebugLogging = false) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DPass.cpp1 //===- 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
28 Pass::Pass(PassKind K, char &pid) : Resolver(0), PassID(&pid), Kind(K) { } function in class:Pass
31 Pass::~Pass() {
38 Pass *ModulePas
[all...]
/external/llvm/include/llvm/IR/
H A DPassManagerInternal.h57 explicit PassModel(PassT Pass) : Pass(std::move(Pass)) {} argument
60 PassModel(const PassModel &Arg) : Pass(Arg.Pass) {}
61 PassModel(PassModel &&Arg) : Pass(std::move(Arg.Pass)) {}
64 swap(LHS.Pass, RHS.Pass);
72 return Pass
75 PassT Pass; member in struct:llvm::detail::PassModel
214 AnalysisPassModel(PassT Pass) argument
245 PassT Pass; member in struct:llvm::detail::AnalysisPassModel
[all...]
/external/llvm/include/llvm/
H A DPass.h1 //===- 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&) = delete;
86 Pass(const Pass &) = delete;
89 explicit Pass(PassKind K, char &pid) function in class:llvm::Pass
91 virtual ~Pass();
127 /// createPrinterPass - Get a Pass appropriate to print the IR this
129 virtual Pass *createPrinterPas
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/
H A DPass.h1 //===- 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);
90 virtual ~Pass();
116 /// createPrinterPass - Get a Pass appropriate to print the IR this
118 virtual Pass *createPrinterPas
[all...]
/external/webrtc/webrtc/base/
H A Dbuffer.h174 // b.Pass() does the same thing as std::move(b).
176 RTC_DEPRECATED Buffer&& Pass() { return DEPRECATED_Pass(); } function in class:rtc::Buffer
H A Dscoped_ptr.h377 // Get an rvalue reference. (sp.Pass() does the same thing as std::move(sp).)
379 RTC_DEPRECATED scoped_ptr&& Pass() { function in class:rtc::scoped_ptr
513 // Get an rvalue reference. (sp.Pass() does the same thing as std::move(sp).)
515 RTC_DEPRECATED scoped_ptr&& Pass() { function in class:rtc::scoped_ptr
/external/webrtc/webrtc/system_wrappers/source/
H A Dcondition_variable_unittest.cc51 // Pass the baton. Returns false if baton is not picked up in |max_msecs|.
54 bool Pass(uint32_t max_msecs) { function in class:webrtc::__anon24922::Baton
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).
159 ASSERT_TRUE(baton_.Pass(kShortWaitMs));
182 ASSERT_TRUE(baton_.Pass(kShortWaitM
[all...]
/external/llvm/lib/IR/
H A DPass.cpp1 //===- Pass.cpp - LLVM Pass Infrastructure Implementation -----------------===//
10 // This file implements the LLVM Pass infrastructure. It is primarily
16 #include "llvm/Pass.h"
30 // Pass Implementation
34 Pass::~Pass() {
41 Pass *ModulePass::createPrinterPass(raw_ostream &O,
54 bool Pass::mustPreserveAnalysisID(char &AID) const {
59 void Pass
[all...]
/external/webrtc/webrtc/system_wrappers/include/
H A Dscoped_vector.h59 // Get an rvalue reference. (sv.Pass() does the same thing as std::move(sv).)
61 RTC_DEPRECATED ScopedVector&& Pass() { return DEPRECATED_Pass(); } function in class:webrtc::ScopedVector

Completed in 1983 milliseconds

12