Home
last modified time | relevance | path

Searched refs:FPtr (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp513 void *FPtr = getPointerToFunction(F); in runFunction() local
515 assert(FPtr && "Pointer to fn's code was null after getPointerToFunction"); in runFunction()
534 (int(*)(int, char **, const char **))(intptr_t)FPtr; in runFunction()
547 int (*PF)(int, char **) = (int(*)(int, char **))(intptr_t)FPtr; in runFunction()
560 int (*PF)(int) = (int(*)(int))(intptr_t)FPtr; in runFunction()
576 rv.IntVal = APInt(BitWidth, ((bool(*)())(intptr_t)FPtr)()); in runFunction()
578 rv.IntVal = APInt(BitWidth, ((char(*)())(intptr_t)FPtr)()); in runFunction()
580 rv.IntVal = APInt(BitWidth, ((short(*)())(intptr_t)FPtr)()); in runFunction()
582 rv.IntVal = APInt(BitWidth, ((int(*)())(intptr_t)FPtr)()); in runFunction()
584 rv.IntVal = APInt(BitWidth, ((int64_t(*)())(intptr_t)FPtr)()); in runFunction()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dexecutor_address_test.cpp61 void (*FPtr)() = FAddr.toPtr<void()>(); in TEST() local
63 EXPECT_EQ(FPtr, &F); in TEST()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeMetadataUtils.cpp26 bool *HasNonCallUses, Value *FPtr, uint64_t Offset, in findCallsAtConstantOffset() argument
28 for (const Use &U : FPtr->uses()) { in findCallsAtConstantOffset()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp557 const IntPtrT FPtr = swap(I->FunctionPointer); in createSymtab() local
558 if (!FPtr) in createSymtab()
560 Symtab.mapAddress(FPtr, swap(I->NameRef)); in createSymtab()
/freebsd/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp828 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
873 DAG.getStore(Chain, dl, FPtr, Addr, MachinePointerInfo(TrmpAddr, 16)); in LowerINIT_TRAMPOLINE()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.cpp5833 if (auto *FPtr = dyn_cast<llvm::Function>(CalleePtr)) in EmitCall() local
5834 if (FPtr->hasFnAttribute(llvm::Attribute::NoUnwind)) in EmitCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3993 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
4012 Entry.Node = FPtr; Args.push_back(Entry); in LowerINIT_TRAMPOLINE()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp7143 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
7200 DAG.getStore(Chain, DL, FPtr, Addr, MachinePointerInfo(TrmpAddr, 24)); in LowerINIT_TRAMPOLINE()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp28424 SDValue FPtr = Op.getOperand(2); // nested function in LowerINIT_TRAMPOLINE() local
28451 OutChains[1] = DAG.getStore(Root, dl, FPtr, Addr, in LowerINIT_TRAMPOLINE()
28535 Disp = DAG.getNode(ISD::SUB, dl, MVT::i32, FPtr, Addr); in LowerINIT_TRAMPOLINE()