Searched refs:Context (Results 1 - 25 of 408) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/llvm/include/llvm/Assembly/
H A DParser.h35 LLVMContext &Context ///< Context in which to allocate globals info.
48 LLVMContext &Context
59 LLVMContext &Context
H A DWriter.h33 const Module *Context = 0);
/freebsd-9.3-release/contrib/llvm/include/llvm/IRReader/
H A DIRReader.h32 LLVMContext &Context);
39 LLVMContext &Context);
45 Module *ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context);
51 LLVMContext &Context);
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DValueTypes.cpp23 LLVMContext &Context = LLVMTy->getContext(); local
24 EVT IntTy = getIntegerVT(Context, getVectorElementType().getSizeInBits());
25 return getVectorVT(Context, IntTy, getVectorNumElements());
28 EVT EVT::getExtendedIntegerVT(LLVMContext &Context, unsigned BitWidth) { argument
30 VT.LLVMTy = IntegerType::get(Context, BitWidth);
35 EVT EVT::getExtendedVectorVT(LLVMContext &Context, EVT VT, argument
38 ResultVT.LLVMTy = VectorType::get(VT.getTypeForEVT(Context), NumElements);
180 Type *EVT::getTypeForEVT(LLVMContext &Context) const {
185 case MVT::isVoid: return Type::getVoidTy(Context);
186 case MVT::i1: return Type::getInt1Ty(Context);
[all...]
H A DLeakDetector.cpp27 static void clearGarbage(LLVMContext &Context) { argument
29 Context.pImpl->LLVMObjects.clear();
52 void LeakDetector::checkForGarbageImpl(LLVMContext &Context, argument
54 LLVMContextImpl *pImpl = Context.pImpl;
68 clearGarbage(Context);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DMangleNumberingContext.cpp1 //===--- MangleNumberingContext.cpp - Context for mangling numbers --------===//
25 ASTContext &Context = CallOperator->getASTContext(); local
27 QualType Key = Context.getFunctionType(Context.VoidTy, Proto->getArgTypes(),
29 Key = Context.getCanonicalType(Key);
H A DItaniumCXXABI.cpp46 ASTContext &Context; member in class:__anon3002::ItaniumCXXABI
48 ItaniumCXXABI(ASTContext &Ctx) : Context(Ctx) { }
52 const TargetInfo &Target = Context.getTargetInfo();
73 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD);
75 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
H A DInheritViz.cpp37 ASTContext& Context; member in class:clang::InheritanceHierarchyWriter
43 InheritanceHierarchyWriter(ASTContext& Context, raw_ostream& Out) argument
44 : Context(Context), Out(Out) { }
64 QualType CanonType = Context.getCanonicalType(Type);
98 QualType CanonBaseType = Context.getCanonicalType(Base->getType());
128 QualType CanonType = Context.getCanonicalType(Type);
138 void CXXRecordDecl::viewInheritance(ASTContext& Context) const {
139 QualType Self = Context.getTypeDeclType(this);
154 InheritanceHierarchyWriter Writer(Context,
[all...]
H A DRawCommentList.cpp119 const char *RawComment::extractBriefText(const ASTContext &Context) const {
121 getRawText(Context.getSourceManager());
128 comments::Lexer L(Allocator, Context.getDiagnostics(),
129 Context.getCommentCommandTraits(),
132 comments::BriefParser P(L, Context.getCommentCommandTraits());
136 char *BriefTextPtr = new (Context) char[BriefTextLength + 1];
144 comments::FullComment *RawComment::parse(const ASTContext &Context, argument
148 getRawText(Context.getSourceManager());
150 comments::Lexer L(Context.getAllocator(), Context
[all...]
H A DNestedNameSpecifier.cpp28 NestedNameSpecifier::FindOrInsert(const ASTContext &Context, argument
35 = Context.NestedNameSpecifiers.FindNodeOrInsertPos(ID, InsertPos);
37 NNS = new (Context, llvm::alignOf<NestedNameSpecifier>())
39 Context.NestedNameSpecifiers.InsertNode(NNS, InsertPos);
46 NestedNameSpecifier::Create(const ASTContext &Context, argument
55 return FindOrInsert(Context, Mockup);
59 NestedNameSpecifier::Create(const ASTContext &Context, argument
70 return FindOrInsert(Context, Mockup);
74 NestedNameSpecifier::Create(const ASTContext &Context, argument
85 return FindOrInsert(Context, Mocku
89 Create(const ASTContext &Context, NestedNameSpecifier *Prefix, bool Template, const Type *T) argument
101 Create(const ASTContext &Context, IdentifierInfo *II) argument
111 GlobalSpecifier(const ASTContext &Context) argument
500 Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, SourceLocation ColonColonLoc) argument
513 Extend(ASTContext &Context, IdentifierInfo *Identifier, SourceLocation IdentifierLoc, SourceLocation ColonColonLoc) argument
525 Extend(ASTContext &Context, NamespaceDecl *Namespace, SourceLocation NamespaceLoc, SourceLocation ColonColonLoc) argument
537 Extend(ASTContext &Context, NamespaceAliasDecl *Alias, SourceLocation AliasLoc, SourceLocation ColonColonLoc) argument
548 MakeGlobal(ASTContext &Context, SourceLocation ColonColonLoc) argument
557 MakeTrivial(ASTContext &Context, NestedNameSpecifier *Qualifier, SourceRange R) argument
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DTypeBuilder.h53 /// static StructType *get(LLVMContext &Context) {
57 /// TypeBuilder<types::i<32>, xcompile>::get(Context),
58 /// TypeBuilder<types::i<32>*, xcompile>::get(Context),
59 /// TypeBuilder<types::i<8>*[], xcompile>::get(Context),
106 static PointerType *get(LLVMContext &Context) { argument
107 return PointerType::getUnqual(TypeBuilder<T,cross>::get(Context));
117 static ArrayType *get(LLVMContext &Context) { argument
118 return ArrayType::get(TypeBuilder<T, cross>::get(Context), N);
124 static ArrayType *get(LLVMContext &Context) { argument
125 return ArrayType::get(TypeBuilder<T, cross>::get(Context),
249 get(LLVMContext &Context) argument
255 get(LLVMContext &Context) argument
266 get(LLVMContext &Context) argument
278 get(LLVMContext &Context) argument
293 get(LLVMContext &Context) argument
309 get(LLVMContext &Context) argument
324 get(LLVMContext &Context) argument
331 get(LLVMContext &Context) argument
341 get(LLVMContext &Context) argument
353 get(LLVMContext &Context) argument
368 get(LLVMContext &Context) argument
384 get(LLVMContext &Context) argument
[all...]
H A DMDBuilder.h28 LLVMContext &Context; member in class:llvm::MDBuilder
31 MDBuilder(LLVMContext &context) : Context(context) {}
35 return MDString::get(Context, Str);
49 Value *Op = ConstantFP::get(Type::getFloatTy(Context), Accuracy);
50 return MDNode::get(Context, Op);
70 Type *Int32Ty = Type::getInt32Ty(Context);
74 return MDNode::get(Context, Vals);
89 Type *Ty = IntegerType::get(Context, Lo.getBitWidth());
91 return MDNode::get(Context, Range);
104 MDNode *Dummy = MDNode::getTemporary(Context, ArrayRe
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaInternal.h25 return PartialDiagnostic(DiagID, Context.getDiagAllocator());
31 inline bool IsVariableAConstantExpression(VarDecl *Var, ASTContext &Context) { argument
34 Var->isUsableInConstantExpressions(Context) &&
50 if (Var->hasDefinition(SemaRef.Context) == VarDecl::DeclarationOnly &&
63 Var->markUsed(SemaRef.Context);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Index/
H A DCommentToXML.h35 const ASTContext &Context);
39 const ASTContext &Context);
43 const ASTContext &Context);
/freebsd-9.3-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFStreamer.h21 MCELFStreamer* createAArch64ELFStreamer(MCContext &Context, MCAsmBackend &TAB,
/freebsd-9.3-release/usr.sbin/ppp/
H A Dchap_ms.c157 SHA_CTX Context; local
167 SHA1_Init(&Context);
169 SHA1_Update(&Context, PeerChallenge, 16);
170 SHA1_Update(&Context, AuthenticatorChallenge, 16);
171 SHA1_Update(&Context, Name, strlen(Name));
173 SHA1_Final(Digest, &Context);
219 SHA_CTX Context; local
251 SHA1_Init(&Context);
252 SHA1_Update(&Context, PasswordHashHash, 16);
253 SHA1_Update(&Context, NTRespons
281 SHA_CTX Context; local
300 SHA_CTX Context; local
353 SHA_CTX Context; local
[all...]
/freebsd-9.3-release/contrib/llvm/lib/AsmParser/
H A DParser.cpp28 LLVMContext &Context) {
37 OwningPtr<Module> M2(new Module(F->getBufferIdentifier(), Context));
44 LLVMContext &Context) {
52 return ParseAssembly(File.take(), 0, Err, Context);
56 SMDiagnostic &Err, LLVMContext &Context) {
61 return ParseAssembly(F, M, Err, Context);
25 ParseAssembly(MemoryBuffer *F, Module *M, SMDiagnostic &Err, LLVMContext &Context) argument
43 ParseAssemblyFile(const std::string &Filename, SMDiagnostic &Err, LLVMContext &Context) argument
55 ParseAssemblyString(const char *AsmString, Module *M, SMDiagnostic &Err, LLVMContext &Context) argument
/freebsd-9.3-release/contrib/llvm/lib/IRReader/
H A DIRReader.cpp35 LLVMContext &Context) {
39 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg);
50 return ParseAssembly(Buffer, 0, Err, Context);
54 LLVMContext &Context) {
62 return getLazyIRModule(File.take(), Err, Context);
66 LLVMContext &Context) {
72 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg);
81 return ParseAssembly(Buffer, 0, Err, Context);
85 LLVMContext &Context) {
93 return ParseIR(File.take(), Err, Context);
34 getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context) argument
53 getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err, LLVMContext &Context) argument
65 ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context) argument
84 ParseIRFile(const std::string &Filename, SMDiagnostic &Err, LLVMContext &Context) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaAttr.cpp125 RD->addAttr(::new (Context) AlignMac68kAttr(SourceLocation(), Context));
127 RD->addAttr(::new (Context) MaxFieldAlignmentAttr(SourceLocation(),
128 Context,
136 RD->addAttr(::new (Context) MsStructAttr(SourceLocation(), Context));
144 PragmaPackStack *Context = static_cast<PragmaPackStack*>(PackContext); local
153 Context->push(0);
154 Context->setAlignment(0);
160 Context
212 PragmaPackStack *Context = static_cast<PragmaPackStack*>(PackContext); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DEvaluatedExprVisitor.h31 ASTContext &Context; member in class:clang::EvaluatedExprVisitor
34 explicit EvaluatedExprVisitor(ASTContext &Context) : Context(Context) { } argument
71 if (!CE->isUnevaluatedBuiltinCall(Context))
/freebsd-9.3-release/sys/contrib/dev/acpica/events/
H A Devsci.c57 void *Context);
64 * PARAMETERS: Context - Calling Context
75 void *Context)
77 ACPI_GPE_XRUPT_INFO *GpeXruptList = Context;
110 * PARAMETERS: Context - Calling Context
120 void *Context)
122 ACPI_GPE_XRUPT_INFO *GpeXruptList = Context;
74 AcpiEvSciXruptHandler( void *Context) argument
119 AcpiEvGpeXruptHandler( void *Context) argument
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchFinder.h73 MatchResult(const BoundNodes &Nodes, clang::ASTContext *Context);
82 clang::ASTContext * const Context; member in class:clang::ast_matchers::MatchFinder::MatchResult::clang
159 template <typename T> void match(const T &Node, ASTContext &Context) { argument
160 match(clang::ast_type_traits::DynTypedNode::create(Node), Context); local
163 ASTContext &Context);
167 void matchAST(ASTContext &Context);
198 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
203 ASTContext &Context);
214 /// Node, Context));
241 ASTContext &Context) {
240 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node, ASTContext &Context) argument
251 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) argument
[all...]
/freebsd-9.3-release/contrib/gnu-sort/lib/
H A Dargmatch.h71 # define invalid_arg(Context, Value, Problem) \
72 argmatch_invalid (Context, Value, Problem)
96 # define XARGMATCH(Context, Arg, Arglist, Vallist) \
97 ((Vallist) [__xargmatch_internal (Context, Arg, Arglist, \
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTCommon.h36 TypeID MakeTypeID(ASTContext &Context, QualType T, IdxForTypeTy IdxForType) { argument
51 if (T == Context.AutoDeductTy)
53 if (T == Context.AutoRRefDeductTy)
55 if (T == Context.VaListTagTy)
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Basic/
H A DBuiltins.cpp31 const Builtin::Info &Builtin::Context::GetRecord(unsigned ID) const {
38 Builtin::Context::Context() { function in class:Builtin::Context
44 void Builtin::Context::InitializeTarget(const TargetInfo &Target) {
49 bool Builtin::Context::BuiltinIsSupported(const Builtin::Info &BuiltinInfo,
69 void Builtin::Context::InitializeBuiltins(IdentifierTable &Table,
84 Builtin::Context::GetBuiltinNames(SmallVectorImpl<const char *> &Names) {
96 void Builtin::Context::ForgetBuiltin(unsigned ID, IdentifierTable &Table) {
101 Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx,
120 Builtin::Context
[all...]

Completed in 157 milliseconds

1234567891011>>