/external/swiftshader/third_party/subzero/src/ |
IceBrowserCompileServer.h | 70 if (Ctx->getErrorStatus()->value()) 71 LastError.assign(Ctx->getErrorStatus()->value()); 96 std::unique_ptr<GlobalContext> Ctx;
|
IceTranslator.h | 44 explicit Translator(GlobalContext *Ctx); 49 GlobalContext *getContext() const { return Ctx; } 71 GlobalContext *Ctx;
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 72 static void printSourceLocation(SourceLocation loc, ASTContext &Ctx, 74 static void printSourceRange(CharSourceRange range, ASTContext &Ctx, 80 ASTContext *Ctx; 85 : Ctx(nullptr), OS(OS) {} 87 void start(ASTContext &ctx) override { Ctx = &ctx; } 88 void finish() override { Ctx = nullptr; } 91 assert(Ctx); 93 printSourceLocation(loc, *Ctx, OS) [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86ELFObjectWriter.cpp | 30 unsigned getRelocType(MCContext &Ctx, const MCValue &Target, 85 static void checkIs32(MCContext &Ctx, SMLoc Loc, X86_64RelType Type) { 87 Ctx.reportError(Loc, 91 static unsigned getRelocType64(MCContext &Ctx, SMLoc Loc, 167 checkIs32(Ctx, Loc, Type); 170 checkIs32(Ctx, Loc, Type); 173 checkIs32(Ctx, Loc, Type); 176 checkIs32(Ctx, Loc, Type); 179 checkIs32(Ctx, Loc, Type); 183 if (!Ctx.getAsmInfo()->canRelaxRelocations() [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
BasicObjCFoundationChecks.cpp | 234 ASTContext &Ctx = C.getASTContext(); 236 getKeywordSelector(Ctx, "caseInsensitiveCompare", nullptr), 237 getKeywordSelector(Ctx, "compare", nullptr), 238 getKeywordSelector(Ctx, "compare", "options", nullptr), 239 getKeywordSelector(Ctx, "compare", "options", "range", nullptr), 240 getKeywordSelector(Ctx, "compare", "options", "range", "locale", 242 getKeywordSelector(Ctx, "componentsSeparatedByCharactersInSet", 244 getKeywordSelector(Ctx, "initWithFormat", 246 getKeywordSelector(Ctx, "localizedCaseInsensitiveCompare", nullptr), 247 getKeywordSelector(Ctx, "localizedCompare", nullptr) [all...] |
IdenticalExprChecker.cpp | 29 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1, 304 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1, 322 if (!IgnoreSideEffects && Expr1->HasSideEffects(Ctx)) 333 if (!*I1 || !*I2 || !isIdenticalStmt(Ctx, *I1, *I2, IgnoreSideEffects)) 368 return isIdenticalStmt(Ctx, ReturnStmt1->getRetValue(), 375 if (!isIdenticalStmt(Ctx, ForStmt1->getInit(), ForStmt2->getInit(), 378 if (!isIdenticalStmt(Ctx, ForStmt1->getCond(), ForStmt2->getCond(), 381 if (!isIdenticalStmt(Ctx, ForStmt1->getInc(), ForStmt2->getInc(), 384 if (!isIdenticalStmt(Ctx, ForStmt1->getBody(), ForStmt2->getBody(), 393 if (!isIdenticalStmt(Ctx, DStmt1->getCond(), DStmt2->getCond() [all...] |
ChrootChecker.cpp | 70 ASTContext &Ctx = C.getASTContext(); 72 II_chroot = &Ctx.Idents.get("chroot"); 74 II_chdir = &Ctx.Idents.get("chdir"); 130 ASTContext &Ctx = C.getASTContext(); 132 II_chroot = &Ctx.Idents.get("chroot"); 134 II_chdir = &Ctx.Idents.get("chdir");
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
YAMLTraits.h | 76 // static void mapping(IO &io, T &fields, Context &Ctx); 78 // static StringRef validate(IO &io, T &fields, Context &Ctx); 171 // static void output(const T &Value, void *ctx, llvm::raw_ostream &Out); 610 EmptyContext Ctx; 611 this->processKey(Key, Val, true, Ctx); 614 void mapRequired(const char *Key, T &Val, Context &Ctx) { 615 this->processKey(Key, Val, true, Ctx); 619 EmptyContext Ctx; 620 mapOptionalWithContext(Key, Val, Ctx); 625 EmptyContext Ctx; [all...] |
/external/clang/tools/c-index-test/ |
core_main.cpp | 57 static void printSymbolNameAndUSR(const Decl *D, ASTContext &Ctx, 70 void initialize(ASTContext &Ctx) override { 71 CGNameGen.reset(new CodegenNameGenerator(Ctx)); 78 ASTContext &Ctx = D->getASTContext(); 79 SourceManager &SM = Ctx.getSourceManager(); 88 printSymbolNameAndUSR(D, Ctx, OS); 104 printSymbolNameAndUSR(SymRel.RelatedSymbol, Ctx, OS); 113 ASTContext &Ctx = ImportD->getASTContext(); 114 SourceManager &SM = Ctx.getSourceManager(); 179 static void printSymbolNameAndUSR(const Decl *D, ASTContext &Ctx, [all...] |
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
PPCMCInstLower.cpp | 32 MCContext &Ctx = AP.OutContext; 53 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name.str()); 68 StubValueTy(Ctx.GetOrCreateSymbol(Name.str()), false); 77 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name.str()); 94 return Ctx.GetOrCreateSymbol(Name.str()); 99 MCContext &Ctx = Printer.OutContext; 112 const MCExpr *Expr = MCSymbolRefExpr::Create(Symbol, RefKind, Ctx); 116 MCConstantExpr::Create(MO.getOffset(), Ctx), 117 Ctx); 123 const MCExpr *PB = MCSymbolRefExpr::Create(MF->getPICBaseSymbol(), Ctx); [all...] |
/external/clang/lib/ARCMigrate/ |
Transforms.cpp | 43 bool trans::canApplyWeak(ASTContext &Ctx, QualType type, 45 if (!Ctx.getLangOpts().ObjCWeakRuntime) 53 if (Ctx.getTargetInfo().getTriple().isiOS() || 54 Ctx.getTargetInfo().getTriple().isWatchOS()) 124 ASTContext &Ctx, bool IsDecl) { 125 SourceLocation SemiLoc = findSemiAfterLocation(loc, Ctx, IsDecl); 136 ASTContext &Ctx, 138 SourceManager &SM = Ctx.getSourceManager(); 140 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc)) 143 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()) [all...] |
ObjCMT.cpp | 51 void migrateObjCContainerDecl(ASTContext &Ctx, ObjCContainerDecl *D); 52 void migrateProtocolConformance(ASTContext &Ctx, 55 bool migrateNSEnumDecl(ASTContext &Ctx, const EnumDecl *EnumDcl, 57 void migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl); 58 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl, 60 bool migrateProperty(ASTContext &Ctx, ObjCContainerDecl *D, ObjCMethodDecl *OM); 61 void migrateNsReturnsInnerPointer(ASTContext &Ctx, ObjCMethodDecl *OM); 62 void migratePropertyNsReturnsInnerPointer(ASTContext &Ctx, ObjCPropertyDecl *P); 63 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl, 67 void migrateCFAnnotation(ASTContext &Ctx, const Decl *Decl) [all...] |
TransAPIUses.cpp | 40 SelectorTable &sels = Pass.Ctx.Selectors; 41 IdentifierTable &ids = Pass.Ctx.Idents; 107 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64ELFObjectWriter.cpp | 33 unsigned getRelocType(MCContext &Ctx, const MCValue &Target, 47 unsigned AArch64ELFObjectWriter::getRelocType(MCContext &Ctx, 67 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported"); 87 Ctx.reportError(Fixup.getLoc(), 103 Ctx.reportError(Fixup.getLoc(), "Unsupported pc-relative fixup kind"); 109 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported"); 135 Ctx.reportError(Fixup.getLoc(), 150 Ctx.reportError(Fixup.getLoc(), 165 Ctx.reportError(Fixup.getLoc(), 180 Ctx.reportError(Fixup.getLoc() [all...] |
/external/spirv-llvm/lib/SPIRV/ |
SPIRVLowerOCLBlocks.cpp | 203 Value *Ctx = nullptr; 206 getBlockInvokeFuncAndContext(CallBlkBind, &InvF, &Ctx, &CtxLen, 227 lowerGetBlockContext(CI, Ctx); 230 lowerBlockBuiltin(CI, InvF, Ctx, CtxLen, CtxAlign, DemangledName); 243 lowerGetBlockContext(CallInst *CallGetBlkCtx, Value *Ctx = nullptr) { 244 if (!Ctx) 246 &Ctx); 247 CallGetBlkCtx->replaceAllUsesWith(Ctx); 249 *Ctx << "\n\n"); 285 lowerBlockBuiltin(CallInst *CI, Function *InvF, Value *Ctx, Value *CtxLen [all...] |
OCL20To12.cpp | 61 OCL20To12():ModulePass(ID), M(nullptr), Ctx(nullptr) { 75 LLVMContext *Ctx; 86 Ctx = &M->getContext();
|
/external/llvm/lib/Target/Mips/ |
MipsMCInstLower.cpp | 33 Ctx = C; 160 const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, Kind, *Ctx); 166 Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(Offset, *Ctx), 167 *Ctx); 171 Expr = MipsMCExpr::createGpOff(TargetKind, Expr, *Ctx); 173 Expr = MipsMCExpr::create(TargetKind, Expr, *Ctx); 208 const MCSymbolRefExpr *Sym1 = MCSymbolRefExpr::create(BB1->getSymbol(), *Ctx); 209 const MCSymbolRefExpr *Sym2 = MCSymbolRefExpr::create(BB2->getSymbol(), *Ctx); 210 const MCBinaryExpr *Sub = MCBinaryExpr::createSub(Sym1, Sym2, *Ctx); 212 return MCOperand::createExpr(MipsMCExpr::create(Kind, Sub, *Ctx)); [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCMCInstLower.cpp | 42 MCContext &Ctx = AP.OutContext; 61 MCSymbol *Sym = Ctx.getOrCreateSymbol(Name); 84 MCContext &Ctx = Printer.OutContext; 113 const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, RefKind, Ctx); 117 MCConstantExpr::create(MO.getOffset(), Ctx), 118 Ctx); 124 const MCExpr *PB = MCSymbolRefExpr::create(MF->getPICBaseSymbol(), Ctx); 125 Expr = MCBinaryExpr::createSub(Expr, PB, Ctx); 131 Expr = PPCMCExpr::createLo(Expr, isDarwin, Ctx); 134 Expr = PPCMCExpr::createHa(Expr, isDarwin, Ctx); [all...] |
/external/llvm/lib/MC/ |
MCCodeView.cpp | 100 MCContext &Ctx = OS.getContext(); 101 MCSymbol *StringBegin = Ctx.createTempSymbol("strtab_begin", false), 102 *StringEnd = Ctx.createTempSymbol("strtab_end", false); 127 MCContext &Ctx = OS.getContext(); 128 MCSymbol *FileBegin = Ctx.createTempSymbol("filechecksums_begin", false), 129 *FileEnd = Ctx.createTempSymbol("filechecksums_end", false); 152 MCContext &Ctx = OS.getContext(); 153 MCSymbol *LineBegin = Ctx.createTempSymbol("linetable_begin", false), 154 *LineEnd = Ctx.createTempSymbol("linetable_end", false); 263 MCContext &Ctx = Layout.getAssembler().getContext() [all...] |
/external/clang/lib/AST/ |
VTTBuilder.cpp | 28 VTTBuilder::VTTBuilder(ASTContext &Ctx, 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/swiftshader/third_party/LLVM/lib/Target/MBlaze/ |
MBlazeMCInstLower.cpp | 64 return Ctx.GetOrCreateSymbol(Name.str()); 82 return Ctx.GetOrCreateSymbol(Name.str()); 101 const MCExpr *Expr = MCSymbolRefExpr::Create(Sym, Ctx); 112 MCConstantExpr::Create(MO.getOffset(), Ctx), 113 Ctx); 136 MO.getMBB()->getSymbol(), Ctx));
|
/frameworks/compile/slang/ |
slang_rs_export_func.cpp | 67 clang::ASTContext &Ctx = Context->getASTContext(); 72 clang::RecordDecl::Create(Ctx, clang::TTK_Struct, 73 Ctx.getTranslationUnitDecl(), 76 &Ctx.Idents.get(Id)); 89 clang::FieldDecl::Create(Ctx, 104 clang::QualType T = Ctx.getTagDeclType(RD);
|
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 131 LLVMContext *Ctx; 456 Ctx = &M.getContext(); 608 ArrayType::get(Type::getInt64Ty(*Ctx), Edges); 683 FunctionType *FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); 692 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", F); 695 FTy = FunctionType::get(Type::getVoidTy(*Ctx), false); 730 Type *Int64PtrTy = Type::getInt64PtrTy(*Ctx); 767 Type::getInt8PtrTy(*Ctx), // const char *orig_filename 768 Type::getInt8PtrTy(*Ctx), // const char version[4] 769 Type::getInt32Ty(*Ctx), // uint32_t checksu [all...] |
/external/clang/include/clang/Analysis/ |
AnalysisContext.h | 58 // static [Derived*] create(AnalysisDeclContext &Ctx); 223 AnalysisDeclContext *Ctx; 228 LocationContext(ContextKind k, AnalysisDeclContext *ctx, 230 : Kind(k), Ctx(ctx), Parent(parent) {} 237 AnalysisDeclContext *getAnalysisDeclContext() const { return Ctx; } 257 return Ctx->getSelfDecl(); 273 AnalysisDeclContext *ctx, 289 StackFrameContext(AnalysisDeclContext *ctx, const LocationContext *parent, 292 : LocationContext(StackFrame, ctx, parent), CallSite(s) [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Target/ |
TargetLoweringObjectFile.h | 36 MCContext *Ctx; 42 MCContext &getContext() const { return *Ctx; } 44 TargetLoweringObjectFile() : MCObjectFileInfo(), Ctx(0) {} 51 virtual void Initialize(MCContext &ctx, const TargetMachine &TM);
|