Home
last modified time | relevance | path

Searched refs:FunctionPointer (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFunctionPointer.h20 class FunctionPointer final {
25 FunctionPointer() = default;
26 FunctionPointer(const Function *Func) : Func(Func) {} in FunctionPointer() function
H A DFunctionPointer.cpp14 APValue FunctionPointer::toAPValue(const ASTContext &) const { in toAPValue()
26 void FunctionPointer::print(llvm::raw_ostream &OS) const { in print()
H A DEvaluationResult.h46 std::variant<std::monostate, Pointer, FunctionPointer, APValue> Value;
64 void setFunctionPointer(const FunctionPointer &P) { in setFunctionPointer()
H A DMemberPointer.cpp70 FunctionPointer MemberPointer::toFunctionPointer(const Context &Ctx) const { in toFunctionPointer()
71 return FunctionPointer(Ctx.getProgram().getFunction(cast<FunctionDecl>(Dcl))); in toFunctionPointer()
H A DMemberPointer.h20 class FunctionPointer; variable
52 FunctionPointer toFunctionPointer(const Context &Ctx) const;
H A DEvaluationResult.cpp26 else if (const auto *FP = std::get_if<FunctionPointer>(&Value)) in toAPValue()
49 else if (const auto *FP = std::get_if<FunctionPointer>(&Value)) // Nope in toRValue()
H A DPointer.h113 PointeeStorage.Fn = FunctionPointer(F); in Offset()
473 [[nodiscard]] const FunctionPointer &asFunctionPointer() const { in asFunctionPointer()
816 FunctionPointer Fn;
H A DPrimType.h27 class FunctionPointer; variable
H A DInterpBuiltinBitCast.cpp459 std::variant<Pointer, FunctionPointer, MemberPointer, FixedPoint,
H A DDisasm.cpp577 else if (const auto *FP = std::get_if<FunctionPointer>(&Value)) // Nope in dump()
H A DPointer.cpp155 const FunctionPointer &FP = asFunctionPointer(); in toAPValue()
H A DInterp.h3262 if constexpr (std::is_same_v<FromT, FunctionPointer> && in DecayPtr()
3267 std::is_same_v<ToT, FunctionPointer>) { in DecayPtr()
3269 S.Stk.push<FunctionPointer>(OldPtr.asFunctionPointer().getFunction(), in DecayPtr()
H A DInterp.cpp1672 const FunctionPointer &FuncPtr = Ptr.asFunctionPointer(); in CallPtr()
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingValue.c86 return Data->FunctionPointer;
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp492 I->FunctionPointer, I->NumCounters); in correlateProfileDataImpl()
H A DInstrProfReader.cpp557 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp749 QUERY_CHECKER_OPTION(FunctionPointer) in registerCallAndMessageChecker()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3521 llvm::Value *FunctionPointer = MemPtr; in EmitLoadOfMemberFunctionPointer() local
3528 FunctionPointer = Builder.CreateExtractValue(MemPtr, I++); in EmitLoadOfMemberFunctionPointer()
3548 CGCallee Callee(FPT, FunctionPointer); in EmitLoadOfMemberFunctionPointer()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc86 INSTR_PROF_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), FunctionPointer, \
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc86 INSTR_PROF_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), FunctionPointer, \
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td160 "FunctionPointer",
/freebsd/lib/clang/libclang/
H A DMakefile73 SRCS_MIN+= AST/ByteCode/FunctionPointer.cpp
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td194 def FunctionPointer : SubsetSubject<DeclBase,
5129 let Subjects = SubjectList<[FunctionPointer], ErrorDiag>;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp13094 FunctionPointer, in DiagnoseAlwaysNonNullPointer() enumerator
13100 DiagType = FunctionPointer; in DiagnoseAlwaysNonNullPointer()