Home
last modified time | relevance | path

Searched refs:ExtInfo (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/lib/CodeGen/
DCGCleanup.h176 struct ExtInfo { struct
193 mutable struct ExtInfo *ExtInfo; variable
195 struct ExtInfo &getExtInfo() { in getExtInfo()
196 if (!ExtInfo) ExtInfo = new struct ExtInfo(); in getExtInfo()
197 return *ExtInfo; in getExtInfo()
200 const struct ExtInfo &getExtInfo() const { in getExtInfo()
201 if (!ExtInfo) ExtInfo = new struct ExtInfo(); in getExtInfo()
202 return *ExtInfo; in getExtInfo()
225 NormalBlock(0), EHBlock(0), ActiveFlag(0), ExtInfo(0) in EHCleanupScope()
231 delete ExtInfo; in ~EHCleanupScope() local
[all …]
DCodeGenTypes.h184 const FunctionType::ExtInfo &Info);
187 const FunctionType::ExtInfo &Info);
194 const FunctionType::ExtInfo &Info);
DCGCall.h192 const FunctionType::ExtInfo &Info, in Profile()
DCGCall.cpp192 FunctionType::ExtInfo einfo; in getFunctionInfo()
217 const FunctionType::ExtInfo &Info) { in getFunctionInfo()
228 const FunctionType::ExtInfo &Info) { in getFunctionInfo()
239 return getFunctionInfo(getContext().VoidTy, args, FunctionType::ExtInfo()); in getNullaryFunctionInfo()
244 const FunctionType::ExtInfo &Info) { in getFunctionInfo()
DCGObjC.cpp317 FunctionType::ExtInfo()), in GenerateObjCGetterBody()
383 FunctionType::ExtInfo()), in GenerateObjCGetter()
527 FunctionType::ExtInfo()), in GenerateObjCAtomicSetterBody()
604 FunctionType::ExtInfo()), in GenerateObjCSetter()
1063 FunctionType::ExtInfo()), in EmitObjCForCollectionStmt()
DCGBlocks.cpp1064 CGM.getTypes().getFunctionInfo(C.VoidTy, args, FunctionType::ExtInfo()); in GenerateCopyHelperFunction()
1179 CGM.getTypes().getFunctionInfo(C.VoidTy, args, FunctionType::ExtInfo()); in GenerateDestroyHelperFunction()
1416 CGF.CGM.getTypes().getFunctionInfo(R, args, FunctionType::ExtInfo()); in generateByrefCopyHelper()
1484 CGF.CGM.getTypes().getFunctionInfo(R, args, FunctionType::ExtInfo()); in generateByrefDisposeHelper()
DCGDeclCXX.cpp353 FunctionType::ExtInfo()); in generateDestroyHelper()
DCGObjCMac.cpp217 FunctionType::ExtInfo()), in getGetPropertyFn()
237 FunctionType::ExtInfo()), in getSetPropertyFn()
255 FunctionType::ExtInfo()), in getCopyStructFn()
268 FunctionType::ExtInfo()), in getEnumerationMutationFn()
1559 FunctionType::ExtInfo()); in EmitMessageSend()
5604 FunctionType::ExtInfo()); in EmitVTableMessageSend()
DCGObjCGNU.cpp996 FunctionType::ExtInfo()); in GenerateMessageSendSuper()
1150 FunctionType::ExtInfo()); in GenerateMessageSend()
/external/clang/include/clang/AST/
DType.h1148 unsigned ExtInfo : 8;
2508 class ExtInfo {
2525 ExtInfo(unsigned Bits) : Bits(static_cast<uint16_t>(Bits)) {}
2532 ExtInfo(bool noReturn, bool hasRegParm, unsigned regParm, CallingConv cc,
2543 ExtInfo() : Bits(0) {}
2556 bool operator==(ExtInfo Other) const {
2559 bool operator!=(ExtInfo Other) const {
2566 ExtInfo withNoReturn(bool noReturn) const {
2568 return ExtInfo(Bits | NoReturnMask);
2570 return ExtInfo(Bits & ~NoReturnMask);
[all …]
DDecl.h541 struct ExtInfo : public QualifierInfo { struct
545 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo; argument
551 bool hasExtInfo() const { return DeclInfo.is<ExtInfo*>(); } in hasExtInfo()
552 ExtInfo *getExtInfo() { return DeclInfo.get<ExtInfo*>(); } in getExtInfo()
553 const ExtInfo *getExtInfo() const { return DeclInfo.get<ExtInfo*>(); } in getExtInfo()
2348 typedef QualifierInfo ExtInfo; typedef
2355 llvm::PointerUnion<TypedefNameDecl*, ExtInfo*> TypedefNameDeclOrQualifier;
2357 bool hasExtInfo() const { return TypedefNameDeclOrQualifier.is<ExtInfo*>(); } in hasExtInfo()
2358 ExtInfo *getExtInfo() { return TypedefNameDeclOrQualifier.get<ExtInfo*>(); } in getExtInfo()
2359 const ExtInfo *getExtInfo() const { in getExtInfo()
[all …]
DCanonicalType.h587 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
594 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
601 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
DASTContext.h547 FunctionType::ExtInfo EInfo);
674 const FunctionType::ExtInfo &Info) const;
677 return getFunctionNoProtoType(ResultTy, FunctionType::ExtInfo()); in getFunctionNoProtoType()
/external/clang/lib/AST/
DASTContext.cpp1338 FunctionType::ExtInfo Info) { in adjustFunctionType()
1348 EPI.ExtInfo = Info; in adjustFunctionType()
1964 const FunctionType::ExtInfo &Info) const { in getFunctionNoProtoType()
1991 FunctionProtoType::ExtInfo newInfo = Info.withCallingConv(CallConv); in getFunctionNoProtoType()
2021 const CallingConv DefaultCC = EPI.ExtInfo.getCC(); in getFunctionType()
2037 CanonicalEPI.ExtInfo in getFunctionType()
2038 = CanonicalEPI.ExtInfo.withCallingConv(getCanonicalCallConv(CallConv)); in getFunctionType()
2069 newEPI.ExtInfo = EPI.ExtInfo.withCallingConv(CallConv); in getFunctionType()
5539 FunctionType::ExtInfo lbaseInfo = lbase->getExtInfo(); in mergeFunctionTypes()
5540 FunctionType::ExtInfo rbaseInfo = rbase->getExtInfo(); in mergeFunctionTypes()
[all …]
DDecl.cpp1000 DeclInfo = new (getASTContext()) ExtInfo; in setQualifierInfo()
1034 DeclInfo = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
2273 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setQualifierInfo()
2297 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
DType.cpp1512 epi.ExtInfo), in FunctionProtoType()
1645 epi.ExtInfo.Profile(ID); in Profile()
DTypePrinter.cpp427 FunctionType::ExtInfo Info = T->getExtInfo(); in printFunctionProto()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp179 DeclaratorDecl::ExtInfo *Info = in Visit()
180 DD->DeclInfo.get<DeclaratorDecl::ExtInfo *>(); in Visit()
273 TagDecl::ExtInfo *Info = new (*Reader.getContext()) TagDecl::ExtInfo(); in VisitTagDecl()
320 DeclaratorDecl::ExtInfo *Info in VisitDeclaratorDecl()
321 = new (*Reader.getContext()) DeclaratorDecl::ExtInfo(); in VisitDeclaratorDecl()
DASTReader.cpp3320 FunctionType::ExtInfo Info(Record[1], Record[2], Record[3], in ReadTypeRecord()
3329 EPI.ExtInfo = FunctionType::ExtInfo(/*noreturn*/ Record[1], in ReadTypeRecord()
/external/clang/lib/Sema/
DSemaType.cpp1416 FunctionType::ExtInfo Info) { in BuildFunctionType()
1441 EPI.ExtInfo = Info; in BuildFunctionType()
3412 FunctionType::ExtInfo EI = unwrapped.get()->getExtInfo().withNoReturn(true); in handleFunctionTypeAttr()
3428 FunctionType::ExtInfo EI in handleFunctionTypeAttr()
3454 FunctionType::ExtInfo EI = in handleFunctionTypeAttr()
3472 FunctionType::ExtInfo EI= unwrapped.get()->getExtInfo().withCallingConv(CC); in handleFunctionTypeAttr()
3513 FunctionType::ExtInfo EI = unwrapped.get()->getExtInfo().withCallingConv(CC); in handleFunctionTypeAttr()
DSemaDeclCXX.cpp3171 EPI.ExtInfo = CtorType->getExtInfo(); in CheckExplicitlyDefaultedDefaultConstructor()
3238 EPI.ExtInfo = CtorType->getExtInfo(); in CheckExplicitlyDefaultedCopyConstructor()
3324 EPI.ExtInfo = OperType->getExtInfo(); in CheckExplicitlyDefaultedCopyAssignment()
3370 EPI.ExtInfo = DtorType->getExtInfo(); in CheckExplicitlyDefaultedDestructor()
6179 FunctionProtoType::ExtProtoInfo ExtInfo = in DeclareInheritedConstructors() local
6181 ExtInfo.Variadic = false; in DeclareInheritedConstructors()
6183 Args.data(), params, ExtInfo) in DeclareInheritedConstructors()
DSemaLookup.cpp693 EPI.ExtInfo = EPI.ExtInfo.withCallingConv(CC_Default); in LookupDirect()
DSemaExpr.cpp8449 FunctionType::ExtInfo Ext = FTy->getExtInfo(); in ActOnBlockStmtExpr()
8455 EPI.ExtInfo = Ext; in ActOnBlockStmtExpr()
8469 EPI.ExtInfo = Ext; in ActOnBlockStmtExpr()
8479 EPI.ExtInfo = FunctionType::ExtInfo().withNoReturn(NoReturn); in ActOnBlockStmtExpr()
DSemaDecl.cpp1632 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl()
1633 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl()
4863 EPI.ExtInfo = FT->getExtInfo(); in ActOnFunctionDeclarator()
DSemaOverload.cpp973 FunctionType::ExtInfo EInfo = FromFn->getExtInfo(); in IsNoReturnConversion()
2031 FunctionType::ExtInfo FromEInfo = FromFunctionType->getExtInfo(); in IsBlockPointerConversion()
2032 FunctionType::ExtInfo ToEInfo = ToFunctionType->getExtInfo(); in IsBlockPointerConversion()

12