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

1234567891011>>

/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DLambdaMangleContext.cpp1 //===--- LambdaMangleContext.cpp - Context for mangling lambdas -*- C++ -*-===//
24 ASTContext &Context = CallOperator->getASTContext(); local
27 Context.getFunctionType(Context.VoidTy,
31 Key = Context.getCanonicalType(Key);
H A DItaniumCXXABI.cpp32 ASTContext &Context; member in class:__anon2976::ItaniumCXXABI
34 ItaniumCXXABI(ASTContext &Ctx) : Context(Ctx) { }
38 const TargetInfo &Target = Context.getTargetInfo();
59 const ASTRecordLayout &Layout = Context.getASTRecordLayout(RD);
61 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerWidth(0));
H A DInheritViz.cpp35 ASTContext& Context; member in class:clang::InheritanceHierarchyWriter
41 InheritanceHierarchyWriter(ASTContext& Context, raw_ostream& Out) argument
42 : Context(Context), Out(Out) { }
62 QualType CanonType = Context.getCanonicalType(Type);
96 QualType CanonBaseType = Context.getCanonicalType(Base->getType());
126 QualType CanonType = Context.getCanonicalType(Type);
136 void CXXRecordDecl::viewInheritance(ASTContext& Context) const {
137 QualType Self = Context.getTypeDeclType(this);
155 InheritanceHierarchyWriter Writer(Context,
[all...]
H A DRawCommentList.cpp140 const char *RawComment::extractBriefText(const ASTContext &Context) const {
142 getRawText(Context.getSourceManager());
149 comments::Lexer L(Allocator, Context.getDiagnostics(),
150 Context.getCommentCommandTraits(),
153 comments::BriefParser P(L, Context.getCommentCommandTraits());
157 char *BriefTextPtr = new (Context) char[BriefTextLength + 1];
165 comments::FullComment *RawComment::parse(const ASTContext &Context, argument
169 getRawText(Context.getSourceManager());
171 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-10.0-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-10.0-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-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaInternal.h25 return PartialDiagnostic(DiagID, Context.getDiagAllocator());
/freebsd-10.0-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-10.0-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);
175 Type *EVT::getTypeForEVT(LLVMContext &Context) const {
180 case MVT::isVoid: return Type::getVoidTy(Context);
181 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-10.0-release/contrib/llvm/lib/IRReader/
H A DIRReader.cpp30 LLVMContext &Context) {
34 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg);
45 return ParseAssembly(Buffer, 0, Err, Context);
49 LLVMContext &Context) {
57 return getLazyIRModule(File.take(), Err, Context);
61 LLVMContext &Context) {
67 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg);
76 return ParseAssembly(Buffer, 0, Err, Context);
80 LLVMContext &Context) {
88 return ParseIR(File.take(), Err, Context);
29 getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context) argument
48 getLazyIRFileModule(const std::string &Filename, SMDiagnostic &Err, LLVMContext &Context) argument
60 ParseIR(MemoryBuffer *Buffer, SMDiagnostic &Err, LLVMContext &Context) argument
79 ParseIRFile(const std::string &Filename, SMDiagnostic &Err, LLVMContext &Context) argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64ELFStreamer.h21 MCELFStreamer* createAArch64ELFStreamer(MCContext &Context, MCAsmBackend &TAB,
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.h21 MCELFStreamer* createARMELFStreamer(MCContext &Context, MCAsmBackend &TAB,
/freebsd-10.0-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-10.0-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-10.0-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
56 return this->Visit(E->getChosenSubExpr(Context));
71 if (!CE->isUnevaluatedBuiltinCall(Context))
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaAttr.cpp124 RD->addAttr(::new (Context) AlignMac68kAttr(SourceLocation(), Context));
126 RD->addAttr(::new (Context) MaxFieldAlignmentAttr(SourceLocation(),
127 Context,
135 RD->addAttr(::new (Context) MsStructAttr(SourceLocation(), Context));
143 PragmaPackStack *Context = static_cast<PragmaPackStack*>(PackContext); local
152 Context->push(0);
153 Context->setAlignment(0);
159 Context
211 PragmaPackStack *Context = static_cast<PragmaPackStack*>(PackContext); local
[all...]
H A DTargetAttributesSema.cpp41 if (!NumParamsExpr->isIntegerConstantExpr(NumParams, S.Context)) {
55 d->addAttr(::new (S.Context) MSP430InterruptAttr(Attr.getLoc(), S.Context, Num));
56 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context));
84 d->addAttr(::new (S.Context) MBlazeInterruptHandlerAttr(Attr.getLoc(),
85 S.Context));
86 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context));
99 d->addAttr(::new (S.Context) MBlazeSaveVolatilesAtt
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Basic/
H A DBuiltins.cpp29 const Builtin::Info &Builtin::Context::GetRecord(unsigned ID) const {
36 Builtin::Context::Context() { function in class:Builtin::Context
42 void Builtin::Context::InitializeTarget(const TargetInfo &Target) {
50 void Builtin::Context::InitializeBuiltins(IdentifierTable &Table,
67 Builtin::Context::GetBuiltinNames(SmallVectorImpl<const char *> &Names,
80 void Builtin::Context::ForgetBuiltin(unsigned ID, IdentifierTable &Table) {
85 Builtin::Context::isPrintfLike(unsigned ID, unsigned &FormatIdx,
104 Builtin::Context::isScanfLike(unsigned ID, unsigned &FormatIdx,
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.h21 MipsELFStreamer(MCContext &Context, MCAsmBackend &TAB, argument
24 : MCELFStreamer(SK_MipsELFStreamer, Context, TAB, OS, Emitter) {
38 MCELFStreamer* createMipsELFStreamer(MCContext &Context, MCAsmBackend &TAB,
/freebsd-10.0-release/sys/contrib/dev/acpica/components/events/
H A Devsci.c59 void *Context);
103 SciHandler->Context);
117 * PARAMETERS: Context - Calling Context
128 void *Context)
130 ACPI_GPE_XRUPT_INFO *GpeXruptList = Context;
167 * PARAMETERS: Context - Calling Context
177 void *Context)
179 ACPI_GPE_XRUPT_INFO *GpeXruptList = Context;
127 AcpiEvSciXruptHandler( void *Context) argument
176 AcpiEvGpeXruptHandler( void *Context) argument
[all...]
/freebsd-10.0-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
143 template <typename T> void match(const T &Node, ASTContext &Context) { argument
144 match(clang::ast_type_traits::DynTypedNode::create(Node), Context); local
147 ASTContext &Context);
179 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context);
184 ASTContext &Context);
195 /// Node, Context));
222 ASTContext &Context) {
226 Finder.match(Node, Context);
221 match(MatcherT Matcher, const ast_type_traits::DynTypedNode &Node, ASTContext &Context) argument
232 match(MatcherT Matcher, const NodeT &Node, ASTContext &Context) argument
[all...]

Completed in 362 milliseconds

1234567891011>>