Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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.cpp116 FTNP->getExtInfo(), {}, RequiredArgs(0)); in arrangeFreeFunctionType()
193 FTP->getExtInfo(), paramInfos, in arrangeLLVMFunctionInfo()
357 FunctionType::ExtInfo extInfo = FTP->getExtInfo(); in arrangeCXXStructorDeclaration()
430 FunctionType::ExtInfo Info = FPT->getExtInfo(); in arrangeCXXConstructorCall()
462 /*chainCall=*/false, None, noProto->getExtInfo(), {},RequiredArgs::All); in arrangeFunctionDeclaration()
549 FTP->getExtInfo(), {}, RequiredArgs(1)); in arrangeUnprototypedMustTailThunk()
615 argTypes, fnType->getExtInfo(), paramInfos, in arrangeFreeFunctionLikeCall()
648 argTypes, proto->getExtInfo(), paramInfos, in arrangeBlockFunctionDeclaration()
702 FunctionType::ExtInfo info = proto->getExtInfo(); in arrangeCXXMethodCall()
735 signature.getExtInfo(), in arrangeCall()
[all …]
H A DTargetInfo.cpp9552 FT, FT->getExtInfo().withCallingConv(CC_OpenCLKernel)); in setCUDAKernelCallingConvention()
10503 FT, FT->getExtInfo().withCallingConv(CC_OpenCLKernel)); in setCUDAKernelCallingConvention()
/llvm-project-15.0.7/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.h742 ExtInfo *getExtInfo() { return DeclInfo.get<ExtInfo*>(); } in getExtInfo() function
757 ? getExtInfo()->TInfo in getTypeSourceInfo()
763 getExtInfo()->TInfo = TI; in setTypeSourceInfo()
793 return hasExtInfo() ? getExtInfo()->QualifierLoc in getQualifierLoc()
803 return hasExtInfo() ? getExtInfo()->TrailingRequiresClause in getTrailingRequiresClause()
808 return hasExtInfo() ? getExtInfo()->TrailingRequiresClause in getTrailingRequiresClause()
815 return hasExtInfo() ? getExtInfo()->NumTemplParamLists : 0; in getNumTemplateParameterLists()
820 return getExtInfo()->TemplParamLists[index]; in getTemplateParameterList()
3394 const ExtInfo *getExtInfo() const { in getExtInfo() function
3612 return hasExtInfo() ? getExtInfo()->QualifierLoc in getQualifierLoc()
[all …]
H A DCanonicalType.h489 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
496 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
503 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
H A DType.h3882 bool getHasRegParm() const { return getExtInfo().getHasRegParm(); }
3883 unsigned getRegParmType() const { return getExtInfo().getRegParm(); }
3888 bool getNoReturnAttr() const { return getExtInfo().getNoReturn(); }
3890 bool getCmseNSCallAttr() const { return getExtInfo().getCmseNSCall(); }
3891 CallingConv getCallConv() const { return getExtInfo().getCC(); }
3892 ExtInfo getExtInfo() const { return ExtInfo(FunctionTypeBits.ExtInfo); }
3935 Profile(ID, getReturnType(), getExtInfo());
4180 EPI.ExtInfo = getExtInfo();
6710 return FT->getExtInfo();
6712 return FT->getExtInfo();
/llvm-project-15.0.7/clang/lib/AST/
H A DDecl.cpp1916 getExtInfo()->TInfo = savedTInfo; in setQualifierInfo()
1919 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
1922 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
1935 getExtInfo()->TInfo = savedTInfo; in setTrailingRequiresClause()
1938 getExtInfo()->TrailingRequiresClause = TrailingRequiresClause; in setTrailingRequiresClause()
1951 getExtInfo()->TInfo = savedTInfo; in setTemplateParameterListsInfo()
1954 getExtInfo()->setTemplateParameterListsInfo(Context, TPLists); in setTemplateParameterListsInfo()
4457 getExtInfo()->QualifierLoc = QualifierLoc; in setQualifierInfo()
4461 if (getExtInfo()->NumTemplParamLists == 0) { in setQualifierInfo()
4462 getASTContext().Deallocate(getExtInfo()); in setQualifierInfo()
[all …]
H A DTypePrinter.cpp914 FunctionType::ExtInfo Info = T->getExtInfo(); in printFunctionProtoAfter()
1048 printFunctionAfter(T->getExtInfo(), OS); in printFunctionNoProtoAfter()
1695 ->getExtInfo().getProducesResult()) in printAttributedAfter()
H A DASTStructuralEquivalence.cpp912 if (!IsStructurallyEquivalent(Context, Function1->getExtInfo(), in IsStructurallyEquivalent()
913 Function2->getExtInfo())) in IsStructurallyEquivalent()
H A DODRHash.cpp891 T->getExtInfo().Profile(ID); in VisitFunctionType()
H A DItaniumMangle.cpp3194 if (T->getExtInfo() == FunctionType::ExtInfo()) in mangleExtFunctionInfo()
3201 StringRef CCQualifier = getCallingConvQualifierName(T->getExtInfo().getCC()); in mangleExtFunctionInfo()
3304 if (Proto->getExtInfo().getProducesResult() && FD == nullptr) in mangleBareFunctionType()
H A DType.cpp1036 return Ctx.getFunctionNoProtoType(returnType, T->getExtInfo()); in VisitFunctionNoProtoType()
1333 return Ctx.getFunctionNoProtoType(returnType, funcType->getExtInfo()); in VisitFunctionType()
H A DASTDiagnostic.cpp109 : Context.getFunctionNoProtoType(RT, FT->getExtInfo()); in desugarForDiagnostic()
H A DJSONNodeDumper.cpp536 FunctionType::ExtInfo E = T->getExtInfo(); in VisitFunctionType()
H A DTextNodeDumper.cpp1503 auto EI = T->getExtInfo(); in VisitFunctionType()
H A DASTContext.cpp3132 if (T->getExtInfo() == Info) in adjustFunctionType()
3215 return getFunctionNoProtoType(RetTy, Proto->getExtInfo()); in getFunctionTypeWithoutPtrSizes()
10123 FunctionType::ExtInfo lbaseInfo = lbase->getExtInfo(); in mergeFunctionTypes()
10124 FunctionType::ExtInfo rbaseInfo = rbase->getExtInfo(); in mergeFunctionTypes()
/llvm-project-15.0.7/clang/include/clang/CodeGen/
H A DCGFunctionInfo.h702 FunctionType::ExtInfo getExtInfo() const { in getExtInfo() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp7583 FunctionType::ExtInfo EI = unwrapped.get()->getExtInfo().withNoReturn(true); in handleFunctionTypeAttr()
7602 unwrapped.get()->getExtInfo().withCmseNSCall(true); in handleFunctionTypeAttr()
7625 = unwrapped.get()->getExtInfo().withProducesResult(true); in handleFunctionTypeAttr()
7643 unwrapped.get()->getExtInfo().withNoCallerSavedRegs(true); in handleFunctionTypeAttr()
7664 unwrapped.get()->getExtInfo().withNoCfCheck(true); in handleFunctionTypeAttr()
7690 unwrapped.get()->getExtInfo().withRegParm(value); in handleFunctionTypeAttr()
7808 auto EI = unwrapped.get()->getExtInfo().withCallingConv(CC); in handleFunctionTypeAttr()
7866 FT = Context.adjustFunctionType(FT, FT->getExtInfo().withCallingConv(ToCC)); in adjustMemberFunctionCC()
H A DSemaDecl.cpp3689 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in MergeFunctionDecl()
3690 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in MergeFunctionDecl()
3697 FunctionType::ExtInfo FI = FT->getExtInfo(); in MergeFunctionDecl()
10024 CallingConv CC = FT->getExtInfo().getCC(); in ActOnFunctionDeclarator()
10336 EPI.ExtInfo = FT->getExtInfo(); in ActOnFunctionDeclarator()
10815 FunctionType::ExtInfo OldTypeInfo = OldType->getExtInfo(); in areMultiversionVariantFunctionsCompatible()
10816 FunctionType::ExtInfo NewTypeInfo = NewType->getExtInfo(); in areMultiversionVariantFunctionsCompatible()
11666 FT = Context.adjustFunctionType(FT, FT->getExtInfo().withCallingConv(CC_C)); in CheckMain()
11817 FT, FT->getExtInfo().withCallingConv(CC_X86StdCall)); in CheckMSVCRTEntryPoint()
11822 FT->getExtInfo().withCallingConv(CC_C)); in CheckMSVCRTEntryPoint()
H A DSemaTemplateInstantiateDecl.cpp1982 if (OrigFunc->getExtInfo() == NewFunc->getExtInfo()) in adjustFunctionTypeForInstantiation()
1986 NewEPI.ExtInfo = OrigFunc->getExtInfo(); in adjustFunctionTypeForInstantiation()
H A DSemaOverload.cpp1563 FunctionType::ExtInfo FromEInfo = FromFn->getExtInfo(); in IsFunctionConversion()
1566 FunctionType::ExtInfo ToEInfo = ToFn->getExtInfo(); in IsFunctionConversion()
2779 FunctionType::ExtInfo FromEInfo = FromFunctionType->getExtInfo(); in IsBlockPointerConversion()
2780 FunctionType::ExtInfo ToEInfo = ToFunctionType->getExtInfo(); in IsBlockPointerConversion()
H A DSemaExpr.cpp3461 fty->getExtInfo()); in BuildDeclarationNameExpr()
9224 FunctionType::ExtInfo ToEInfo = ToFn->getExtInfo(); in IsInvalidCmseNSCallConversion()
9225 FunctionType::ExtInfo FromEInfo = FromFn->getExtInfo(); in IsInvalidCmseNSCallConversion()
16351 FunctionType::ExtInfo Ext = FTy->getExtInfo(); in ActOnBlockStmtExpr()
20310 FnType->getExtInfo()); in VisitCallExpr()
H A DSemaExprCXX.cpp7169 ReturnsRetained = FTy->getExtInfo().getProducesResult(); in MaybeBindToTemporary()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriterDecl.cpp424 Record.AddQualifierInfo(*D->getExtInfo()); in VisitTagDecl()
532 DeclaratorDecl::ExtInfo *Info = D->getExtInfo(); in VisitDeclaratorDecl()

12