Home
last modified time | relevance | path

Searched refs:getExtInfo (Results 1 – 25 of 26) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGCleanup.h265 struct ExtInfo &getExtInfo() { in getExtInfo() function
270 const struct ExtInfo &getExtInfo() const { in getExtInfo() function
374 struct ExtInfo &ExtInfo = getExtInfo(); in addBranchAfter()
410 return getExtInfo().Branches.insert(Block).second; in addBranchThrough()
H A DCGCall.cpp117 FTNP->getExtInfo(), {}, RequiredArgs(0)); in arrangeFreeFunctionType()
194 FTP->getExtInfo(), paramInfos, in arrangeLLVMFunctionInfo()
360 FunctionType::ExtInfo extInfo = FTP->getExtInfo(); in arrangeCXXStructorDeclaration()
433 FunctionType::ExtInfo Info = FPT->getExtInfo(); in arrangeCXXConstructorCall()
465 /*chainCall=*/false, std::nullopt, noProto->getExtInfo(), {}, in arrangeFunctionDeclaration()
555 FTP->getExtInfo(), {}, RequiredArgs(1)); in arrangeUnprototypedMustTailThunk()
621 argTypes, fnType->getExtInfo(), paramInfos, in arrangeFreeFunctionLikeCall()
654 argTypes, proto->getExtInfo(), paramInfos, in arrangeBlockFunctionDeclaration()
708 FunctionType::ExtInfo info = proto->getExtInfo(); in arrangeCXXMethodCall()
741 signature.getExtInfo(), in arrangeCall()
[all …]
H A DTargetInfo.cpp9686 FT, FT->getExtInfo().withCallingConv(CC_OpenCLKernel)); in setCUDAKernelCallingConvention()
10637 FT, FT->getExtInfo().withCallingConv(CC_OpenCLKernel)); in setCUDAKernelCallingConvention()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTypeProperties.td267 let Read = [{ node->getExtInfo().getNoReturn() }];
270 let Read = [{ node->getExtInfo().getHasRegParm() }];
273 let Read = [{ node->getExtInfo().getRegParm() }];
276 let Read = [{ node->getExtInfo().getCC() }];
279 let Read = [{ node->getExtInfo().getProducesResult() }];
282 let Read = [{ node->getExtInfo().getNoCallerSavedRegs() }];
285 let Read = [{ node->getExtInfo().getNoCfCheck() }];
288 let Read = [{ node->getExtInfo().getCmseNSCall() }];
H A DDecl.h783 ExtInfo *getExtInfo() { return DeclInfo.get<ExtInfo*>(); } in getExtInfo() function
784 const ExtInfo *getExtInfo() const { return DeclInfo.get<ExtInfo*>(); } in getExtInfo() function
798 ? getExtInfo()->TInfo in getTypeSourceInfo()
804 getExtInfo()->TInfo = TI; in setTypeSourceInfo()
826 return hasExtInfo() ? getExtInfo()->QualifierLoc.getNestedNameSpecifier() in getQualifier()
834 return hasExtInfo() ? getExtInfo()->QualifierLoc in getQualifierLoc()
844 return hasExtInfo() ? getExtInfo()->TrailingRequiresClause in getTrailingRequiresClause()
849 return hasExtInfo() ? getExtInfo()->TrailingRequiresClause in getTrailingRequiresClause()
856 return hasExtInfo() ? getExtInfo()->NumTemplParamLists : 0; in getNumTemplateParameterLists()
861 return getExtInfo()->TemplParamLists[index]; in getTemplateParameterList()
[all …]
H A DCanonicalType.h488 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
495 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
502 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
H A DType.h3947 bool getHasRegParm() const { return getExtInfo().getHasRegParm(); }
3948 unsigned getRegParmType() const { return getExtInfo().getRegParm(); }
3953 bool getNoReturnAttr() const { return getExtInfo().getNoReturn(); }
3955 bool getCmseNSCallAttr() const { return getExtInfo().getCmseNSCall(); }
3956 CallingConv getCallConv() const { return getExtInfo().getCC(); }
3957 ExtInfo getExtInfo() const { return ExtInfo(FunctionTypeBits.ExtInfo); }
4000 Profile(ID, getReturnType(), getExtInfo());
4245 EPI.ExtInfo = getExtInfo();
6797 return FT->getExtInfo();
6799 return FT->getExtInfo();
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDecl.cpp1945 getExtInfo()->TInfo = savedTInfo; in setQualifierInfo()
1948 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
1951 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
1964 getExtInfo()->TInfo = savedTInfo; in setTrailingRequiresClause()
1967 getExtInfo()->TrailingRequiresClause = TrailingRequiresClause; in setTrailingRequiresClause()
1980 getExtInfo()->TInfo = savedTInfo; in setTemplateParameterListsInfo()
1983 getExtInfo()->setTemplateParameterListsInfo(Context, TPLists); in setTemplateParameterListsInfo()
4491 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
4495 if (getExtInfo()->NumTemplParamLists == 0) { in setQualifierInfo()
4496 getASTContext().Deallocate(getExtInfo()); in setQualifierInfo()
[all …]
H A DTypePrinter.cpp910 FunctionType::ExtInfo Info = T->getExtInfo(); in printFunctionProtoAfter()
1044 printFunctionAfter(T->getExtInfo(), OS); in printFunctionNoProtoAfter()
1696 ->getExtInfo().getProducesResult()) in printAttributedAfter()
H A DASTStructuralEquivalence.cpp963 if (!IsStructurallyEquivalent(Context, Function1->getExtInfo(), in IsStructurallyEquivalent()
964 Function2->getExtInfo())) in IsStructurallyEquivalent()
H A DODRHash.cpp1045 T->getExtInfo().Profile(ID); in VisitFunctionType()
H A DItaniumMangle.cpp3191 if (T->getExtInfo() == FunctionType::ExtInfo()) in mangleExtFunctionInfo()
3198 StringRef CCQualifier = getCallingConvQualifierName(T->getExtInfo().getCC()); in mangleExtFunctionInfo()
3301 if (Proto->getExtInfo().getProducesResult() && FD == nullptr) in mangleBareFunctionType()
H A DASTContext.cpp3155 if (T->getExtInfo() == Info) in adjustFunctionType()
3238 return getFunctionNoProtoType(RetTy, Proto->getExtInfo()); in getFunctionTypeWithoutPtrSizes()
10236 FunctionType::ExtInfo lbaseInfo = lbase->getExtInfo(); in mergeFunctionTypes()
10237 FunctionType::ExtInfo rbaseInfo = rbase->getExtInfo(); in mergeFunctionTypes()
12664 assert(FX->getExtInfo() == FY->getExtInfo()); in getCommonNonSugarTypeNode()
12667 FX->getExtInfo()); in getCommonNonSugarTypeNode()
H A DType.cpp1040 return Ctx.getFunctionNoProtoType(returnType, T->getExtInfo()); in VisitFunctionNoProtoType()
1338 return Ctx.getFunctionNoProtoType(returnType, funcType->getExtInfo()); in VisitFunctionType()
H A DASTDiagnostic.cpp109 : Context.getFunctionNoProtoType(RT, FT->getExtInfo()); in desugarForDiagnostic()
H A DJSONNodeDumper.cpp545 FunctionType::ExtInfo E = T->getExtInfo(); in VisitFunctionType()
H A DTextNodeDumper.cpp1503 auto EI = T->getExtInfo(); in VisitFunctionType()
/openbsd-src/gnu/llvm/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h702 FunctionType::ExtInfo getExtInfo() const { in getExtInfo() function
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaType.cpp7684 FunctionType::ExtInfo EI = unwrapped.get()->getExtInfo().withNoReturn(true); in handleFunctionTypeAttr()
7703 unwrapped.get()->getExtInfo().withCmseNSCall(true); in handleFunctionTypeAttr()
7726 = unwrapped.get()->getExtInfo().withProducesResult(true); in handleFunctionTypeAttr()
7744 unwrapped.get()->getExtInfo().withNoCallerSavedRegs(true); in handleFunctionTypeAttr()
7765 unwrapped.get()->getExtInfo().withNoCfCheck(true); in handleFunctionTypeAttr()
7791 unwrapped.get()->getExtInfo().withRegParm(value); in handleFunctionTypeAttr()
7909 auto EI = unwrapped.get()->getExtInfo().withCallingConv(CC); in handleFunctionTypeAttr()
7967 FT = Context.adjustFunctionType(FT, FT->getExtInfo().withCallingConv(ToCC)); in adjustMemberFunctionCC()
H A DSemaDecl.cpp3765 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl()
3766 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl()
3773 FunctionType::ExtInfo FI = FT->getExtInfo(); in MergeFunctionDecl()
10231 CallingConv CC = FT->getExtInfo().getCC(); in ActOnFunctionDeclarator()
11040 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in areMultiversionVariantFunctionsCompatible()
11041 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in areMultiversionVariantFunctionsCompatible()
11995 FT = Context.adjustFunctionType(FT, FT->getExtInfo().withCallingConv(CC_C)); in CheckMain()
12146 FT, FT->getExtInfo().withCallingConv(CC_X86StdCall)); in CheckMSVCRTEntryPoint()
12151 FT->getExtInfo().withCallingConv(CC_C)); in CheckMSVCRTEntryPoint()
H A DSemaTemplateInstantiateDecl.cpp1998 if (OrigFunc->getExtInfo() == NewFunc->getExtInfo()) in adjustFunctionTypeForInstantiation()
2002 NewEPI.ExtInfo = OrigFunc->getExtInfo(); in adjustFunctionTypeForInstantiation()
H A DSemaOverload.cpp1670 FunctionType::ExtInfo FromEInfo = FromFn->getExtInfo(); in IsFunctionConversion()
1673 FunctionType::ExtInfo ToEInfo = ToFn->getExtInfo(); in IsFunctionConversion()
2886 FunctionType::ExtInfo FromEInfo = FromFunctionType->getExtInfo(); in IsBlockPointerConversion()
2887 FunctionType::ExtInfo ToEInfo = ToFunctionType->getExtInfo(); in IsBlockPointerConversion()
H A DSemaExpr.cpp3458 fty->getExtInfo()); in BuildDeclarationNameExpr()
9470 FunctionType::ExtInfo ToEInfo = ToFn->getExtInfo(); in IsInvalidCmseNSCallConversion()
9471 FunctionType::ExtInfo FromEInfo = FromFn->getExtInfo(); in IsInvalidCmseNSCallConversion()
16619 FunctionType::ExtInfo Ext = FTy->getExtInfo(); in ActOnBlockStmtExpr()
20689 FnType->getExtInfo()); in VisitCallExpr()
H A DSemaExprCXX.cpp7189 ReturnsRetained = FTy->getExtInfo().getProducesResult(); in MaybeBindToTemporary()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterDecl.cpp427 Record.AddQualifierInfo(*D->getExtInfo()); in VisitTagDecl()
539 DeclaratorDecl::ExtInfo *Info = D->getExtInfo(); in VisitDeclaratorDecl()

12