Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFunctionPointer.h20 class FunctionPointer final {
26 FunctionPointer(const Function *Func) : Func(Func), Valid(true) { in FunctionPointer() function
30 FunctionPointer(uintptr_t IntVal = 0, const Descriptor *Desc = nullptr)
79 ComparisonCategoryResult compare(const FunctionPointer &RHS) const { in compare()
87 FunctionPointer FP) {
H A DMemberPointer.cpp59 FunctionPointer MemberPointer::toFunctionPointer(const Context &Ctx) const { in toFunctionPointer()
60 return FunctionPointer(Ctx.getProgram().getFunction(cast<FunctionDecl>(Dcl))); in toFunctionPointer()
H A DEvaluationResult.h46 std::variant<std::monostate, Pointer, FunctionPointer, APValue> Value;
69 void setFunctionPointer(const FunctionPointer &P) { in setFunctionPointer()
H A DMemberPointer.h20 class FunctionPointer; variable
52 FunctionPointer toFunctionPointer(const Context &Ctx) const;
H A DPrimType.h27 class FunctionPointer; variable
94 using T = FunctionPointer;
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()
H A DInterpStack.h185 else if constexpr (std::is_same_v<T, FunctionPointer>) in toPrimType()
H A DEvalEmitter.cpp196 EvalResult.setFunctionPointer(S.Stk.pop<FunctionPointer>()); in emitRet()
H A DInterp.h912 inline bool CmpHelper<FunctionPointer>(InterpState &S, CodePtr OpPC,
914 const auto &RHS = S.Stk.pop<FunctionPointer>();
915 const auto &LHS = S.Stk.pop<FunctionPointer>();
925 inline bool CmpHelperEQ<FunctionPointer>(InterpState &S, CodePtr OpPC,
927 const auto &RHS = S.Stk.pop<FunctionPointer>();
928 const auto &LHS = S.Stk.pop<FunctionPointer>();
2637 const FunctionPointer &FuncPtr = S.Stk.pop<FunctionPointer>(); in CallPtr()
2680 S.Stk.push<FunctionPointer>(Func); in GetFnPtr()
2710 S.Stk.push<FunctionPointer>(Func); in GetMemberPtrDecl()
H A DDisasm.cpp370 else if (const auto *FP = std::get_if<FunctionPointer>(&Value)) // Nope in dump()
H A DInterpBuiltin.cpp616 const FunctionPointer &Arg = S.Stk.peek<FunctionPointer>(); in interp__builtin_addressof()
617 S.Stk.push<FunctionPointer>(Arg); in interp__builtin_addressof()
/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.cpp468 I->FunctionPointer, I->NumCounters); in correlateProfileDataImpl()
H A DInstrProfReader.cpp545 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3528 llvm::Value *FunctionPointer = MemPtr; in EmitLoadOfMemberFunctionPointer() local
3535 FunctionPointer = Builder.CreateExtractValue(MemPtr, I++); in EmitLoadOfMemberFunctionPointer()
3555 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.td163 "FunctionPointer",
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td182 def FunctionPointer : SubsetSubject<DeclBase,
4682 let Subjects = SubjectList<[FunctionPointer], ErrorDiag>;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp11662 FunctionPointer, in DiagnoseAlwaysNonNullPointer() enumerator
11668 DiagType = FunctionPointer; in DiagnoseAlwaysNonNullPointer()