Home
last modified time | relevance | path

Searched refs:IsFunction (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/
H A DCXX.cpp115 bool IsFunction = false; in isFunctionDeclarator() local
120 return IsFunction; in isFunctionDeclarator()
124 return IsFunction; in isFunctionDeclarator()
128 IsFunction = false; in isFunctionDeclarator()
135 IsFunction = true; in isFunctionDeclarator()
142 IsFunction = false; in isFunctionDeclarator()
155 return IsFunction; in isFunctionDeclarator()
/llvm-project-15.0.7/llvm/lib/Target/AVR/
H A DAVRMCInstLower.cpp41 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal()); in lowerSymbolOperand() local
44 if (IsFunction) { in lowerSymbolOperand()
51 if (IsFunction) { in lowerSymbolOperand()
/llvm-project-15.0.7/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp96 bool IsFunction = false; member
504 const bool IsFunction = Tag == dwarf::DW_TAG_subprogram; in collectStatsRecursive() local
510 (IsInlinedFunction || (IsFunction && HasAbstractOrigin)); in collectStatsRecursive()
533 if (IsFunction || IsInlinedFunction || IsBlock) { in collectStatsRecursive()
535 if (IsFunction || IsInlinedFunction) in collectStatsRecursive()
574 FnStats.IsFunction = true; in collectStatsRecursive()
591 if (IsFunction) in collectStatsRecursive()
603 if (IsFunction) in collectStatsRecursive()
919 if (!Stats.IsFunction) in collectStatsForObjectFile()
929 NumFunctions += Stats.IsFunction; in collectStatsForObjectFile()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-diff/lib/
H A DDiffConsumer.h59 : L(L), R(R), Differences(false), IsFunction(isa<Function>(L)) {} in DiffContext()
63 bool IsFunction; member
H A DDiffConsumer.cpp75 if (!ctxt.IsFunction) continue; in printValue()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidCStyleCastsCheck.cpp106 auto IsFunction = [](QualType T) { in check() local
122 IsFunction(SourceTypeAsWritten) && IsFunction(DestTypeAsWritten); in check()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCAsmMacro.h147 bool IsFunction = false; member
155 IsFunction(F) {} in MCAsmMacro()
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-return.cpp36 IsFunction(*subprogramScope->GetSymbol()))) { in Leave()
H A Dcheck-call.cpp627 if (interface.IsSubroutine() && argInterface.IsFunction()) { in CheckProcedureArg()
631 } else if (interface.IsFunction()) { in CheckProcedureArg()
632 if (argInterface.IsFunction()) { in CheckProcedureArg()
H A Dassignment.cpp99 x.owner().symbol() && IsFunction(*x.owner().symbol()); in IsPointerDummyOfPureFunction()
H A Dcheck-declarations.cpp97 return innermostSymbol_ && IsFunction(*innermostSymbol_); in InFunction()
1823 if (IsFunction(generic) && !context_.HasError(generic)) { in CheckGenericOps()
H A Dtools.cpp369 IsFunction(ultimate.owner())) { in FindExternallyVisibleObject()
H A Dcheck-omp-structure.cpp71 if (IsFunction(root) && !IsElementalProcedure(root)) { in Pre()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtools.cpp739 bool IsFunction(const Expr<SomeType> &expr) { in IsFunction() function
966 } else if (lhsProcedure->IsFunction() && rhsProcedure->IsSubroutine()) { in CheckProcCompatibility()
969 } else if (lhsProcedure->IsSubroutine() && rhsProcedure->IsFunction()) { in CheckProcCompatibility()
1219 if (IsFunction(*ref) && !IsPureProcedure(*ref)) { in IsPureProcedure()
1257 bool IsFunction(const Symbol &symbol) { in IsFunction() function
1267 (ifc.symbol() && IsFunction(*ifc.symbol())); in IsFunction()
1270 return IsFunction(x.symbol()); in IsFunction()
1277 bool IsFunction(const Scope &scope) { in IsFunction() function
1279 return symbol && IsFunction(*symbol); in IsFunction()
H A Dcharacteristics.cpp971 } else if ((IsFunction() && actual.IsSubroutine()) || in IsCompatibleWith()
972 (IsSubroutine() && actual.IsFunction())) { in IsCompatibleWith()
1068 } else if (IsFunction() && in CanBeCalledViaImplicitInterface()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DYAMLProfileReader.cpp136 bool IsFunction = Callee ? true : false; in parseFunctionProfile() local
138 if (IsFunction) in parseFunctionProfile()
/llvm-project-15.0.7/flang/include/flang/Evaluate/
H A Dcharacteristics.h324 bool IsFunction() const { return functionResult.has_value(); } in IsFunction() function
H A Dtools.h939 bool IsFunction(const Expr<SomeType> &);
1111 bool IsFunction(const Symbol &);
1112 bool IsFunction(const Scope &);
/llvm-project-15.0.7/libcxx/include/
H A Dany661 _RetType __pointer_or_func_cast(void* __p, /*IsFunction*/false_type) noexcept {
667 _RetType __pointer_or_func_cast(void*, /*IsFunction*/true_type) noexcept {
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1806 bool IsFunction = GA.getValueType()->isFunctionTy(); in emitGlobalAlias() local
1809 if (!IsFunction) in emitGlobalAlias()
1810 IsFunction = isa<Function>(GA.getAliasee()->stripPointerCasts()); in emitGlobalAlias()
1827 if (IsFunction) in emitGlobalAlias()
1842 if (IsFunction) { in emitGlobalAlias()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseDeclCXX.cpp3100 ExprResult Parser::ParseCXXMemberInitializer(Decl *D, bool IsFunction, in ParseCXXMemberInitializer() argument
3115 if (IsFunction || Next.isOneOf(tok::semi, tok::comma, tok::eof)) { in ParseCXXMemberInitializer()
3116 if (IsFunction) in ParseCXXMemberInitializer()
3124 if (IsFunction) in ParseCXXMemberInitializer()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTokenKinds.def528 TYPE_TRAIT_1(__is_function, IsFunction, KEYCXX)
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h3098 ExprResult ParseCXXMemberInitializer(Decl *D, bool IsFunction,
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp14437 const bool IsFunction = T->isFunctionType(); in DiagnoseAlwaysNonNullPointer() local
14440 if (IsAddressOf && IsFunction) { in DiagnoseAlwaysNonNullPointer()
14445 if (!IsAddressOf && !IsFunction && !IsArray) in DiagnoseAlwaysNonNullPointer()
14462 else if (IsFunction) in DiagnoseAlwaysNonNullPointer()
14471 if (!IsFunction) in DiagnoseAlwaysNonNullPointer()
/llvm-project-15.0.7/llvm/lib/MC/MCParser/
H A DMasmParser.cpp1169 if (M && M->IsFunction && peekTok().is(AsmToken::LParen)) { in expandMacros()
3290 if (!M->IsFunction) in handleMacroInvocation()

12