Searched defs:Context (Results 276 - 300 of 465) sorted by relevance

<<111213141516171819

/external/llvm/lib/AsmParser/
H A DLLParser.h91 LLVMContext &Context; member in class:llvm::LLParser
140 Context(m->getContext()), Lex(F, SM, Err, m->getContext()),
144 LLVMContext &getContext() { return Context; }
/external/llvm/lib/CodeGen/
H A DMachineModuleInfo.cpp53 MCContext &Context; member in class:llvm::MMIAddrLabelMap
77 MMIAddrLabelMap(MCContext &context) : Context(context) {}
119 MCSymbol *Result = Context.CreateTempSymbol();
256 : ImmutablePass(ID), Context(&MAI, &MRI, MOFI, nullptr, false) {
261 : ImmutablePass(ID), Context(nullptr, nullptr, nullptr) {
293 Context.reset();
345 AddrLabelSymbols = new MMIAddrLabelMap(Context);
356 AddrLabelSymbols = new MMIAddrLabelMap(Context);
403 MCSymbol *LandingPadLabel = Context.CreateTempSymbol();
H A DTargetLoweringBase.cpp1202 unsigned TargetLoweringBase::getVectorTypeBreakdown(LLVMContext &Context, EVT VT, argument
1213 LegalizeTypeAction TA = getTypeAction(Context, VT);
1215 EVT RegisterEVT = getTypeToTransformTo(Context, VT);
1239 EVT::getVectorVT(Context, EltTy, NumElts))) {
1246 EVT NewVT = EVT::getVectorVT(Context, EltTy, NumElts);
1251 MVT DestVT = getRegisterType(Context, NewVT);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp613 RegsForValue(LLVMContext &Context, const TargetLowering &tli, argument
619 unsigned NumRegs = tli.getNumRegisters(Context, ValueVT);
620 MVT RegisterVT = tli.getRegisterType(Context, ValueVT);
864 Context = DAG.getContext();
5365 EVT::getIntegerVT(*Context, 8),
6053 EVT getCallOperandValEVT(LLVMContext &Context,
6090 OpTy = IntegerType::get(Context, BitSize);
6115 LLVMContext &Context = *DAG.getContext();
6153 NumRegs = TLI.getNumRegisters(Context, OpInfo.ConstraintVT);
/external/llvm/lib/IR/
H A DAttributes.cpp34 Attribute Attribute::get(LLVMContext &Context, Attribute::AttrKind Kind, argument
36 LLVMContextImpl *pImpl = Context.pImpl;
58 Attribute Attribute::get(LLVMContext &Context, StringRef Kind, StringRef Val) { argument
59 LLVMContextImpl *pImpl = Context.pImpl;
78 Attribute Attribute::getWithAlignment(LLVMContext &Context, uint64_t Align) { argument
81 return get(Context, Alignment, Align);
84 Attribute Attribute::getWithStackAlignment(LLVMContext &Context, argument
88 return get(Context, StackAlignment, Align);
H A DMetadata.cpp39 MDString *MDString::get(LLVMContext &Context, StringRef Str) { argument
40 LLVMContextImpl *pImpl = Context.pImpl;
44 if (!S) S = new MDString(Context);
219 MDNode *MDNode::getMDNode(LLVMContext &Context, ArrayRef<Value*> Vals, argument
221 LLVMContextImpl *pImpl = Context.pImpl;
258 N = new (Ptr) MDNode(Context, Vals, isFunctionLocal);
269 MDNode *MDNode::get(LLVMContext &Context, ArrayRef<Value*> Vals) { argument
270 return getMDNode(Context, Vals, FL_Unknown);
273 MDNode *MDNode::getWhenValsUnresolved(LLVMContext &Context, argument
276 return getMDNode(Context, Val
279 getIfExists(LLVMContext &Context, ArrayRef<Value*> Vals) argument
283 getTemporary(LLVMContext &Context, ArrayRef<Value*> Vals) argument
[all...]
/external/llvm/lib/MC/
H A DMCObjectStreamer.cpp25 MCObjectStreamer::MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB, argument
27 : MCStreamer(Context),
28 Assembler(new MCAssembler(Context, TAB, *Emitter_,
32 MCObjectStreamer::MCObjectStreamer(MCContext &Context, MCAsmBackend &TAB, argument
35 : MCStreamer(Context), Assembler(_Assembler), CurSectionData(nullptr),
/external/llvm/lib/Support/
H A DYAMLTraits.cpp27 IO::IO(void *Context) : Ctxt(Context) { argument
37 void IO::setContext(void *Context) { argument
38 Ctxt = Context;
/external/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp428 LLVMContext &Context = newFunction->getContext(); local
466 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context));
467 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), i);
492 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context));
493 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i);
515 SwitchInst::Create(Constant::getNullValue(Type::getInt16Ty(Context)),
537 NewTarget = BasicBlock::Create(Context,
547 brVal = ConstantInt::get(Type::getInt1Ty(Context), !SuccNum);
550 brVal = ConstantInt::get(Type::getInt16Ty(Context), SuccNum);
554 ReturnInst *NTRet = ReturnInst::Create(Context, brVa
[all...]
/external/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp814 LLVMContext &Context = getGlobalContext(); local
815 ErrorOr<Binary *> BinaryOrErr = createBinary(Buffer, &Context);
843 ErrorOr<std::unique_ptr<Binary>> ChildOrErr = I->getAsBinary(&Context);
888 AI->getAsBinary(&Context);
932 AI->getAsBinary(&Context);
969 AI->getAsBinary(&Context);
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp102 LLVMContext &Context = M->getContext(); local
103 ArgsTy.push_back(PointerType::get(IntegerType::getInt8Ty(Context), 0));
104 ArgsTy.push_back(PointerType::get(IntegerType::getInt32Ty(Context), 0));
105 ArgsTy.push_back(PointerType::get(IntegerType::getInt64Ty(Context), 0));
106 ArgsTy.push_back(IntegerType::getInt32Ty(Context));
107 ArgsTy.push_back(IntegerType::getInt64Ty(Context));
108 ArgsTy.push_back(IntegerType::getInt8Ty(Context));
110 FunctionType *FuncTy = FunctionType::get(Type::getVoidTy(Context), ArgsTy, 0);
130 BB(Block),PT(PT),Ran(R),Context(BB->getContext()) {}
252 case 0: t = Type::getInt1Ty(Context); brea
287 LLVMContext &Context; member in struct:__anon26415::Modifier
[all...]
/external/llvm/unittests/IR/
H A DInstructionsTest.cpp392 LLVMContext &Context = getGlobalContext(); local
393 IRBuilder<> Builder(Context);
394 MDBuilder MDHelper(Context);
/external/ppp/pppd/plugins/radius/
H A Dradius.c733 MD5_CTX Context; local
745 MD5_Init(&Context);
746 MD5_Update(&Context, req_info->secret, strlen(req_info->secret));
747 MD5_Update(&Context, req_info->request_vector, AUTH_VECTOR_LEN);
748 MD5_Final(buf, &Context);
753 MD5_Init(&Context);
754 MD5_Update(&Context, req_info->secret, strlen(req_info->secret));
755 MD5_Update(&Context, vp->strvalue, 16);
756 MD5_Final(buf, &Context);
786 MD5_CTX Context; local
[all...]
/external/skia/include/core/
H A DSkShader.h143 class Context : public ::SkNoncopyable { class in class:SkShader
145 Context(const SkShader& shader, const ContextRec&);
147 virtual ~Context();
227 Context* createContext(const ContextRec&, void* storage) const;
230 * Return the size of a Context returned by createContext.
472 virtual Context* onCreateContext(const ContextRec&, void* storage) const;
/external/skia/src/effects/
H A DSkMagnifierImageFilter.cpp283 const Context&, SkBitmap* dst,
282 onFilterImage(Proxy*, const SkBitmap& src, const Context&, SkBitmap* dst, SkIPoint* offset) const argument
/external/chromium_org/net/http/
H A Dhttp_cache_unittest.cc487 struct Context { struct in namespace:__anon9290
488 Context() : result(net::ERR_IO_PENDING) {} function in struct:__anon9290::Context
675 scoped_ptr<Context> c(new Context());
720 scoped_ptr<Context> c(new Context());
1274 std::vector<Context*> context_list;
1278 context_list.push_back(new Context());
1279 Context* c = context_list[i];
1291 Context*
[all...]
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DExpressionParser.cpp120 struct Context struct in namespace:__anon11526
130 static int yylex(YYSTYPE* lvalp, Context* context);
131 static void yyerror(Context* context, const char* reason);
196 int ppparse (Context *context);
759 yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, Context *context)
766 Context *context;
791 yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, Context *context)
798 Context *context;
849 yy_reduce_print (YYSTYPE *yyvsp, int yyrule, Context *context)
855 Context *contex
[all...]
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-layout-gsub-table.hh916 struct ContextSubst : Context {};
1013 * calls us through a Context lookup. */
1094 Context = 5, enumerator in enum:OT::SubstLookupSubTable::Type
1109 case Context: return TRACE_RETURN (u.context.dispatch (c));
1126 case Context: return TRACE_RETURN (u.context.sanitize (c));
/external/clang/include/clang/AST/
H A DTypeLoc.h159 void initialize(ASTContext &Context, SourceLocation Loc) const { argument
160 initializeImpl(Context, *this, Loc);
193 static void initializeImpl(ASTContext &Context, TypeLoc TL,
248 void initializeLocal(ASTContext &Context, SourceLocation Loc) { argument
469 void initializeLocal(ASTContext &Context, SourceLocation Loc) { argument
573 void initializeLocal(ASTContext &Context, SourceLocation Loc) { argument
785 void initializeLocal(ASTContext &Context, SourceLocation loc) { argument
871 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
928 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
960 void initializeLocal(ASTContext &Context, SourceLocatio
[all...]
H A DVTableBuilder.h335 ItaniumVTableContext(ASTContext &Context);
480 ASTContext &Context; member in class:clang::MicrosoftVTableContext
511 MicrosoftVTableContext(ASTContext &Context) argument
512 : VTableContextBase(/*MS=*/true), Context(Context) {}
/external/clang/include/clang/Serialization/
H A DASTWriter.h104 ASTContext *Context; member in class:clang::ASTWriter
452 void WriteControlBlock(Preprocessor &PP, ASTContext &Context,
472 uint64_t WriteDeclContextLexicalBlock(ASTContext &Context, DeclContext *DC);
473 uint64_t WriteDeclContextVisibleBlock(ASTContext &Context, DeclContext *DC);
508 void WriteDecl(ASTContext &Context, Decl *D);
/external/clang/lib/AST/
H A DDeclTemplate.cpp178 static void GenerateInjectedTemplateArgs(ASTContext &Context, argument
186 QualType ArgType = Context.getTypeDeclType(TTP);
188 ArgType = Context.getPackExpansionType(ArgType, None);
193 Expr *E = new (Context) DeclRefExpr(NTTP, /*enclosing*/ false,
194 NTTP->getType().getNonLValueExprType(Context),
199 E = new (Context) PackExpansionExpr(Context.DependentTy, E,
211 Arg = TemplateArgument::CreatePackCopy(Context, &Arg, 1);
251 ASTContext &Context = getASTContext(); local
255 (void)Context
325 ASTContext &Context = getASTContext(); local
408 ASTContext &Context = getASTContext(); local
649 CreateCopy(ASTContext &Context, const TemplateArgument *Args, unsigned NumArgs) argument
690 ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
713 Create(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, ClassTemplateSpecializationDecl *PrevDecl) argument
802 ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, const ASTTemplateArgumentListInfo *ArgInfos, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
825 Create(ASTContext &Context, TagKind TK,DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, ClassTemplateDecl *SpecializedTemplate, const TemplateArgument *Args, unsigned NumArgs, const TemplateArgumentListInfo &ArgInfos, QualType CanonInjectedType, ClassTemplatePartialSpecializationDecl *PrevDecl) argument
863 Create(ASTContext &Context, DeclContext *DC, SourceLocation L, unsigned NParams, TemplateParameterList **Params, FriendUnion Friend, SourceLocation FLoc) argument
958 ASTContext &Context = getASTContext(); local
1057 VarTemplateSpecializationDecl( Kind DK, ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs) argument
1074 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs) argument
1120 VarTemplatePartialSpecializationDecl( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs, const ASTTemplateArgumentListInfo *ArgInfos) argument
1136 Create( ASTContext &Context, DeclContext *DC, SourceLocation StartLoc, SourceLocation IdLoc, TemplateParameterList *Params, VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo, StorageClass S, const TemplateArgument *Args, unsigned NumArgs, const TemplateArgumentListInfo &ArgInfos) argument
[all...]
/external/clang/lib/CodeGen/
H A DCGValue.h295 CharUnits alignment, ASTContext &Context,
298 qs.setObjCGCAttr(Context.getObjCGCAttrKind(type));
294 MakeAddr(llvm::Value *address, QualType type, CharUnits alignment, ASTContext &Context, llvm::MDNode *TBAAInfo = nullptr) argument
/external/clang/lib/Format/
H A DTokenAnnotator.cpp38 Contexts.push_back(Context(tok::unknown, 1, /*IsExpression=*/false));
649 struct Context { struct in class:clang::format::__anon17899::AnnotatingParser
650 Context(tok::TokenKind ContextKind, unsigned BindingStrength, function in struct:clang::format::__anon17899::AnnotatingParser::Context
676 /// \brief Puts a new \c Context onto the stack \c Contexts for the lifetime
684 P.Contexts.push_back(Context(ContextKind,
986 SmallVector<Context, 8> Contexts;
/external/clang/lib/Sema/
H A DDeclSpec.cpp56 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, argument
58 Builder.Extend(Context, TemplateKWLoc, TL, ColonColonLoc);
67 void CXXScopeSpec::Extend(ASTContext &Context, IdentifierInfo *Identifier, argument
70 Builder.Extend(Context, Identifier, IdentifierLoc, ColonColonLoc);
80 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceDecl *Namespace, argument
83 Builder.Extend(Context, Namespace, NamespaceLoc, ColonColonLoc);
93 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceAliasDecl *Alias, argument
96 Builder.Extend(Context, Alias, AliasLoc, ColonColonLoc);
106 void CXXScopeSpec::MakeGlobal(ASTContext &Context, argument
108 Builder.MakeGlobal(Context, ColonColonLo
116 MakeTrivial(ASTContext &Context, NestedNameSpecifier *Qualifier, SourceRange R) argument
[all...]

Completed in 1465 milliseconds

<<111213141516171819