Home
last modified time | relevance | path

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

12

/llvm-project/clang-tools-extra/pseudo/lib/cxx/
H A DCXX.cpp
/llvm-project/llvm/lib/Target/AVR/
H A DAVRMCInstLower.cpp41 bool IsFunction = MO.isGlobal() && isa<Function>(MO.getGlobal()); in lowerSymbolOperand() local
44 if (IsFunction) { in lowerSymbolOperand()
53 if (IsFunction) { in lowerSymbolOperand()
/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp97 bool IsFunction = false; member
516 const bool IsFunction = Tag == dwarf::DW_TAG_subprogram; in collectStatsRecursive() local
522 (IsInlinedFunction || (IsFunction && HasAbstractOrigin)); in collectStatsRecursive()
545 if (IsFunction || IsInlinedFunction || IsBlock) { in collectStatsRecursive()
547 if (IsFunction || IsInlinedFunction) in collectStatsRecursive()
586 FnStats.IsFunction = true; in collectStatsRecursive()
603 if (IsFunction) in collectStatsRecursive()
615 if (IsFunction) in collectStatsRecursive()
990 if (!Stats.IsFunction) in collectStatsForObjectFile()
1000 NumFunctions += Stats.IsFunction; in collectStatsForObjectFile()
[all...]
/llvm-project/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/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVScope.h45 IsFunction, enumerator
162 KIND_1(LVScopeKind, IsCallSite, IsFunction);
167 KIND_1(LVScopeKind, IsEntryPoint, IsFunction);
169 KIND_2(LVScopeKind, IsFunction, CanHaveRanges, CanHaveLines);
170 KIND_1(LVScopeKind, IsFunctionType, IsFunction);
171 KIND_2(LVScopeKind, IsInlinedFunction, IsFunction, IsInlined);
172 KIND_1(LVScopeKind, IsLabel, IsFunction);
178 KIND_1(LVScopeKind, IsSubprogram, IsFunction);
/llvm-project/clang-tools-extra/clang-tidy/google/
H A DAvoidCStyleCastsCheck.cpp104 auto IsFunction = [](QualType T) { in check() local
120 IsFunction(SourceTypeAsWritten) && IsFunction(DestTypeAsWritten); in check()
/llvm-project/llvm/include/llvm/MC/
H A DMCAsmMacro.h147 bool IsFunction = false; member
156 IsFunction(F) {} in MCAsmMacro()
/llvm-project/flang/lib/Semantics/
H A Dcheck-return.cpp36 IsFunction(*subprogramScope->GetSymbol()))) { in Leave()
H A Ddefinable.cpp28 x.owner().symbol() && IsFunction(*x.owner().symbol()); in IsPointerDummyOfPureFunction()
H A Dcheck-call.cpp1139 if (interface.IsSubroutine() && argInterface.IsFunction()) { in ConvertBOZLiteralArg()
1143 } else if (interface.IsFunction()) { in CheckExplicitInterfaceArg()
1144 if (argInterface.IsFunction()) { in CheckExplicitInterfaceArg()
H A Dcheck-declarations.cpp107 return innermostSymbol_ && IsFunction(*innermostSymbol_); in InFunction()
435 if (IsAssumedLengthCharacter(symbol) && IsFunction(symbol)) { // C723 in Check()
2765 if (IsFunction(generic) && !context_.HasError(generic)) { in CheckGenericOps()
H A Dtools.cpp394 IsPureProcedure(ultimate.owner()) && IsFunction(ultimate.owner())) { in FindExternallyVisibleObject()
/llvm-project/flang/lib/Evaluate/
H A Dtools.cpp1264 } else if (lhsProcedure->IsFunction() && rhsProcedure->IsSubroutine()) { in MayBePassedAsAbsentOptional()
1267 } else if (lhsProcedure->IsSubroutine() && rhsProcedure->IsFunction()) { in MayBePassedAsAbsentOptional()
1626 if (IsFunction(*ref) && !IsPureProcedureImpl(*ref, set)) { in IsAutomatic()
1673 bool IsFunction(const Symbol &symbol) { in IsSaved()
1682 return x.type() || (ifc && IsFunction(*ifc)); in IsSaved()
1685 return IsFunction(x.symbol()); in IsSaved()
1692 bool IsFunction(const Scope &scope) { in IsSaved()
1694 return symbol && IsFunction(*symbol); in IsSaved()
1513 bool IsFunction(const Symbol &symbol) { IsFunction() function
1532 bool IsFunction(const Scope &scope) { IsFunction() function
H A Dcharacteristics.cpp1308 } else if ((IsFunction() && actual.IsSubroutine()) || in IsCompatibleWith()
1309 (IsSubroutine() && actual.IsFunction())) { in IsCompatibleWith()
1481 } else if (IsFunction() && in CanBeCalledViaImplicitInterface()
1572 if ((proc1.IsFunction() && proc2.IsSubroutine()) || in DistinguishableOpOrAssign()
1573 (proc1.IsSubroutine() && proc2.IsFunction())) { in DistinguishableOpOrAssign()
1591 if ((proc1.IsFunction() && proc2.IsSubroutine()) || in Distinguishable()
1592 (proc1.IsSubroutine() && proc2.IsFunction())) { in Distinguishable()
H A Dfold-logical.cpp394 CHECK(proc_.IsFunction());
/llvm-project/llvm/lib/Object/
H A DXCOFFObjectFile.cpp309 Expected<bool> IsFunction = XCOFFSym.isFunction(); in getSymbolType()
310 if (!IsFunction) in getSymbolType()
311 return IsFunction.takeError(); in getSymbolType()
313 if (*IsFunction) in getSymbolType()
308 Expected<bool> IsFunction = XCOFFSym.isFunction(); getSymbolType() local
/llvm-project/libcxx/include/
H A Dany565 inline _LIBCPP_HIDE_FROM_ABI _RetType __pointer_or_func_cast(void* __p, /*IsFunction*/ false_type) noexcept {
570 inline _LIBCPP_HIDE_FROM_ABI _RetType __pointer_or_func_cast(void*, /*IsFunction*/ true_type) noexcept {
/llvm-project/flang/include/flang/Evaluate/
H A Dcharacteristics.h381 bool IsFunction() const { return functionResult.has_value(); } in IsFunction() function
H A Dtools.h1355 bool IsFunction(const Symbol &);
1356 bool IsFunction(const Scope &);
/llvm-project/llvm/tools/llvm-debuginfo-analyzer/
H A DOptions.cpp349 clEnumValN(LVScopeKind::IsFunction, "Function", "Function."),
/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp2222 bool IsFunction = GA.getValueType()->isFunctionTy(); in emitGlobalIFunc()
2225 if (!IsFunction) in emitGlobalIFunc()
2226 IsFunction = isa<Function>(GA.getAliasee()->stripPointerCasts()); in emitGlobalIFunc()
2240 if (IsFunction) in emitGlobalIFunc()
2255 if (IsFunction) { in emitRemarksSection()
2099 bool IsFunction = GA.getValueType()->isFunctionTy(); emitGlobalAlias() local
/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp3526 ExprResult Parser::ParseCXXMemberInitializer(Decl *D, bool IsFunction, in ParseCXXClassMemberDeclarationWithPragmas()
3554 if (IsFunction || Next.isOneOf(tok::semi, tok::comma, tok::eof)) { in ParseCXXClassMemberDeclarationWithPragmas()
3555 if (IsFunction) in ParseCXXClassMemberDeclarationWithPragmas()
3564 if (IsFunction) in ParseCXXClassMemberDeclarationWithPragmas()
3415 ParseCXXMemberInitializer(Decl * D,bool IsFunction,SourceLocation & EqualLoc) ParseCXXMemberInitializer() argument
/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp92 {LVScopeKind::IsFunction, &LVScope::getIsFunction},
/llvm-project/clang/include/clang/Basic/
H A DTokenKinds.def571 TYPE_TRAIT_1(__is_function, IsFunction, KEYCXX)

12