Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunctionPointer.h20 class FunctionPointer final {
25 FunctionPointer() : Func(nullptr) {} in FunctionPointer() function
26 FunctionPointer(const Function *Func) : Func(Func) { assert(Func); } in FunctionPointer() function
55 ComparisonCategoryResult compare(const FunctionPointer &RHS) const { in compare()
63 FunctionPointer FP) {
H A DEvaluationResult.h46 std::variant<std::monostate, Pointer, FunctionPointer, APValue> Value;
69 void setFunctionPointer(const FunctionPointer &P) { in setFunctionPointer()
H A DEvaluationResult.cpp25 else if (const auto *FP = std::get_if<FunctionPointer>(&Value)) in toAPValue()
48 else if (const auto *FP = std::get_if<FunctionPointer>(&Value)) // Nope in toRValue()
184 else if (const auto *FP = std::get_if<FunctionPointer>(&Value)) // Nope in dump()
H A DPrimType.h27 class FunctionPointer; variable
84 using T = FunctionPointer;
H A DEvalEmitter.cpp128 EvalResult.setFunctionPointer(S.Stk.pop<FunctionPointer>()); in emitRet()
H A DInterpStack.h185 else if constexpr (std::is_same_v<T, FunctionPointer>) in toPrimType()
H A DInterp.h709 inline bool CmpHelper<FunctionPointer>(InterpState &S, CodePtr OpPC,
711 const auto &RHS = S.Stk.pop<FunctionPointer>();
712 const auto &LHS = S.Stk.pop<FunctionPointer>();
722 inline bool CmpHelperEQ<FunctionPointer>(InterpState &S, CodePtr OpPC,
724 const auto &RHS = S.Stk.pop<FunctionPointer>();
725 const auto &LHS = S.Stk.pop<FunctionPointer>();
1969 const FunctionPointer &FuncPtr = S.Stk.pop<FunctionPointer>(); in CallPtr()
1983 S.Stk.push<FunctionPointer>(Func); in GetFnPtr()
H A DInterpBuiltin.cpp626 const FunctionPointer &Arg = S.Stk.peek<FunctionPointer>(); in interp__builtin_addressof()
627 S.Stk.push<FunctionPointer>(Arg); in interp__builtin_addressof()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingValue.c86 return Data->FunctionPointer; in __llvm_get_function_addr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfCorrelator.cpp470 I->FunctionPointer, I->NumCounters); in correlateProfileDataImpl()
H A DInstrProfReader.cpp539 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCallAndMessageChecker.cpp750 QUERY_CHECKER_OPTION(FunctionPointer) in registerCallAndMessageChecker()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3515 llvm::Value *FunctionPointer = MemPtr; in EmitLoadOfMemberFunctionPointer() local
3522 FunctionPointer = Builder.CreateExtractValue(MemPtr, I++); in EmitLoadOfMemberFunctionPointer()
3542 CGCallee Callee(FPT, FunctionPointer); in EmitLoadOfMemberFunctionPointer()
/freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc84 INSTR_PROF_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), FunctionPointer, \
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc84 INSTR_PROF_DATA(const IntPtrT, llvm::PointerType::getUnqual(Ctx), FunctionPointer, \
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td159 "FunctionPointer",
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td182 def FunctionPointer : SubsetSubject<DeclBase,
4412 let Subjects = SubjectList<[FunctionPointer], ErrorDiag>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp16547 FunctionPointer, in DiagnoseAlwaysNonNullPointer() enumerator
16553 DiagType = FunctionPointer; in DiagnoseAlwaysNonNullPointer()