Searched refs:Ctx (Results 76 - 100 of 421) sorted by relevance

1234567891011>>

/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.h49 MCStreamer *createMCAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS,
54 MCStreamer *createARMNullStreamer(MCContext &Ctx);
59 MCContext &Ctx);
64 MCContext &Ctx);
102 MCRelocationInfo *createARMMachORelocationInfo(MCContext &Ctx);
/external/llvm/lib/Transforms/Utils/
H A DAddDiscriminators.cpp169 LLVMContext &Ctx = M->getContext(); local
179 DILocation LastDIL(LastLoc.getAsMDNode(Ctx));
186 DILocation FirstDIL(FirstLoc.getAsMDNode(Ctx));
200 unsigned Discriminator = FirstDIL.computeNewDiscriminator(Ctx);
203 DILocation NewDIL = FirstDIL.copyWithNewScope(Ctx, NewScope);
/external/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp235 ASTContext &Ctx = C.getASTContext(); local
237 getKeywordSelector(Ctx, "caseInsensitiveCompare", nullptr),
238 getKeywordSelector(Ctx, "compare", nullptr),
239 getKeywordSelector(Ctx, "compare", "options", nullptr),
240 getKeywordSelector(Ctx, "compare", "options", "range", nullptr),
241 getKeywordSelector(Ctx, "compare", "options", "range", "locale",
243 getKeywordSelector(Ctx, "componentsSeparatedByCharactersInSet",
245 getKeywordSelector(Ctx, "initWithFormat",
247 getKeywordSelector(Ctx, "localizedCaseInsensitiveCompare", nullptr),
248 getKeywordSelector(Ctx, "localizedCompar
265 ASTContext &Ctx = C.getASTContext(); local
294 ASTContext &Ctx = C.getASTContext(); local
378 GetCFNumberSize(ASTContext &Ctx, uint64_t i) argument
554 ASTContext &Ctx = C.getASTContext(); local
643 ASTContext &Ctx = C.getASTContext(); local
752 ASTContext &Ctx = C.getASTContext(); local
1229 ASTContext &Ctx = C.getASTContext(); local
[all...]
H A DIdenticalExprChecker.cpp29 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1,
286 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1, argument
306 if (!IgnoreSideEffects && Expr1->HasSideEffects(Ctx))
317 if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects))
351 return isIdenticalStmt(Ctx, ReturnStmt1->getRetValue(),
358 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(),
361 if (!isIdenticalStmt(Ctx, ForStmt1->getCond(), ForStmt2->getCond(),
364 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(),
367 if (!isIdenticalStmt(Ctx, ForStmt1->getBody(), ForStmt2->getBody(),
376 if (!isIdenticalStmt(Ctx, DStmt
[all...]
H A DChrootChecker.cpp69 ASTContext &Ctx = C.getASTContext();
71 II_chroot = &Ctx.Idents.get("chroot");
73 II_chdir = &Ctx.Idents.get("chdir");
129 ASTContext &Ctx = C.getASTContext();
131 II_chroot = &Ctx.Idents.get("chroot");
133 II_chdir = &Ctx.Idents.get("chdir");
H A DCheckObjCInstMethSignature.cpp42 BugReporter &BR, ASTContext &Ctx,
49 if (!AreTypesCompatible(ResDerived, ResAncestor, Ctx)) {
89 ASTContext &Ctx = BR.getContext();
116 CompareReturnTypes(MethDerived, M, BR, Ctx, ID, Checker);
40 CompareReturnTypes(const ObjCMethodDecl *MethDerived, const ObjCMethodDecl *MethAncestor, BugReporter &BR, ASTContext &Ctx, const ObjCImplementationDecl *ID, const CheckerBase *Checker) argument
/external/llvm/lib/Target/PowerPC/
H A DPPCMCInstLower.cpp41 MCContext &Ctx = AP.OutContext; local
66 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name.str());
85 StubValueTy(Ctx.GetOrCreateSymbol(OrigName), false);
113 MCContext &Ctx = Printer.OutContext; local
139 const MCExpr *Expr = MCSymbolRefExpr::Create(Symbol, RefKind, Ctx);
143 MCConstantExpr::Create(MO.getOffset(), Ctx),
144 Ctx);
150 const MCExpr *PB = MCSymbolRefExpr::Create(MF->getPICBaseSymbol(), Ctx);
151 Expr = MCBinaryExpr::CreateSub(Expr, PB, Ctx);
157 Expr = PPCMCExpr::CreateLo(Expr, isDarwin, Ctx);
[all...]
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp50 void migrateObjCInterfaceDecl(ASTContext &Ctx, ObjCContainerDecl *D);
51 void migrateProtocolConformance(ASTContext &Ctx,
54 bool migrateNSEnumDecl(ASTContext &Ctx, const EnumDecl *EnumDcl,
56 void migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl);
57 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl,
59 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM);
60 void migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM);
61 void migratePropertyNsReturnsInnerPointer(ASTContext &Ctx, ObjCPropertyDecl *P);
62 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl,
66 void migrateCFAnnotation(ASTContext &Ctx, cons
469 migrateObjCInterfaceDecl(ASTContext &Ctx, ObjCContainerDecl *D) argument
497 ClassImplementsAllMethodsAndProperties(ASTContext &Ctx, const ObjCImplementationDecl *ImpDecl, const ObjCInterfaceDecl *IDecl, ObjCProtocolDecl *Protocol) argument
657 UseNSOptionsMacro(Preprocessor &PP, ASTContext &Ctx, const EnumDecl *EnumDcl) argument
698 migrateProtocolConformance(ASTContext &Ctx, const ObjCImplementationDecl *ImpDecl) argument
767 migrateNSEnumDecl(ASTContext &Ctx, const EnumDecl *EnumDcl, const TypedefDecl *TypedefDcl) argument
833 ReplaceWithInstancetype(ASTContext &Ctx, const ObjCMigrateASTConsumer &ASTC, ObjCMethodDecl *OM) argument
878 migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl, ObjCMethodDecl *OM) argument
1023 IsValidIdentifier(ASTContext &Ctx, const char *Name) argument
1033 migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *Method) argument
1128 migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM) argument
1145 migratePropertyNsReturnsInnerPointer(ASTContext &Ctx, ObjCPropertyDecl *P) argument
1157 migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl) argument
1170 migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl, ObjCMethodDecl *OM, ObjCInstanceTypeFamily OIT_Family) argument
1265 AnnotateImplicitBridging(ASTContext &Ctx) argument
1299 migrateCFAnnotation(ASTContext &Ctx, const Decl *Decl) argument
1334 AddCFAnnotations(ASTContext &Ctx, const CallEffects &CE, const FunctionDecl *FuncDecl, bool ResultAnnotated) argument
1385 migrateAddFunctionAnnotation( ASTContext &Ctx, const FunctionDecl *FuncDecl) argument
1441 migrateARCSafeAnnotation(ASTContext &Ctx, ObjCContainerDecl *CDecl) argument
1451 AddCFAnnotations(ASTContext &Ctx, const CallEffects &CE, const ObjCMethodDecl *MethodDecl, bool ResultAnnotated) argument
1506 migrateAddMethodAnnotation( ASTContext &Ctx, const ObjCMethodDecl *MethodDecl) argument
1582 inferDesignatedInitializers( ASTContext &Ctx, const ObjCImplementationDecl *ImplD) argument
1705 HandleTranslationUnit(ASTContext &Ctx) argument
[all...]
/external/llvm/lib/MC/MCAnalysis/
H A DMCObjectSymbolizer.cpp37 MCMachObjectSymbolizer(MCContext &Ctx,
49 MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo,
51 : MCObjectSymbolizer(Ctx, std::move(RelInfo), MOOF), MOOF(MOOF),
124 MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo,
126 : MCSymbolizer(Ctx, std::move(RelInfo)), Obj(Obj), SortedSections(),
136 MCSymbol *Sym = Ctx.GetOrCreateSymbol(ExtFnName);
137 const MCExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx);
172 MCSymbol *Sym = Ctx.GetOrCreateSymbol(SymName);
173 const MCExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx);
175 const MCExpr *Off = MCConstantExpr::Create(UValue - SymAddr, Ctx);
48 MCMachObjectSymbolizer( MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo, const MachOObjectFile *MOOF) argument
123 MCObjectSymbolizer( MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo, const ObjectFile *Obj) argument
194 createObjectSymbolizer( MCContext &Ctx, std::unique_ptr<MCRelocationInfo> RelInfo, const ObjectFile *Obj) argument
[all...]
/external/llvm/include/llvm/Support/
H A DTargetRegistry.h54 MCStreamer *createNullStreamer(MCContext &Ctx);
55 MCStreamer *createAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS,
60 MCRelocationInfo *createMCRelocationInfo(StringRef TT, MCContext &Ctx);
65 MCContext *Ctx,
115 MCContext &Ctx);
125 MCContext &Ctx);
128 MCContext &Ctx,
135 typedef MCStreamer *(*AsmStreamerCtorTy)(MCContext &Ctx,
143 typedef MCStreamer *(*NullStreamerCtorTy)(MCContext &Ctx);
145 MCContext &Ctx);
427 createMCObjectStreamer(StringRef TT, MCContext &Ctx, MCAsmBackend &TAB, raw_ostream &_OS, MCCodeEmitter *_Emitter, const MCSubtargetInfo &STI, bool RelaxAll, bool NoExecStack) const argument
441 createAsmStreamer(MCContext &Ctx, formatted_raw_ostream &OS, bool isVerboseAsm, bool useDwarfDirectory, MCInstPrinter *InstPrint, MCCodeEmitter *CE, MCAsmBackend *TAB, bool ShowInst) const argument
484 createMCSymbolizer(StringRef TT, LLVMOpInfoCallback GetOpInfo, LLVMSymbolLookupCallback SymbolLookUp, void *DisInfo, MCContext *Ctx, MCRelocationInfo *RelInfo) const argument
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp26 MRMgr(svalBuilder.getRegionManager()), Ctx(stateMgr.getContext()) {}
52 static bool IsCompleteType(ASTContext &Ctx, QualType Ty) { argument
70 return MRMgr.getElementRegion(T, idx, R, Ctx);
75 ASTContext &Ctx = StateMgr.getContext(); local
97 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy);
100 if (CanonPointeeTy.getLocalUnqualifiedType() == Ctx.VoidTy)
106 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType());
178 QualType ObjTy = Ctx.getCanonicalType(TR->getValueType());
179 QualType CanonPointeeTy = Ctx.getCanonicalType(PointeeTy);
199 if (IsCompleteType(Ctx, PointeeT
[all...]
/external/clang/lib/AST/
H A DVTTBuilder.cpp28 VTTBuilder::VTTBuilder(ASTContext &Ctx, argument
31 : Ctx(Ctx), MostDerivedClass(MostDerivedClass),
32 MostDerivedClassLayout(Ctx.getASTRecordLayout(MostDerivedClass)),
67 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD);
114 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD);
/external/clang/lib/CodeGen/
H A DModuleBuilder.cpp34 ASTContext *Ctx; member in class:__anon17874::CodeGeneratorImpl
70 Ctx = &Context;
72 M->setTargetTriple(Ctx->getTargetInfo().getTriple().getTriple());
73 M->setDataLayout(Ctx->getTargetInfo().getTargetDescription());
74 TD.reset(new llvm::DataLayout(Ctx->getTargetInfo().getTargetDescription()));
142 void HandleTranslationUnit(ASTContext &Ctx) override {
/external/llvm/lib/IR/
H A DDiagnosticInfo.cpp171 void llvm::emitOptimizationRemark(LLVMContext &Ctx, const char *PassName, argument
174 Ctx.diagnose(DiagnosticInfoOptimizationRemark(PassName, Fn, DLoc, Msg));
177 void llvm::emitOptimizationRemarkMissed(LLVMContext &Ctx, const char *PassName, argument
181 Ctx.diagnose(DiagnosticInfoOptimizationRemarkMissed(PassName, Fn, DLoc, Msg));
184 void llvm::emitOptimizationRemarkAnalysis(LLVMContext &Ctx, argument
189 Ctx.diagnose(
/external/clang/include/clang/Analysis/
H A DAnalysisContext.h57 // static [Derived*] create(AnalysisDeclContext &Ctx);
210 AnalysisDeclContext *Ctx; member in class:clang::LocationContext
217 : Kind(k), Ctx(ctx), Parent(parent) {}
224 AnalysisDeclContext *getAnalysisDeclContext() const { return Ctx; }
244 return Ctx->getSelfDecl();
304 static bool classof(const LocationContext *Ctx) { argument
305 return Ctx->getKind() == StackFrame;
327 static bool classof(const LocationContext *Ctx) { argument
328 return Ctx->getKind() == Scope;
361 static bool classof(const LocationContext *Ctx) { argument
431 getStackFrame(AnalysisDeclContext *Ctx, LocationContext const *Parent, const Stmt *S, const CFGBlock *Blk, unsigned Idx) argument
[all...]
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.h82 MCContext &Ctx);
112 MCRelocationInfo *createX86_64MachORelocationInfo(MCContext &Ctx);
115 MCRelocationInfo *createX86_64ELFRelocationInfo(MCContext &Ctx);
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h246 // Also performs substitution of variables; Ctx provides the context.
248 til::SExpr *translate(const Stmt *S, CallingContext *Ctx);
262 CallingContext *Ctx) ;
263 til::SExpr *translateCXXThisExpr(const CXXThisExpr *TE, CallingContext *Ctx);
264 til::SExpr *translateMemberExpr(const MemberExpr *ME, CallingContext *Ctx);
265 til::SExpr *translateCallExpr(const CallExpr *CE, CallingContext *Ctx);
267 CallingContext *Ctx);
269 CallingContext *Ctx);
271 CallingContext *Ctx);
274 CallingContext *Ctx, boo
[all...]
/external/llvm/lib/Target/AArch64/
H A DAArch64TargetObjectFile.h21 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
/external/llvm/lib/Target/ARM/
H A DARMTargetObjectFile.h29 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
/external/llvm/lib/Target/Hexagon/
H A DHexagonTargetObjectFile.h22 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
/external/llvm/lib/Target/Mips/
H A DMipsTargetObjectFile.h22 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
/external/llvm/lib/Target/SystemZ/
H A DSystemZMCInstLower.h26 MCContext &Ctx; member in class:llvm::SystemZMCInstLower
/external/llvm/lib/Target/X86/Disassembler/
H A DX86Disassembler.h98 X86GenericDisassembler(const MCSubtargetInfo &STI, MCContext &Ctx,
/external/llvm/lib/Target/XCore/
H A DXCoreMCInstLower.cpp32 Ctx = C;
68 const MCSymbolRefExpr *MCSym = MCSymbolRefExpr::Create(Symbol, Kind, *Ctx);
76 const MCConstantExpr *OffsetExpr = MCConstantExpr::Create(Offset, *Ctx);
77 const MCBinaryExpr *Add = MCBinaryExpr::CreateAdd(MCSym, OffsetExpr, *Ctx);
H A DXCoreTargetObjectFile.h25 void Initialize(MCContext &Ctx, const TargetMachine &TM) override;

Completed in 522 milliseconds

1234567891011>>